Skip to content

Instantly share code, notes, and snippets.

@charleslouis
Last active April 28, 2018 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save charleslouis/088289d94023b9386799 to your computer and use it in GitHub Desktop.
Save charleslouis/088289d94023b9386799 to your computer and use it in GitHub Desktop.
nvidia-driver-install-guide ubuntu

Ubuntu/Mint Install Nvidia Drivers GTX950-GTX TITAN X 2016

See https://www.youtube.com/watch?v=cVTsemATIyI

Ajoutée le 28 août 2015

This tutorial was made for the GTX 950, GTX 960, GTX 970, GTX 980, GTX 980 Ti, and GTX TITAN X.

UPDATE: I have updated the commands in here with the most recent driver Nvidia recommends for the GTX950-GTX TITAN X This guide will help you set up your Nvidia graphics card even if you boot to a blank sceen or are completely locked out of your GUI.

Commands:

Press Ctrl+Alt+F1 at log-in screen (type in user-name and password into command line) No Apple Keyboards (You may be able to change that in the keyboard settings, but it might be a little harder without GUI)

sudo nano /etc/modprobe.d/blacklist.conf

blacklist amd76x_edac blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv

sudo service lightdm stop sudo apt-get remove --purge nvidia* sudo apt-get install linux-headers-generic sudo apt-get update

cd ~/Downloads

Download the driver :

wget http://www.nvidia.com/content/DriverDownload-March2009/confirmation.php?url=/XFree86/Linux-x86_64/361.28/NVIDIA-Linux-x86_64-361.28.run wget http://us.download.nvidia.com/XFree86/Linux-x86_64/367.35/NVIDIA-Linux-x86_64-367.35.run

Make it executable sudo chmod +x NVIDIA-Linux-x86_64-352.79.run

Run the installer sudo ./NVIDIA-Linux-x86_64-352.79.run

sudo nvidia-xconfig

sudo reboot

check if NVIDIA is recognized : lspci -nn | grep '\[03'

Try : sudo software-properties-gtk

NOMODESET

Press "e" at grub menu to edit the boot options. (adding "nomodeset" to your grub boot options right after "quiet splash" near the bottom line will help you)

You can make "nomodeset" persistant by doing sudo nano /etc/default/grub

and changing line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" by GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" Save by hitting Ctrl+O, Exit nano with Ctrl+X, then : sudo update-grub

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