I ran a standard apt-get upgrade
yesterday. Since then, the nvidia drivers (nvidia-331-updates
) don't seem to work anymore.
I did some digging and tried re-installing the drivers in different versions as well as booting different kernels. I can see that it fails to load the nvidia
module
/var/log/Xorg.0.log
[ 2127.801] (II) LoadModule: "nvidia"
[ 2127.801] (WW) Warning, couldn't open module nvidia
[ 2127.801] (II) UnloadModule: "nvidia"
[ 2127.801] (II) Unloading nvidia
[ 2127.801] (EE) Failed to load module "nvidia" (module does not exist, 0)
I then tried updating the alternatives:
~>> sudo update-alternatives --config x86_64-linux-gnu_gl_conf
[sudo] password for ingo:
There are 3 choices for the alternative x86_64-linux-gnu_gl_conf (providing /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/nvidia-331-updates/ld.so.conf 8604 auto mode
1 /usr/lib/nvidia-331-updates-prime/ld.so.conf 8603 manual mode
2 /usr/lib/nvidia-331-updates/ld.so.conf 8604 manual mode
* 3 /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf 500 manual mode
If I set this to 0
, I have my nvidia binaries back in the path and can, e.g., run nvidia-xconfig
(which I can't otherwise). I can also successfully probe the module via sudo modprobe nvidia
, which otherwise errors out.
But here's the problem: If I log out and back in (or reboot) so that loading the module can take effect, the alternatives just jump back to option 3
.
Does anyone know what causes the alternative to be set back and how I can avoid that?
Here is the log of what was upgraded. The only things that seem suspicious to me are ubuntu-drivers-common
and xserver-xorg-video-intel
:
/var/log/apt/history.log
Upgrade: oxideqt-codecs:amd64 (1.0.5-0ubuntu0.14.04.1, 1.1.2-0ubuntu0.14.04.1), libreoffice-pdfimport:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), libreoffice-base-core:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), libsystemd-login0:amd64 (204-5ubuntu20.4, 204-5ubuntu20.5), ure:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu
1), systemd-services:amd64 (204-5ubuntu20.4, 204-5ubuntu20.5), libreoffice-writer:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), firefox-locale-en:amd64 (31.0+build1-0ubuntu0.14.04.1, 32.0+build1-0ubuntu0.14.04.1), libreoffice-impress:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), uno-libs3:amd64 (4.2.4-0ubuntu2, 4.2.6
.3-0ubuntu1), libreoffice-avmedia-backend-gstreamer:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), librbd1:amd64 (0.80.1-0ubuntu1.1, 0.80.5-0ubuntu0.14.04.1), libreoffice-draw:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), ubuntu-drivers-common:amd64 (0.2.91.5, 0.2.91.6), fonts-opensymbol:amd64 (102.6+LibO4.2.4-0ubuntu
2, 102.6+LibO4.2.6.3-0ubuntu1), firefox:amd64 (31.0+build1-0ubuntu0.14.04.1, 32.0+build1-0ubuntu0.14.04.1), libreoffice-core:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), libsystemd-daemon0:amd64 (204-5ubuntu20.4, 204-5ubuntu20.5), libgudev-1.0-0:amd64 (204-5ubuntu20.4, 204-5ubuntu20.5), libreoffice-gnome:amd64 (
4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), libpam-systemd:amd64 (204-5ubuntu20.4, 204-5ubuntu20.5), librados2:amd64 (0.80.1-0ubuntu1.1, 0.80.5-0ubuntu0.14.04.1), libreoffice-presentation-minimizer:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), shotwell-common:amd64 (0.18.0-0ubuntu4.1, 0.18.0-0ubuntu4.2), udev:amd64 (204-5
ubuntu20.4, 204-5ubuntu20.5), shotwell:amd64 (0.18.0-0ubuntu4.1, 0.18.0-0ubuntu4.2), libreoffice-style-human:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), gir1.2-gudev-1.0:amd64 (204-5ubuntu20.4, 204-5ubuntu20.5), liboxideqtcore0:amd64 (1.0.5-0ubuntu0.14.04.1, 1.1.2-0ubuntu0.14.04.1), libudev1:amd64 (204-5ubuntu2
0.4, 204-5ubuntu20.5), libudev1:i386 (204-5ubuntu20.4, 204-5ubuntu20.5), libreoffice-help-en-us:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), libreoffice-ogltrans:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), xserver-xorg-video-intel:amd64 (2.99.910-0ubuntu1, 2.99.910-0ubuntu1.1), python3-uno:amd64 (4.2.4-0ubuntu2, 4
.2.6.3-0ubuntu1), libreoffice-common:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), libsystemd-journal0:amd64 (204-5ubuntu20.4, 204-5ubuntu20.5), libreoffice-gtk:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), liboxideqt-qmlplugin:amd64 (1.0.5-0ubuntu0.14.04.1, 1.1.2-0ubuntu0.14.04.1), libreoffice-math:amd64 (4.2.4-0ubu
ntu2, 4.2.6.3-0ubuntu1), libreoffice-calc:amd64 (4.2.4-0ubuntu2, 4.2.6.3-0ubuntu1), rsyslog:amd64 (7.4.4-1ubuntu2, 7.4.4-1ubuntu2.1)