Nvidia X Driver stops working in Ubuntu Lucid 10.04
Posted by Admin • Monday, July 26. 2010
In the hopes of fixing my periodic keyboard-gets-stuck issue, I upgraded to the latest and greatest kernel (2.6.32-24-generic), as suggested by the helpful Ubuntu upgrade tool. I should mention that the machine is a Dell Precision M4400 (it's a laptop, sort of). I was then greeted with a "Your display is messed up, you're in low-res mode" dialog. Running the nvidia configuration tool yields:
Great. Now I'm down to one monitor. The nvidia driver won't load. Reinstalling it won't work. Setting this aside for a bit I attempt to start VirtualBox - and I get the same issue! - The kernel driver isn't loaded. OK so this must be a DKMS issue. I reinstall the virtualbox DKMS module:
But that doesn't help, though it yields a hint: Kernel source is not available. Apparently the trusty ubuntu updater installed the new kernel but not the kernel headers for it! My Kernel is: uname -a
"You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."
Great. Now I'm down to one monitor. The nvidia driver won't load. Reinstalling it won't work. Setting this aside for a bit I attempt to start VirtualBox - and I get the same issue! - The kernel driver isn't loaded. OK so this must be a DKMS issue. I reinstall the virtualbox DKMS module:
sudo apt-get remove virtualbox-ose-dkms sudo apt-get install virtualbox-ose-dkms
But that doesn't help, though it yields a hint: Kernel source is not available. Apparently the trusty ubuntu updater installed the new kernel but not the kernel headers for it! My Kernel is: uname -a
Linux akomgen3 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 x86_64 GNU/LinuxSo:
sudo apt-get install linux-headers-2.6.32-24-genericNow I can remove and reinstall the dkms packages for virtualbox and all the nvidia packages, and all is good again