XServer taken down by Wine segfaults

2008-01-19 Thread Александър Л . Димитров
Hi fokls,

I just recently rolled back to Debian and I'm currently on sid. After installing
wine I was quite confused to find out it doesn't work - at least with my current
version of the xorg-server.

I've tried both the official debian build of wine as well as a custom git-build
I compiled myself. That'd be version .53 for both. xorg version is, as reported
by X -version:

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20080118-1)
Current Operating System: Linux brmbr 2.6.23.gmork #2 SMP PREEMPT Thu Jan 10
17:19:31 CET 2008 i686
Build Date: 18 January 2008  09:38:43PM

Everytime I try to start wine, X explodes on me, throwing me back to a VT. Log
messages are as follows:

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x7e) [0x80c674e]
1: [0xb7f65420]

Fatal server error:
Caught signal 11.  Server aborting

that's from /var/log/slim.log.

The problem is: googling for wine, segfault, debian and xserver is not really
productive, as there seems to be quite a variety of problems involving all of
the above and some pages are as old as 2002. So I'm merely asking if anyone has
the same problems on a similar setup - are there known issues with wine under
debian?

Probably I should mention I'm using the binary nvidia drivers. Did not try it
with other drivers yet, but I don't think that should have any impact on it - it
fails with _anything_ just running wine is enough to bring that down.

Reproducible: always ;-)

Should I file a bug-report? Against which package?

Thanks,
Aleks


signature.asc
Description: Digital signature


Re: XServer taken down by Wine segfaults

2008-01-19 Thread Jonathan Doe
On Saturday 19 January 2008 07:41:04 am Александър Л. Димитров wrote:
 Probably I should mention I'm using the binary nvidia drivers. Did not try
 it with other drivers yet, but I don't think that should have any impact on
 it - it fails with _anything_ just running wine is enough to bring that
 down.

I had this same problem last month. Sometimes, when xorg is upgraded, the 
binary nvidia drivers need to be reinstalled to get opengl rendering to work 
(wine runs direct draw or something that using opengl). If this is the case, 
running glxgears will also crash your xserver. The solution is to reinstall 
the binary nvidia drivers.

MM



Re: XServer taken down by Wine segfaults

2008-01-19 Thread Sridhar M.A.
On Sat, Jan 19, 2008 at 12:08:59PM -0700, Jonathan Doe wrote:
On Saturday 19 January 2008 07:41:04 am Александър Л. Димитров wrote:
 Probably I should mention I'm using the binary nvidia drivers. Did not 
try
 it with other drivers yet, but I don't think that should have any impact 
on
 it - it fails with _anything_ just running wine is enough to bring that
 down.

I had this same problem last month. Sometimes, when xorg is upgraded, the 
binary nvidia drivers need to be reinstalled to get opengl rendering to 
work 
(wine runs direct draw or something that using opengl). If this is the 
case, 
running glxgears will also crash your xserver. The solution is to 
reinstall 
the binary nvidia drivers.

May not be necessary. This usually happens when the library is not
correct. 

The package xserver-xorg-core has libglx.so in
/usr/lib/xorg/modules/extensions. The nvidia binary driver also puts its
own version of libglx.so.100.x there. The install script of 
xserver-xorg-core removes this lib during an upgrade. So, if
xserver-xorg-core is updated, you can be sure that libglx.so is bound to
be replaced. Just symlink it back to the one provided by nvidia binary
and restart X. There is no need to reinstall the nvidia binary driver.

Here is my setup :
$ ls -l /usr/lib/xorg/modules/extensions
total 3.7M
-rw-r--r-- 1 root root  19K 2008-01-07 04:06 libdbe.so
-rw-r--r-- 1 root root  41K 2008-01-07 04:06 libdri.so
-rw-r--r-- 1 root root 148K 2008-01-07 04:06 libextmod.so
-rw-r--r-- 1 root root 2.4M 2008-01-07 04:06 libGLcore.so
-rw-r--r-- 1 root root 419K 2008-01-07 04:06 libglx-orig.so
lrwxrwxrwx 1 root root   19 2008-01-14 09:09 libglx.so - libglx.so.100.14.19*
-rwxr-xr-x 1 root root 679K 2008-01-06 22:36 libglx.so.100.14.19*
-rw-r--r-- 1 root root  28K 2008-01-07 04:06 librecord.so
-rw-r--r-- 1 root root  40K 2008-01-07 04:06 libxtrap.so

HTH,

Regards,

-- 
Sridhar M.A. GPG KeyID : F6A35935
  Fingerprint: D172 22C4 7CDC D9CD 62B5  55C1 2A69 D5D8 F6A3 5935

You can only live once, but if you do it right, once is enough.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]