Tag Archives: linux-headers

Installing nVidia drivers (blacklisting nouveau)

Make sure necessary packages are installed:

# sudo apt-get install build-essential linux-headers-`uname -r`

Download the latest nVidia drivers (.run package) from nVidia

Change to a console by hitting CTRL-Alt-F1
Log in with your username and password

Kill the X-server:

# sudo /etc/init.d/kdm stop

Install the nVidia drivers, use -k option to specify the kernel name:

# sh ./NVIDIA-Linux-x86-*-pkg1.run -k $(uname -r)

Blacklist the nouveau open source driver:

# sudo echo -e "n# OSS nVidia drivernblacklist nouveau" >>/etc/modprobe.d/blacklist.conf

Reboot the system:

# sudo reboot
Posted in Linux | Tagged , , , , , , , , , | 2 Comments