I have found opengl-update to be VERY flaky. I cannot find any sort of consistancy to it's flakiness either. Here are the symptoms: I emerge nvidia-glx. I run opengl-update nvidia. X is configured correctly and I startx. Fine and dandy, check my email, surf, chat, go to use an opengl app (i.e. enemy territory). Error: opengl error. X has put back the xfree opengl libs. I run opengl-update nvidia and restart ET - everything is fine. I drop to a console and emerge some stuff - Nope! Sorry! Halfway through an ebuild that requires gl or can use gl (like QT) it throws undefined errors relating to gl. I run opengl-update nvidia and it works again. I go back into X - check the logs - GLX extensions were not loaded because the gl libs went wacky again. So I have to drop out of X, opengl-update nvidia, startx, opengl-update nvidia, THEN run et. I feel that the behavior of opengl-update should be that when you run it, the drivers you specified STICK until you run it again.
I forgot to mention I am using opengl-update 1.5.
ive seen this before when the symlinks start out messed up ... what does `ls -al /usr/lib/libGL*` show ?
matt@madcat ~ # ls -al /usr/lib/libGL* lrwxr-xr-x 1 root root 44 Sep 23 10:22 /usr/lib/libGL.so -> /usr/ lib/opengl/nvidia/lib/libGL.so.1.0.4496 lrwxr-xr-x 1 root root 17 Sep 23 17:46 /usr/lib/libGL.so.1 -> libGL.so.1.0.4363 -rwxr-xr-x 1 root root 413588 Aug 7 15:21 /usr/lib/ libGL.so.1.0.4363 -rw-r--r-- 1 root root 657850 Sep 12 02:05 /usr/lib/libGLU.a -rw-r--r-- 1 root root 769 Sep 12 02:05 /usr/lib/libGLU.la lrwxrwxrwx 1 root root 13 Sep 12 02:06 /usr/lib/libGLU.so -> libGLU.so.1.3 lrwxrwxrwx 1 root root 13 Sep 12 02:06 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 -rwxr-xr-x 1 root root 565790 Sep 12 02:05 /usr/lib/libGLU.so.1.3 lrwxr-xr-x 1 root root 48 Sep 23 10:22 /usr/lib/libGLcore.so -> / usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4496 lrwxr-xr-x 1 root root 21 Sep 23 17:46 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.4363 -rwxr-xr-x 1 root root 4897272 Aug 7 15:21 /usr/lib/ libGLcore.so.1.0.4363 I did this *before* running opengl-update. Which is odd because I removed the 4363 glx libs before i emerged 4496. Perhaps there is some trace of them left lying around? These are the results *after* running opengl-update nvidia: root@madcat matt # ls -al /usr/lib/libGL* lrwxr-xr-x 1 root root 44 Sep 24 08:34 /usr/lib/libGL.so -> /usr/ lib/opengl/nvidia/lib/libGL.so.1.0.4496 lrwxr-xr-x 1 root root 44 Sep 24 08:34 /usr/lib/libGL.so.1 -> /usr/ lib/opengl/nvidia/lib/libGL.so.1.0.4496 -rwxr-xr-x 1 root root 413588 Aug 7 15:21 /usr/lib/ libGL.so.1.0.4363 -rw-r--r-- 1 root root 657850 Sep 12 02:05 /usr/lib/libGLU.a -rw-r--r-- 1 root root 769 Sep 12 02:05 /usr/lib/libGLU.la lrwxrwxrwx 1 root root 13 Sep 12 02:06 /usr/lib/libGLU.so -> libGLU.so.1.3 lrwxrwxrwx 1 root root 13 Sep 12 02:06 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 -rwxr-xr-x 1 root root 565790 Sep 12 02:05 /usr/lib/libGLU.so.1.3 lrwxr-xr-x 1 root root 48 Sep 24 08:34 /usr/lib/libGLcore.so -> / usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4496 lrwxr-xr-x 1 root root 48 Sep 24 08:34 /usr/lib/libGLcore.so.1 -> / usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4496 -rwxr-xr-x 1 root root 4897272 Aug 7 15:21 /usr/lib/ libGLcore.so.1.0.4363 Hmm.. After removing the stray .4363 files I ran some opengl progs and checked again. matt@madcat bin # ls -al /usr/lib/libGL* lrwxr-xr-x 1 root root 44 Sep 24 09:20 /usr/lib/libGL.so -> /usr/ lib/opengl/nvidia/lib/libGL.so.1.0.4496 lrwxr-xr-x 1 root root 44 Sep 24 09:20 /usr/lib/libGL.so.1 -> /usr/ lib/opengl/nvidia/lib/libGL.so.1.0.4496 -rw-r--r-- 1 root root 657850 Sep 12 02:05 /usr/lib/libGLU.a -rw-r--r-- 1 root root 769 Sep 12 02:05 /usr/lib/libGLU.la lrwxrwxrwx 1 root root 13 Sep 12 02:06 /usr/lib/libGLU.so -> libGLU.so.1.3 lrwxrwxrwx 1 root root 13 Sep 12 02:06 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 -rwxr-xr-x 1 root root 565790 Sep 12 02:05 /usr/lib/libGLU.so.1.3 lrwxr-xr-x 1 root root 48 Sep 24 09:20 /usr/lib/libGLcore.so -> / usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4496 lrwxr-xr-x 1 root root 48 Sep 24 09:20 /usr/lib/libGLcore.so.1 -> / usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4496 The stray 4363 files that were floating around were causing issues. Not sure if this is a bug or just an eccentricity of opengl-update. Sidenote: I only started using the ebuilds for nvidia recently (1-2 months ago), before I just installed them myself. This may have been here since the "before" time.
yeah, this is exactly what i saw with my friend ... the nvidia ebuild was moved a long time ago from one category to another ... when people emerged the new category, the old one was floating around and it caused issues with nvidia ... i'll add an update to the updates files to make sure (well hopefully) this doesnt happen anymore ;)
hrm well i cant seem to figure out where it used to be, but this is all set now :x
*** Bug 29221 has been marked as a duplicate of this bug. ***