New releases of any kind of software tend to bring what could be called "New Releases of Bugs". Luckily it's actually not that drastic, I just try to be clever too often. But one thing that seems to have been catching everyone off guard is loading up the Nvidia drivers with their new Ubuntu 10.04 installations. So, below are the steps to get your Nvidia video card running on Ubuntu 10.04 Lucid Lynx LTS.
*Update* 5/11/2010 I was able to finally replicate this on a machine a day ago. When I installed nvidia-current I received the error that the nvidia kernel couldn't install or compile. Strange, I thought. But after a moment I realized I had just ran the auto update in ubuntu. Sure enough a new kernel was installed. After reinstalling build-essential and linux-headers-`uname -r` the nvidia install went perfect. So if you are having issues reinstall your compiling tool set and then attempt the install again.
$ sudo aptitude install build-essential linux-headers-`uname -r'
$ sudo apt-get purge nvidia*
blacklist nouveau
$ sudo apt-get install nvidia-current
$ sudo modprobe nvidia-current$ sudo lsmod | grep -i nvidia
$ sudo nvidia-xconfig- Open your favorite terminal (ie. Applications->Accessories->Terminal) and uninstall any and all nvidia components installed.
- Next we need to blacklist "nouveau". Do so by adding the following into /etc/modprobe.d/blacklist.conf with your favorite text editor.
- Install the latest official stable driver from the repository
- Next we'll load the Nvidia kernel module
- Verify it's successful entry via lsmod like so
- And one last step, we must create the Nvidia configuration file.
There, all better? Let me know if it worked well for you, and if not I'll do my best to help!






















38 Comments
Hmm … following this broke my dual monitor setup completely. Before, the resolution settings weren’t consistent and I couldn’t enable desktop animations. Now it only works on my VGA output, and I can’t get anything to show on my DVI output (it black screens when X loads and reports no input).
I needed to install pkg-config in order to get nvidia-xconfig to run:
$ sudo apt-get install pkg-config
I feel your pain, but I might have a solution to your problem. I finally had a similar issue on a different machine I had installed ubuntu on. The first machine I installed ubuntu on had zero problems installing the nvidia drivers, but this second one got tripped up.
As far as I could tell, it was caused by a new kernel being installed via a system update, which in turn nullified the linux-headers package causing nvidia kernel compile, compiles, compilation? (for some reason I have no idea what the correct word to use there is? lol)
… anyways, short story is it couldn’t compile because wrong headers. Reinstalled build-essential and linux-headers-`uname -r` and then tried the nvidia-current package again and it went perfect after that.
Hope that helps!
I can’t install these drivers no matter what I do. I followed your instructions, I tried using the drivers from NVIDIA’s site, and I also tried instructions found here: http://www.ubuntugeek.com/howto-install-nvidia-drivers-manually-on-ubuntu-10-04-lucid-lynx.html
Nothing works and I’m not sure what to do. What’s weird is that I keep getting an error about not being able to load the NVIDIA kernal (or something to that extent) whether I have the drivers installed or not.
[...] Cara installnya 9 Mei , 2010 Budi Kategori: Hardware, Software [...]