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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-26-03, 07:32 PM   #1
apr
Registered User
 
Join Date: Aug 2003
Posts: 8
Default 4496 GLX problem

Hi,

I installed the 4496 drivers on my RH 9.0 linux PC. I had to install manually due to my kernel version 2.60-test4 (minion.de patch applied). I'm happy to say I am up and running except for the glx extension, which fails to load due to __gl_tls_var0 not being defined. Any help is greatly appreciated to get glx to load properly.

From XFREE86.0.log:

(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: /usr/lib/tls/libGLcore.so.1: undefined symbol: __gl_tls_var0
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)

I believe I updated all my GL* libs to correctly point to 4496 versions, as listed below.

In /usr/lib:

lrwxrwxrwx 1 root root 10 Jul 21 13:47 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 17 Aug 26 18:37 /usr/lib/libGL.so.1 -> libGL.so.1.0.4496
-rwxr-xr-x 1 apr users 423476 Jul 16 22:56 /usr/lib/libGL.so.1.0.4496
lrwxrwxrwx 1 root root 33 May 20 16:24 /usr/lib/libGLU.so -> ../../usr/X11R6/lib/libGLU.so.1.3
lrwxrwxrwx 1 root root 33 May 20 16:24 /usr/lib/libGLU.so.1 ->
../../usr/X11R6/lib/libGLU.so.1.3
lrwxrwxrwx 1 root root 21 Aug 26 18:38 /usr/lib/libGLcore.so.1
-> libGLcore.so.1.0.4496
-rwxr-xr-x 1 root root 5060036 Jul 16 22:56 /usr/lib/libGLcore.so.1.0.4496

In /usr/lib/tls:

lrwxrwxrwx 1 root root 10 Aug 26 18:41 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 17 Aug 26 18:41 libGL.so.1 -> libGL.so.1.0.4496
-rwxr-xr-x 1 root root 430820 Jul 16 22:56 libGL.so.1.0.4496
lrwxrwxrwx 1 root root 21 Aug 26 18:41 libGLcore.so.1 -> libGLcore.so.1.0.4496
-rwxr-xr-x 1 root root 5096176 Jul 16 22:56 libGLcore.so.1.0.4496

In /usr/X11/lib/modules/extensions:

lrwxrwxrwx 1 root root 18 Aug 26 19:04 libglx.so -> libglx.so.1.0.4496
-rwxr-xr-x 1 root root 683136 Jul 16 22:56 libglx.so.1.0.4496

XF86Config relevant sections:
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
Load "glx"
EndSection
Section "Device"

Identifier "Videocard0"
Driver "nvidia"
# Option "NvAGP" "3"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce"
EndSection

Thanks!!!
__________________
Surrender to the void.
apr is offline   Reply With Quote
Old 08-27-03, 01:25 PM   #2
Alton
Registered User
 
Join Date: Aug 2003
Posts: 1
Default

This may not be helpful since I'm running Gentoo instead of Redhat, but my libGLcore.so.1 is pointing at

/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4496
Alton is offline   Reply With Quote
Old 08-27-03, 03:02 PM   #3
apr
Registered User
 
Join Date: Aug 2003
Posts: 8
Default

That's just a difference in the distros. I have no /usr/lib/opengl directory in RH.

Thanks for trying. I hope someone will help me with this problem as using nm and trying to find symbols doesn't work so I can't debug it myself.
__________________
Surrender to the void.
apr is offline   Reply With Quote
Old 08-28-03, 02:12 AM   #4
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default TLS!

Well... if you did the installation manually, you missed something: there are 2 versions of the nvidia driver. The TLS one and the non-TLS one. Actually TLS is a feature of one of the main component of any disto, the glibc.
You have to extract the files from the nvidia driver and install the TLS version files(in the tls directories inside the nvidia tree) of:
libGLcore.so.1.0.4496
libGL.so.1.0.4496
libglx.so.1.0.4496
XoD is offline   Reply With Quote
Old 08-28-03, 05:55 PM   #5
apr
Registered User
 
Join Date: Aug 2003
Posts: 8
Default

I did install the tls versions of the libs, exactly as the nvidia directory tree had it (see my initial post). And it is the tls versions of the libs that are giving the undefined symbol error.

When I force the driver to load the non-tls files, X draws a messed-up screen and X is unusable (in fact, it doesn't start at all; it just messes up the screen permanaently until I reboot).

I don't think I missed anything but please look again at my original post if you still think I did.
__________________
Surrender to the void.
apr is offline   Reply With Quote
Old 08-29-03, 06:05 AM   #6
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default Hum...

You have also a TLS version of the xfree glx module. Did you install this one?
If yes, for my part I would have overwritten the GL libs in /usr/lib with the TLS versions from /usr/lib/tls. If you try this, don't forget to update your /etc/ld.so.conf by removing any /usr/lib/tls and doing a #ldconfig -v to update the cache.
XoD is offline   Reply With Quote
Old 08-29-03, 01:13 PM   #7
apr
Registered User
 
Join Date: Aug 2003
Posts: 8
Default

That didn't make any difference whatsoever.
__________________
Surrender to the void.
apr is offline   Reply With Quote
Old 08-29-03, 02:58 PM   #8
apr
Registered User
 
Join Date: Aug 2003
Posts: 8
Default Solution

I finally solved the problem. I had to boot under kernel 2.4.x so I could run the installer. After I did that, then I rebooted as 2.6.0 and things finally worked.

After some detective work, I found out the installer installs the tls versions of libglx.so.1.0.4496 in /usr/X11R6/lib/modules/extensions (rather than in a tls subdirectory as laid out in their src tree).

I hope this helps others who have this problem in the future.
__________________
Surrender to the void.
apr 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
173.14.34 -- Xorg 1.12.1 & 1.11.4, glx module fails to load mereset NVIDIA Linux 17 06-10-12 01:24 AM
Major WineX prob... I think it has to do with the vidcard... Linewbie NVIDIA Linux 20 10-09-02 09:58 PM
Glx mrbig1344 NVIDIA Linux 7 09-30-02 06:45 AM
Problem with GLX(?) Nykolas NVIDIA Linux 4 08-12-02 02:24 PM
Nvidia Go on laptop, black border within XFree86 problem raxip NVIDIA Linux 3 07-31-02 10:58 AM

All times are GMT -5. The time now is 12:22 AM.


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