Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4147 - opengl-update script does not stick
Summary: opengl-update script does not stick
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 33713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-25 12:04 UTC by Howard Powell
Modified: 2003-11-17 23:11 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 Howard Powell 2002-06-25 12:04:41 UTC
When changing from the xfree mesa drivers to the nvidia drivers for my new video
card, I realized that each time that env-update is run, it causes the system to
revert back to the mesa software opengl drivers.

This problem was discussed in the forums at
http://forums.gentoo.org/viewtopic.php?p=28871#28871

Thanks for your help with this.
Howard
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-16 21:52:23 UTC
drobbins,

I remember you were experiencing this issue this morning.  Adding you to the
ebuild, coz as I recall you were looking for a fix.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-18 17:49:43 UTC
Well, like in the forum, I really cannot see how it cannot 'stick'.  It
creates symlinks, and a file in /etc/env.d/.  Filesystem/kernel problems
maybe ?
Comment 3 SpanKY gentoo-dev 2002-09-25 22:31:24 UTC
i dont have this problem but a brother in my house has it ...
he's agreed to give me root to track it down ...
so i'm stealing the bug ;)
Comment 4 SpanKY gentoo-dev 2002-09-26 11:55:42 UTC
ok, the source of his problem was he had stale packages on his system ...
thats why his `env-update` was screwing him up ...
Comment 5 Howard Powell 2002-10-09 10:24:38 UTC
Sorry, i sold that machine and am no longer using gentoo.  Feel free to consider
this problem fixed now.

Thanks for your help
howard
Comment 6 SpanKY gentoo-dev 2002-10-10 00:30:55 UTC
ive found a few peeps with the prob and i'm trackin it down ;) 
Comment 7 SpanKY gentoo-dev 2002-10-10 03:59:27 UTC
ok, heres the dilly: 
 
PROBLEM SOURCE: 
nvidia-glx *used* to be in media-gfx ... it now exists in media-video 
when users updated nvidia-glx and cleaned/etc... an old library file 
*sometimes* was left behind ... 
/usr/lib/libGL.so.1.0.VERSION# 
 
when `opengl-update` was run, /usr/lib/libGL.so[.1] was re-linked to the 
correct files in /usr/lib/opengl/nvidia/lib/ 
when `env-update` was run, /usr/lib/libGL.so[.1] was linked to this old version 
which (i'm guessing) caused errors and forced the default back to xfree's GLX 
implementation 
 
THE FIX: 
if you still have media-gfx/nvidia-glx installed, you can unmerge it and be all 
set ... if you dont, you just have to delete /usr/lib/libGL.so* and run 
opengl-update again ... 
 
quick script: 
emerge unmerge media-gfx/nvidia-glx 
rm -rf /usr/lib/libGL.so* 
opengl-update 
Comment 8 SpanKY gentoo-dev 2002-10-20 18:03:58 UTC
it seems sometimes library files also get left behind even if all old versions 
have been unmerged

to check, run this:
ls /usr/lib/lib*GL* -al

if any of the libGL, libGLU, libGLcore files that end in '.so' and '.so.1' are 
not symlinks, `rm` them ...

please note, that only library files that end in '.so' and '.so.1' should be 
symlinks ... if its like '.so.1.3', do not remove it

have fun peeps
Comment 9 SpanKY gentoo-dev 2003-11-17 23:11:54 UTC
*** Bug 33713 has been marked as a duplicate of this bug. ***