From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 22 07:58:00 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEAC016A4CE for ; Mon, 22 Nov 2004 07:58:00 +0000 (GMT) Received: from smtpauth.kewlio.net (smtpauth.kewlio.net [195.22.134.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2348F43D62 for ; Mon, 22 Nov 2004 07:58:00 +0000 (GMT) (envelope-from tlp@LiquidX.org) Received: from maya.liquidx.org (70-56-157-27.bois.qwest.net [70.56.157.27]) (authenticated bits=0) by smtpauth.kewlio.net (8.12.10/8.12.10) with ESMTP id iAM7vudk056422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Nov 2004 07:57:58 GMT Date: Mon, 22 Nov 2004 00:58:08 -0700 From: Travis Poppe To: emulation@FreeBSD.org Message-ID: <20041122005808.5320b2d6@maya.liquidx.org> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Cedega (WineX) on FreeBSD somewhat working X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 07:58:01 -0000 Hello all, I spent a good portion of my night tracking down the syscall(s) causing the Linux binary version of Cedega to crash with "Bad system call". With help, I managed to track down the first system call causing the crash. One of the Cedega devs. (peteH) helped me hack onto our existing Linux ABI compatibility layer and add code to return ENOSYS for the following system calls: set_thread_area gettid I am unsure why this isn't default behavior (return ENOSYS for syscalls we haven't implemented). I can post a howto later if requested, though a more permanent/non-hack solution should probably be done Anyway, I managed to get Cedega (the commercial version) to run Max Payne at full speed (without sound). There are still problems with it, and the two installers I tried to use with it (GTA3 and Diablo 2) both crashed Cedega. I'm hoping that with more work/support that we might be able to get these issues resolved, unless someone manages to get the native version working instead. I'm running FreeBSD 5.3-RELEASE and have the latest official nvidia drivers installed (nVidia GeForce 4 MX 440). The version of Cedega I've been playing around with is version 4.1-1, and it IS commercial (you must pay for it). That's about it. I really should sleep now. :-) -Travis Poppe