View previous topic :: View next topic |
Author |
Message |
HEPP n00b
Joined: 16 Aug 2004 Posts: 25 Location: Norway
|
Posted: Wed Sep 21, 2005 5:57 pm Post subject: Nvidia and glx problem(failed to load GLX) |
|
|
I cant run glx.
When i test my vidioe card with, glxinfo | grep direct. I get this error.
Code: | glxinfo: error while loading shared libraries: libnvidia-tls.so.1: cannot TLS data |
And when i test the FPS with, glxgears. I get this error.
Code: | glxinfo: error while loading shared libraries: libnvidia-tls.so.1: cannot TLS data |
This is my output errors, in the X server log.
Code: |
dlopen: libnvidia-tls.so.1: cannot handle TLS data
(EE) Failed to load /usr/lib/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
(EE) NVIDIA(0): Failed to load GLX
|
Any idea to fix this? _________________ What is locked, can be opened. What is hidden, can be found, What is yours, can be mine. |
|
Back to top |
|
|
xaos5 Apprentice
Joined: 19 Apr 2005 Posts: 255 Location: Michigan
|
|
Back to top |
|
|
alistair Retired Dev
Joined: 15 Jul 2005 Posts: 869
|
Posted: Wed Sep 21, 2005 10:07 pm Post subject: |
|
|
also make sure you dont have this in your xorg.conf
Code: | Section "Extensions"
Option "Composite" "Enable"
EndSection |
If you do and you want it then read the NVIDIA readme for the option to still have glx[/quote] |
|
Back to top |
|
|
garion911 Tux's lil' helper
Joined: 04 Jun 2002 Posts: 88
|
Posted: Wed Oct 26, 2005 2:52 am Post subject: |
|
|
I know this thread is a couple weeks old, but I just solved this problem on my machine..
It seems that the nvidia-glx ebuild tries to detect which version of glibc you have installed.. It has to do this, to figure out if it uses TLS or not... In my case, I had glibc 2.2.5 and 2.3.5....... And 2.2.5 doesn't support TLS (or is it nptl? I dont know, I'm confused), so when the "has_version" line in the nvidia-glx ebuild came back, it showed 2.2.5, and installed the non-TLS version. Which confilcts with my glibc-2.3.5........
So I unmerged glibc-2.2.5, re-emerged nvidia-glx, and now everything works...... Maybe we want to file a bug report? |
|
Back to top |
|
|
blackwhite Apprentice
Joined: 24 Jun 2004 Posts: 250
|
Posted: Tue Nov 08, 2005 3:29 pm Post subject: |
|
|
I have such a problem. This is caused by glibc's nptl problem, I do not how to fix it. You excute /lib/tls/libc.so.6 to verify it. |
|
Back to top |
|
|
vk036968 n00b
Joined: 23 Mar 2006 Posts: 1
|
Posted: Thu Mar 23, 2006 7:26 am Post subject: Re: Nvidia and glx problem(failed to load GLX) |
|
|
HEPP wrote: | I cant run glx.
When i test my vidioe card with, glxinfo | grep direct. I get this error.
Code: | glxinfo: error while loading shared libraries: libnvidia-tls.so.1: cannot TLS data |
And when i test the FPS with, glxgears. I get this error.
Code: | glxinfo: error while loading shared libraries: libnvidia-tls.so.1: cannot TLS data |
This is my output errors, in the X server log.
Code: |
dlopen: libnvidia-tls.so.1: cannot handle TLS data
(EE) Failed to load /usr/lib/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
(EE) NVIDIA(0): Failed to load GLX
|
Any idea to fix this? |
I came across the exact same problem.
Help. |
|
Back to top |
|
|
shadowoperator n00b
Joined: 16 Mar 2006 Posts: 36
|
Posted: Sun Mar 26, 2006 10:06 pm Post subject: |
|
|
Same here.
After following the instructions in the gentoo nvidia guide (http://www.gentoo.org/doc/en/nvidia-guide.xml),
Everthing seems to work fine, until the final step:
Code: | # glxinfo | grep direct
glxinfo: error while loading shared libraries: libnvidia-tls.so.1: cannot handle TLS data |
Just to let anyone with the answer to this prob know that it's worthwhile posting it here |
|
Back to top |
|
|
trashman n00b
Joined: 14 Mar 2006 Posts: 22 Location: Cleveland, OH
|
Posted: Mon Mar 27, 2006 1:55 am Post subject: |
|
|
I was hit by this too. Curiously though, `glxinfo | grep Direct` gives me:
Code: | $ glxinfo | grep Direct
Error: couldn't find RGB GLX visual |
It says nothing about shared libraries. However, my xorg log also says that it failed to load nvidia-glx. |
|
Back to top |
|
|
trashman n00b
Joined: 14 Mar 2006 Posts: 22 Location: Cleveland, OH
|
Posted: Mon Mar 27, 2006 2:33 am Post subject: |
|
|
Huzzah! I fixed GLX on my system with `emerge nvidia-kernel nvidia-glx`. |
|
Back to top |
|
|
jaso n00b
Joined: 13 Jul 2002 Posts: 30 Location: Germany
|
Posted: Mon Mar 27, 2006 6:54 pm Post subject: |
|
|
I've just installed 2006.0 on a new maschine from stage3 and ran into the same problem.
It was solved by (2.3.5-r2) |
|
Back to top |
|
|
BlinkEye Veteran
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
Posted: Mon Mar 27, 2006 7:28 pm Post subject: |
|
|
trashman wrote: | Huzzah! I fixed GLX on my system with `emerge nvidia-kernel nvidia-glx`. |
You'll have to re-emerge nvidia-kernel and nvidia-glx after every kernel upgrade, don't forget that! _________________ Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick |
|
Back to top |
|
|
brot Guru
Joined: 06 Apr 2004 Posts: 322
|
Posted: Mon Mar 27, 2006 9:03 pm Post subject: |
|
|
You will only have to update nvidia-kernel, as the glx package is the connection part for X, and nvidia-kernel is the part for the kernel... |
|
Back to top |
|
|
jaso n00b
Joined: 13 Jul 2002 Posts: 30 Location: Germany
|
Posted: Tue Mar 28, 2006 7:47 am Post subject: |
|
|
Sure, I did that before but it didn't fix the problem for me.
But aftrer the reinstallation of glibc it worked. |
|
Back to top |
|
|
trashman n00b
Joined: 14 Mar 2006 Posts: 22 Location: Cleveland, OH
|
Posted: Tue Mar 28, 2006 8:03 am Post subject: |
|
|
I guess I didn't have the same problem after all, but it sure is an odd coincidence. I think this is the first time I upgraded glx since upgrading glibc to 2.4. Somehow I guess that was the source of the problem, but after re-emeging nvidia-kernel, it worked again... mysteriously. |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Tue Mar 28, 2006 8:23 am Post subject: |
|
|
I've once had this problem, and re-emerging was not enough. I've had to actually first unmerge nvidia-kernel and nvidia-glx, and reemerge. Things worked afterwards |
|
Back to top |
|
|
shadowoperator n00b
Joined: 16 Mar 2006 Posts: 36
|
Posted: Sun Apr 02, 2006 10:31 pm Post subject: |
|
|
jaso wrote: | I've just installed 2006.0 on a new maschine from stage3 and ran into the same problem.
It was solved by (2.3.5-r2) |
Emerging the latest glibc (to 2.3.5) seems to have -partially- resolved the problem:
To get there, did the following
Code: | # emerge glibc
# emerge --unmerge nvidia-glx nvidia-kernel
# emerge nvida glx |
...then followed the rest of the steps in the gentoo nvidia setup guide (xorg.conf changes; modules-update; opengl-update nvidia)
Now, instead of getting this:
Code: | # glxinfo | grep direct
glxinfo: error while loading shared libraries: libnvidia-tls.so.1: cannot handle TLS data |
I get this:
Code: | # glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect |
Not sure to what extent this is a problem, but my guess is that the final goal of getting direct rendering with the nvidia drivers (as opposed to indirect Mesa GLX...what's the difference?) has not been achieved.
Any idea on how I can get direct rendering to be 'yes'? |
|
Back to top |
|
|
barfos n00b
Joined: 03 Apr 2006 Posts: 7
|
Posted: Sat Apr 08, 2006 1:27 am Post subject: |
|
|
https://forums.gentoo.org/viewtopic-t-345561-highlight-handle+tls+data.html
Haha, read that. The library in question seems to be mistakenly installed in the wrong place. I backed up and replaced it with the tls version, ran eselect opengl set nvidia, and it stopped giving me the "cant handle tls" error! However glxinfo gave some new errors...
So I stopped X, redid eselect opengl set nvidia and BAM... everything works and works great!!!! I should have known not to try that stuff while inside X.
Seems this bug is really old. Someone ought to fix it.
barfos |
|
Back to top |
|
|
jentuu n00b
Joined: 26 Jan 2006 Posts: 41 Location: Georgia, Tbilisi
|
Posted: Sat Apr 08, 2006 5:07 pm Post subject: |
|
|
hello all
I have problem with modprobe nvidia
Quote: |
uzurpator / # modprobe nvidia
FATAL: Could not load /lib/modules/2.6.13-15-default/modules.dep: No such file or directory
uzurpator / #
|
and in the /lib/modules/ dir. is:
Quote: |
uzurpator / # ls /lib/modules/
2.6.16-gentoo-r1
uzurpator / # ls /lib/modules/2.6.16-gentoo-r1
build modules.dep modules.ofmap modules.usbmap
kernel modules.ieee1394map modules.pcimap source
modules.alias modules.inputmap modules.seriomap video
modules.ccwmap modules.isapnpmap modules.symbols
|
how can I fix this error plz?
thnx _________________ just emerge |
|
Back to top |
|
|
Larcen Apprentice
Joined: 21 Mar 2004 Posts: 174
|
Posted: Mon May 22, 2006 8:51 pm Post subject: |
|
|
Same problem still, remerged glibc and nvidia stable and unmasked by .keywords, still no go. Done eselect updates, done all this from console not in x, not sure what else to try. :/ |
|
Back to top |
|
|
Larcen Apprentice
Joined: 21 Mar 2004 Posts: 174
|
Posted: Tue May 23, 2006 11:01 am Post subject: |
|
|
One thing I have noticed is, whether opengl-update is set to nvidia or xorg-x11 it always looks in /usr/lib/modules/extensions/ for libGL.so never in /usr/lib/opengl/nvidia/lib/libGL.so Could that be an issue?
EDIT: Nevermind, it's a simlink anyhow. Piece of shit.
Last edited by Larcen on Tue May 23, 2006 4:32 pm; edited 1 time in total |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Tue May 23, 2006 11:25 am Post subject: |
|
|
shadowoperator wrote: |
Code: | # glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect |
Not sure to what extent this is a problem, but my guess is that the final goal of getting direct rendering with the nvidia drivers (as opposed to indirect Mesa GLX...what's the difference?) has not been achieved.
Any idea on how I can get direct rendering to be 'yes'? |
Mesa is the Xorg version of opengl. Try this:
Code: |
# eselect opengl nvidia
|
Then restart X.
troymc |
|
Back to top |
|
|
Larcen Apprentice
Joined: 21 Mar 2004 Posts: 174
|
Posted: Thu May 25, 2006 12:36 am Post subject: |
|
|
I was excited to see new drivers were out for nvidia and nvidia-glx in the ~ section, though same problem persists. |
|
Back to top |
|
|
|