After upgrade 9.10 to 10.04, using nvidia, KDE4 starts for a second, then dies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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/
> <unknown program name>(3448)/ KStartupInfo:
> Could not open library ksmserver: Cannot load library /usr/lib/
> ksmserver: symbol lookup error: /usr/lib/
Investigating /usr/lib/
$ sudo rm /usr/lib/libGL.so.1
$ sudo ln -s /usr/lib/
(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/
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.
tags: | added: kubuntu |
tags: | added: karmic lucid |
Thank you, I also had this problem after upgrading kubuntu to 10.04 from 9.10 and followed the same path of inquiry as you did. After doing:
$ sudo rm /usr/lib/libGL.so.1
I could start kde without any problem and there was no more error associated ksmserver and libGL.so.1 in .xsessions-errors
However, after successfully starting kde, there continues to be no symlink "libGL.so.1" anymore.
I hope that this is not a necessary file to have. If it is, I hope it'll be creating again if/when I reinstall or upgrade the nvidia drivers.
Vlad