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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-08-03, 10:13 AM   #1
screetch
Registered User
 
Join Date: Nov 2003
Location: nantes, France
Posts: 8
Send a message via ICQ to screetch
Default TLS bug

i'm running a Debian GNU/Linux sid on a i686 (athlon) with a GeForce 2 MX. I have the following problem :

(qt-gui): libGL.so.1: cannot handle TLS data.
or :
Can't load '/usr/lib/perl5/auto/VRML/OpenGL/OpenGL.so' for module VRML::OpenGL: libGL.so.1: cannot handle TLS data at /usr/lib/perl/5.8.1/DynaLoader.pm line 225.


error is given by dlerror() after dlopen ().
if i try :
/lib/ld-linux.so.2 /usr/lib/tls/libGL.so.1
Segmentation fault
or :
/lib/ld-linux.so.2 /usr/lib/libGL.so.1
/usr/lib/libGL.so.1: relocation error: /usr/lib/tls/libGLcore.so.1: undefined symbol: __gl_tls_var0

i have the debian packaged drivers available at the official ftp site :
- nvidia-kernel-common
- nvidia-kernel-2.4.20triggerhippie (self packaged for my custom kernel)
- nvidia-glx
- nvidia-glx-dev
- nvidia-kernel-source (used to obtain nvidia-kernel-2.4.20triggerhippie)

all of them are at version 1.0.4496-8 except nvidia-kernel-common (1.0.4496-3).

maintainer of the debian package is Randall Donald
Attached Files
File Type: log xfree86.0.log (25.6 KB, 135 views)
screetch is offline   Reply With Quote
Old 11-12-03, 08:27 PM   #2
njord
Registered User
 
Join Date: Nov 2003
Posts: 1
Post Me too (sorta)

I don't know what to volunteer for help, but I'm having the same problem. OpenGL works fine for me (including C SDL/OpenGL development), except for the following case:

I'm trying to get CL-SDL to work (sdl for common lisp). I'm using CMUCL and thing go fine until it tries to link the foreign-function stuff to libGL.so. Then I get:

Error in function SYSTEM::LOAD-OBJECT-FILE:
Can't open object "/usr/lib/libGL.so": "/usr/lib/tls/libGLcore.so.1: undefined symbol: __gl_tls_var0"

ld.so doesn't like my libGl.so either and seg faults. I'm running a fully updated RH-9 system with the 1.0-4496 drivers. I'm thinking that this has something to do with tsl. Any thoughts? I'm dying out here!

njord
njord is offline   Reply With Quote
Old 11-13-03, 05:13 AM   #3
screetch
Registered User
 
Join Date: Nov 2003
Location: nantes, France
Posts: 8
Send a message via ICQ to screetch
Default

For those who care, TLS are a thread-safe variable ehancement from libc6/glib. It's still beta and even known not to work in certain cases.

It appeared that it's not an nvidia bug but a libc6/glib2 bug. Solution is : upgrade your libc6 or your glib package. Problem is : on red hat you'd better install a new red hat

another solution is to downgrade your nvidia drivers to the previous release which worked (they didn't use TLS i think) plus you'll get off-screen rendering for free whereas it crashes with the last driver =/
screetch is offline   Reply With Quote
Old 11-13-03, 07:45 AM   #4
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

Using the advanced options on the installer you can force the non-tls libs to be installed, rather than letting the installer try to 'figure it out' on its own. I haven't tried it, I don't have RH9 anymore, but it is an option to try before you do anything too drastic.


-A as a parameter to the installer will show you the options you've got.
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 11-13-03, 12:36 PM   #5
screetch
Registered User
 
Join Date: Nov 2003
Location: nantes, France
Posts: 8
Send a message via ICQ to screetch
Default

if "drastic" is "downgrading your driver" just know it's not very drastic, especially if u KNOW the graphic driver can't do offscreen rendering =)
screetch is offline   Reply With Quote
Old 11-13-03, 07:22 PM   #6
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

I was more referring to reformatting + looking for another distro... which can be good every once in awhile, just takes alot of time. Downgrading is always a good idea if the features of the new one aren't needed, or don't work. Never upgrade blindly
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 11-13-03, 11:50 PM   #7
screetch
Registered User
 
Join Date: Nov 2003
Location: nantes, France
Posts: 8
Send a message via ICQ to screetch
Default

*updated blindly* woups *donwgraded* ouf!

and updating glibc/libc6 IS drastic under RedHat if i remember well (updating glibc/libc6 under non debian systems)
screetch is offline   Reply With Quote
Old 11-14-03, 05:29 AM   #8
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

Yes updating glibc can be messy, I did it once before totally upgrading the distro version to fix my issue. I was a complete noob at the time, so maybe my method was all borked, but it didn't work out so well. I had issues with just about everything I tried to use.
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
BUG 302.17 - can not access TTY console legluondunet NVIDIA Linux 9 06-24-12 05:16 PM
I got a computer bug!!! sillyeagle General Hardware 16 06-05-12 02:44 AM
Antialiasing bug in 31.00 drivers? Mark_fox NVIDIA Windows Graphics Drivers 7 08-26-02 02:48 PM
bug: clockspeeds/render/MX400 obiwan NVIDIA Linux 3 08-23-02 10:20 AM
TwinView & Console bug topman NVIDIA Linux 3 08-16-02 09:32 AM

All times are GMT -5. The time now is 02:48 AM.


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