Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29434 - opengl-update doesn't stick
Summary: opengl-update doesn't stick
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 29221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-23 08:19 UTC by Matt Chorman
Modified: 2003-10-13 21:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Chorman 2003-09-23 08:19:30 UTC
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.
Comment 1 Matt Chorman 2003-09-23 09:09:04 UTC
I forgot to mention I am using opengl-update 1.5. 
Comment 2 SpanKY gentoo-dev 2003-09-23 21:09:33 UTC
ive seen this before when the symlinks start out messed up ...

what does `ls -al /usr/lib/libGL*` show ?
Comment 3 Matt Chorman 2003-09-24 10:11:40 UTC
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. 
Comment 4 SpanKY gentoo-dev 2003-09-25 08:34:44 UTC
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 ;)
Comment 5 SpanKY gentoo-dev 2003-09-25 20:22:14 UTC
hrm well i cant seem to figure out where it used to be, but this is all set
now :x
Comment 6 SpanKY gentoo-dev 2003-10-13 21:45:16 UTC
*** Bug 29221 has been marked as a duplicate of this bug. ***