Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90922 - opengl-update-2.2.1 breaks all nvidia-glx-1.0.6629 series libraries (7xxx ok)
Summary: opengl-update-2.2.1 breaks all nvidia-glx-1.0.6629 series libraries (7xxx ok)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 90820 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-29 18:07 UTC by t35t0r
Modified: 2005-07-20 14:43 UTC (History)
2 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 t35t0r 2005-04-29 18:07:37 UTC
Portage forced me to update to opengl-update-2.2.1 in order to try the latest 7174-r3 nvidia-glx libraries. I was testing to see if these new libraries fix problems seen in 7xxx series of nvidia drivers with quadro graphics cards when drawing quad strips. I found at out that the new glx libraries do not fix my problems so I downgraded back to glx-6629-r5 and kernel-6629-r4. When I tried to start X the screen just flashed a few times. Checking Xorg.0.log showed no EE errors so I couldn't explain what the problem was. Downgrading back to opengl-update-2.1.1-r1 fixed this problem again.

Reproducible: Always
Steps to Reproduce:
1. Upgrade to nvidia-kernel-1.0.7174, nvidia-glx-1.0.7174-r3, and opengl-update-2.2.1
2. opengl-update nvidia
3. start X to make sure it works
4. stop xdm and downgrade to any 1.0.6629 nvidia kernel and any 1.0.6629 glx
5. opengl-update nvidia
6. rmmod the nvidia (and also agpgart) if loaded, or just reboot the system to make sure drivers are removed cleanly
7. After reboot or rmmoding the agpgart+nvidia, make sure nvidia is loaded and try starting X


Actual Results:  
starting X failed, and although the xdm reported there was a problem starting X
I couldn't find any errors "EE" in Xorg.0.log

Expected Results:  
X should be started

downgrading back to opengl-update 2.1.1-r1 fixes this problem. Also this was on
a machine with a Quadro4 (don't know if this error can be reproduced on geforce
..yet)
Comment 1 Lu Ran 2005-04-30 02:02:48 UTC
I didn't get the X crash, but I have some problem with nvidia and opengl-update too, after I use opengl-update nvidia, nearly all the program linked to opengl crashed: mplayer, Qt..., the only way to fix is to switch back to xorg-x11 opengl, but after downgrade opengl-update, everything works like a charm. BTW, I don't know if the problem is 6629 only, since with 7174 I cannot start my X
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-04 12:01:55 UTC
*** Bug 90820 has been marked as a duplicate of this bug. ***
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-04 12:03:11 UTC
Please provide the outputs of:

# /lib/libc.so.6
# /lib/tls/libc.so.6
# ls -l /usr/lib/opengl/nvidia/lib
# ls -l /usr/lib/opengl/nvidia/lib/tls
# ls -l /usr/lib/opengl/nvidia/tls

Comment 4 t35t0r 2005-05-04 14:06:04 UTC
ok so I broke my gentoo again

1) downgrade to nvidia-kernel-1.0.6629-r4 and nvidia-glx-1.0.6629-r5 from nvidia-kernel-1.0.7174 and nvidia-glx-1.0.7174-r4
2) opengl-update nvidia (using the opengl-update-2.2.1)
3) ssh in from another computer and /etc/init.d/xdm stop
4) rmmod nvidia
5) modprobe nvidia
6) /etc/init.d/xdm start
7) X Fails to start

This is the information you requested:

/root# ls -l /lib/libc.so.6
lrwxrwxrwx  1 root root 13 Apr 15 16:31 /lib/libc.so.6 -> libc-2.3.4.so
/root# ls -l /lib/tls/libc.so.6
ls: /lib/tls/libc.so.6: No such file or directory
/root# ls -l /usr/lib/opengl/nvidia/lib
total 7123
-rw-r--r--  1 root root     731 May  4 15:53 libGL.la
lrwxrwxrwx  1 root root      17 May  4 15:53 libGL.so -> libGL.so.1.0.6629
lrwxrwxrwx  1 root root      17 May  4 15:53 libGL.so.1 -> libGL.so.1.0.6629
-rwxr-xr-x  1 root root  600408 May  4 15:53 libGL.so.1.0.6629
lrwxrwxrwx  1 root root      21 May  4 15:53 libGLcore.so -> libGLcore.so.1.0.6629
lrwxrwxrwx  1 root root      21 May  4 15:53 libGLcore.so.1 -> libGLcore.so.1.0.6629
-rwxr-xr-x  1 root root 6675104 May  4 15:53 libGLcore.so.1.0.6629
lrwxrwxrwx  1 root root      25 May  4 15:53 libnvidia-tls.so -> libnvidia-tls.so.1.0.6629
lrwxrwxrwx  1 root root      25 May  4 15:53 libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.6629
-rwxr-xr-x  1 root root    3312 May  4 15:53 libnvidia-tls.so.1.0.6629
/root# ls -l /usr/lib/opengl/nvidia/lib/tls
ls: /usr/lib/opengl/nvidia/lib/tls: No such file or directory
/root# ls -l /usr/lib/opengl/nvidia/tls
total 4
lrwxrwxrwx  1 root root   25 May  4 15:53 libnvidia-tls.so -> libnvidia-tls.so.1.0.6629
lrwxrwxrwx  1 root root   25 May  4 15:53 libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.6629
-rwxr-xr-x  1 root root 3024 May  4 15:53 libnvidia-tls.so.1.0.6629
/root#

..btw this is on amd64 ..i have another athlon-mp box I can try this on
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-04 14:22:33 UTC
Please RUN these commands, not ls the files ;)

# /lib/libc.so.6
# /lib/tls/libc.so.6
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-04 14:33:37 UTC
Ok, I made a opengl-update-2.2.0 version of 6629 and 7176 for you guys too... Please try out 1.0.6629-r6.  Also, the older versions are updated to require <opengl-update-2.2.0
Comment 7 t35t0r 2005-05-04 14:39:45 UTC
Sorry, I confused myself ..I was unable to re-create this error on gentoo x86 but it exists on amd64.

The x86 system is running nvidia-kernel-1.0.6629-r4 and glx-1.0.6629-r5

1) emerge opengl-update-2.2.1
2) opengl-update nvidia
3) ssh in and /etc/init.d/xdm stop
4) rmmod nvidia
5) modprobe nvidia
6) /etc/init.d/xdm start
7) X starts without problems

The same output you asked for but on the working x86 machine:

/root# ls -l /lib/libc.so.6
lrwxrwxrwx  1 root root 13 Mar 29 13:23 /lib/libc.so.6 -> libc-2.3.4.so
/root# ls -l /lib/tls/libc.so.6
ls: /lib/tls/libc.so.6: No such file or directory
/root# ls -l /usr/lib/opengl/nvidia/lib
total 7524
-rw-r--r--  1 root root     727 Apr 29 19:20 libGL.la
lrwxrwxrwx  1 root root      17 Apr 29 19:20 libGL.so -> libGL.so.1.0.6629
lrwxrwxrwx  1 root root      17 Apr 29 19:20 libGL.so.1 -> libGL.so.1.0.6629
-rwxr-xr-x  1 root root  442592 Apr 29 19:20 libGL.so.1.0.6629
lrwxrwxrwx  1 root root      21 Apr 29 19:20 libGLcore.so -> libGLcore.so.1.0.6629
lrwxrwxrwx  1 root root      21 Apr 29 19:20 libGLcore.so.1 -> libGLcore.so.1.0.6629
-rwxr-xr-x  1 root root 7230360 Apr 29 19:20 libGLcore.so.1.0.6629
lrwxrwxrwx  1 root root      25 Apr 29 19:20 libnvidia-tls.so -> libnvidia-tls.so.1.0.6629
lrwxrwxrwx  1 root root      25 Apr 29 19:20 libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.6629
-rwxr-xr-x  1 root root    2352 Apr 29 19:20 libnvidia-tls.so.1.0.6629
lrwxrwxrwx  1 root root      26 Apr 29 19:29 tls -> /usr/lib/opengl/nvidia/tls
/root# ls -l /usr/lib/opengl/nvidia/lib/tls
lrwxrwxrwx  1 root root 26 Apr 29 19:29 /usr/lib/opengl/nvidia/lib/tls -> /usr/lib/opengl/nvidia/tls
/root# ls -l /usr/lib/opengl/nvidia/tls
total 4
lrwxrwxrwx  1 root root   25 Apr 29 19:20 libnvidia-tls.so -> libnvidia-tls.so.1.0.6629
lrwxrwxrwx  1 root root   25 Apr 29 19:20 libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.6629
-rwxr-xr-x  1 root root 2004 Apr 29 19:20 libnvidia-tls.so.1.0.6629

I think i've found the solution to the problem. As you can see on the amd64 install of packages <=nvidia-glx-1.0.6629-r5 from comment #4 we have:

/root# ls -l /usr/lib/opengl/nvidia/lib/tls
ls: /usr/lib/opengl/nvidia/lib/tls: No such file or directory

so if you simply do:
1) cd /usr/lib/opengl/nvidia/lib
2) ln -s /usr/lib/opengl/nvidia/tls tls
3) opengl-update nvidia
4) /etc/init.d/xdm restart
5) X starts ok again

for some reason this link wasn't made in the nvidia-glx-1.0.6629 installs for amd64 and should be fixed perhaps for a release of "nvidia-glx-1.0.6629-r6" and maybe marked as stable for amd64?
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-04 18:23:07 UTC
it is fixed in -r6, but that's not exactly the problem... see bug #90047
Comment 9 Sebastian Bergmann (RETIRED) gentoo-dev 2005-05-05 07:18:00 UTC
Downgrading to x11-base/opengl-update-2.1.1-r1 solved the issue for me, too, but now

  emerge --newuse -Du world

wants to update to x11-base/opengl-update-2.2.1. I added x11-base/opengl-update-2.2.1 to my /etc/portage/package.mask for the time being to circumvent that problem.

It would be great if media-video/nvidia-glx-1.0.6111-r1 could be made compatible to x11-base/opengl-update-2.2.1, too, so that I can remove it from my package.mask.
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-05 13:46:11 UTC
Why do you need 6111?
Comment 11 Sebastian Bergmann (RETIRED) gentoo-dev 2005-05-05 21:31:29 UTC
Thank you for making 6111 compatible with the new opengl-update.

I need 6111 because that is the latest version of the driver that works for me (see http://www.sebastian-bergmann.de/blog/archives/473-Trouble-with-the-NVIDIA-Linux-Driver.html).
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-20 14:27:04 UTC
Jeremy, I'd like to thank you, too. I'm also one of those who stick with
1.0.6111. Once again, thanks!
Comment 13 t35t0r 2005-07-20 14:43:08 UTC
Wow still stuck on 1.0.6111? The newest drivers are still broken for you? nvidia
must be doing something really wrong if they still haven't fixed whatever your
problem seems to be.