Install NVIDIA drivers in Ubuntu - gkgkgk1215/else GitHub Wiki

Install drivers from a download file

  • First, go to the Nvidia website and download the newest Nvidia driver compatible with your graphics card series.

  • Reboot Ubuntu

  • Before login, Screen Choose “Recovery mode” on the grub menu.

  • And then chose “root console”

  • Open module blacklist as admin:

$ sudo nano /etc/modprobe.d/blacklist.conf
  • Add this line in the end: blacklist nouveau

  • Uninstall any previously installed Nvidia drivers:

$ sudo apt-get --purge remove nvidia-*
  • Disable the Kernel Nouveau.
$ echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
$ update-initramfs -u
  • Reboot Ubuntu again and follow step 3 & 4 again.

  • Change to init 3

$ init 3
  • Install the Driver:
$ sudo sh NVIDIA-XXXXX.run
  • Reboot your computer and you’re good to go.. 🙂

Reference: https://altinukshini.wordpress.com/2011/07/28/how-to-install-nvidia-drivers-in-ubuntu-linux/