From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 18 00:26:45 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB7CE106566C for ; Wed, 18 Apr 2012 00:26:45 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8B3AA8FC19 for ; Wed, 18 Apr 2012 00:26:45 +0000 (UTC) Received: by dadz14 with SMTP id z14so29830483dad.17 for ; Tue, 17 Apr 2012 17:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vGeOyFuxpVHv35vfkeyDCbxdIcxRPh1PQ5ot3RANz6s=; b=X4XC6D8bSJpQ3XRFGp335BLoX7p4cdLo0X4hV0tRs4H/AK5kwLbZL3vmqpC77Thigh whR32ZY0saFEMRLW1cJrglpDImOwkstqx9nyaEx5JX/7xRvIUmgxzQr5I9pumJH9PXSs tiSnMTE3tun4fU1j029w4zI2PZezmvQ0/sqjWtIII8ICWxaGxo1vrraYXW6MrgsLOnk7 eEt2XNRZdZAU1Vj6crACi3SjBIphuH7C4JD8lpJr321xxz19fWY4CMd4zcNHLWnvxHEA efZ3V5R85HTNZfT0vgrRFQnSusRw+HjAkQ1kxOQavOKjXe6eAw6KG1FJK/FSXqcvB6Bk gkTQ== Received: by 10.68.222.38 with SMTP id qj6mr1527576pbc.69.1334708805340; Tue, 17 Apr 2012 17:26:45 -0700 (PDT) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id p4sm22080269pbp.13.2012.04.17.17.26.43 (version=SSLv3 cipher=OTHER); Tue, 17 Apr 2012 17:26:44 -0700 (PDT) Message-ID: <4F8E0A38.7030100@gmail.com> Date: Tue, 17 Apr 2012 17:26:32 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120406 Thunderbird/10.0.3 MIME-Version: 1.0 To: rnejdl@ringofsaturn.com References: <4F8CD2A8.2090606@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: wine causing x bus error X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 18 Apr 2012 00:26:45 -0000 On 04/17/12 13:34, Rusty Nejdl wrote: > On 2012-04-16 21:17, matt wrote: >> I've been trying with no success to get a 3d game running under wine on >> amd64. >> Wine in general works fine, just crashes whenever any opengl/d3d stuff >> happens. >> It works on wine with Linux, so I know this isn't a "simple" >> incompatibility. >> >> The program launches, but as soon as it attempts to detect 3d drivers, X >> terminates with (hand transcribed): >> Bus Error 10: at address 0x802cf30d7 >> >> I'm running amd64 with xf86-video-ati. >> >> I've tried running the latest package from mediafire, compiling my own >> package using the patch, as well as using a i386 chroot with the >> standard wine from ports. Mesagl and libdrm are installed in the chroot. >> >> Interestingly, trying to run it over SSH on a linux system also kills X, >> although with a segfault. >> >> They all have the result above...is this related to the wine address >> space issues on the wiki? >> >> Is what I'm trying to do not possible? Or are there other steps I can >> try? >> >> Matt >> _______________________________________________ > > I don't have much to add on this except that ATI drivers are iffy on > BSD while Nvidia seem to have deeper support. That's my guess as what > you are running into. I have no clue why X-Forwarding crashes X. > That makes me think that this isn't a wine issue but fundamental > instability in the ATI drivers on FreeBSD. > > Rusty Nejdl > _______________________________________________ The screen it's forwarded to is Linux with gallium intel drivers, fwiw. Wine appears to be the only way to crash ati drivers, actually I've had great experiences thus far with xf86-video-ati otherwise, i.e. never crashed and seems to have good performance for the card (it's a 4650, so well into the "supported" category). The behavior sounds quite similar to the problem the nvidia-patch.sh script seems to be fixing for nvidia users. I'll take another look at it, but I think it's doing something with libGL.so... Something makes me think it's a bug in running wine on amd64 that is triggering an X bug, i.e. x shouldn't crash here, but also wine is doing something wrong to crash X whether ATI or intel drivers. I don't have an nvidia card to test with unfortunately. Matt Matt