Please help
Code: Select all
=sys-libs/glibc-2.3.5
Code: Select all
emerge glibc

Are you loading the glx driver? The Nvidia driver works fine, the problem people are having seems to occur when loading nvidia-glx.agent_jdh wrote:I got the glibc upgrade a couple of nights back, and I use nvidia (_never_ the installer though, _always_ the ebuilds), and no worries here.
One thing I did do was to re-emerge binutils after the glibc upgrade. I also rebuilt my toolchain after that but I'm pretty sure I rebooted before I did that and nvidia worked OK.
What do you mean, nvidia driver or nvidia-glx? The X driver provided by the nvidia-glx ebuild is called 'nvidia' - glx is just an X server module that you need to load to get glx to work. The default X driver for nvidia cards that comes with e.g. xorg is called 'nv'.roarkh wrote:Are you loading the glx driver? The Nvidia driver works fine, the problem people are having seems to occur when loading nvidia-glx.agent_jdh wrote:I got the glibc upgrade a couple of nights back, and I use nvidia (_never_ the installer though, _always_ the ebuilds), and no worries here.
One thing I did do was to re-emerge binutils after the glibc upgrade. I also rebuilt my toolchain after that but I'm pretty sure I rebooted before I did that and nvidia worked OK.
-Roark

The way I understand it the nvidia driver is provided by nvidia-kernel and the nvidia glx module is provided by nvidia-glx. I'm just asking if you have uncommented the 'glx' option in your xorg.conf file to load the glx driver. The nvidia-kernel driver worked fine for me after updating glibc as long as the glx module was not being loaded. The only way I was able to get it to work with nvidia's glx module was to use the binary installer off of nVidia's web site. I don't seem to be the only one who is experiencing this. It was a couple of days ago that I did this so something may have been fixed since then.agent_jdh wrote:What do you mean, nvidia driver or nvidia-glx? The X driver provided by the nvidia-glx ebuild is called 'nvidia' - glx is just an X server module that you need to load to get glx to work. The default X driver for nvidia cards that comes with e.g. xorg is called 'nv'.
I'm talking about the 'nvidia' driver as provided by the nvidia-glx ebuild. I've used that driver ever since I got an nvidia card.
No. The nvidia kernel module (which is called nvidia), is provided by the nvidia-kernel ebuild. The nvidia glx X driver (which is also called nvidia), is provided by the nvidia-glx ebuild. The glx extension is provided by the X vendor e.g. xorg.roarkh wrote:The way I understand it the nvidia driver is provided by nvidia-kernel and the nvidia glx module is provided by nvidia-glx. I'm just asking if you have uncommented the 'glx' option in your xorg.conf file to load the glx driver. The nvidia-kernel driver worked fine for me after updating glibc as long as the glx module was not being loaded. The only way I was able to get it to work with nvidia's glx module was to use the binary installer off of nVidia's web site. I don't seem to be the only one who is experiencing this. It was a couple of days ago that I did this so something may have been fixed since then.agent_jdh wrote:What do you mean, nvidia driver or nvidia-glx? The X driver provided by the nvidia-glx ebuild is called 'nvidia' - glx is just an X server module that you need to load to get glx to work. The default X driver for nvidia cards that comes with e.g. xorg is called 'nv'.
I'm talking about the 'nvidia' driver as provided by the nvidia-glx ebuild. I've used that driver ever since I got an nvidia card.
-Roark
I'd also advise you to uninstall the nvidia drivers using the nvidia installer and go back to using the ebuilds (assuming you can get them working again). Hopefully you can avoid the weeks' worth of banging-my-head-off-a-wall trying to work out what had broken gl apps before having to manually scour my filesystem and delete all the things the nvidia installer had littered about the place (it isn't - or wasn't, maybe that's changed - terribly well aware of Gentoo's X installation system like the opengl-config method).roarkh wrote:OK, I'll give that a try when I have some spare time.
Thanks
-Roark
I know. I've already answered that though. I was trying to point out a possible fix for the original poster, and trying to clear up some confusion with another poster re driver semantics.thagame wrote:xorg.conf by default comments out Load glx. if you dont uncomment it you have glx installed but its not being used. thats what he is trying to tell you. not asking for an explanation of what each file does. we are saying if you look on xorg.conf does it say # Load glx or just Load glx.

Code: Select all
sh emwrap.sh -setCode: Select all
emerge nvidia-kernel nvidia-glx
The current ~x86 version is 2.3.5 and thats the one making problems.Pwnz3r wrote:As far as glibc goes, I use the ~arch version and have yet to have any problems with it. Try that if you want to upgrade instead of downgrade. Cheers.
I actually use the tcupdate.sh script from that link instead. There is some discussion on the 5th page about exactly what needs to get done when you upgrade either gcc or glibc, the scripts at the start of that thread did seem like overkill to me.roarkh wrote:Agent_jdh,
Well I made an attempt to follow your advice, I went ahead and reemerged binutils, then I took a look at the link you referenced regarding rebuilding the toolchain and downloaded the emwrap.sh script. After checking out the documentation for that I issued the following command to update my toolchain (maybe I misunderstood something in the docs).
This seemed to do its job taking about 3 hours or so to complete.Code: Select all
sh emwrap.sh -set
I then used the Nvidia binary installer to uninstall the kernel and glx drivers and proceeded to...
The problem still is there for me, typing startx results in a hard crash and garbled video.Code: Select all
emerge nvidia-kernel nvidia-glx
Again, using Nvidia's installer to reinstall brought my system back to life.
Do you have any other ideas? Did I misunderstand just how to use the emwrap script?
I appreciate your help, the link to the thread about updating my toolchain was very helpful.
Thanks again.
-Roark
If that didn't fix the problem it might not be ntpl/linuxthreads.Uppi wrote:The -r2 ebuild of nvidia-glx didn't fix the problem
I guess its time to try out nptl...
I recompiled glibc with ntpl and nptlonly and then emerged the -r2 ebuild and glx works again.gemini91 wrote:The -r2 ebuild of nvidia-glx plus nptl as in the bug report did not solve the problem
for me. It looks like if I want glx I need to downgrade glibc.