View Single Post
Old 04-06-07, 06:11 AM   #9
masterminds
Registered User
 
Join Date: Apr 2007
Posts: 1
Smile Re: X wont start with 'glx'

This was the problem for me too..

And I fixed it with Gentoo Wiki - "HOWTO nVidia Drivers".


Quote:
Error: libnvidia-tls.so.1: cannot handle TLS data

After re-emerging several times the nvidia drivers, it may happen that the glx module fails to load without any apparent reason, with the error "libnvidia-tls.so.1: cannot handle TLS data". This issue is caused by two files being inverted, /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.8762 and /usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1.0.8762. The fix is quite simple: swap the two files. Before trying this, check to see if the libnvidia-tls.so.1.0.8762 file in the no-tls folder is smaller than the one in the tls folder. If it is the case, then the files are already in the correct folder, so do not swap them. If it is not the case, then you can swap them with this command:


Code: Command to swap inverted files

Code:
mv /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.8762
Code:
/usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.8762.bak && mv
Code:
/usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1.0.8762
Code:
/usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.8762 && mv
Code:
/usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.8762.bak
Code:
/usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1.0.8762
Restart X and the glx module should load fine, this time. If not, update your glibc!

Good Luck!
masterminds is offline   Reply With Quote