Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing Nvidia drivers on Ubuntu 16.04 for GTX1070

Installing Nvidia drivers on Ubuntu 16.04 for GTX1070

Build Specification:

  • Intel i7-6850K @ 3.60GHz
  • GTX 1070


  • Fresh install of Ubuntu 16.04

Note - did not encrypt home directory or xda drive

  • No packages installed yet
  • Enter Desktop after standard boot of Ubuntu - not in safe mode or TTY space - just standard desktop


  1. sudo apt-get remove nvidia*

  2. sudo apt-get autoremove

  3. sudo apt-get update

  4. sudo apt-get install dkms build-essential linux-headers-generic vim

  5. sudo vim /etc/modprobe.d/blacklist-nouveau.conf and add the following lines:

     blacklist nouveau
     blacklist lbm-nouveau
     options nouveau modeset=0
     alias nouveau off
     alias lbm-nouveau off
  6. echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf

  7. sudo update-initramfs -u

  8. cd ~/Downloads/

  9. wget

  10. chmod +x

  11. reboot

  12. Once rebooted, go into TTY1 (CTRL+ALT+F1) and login

  13. In root directory: mv ~/Downloads/ ./

  14. sudo /etc/init.d/lightdm stop

  15. sudo ./ (select yes to everything)

  16. Once finished reboot

  17. To test run: nvidia-smi - should show: NVIDIA-SMI 384.90 at the top


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment