Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-01-04, 09:26 AM   #1
m2-
Registered User
 
Join Date: Apr 2003
Location: None of your Bizland.
Posts: 11
Default 5336 / 2.6.2-rc3 / 4.3.0 / Debian = segfault when starting Xserver

See subject.

1.0.5336 + 2.6.2-rc3 on a Debian system with XFree86 4.3 produces a segfault when starting the Xserver. This is a Dell Inspiron 8000 laptop. The driver seems to be happy in 2.4.24. I have flashed the BIOS to the newest available from Dell ('cus of an unrelated kernel message), I have tried with and without ACPI, with AGPGART and with the driver's internal AGP support, same thing. The Xserver segfaults after "initializing GLX extension".

Clues?
m2- is offline   Reply With Quote
Old 02-01-04, 09:27 AM   #2
m2-
Registered User
 
Join Date: Apr 2003
Location: None of your Bizland.
Posts: 11
Default

Ah, yes, I have read this forums. And I tried the suggestions at http://www.minion.de/ just in case. No change.
m2- is offline   Reply With Quote
Old 02-01-04, 09:34 AM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

Reinstall the driver on Linux 2.6, the problem should go away then.
zander is offline   Reply With Quote
Old 02-01-04, 10:09 AM   #4
m2-
Registered User
 
Join Date: Apr 2003
Location: None of your Bizland.
Posts: 11
Default

What do you mean "reinstall the driver in 2.6"? The kernel module is working properly. It loads without fuss. It's the Xserver that's segfaulting.
m2- is offline   Reply With Quote
Old 02-01-04, 11:40 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

Recent versions of glibc (as shipped by several distributions, including Debian GNU/Linux (unstable)) support NPTL enabled kernels, i.e. they will behave differently on Linux 2.6 than they do on vanilla Linux 2.4 kernels. The fact that your X server is segfaulting during GLX initialization on Linux 2.6 whereas it works fine on Linux 2.4 suggests that you don't have the correct set of NVIDIA OpenGL libraries installed.
zander is offline   Reply With Quote
Old 02-01-04, 03:38 PM   #6
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default

Hi,

I had problems with nptl&nvidia drivers, giving me an SIGFPE on startup. I had to clean my system from nptl (rebuilding a lot of stuff), after that, everthing is ok.
energyman76b is offline   Reply With Quote
Old 02-01-04, 07:36 PM   #7
m2-
Registered User
 
Join Date: Apr 2003
Location: None of your Bizland.
Posts: 11
Default

After noticing that there are TLS versions of the glx module, too (makes zero sense to me), I replaced the non-TLS version in /usr/X11R6/lib/modules/ with the TLS version and everything works. Thanks!

Now for a question regarding understanding the situation, I hope someone from NVIDIA is willing to explain what's going on here. If the glx module is loaded by the X server, which is not threaded, why does it matter which threading model the module uses? And why does it segfault during X server initialization. The only thing I can figure right now, is that the X server uses this for indirect rendering, but that doesn't explain the problem to me. In short: why does it make a difference if the glx module is using TLS or not?

(it's pretty annoying to have to switch between the TLS and the non-TLS version when changing kernels -- but that's something else)

To zander: jein. You are right in that the non TLS module was being used. But the problem is not the GL libraries, but the glx module for the X server.

For future reference for other people: if you are using a 2.6 kernel _and_ a TLS-capable libc, check which version of the modules your X server is using.
m2- is offline   Reply With Quote
Old 02-02-04, 05:29 AM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

The NVIDIA GLX module was implied in "the correct set of NVIDIA OpenGL libraries", but this is also documented in the README.
zander is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:05 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.