Akom's Tech Ruminations

Various tech outbursts - code and solutions to practical problems

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:

"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/Linux
So:
sudo apt-get install linux-headers-2.6.32-24-generic
Now I can remove and reinstall the dkms packages for virtualbox and all the nvidia packages, and all is good again

0 Trackbacks

  1. No Trackbacks

1 Comments

Display comments as (Linear | Threaded)
  1. great help.this solves my problem in less than 30 mins. thanks a lot! :-)

Add Comment


You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
Markdown format allowed


Submitted comments will be subject to moderation before being displayed.