← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 572937] [NEW] After upgrade 9.10 to 10.04, using nvidia, KDE4 starts for a second, then dies

 

Public bug reported:

Binary package hint: nvidia-current

My machine: AMD64 with NVidia (GF8800) graphics
After upgrade of kubuntu from 9.10 to 10.04
Package versions: nvidia-current 195.36.15-ubuntu2

What I saw:
* booted to kdm ok (and later tested gdm)
* chose kde and logged in
* expected: normal kde4 start with startup icons gradually appearing in a central panel before desktop appears (as I had before distribution upgrade)
* got: a second of initialisation (background) then black screen and back to *dm

After checking /var/log/Xorg.0.log and /var/log/kdm.log without finding anything useful, I started an X session from the command line using startx, and checked .xsession-errors. The most serious looking of the many messages was:
> kdeinit4: preparing to launch /usr/lib/libkdeinit4_ksmserver.so
> <unknown program name>(3448)/ KStartupInfo::createNewStartupId: creating: "niedzwiedz;1272707639;697843;3448_TIME0" : "unnamed app"
> Could not open library ksmserver: Cannot load library /usr/lib/libkdeinit4_ksmserver.so: (/usr/lib/libGL.so.1: undefined symbol: _nv000025gl)
> ksmserver: symbol lookup error: /usr/lib/libGL.so.1: undefined symbol: _nv000025gl

Investigating /usr/lib/libGL.so.1, I found that it was a symbolic link to: libGL.so.185.18.36 which was a bad idea, as I was running nvidia driver 195.36.15. Ooops. I tried various combinations of package choices from synaptic (including running nvidia-common which should delete ), but none seemed that they would clobber the errant libGL.so.1. So I performed the following work-around:
$ sudo rm /usr/lib/libGL.so.1
$ sudo ln -s /usr/lib/nvidia-current/libGL.so.195.36.15 /usr/lib/libGL.so.1

(on later testing, the second step appears to be unnecessary)

Having made this change, I could start kde without issues.

On another system still running 9.10:
$ dpkg -S /usr/lib/libGL.so.1
diversion by nvidia-glx-173 from: /usr/lib/libGL.so.1
diversion by nvidia-glx-173 to: /usr/lib/nvidia/libGL.so.1.xlibmesa
libgl1-mesa-glx, nvidia-glx-173: /usr/lib/libGL.so.1

which makes me think that nvidia-glx-173 was responsible for the link
into /usr/lib in the first place. Unfortunately, synaptic reports no
equivalent package for 195.36.15, with the files apparently having been
bundled into nvidia-current.

The bug is that this package (nvidia-common) should clobber any link in
/usr/lib resulting from a superseded package (or at least cause that
package to be deleted, deletion of which should remove the link). I can
understand the niceness of alternative drivers sitting on the system at
one time, but if it means that kde won´t start, some clobbering of these
inopportune links should be part of installing the nvidia-current
package.

** Affects: nvidia-graphics-drivers (Ubuntu)
     Importance: Undecided
         Status: New

-- 
After upgrade 9.10 to 10.04, using nvidia, KDE4 starts for a second, then dies
https://bugs.launchpad.net/bugs/572937
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in ubuntu.



Follow ups

References