2010-05-02

ubuntu 10.04 install nvidia driver

Today I upgraded my laptop and desktop machines to Ubuntu 10.04 LTS. Best upgrade so far. No problems at all.

I'm posting this here for my future reference on how I installed the nvidia driver:

downloaded the driver 195.xxx from nvidia.com

drop to a terminal screen "ctrl + alt + f1"

Kill all instances of X and gdm, "service gdm stop"
and then I had to do "ps -e" to find the remaining X process and manually kill it by it's process ID.

"sudo kill xxxx"

Then edit this file as root:
"sudo nano /etc/modprobe.d/blacklist.conf"

Add these lines and save: (this part is very important, especially the nouveau part, that new driver really screws with the nvidia one)

blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

then:
"sudo apt-get --purge remove nvidia-*"

"chmod 744 NVIDIA-Linux-x86_64-195.36.24-pkg2.run"

"sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run"

after a successful install either reboot or: "sudo service gdm start" or just "startx" if you dont need gdm running.