Latest NVIDIA driver on Ubuntu 16.04
Solution 1
I cant find any reference to support in jockey
for nVidia 375 yet. But the manual installation isn't as difficult as you might think.
Official Instructions
- Download the driver version 375.20 from here
$ chmod 777 NVIDIA-Linux-x86_64-375.20.run
$ sudo sh NVIDIA-Linux-x86_64-375.20.run
$ sudo apt-get update
$ sudo apt-get upgrade
Install via PPA
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
Potential Issues
- Black screen on startup - Add nomodeset to grub - see this answer
- Removing nVidia Drivers - Purge - see this answer
Addendum to the Login Loop issue, via @michael__treat :
Make sure that secure boot is disabled in Windows Boot Manager. The walk-through from Ubuntu may be incomplete. During testing, I found that I had to use the Windows System Boot Manager, and manually disable secure boot.
This solved the login loop issue in my case.
TL;DR: Make sure secure boot is actually turned off.
- When you reach grub, go to windows boot manager
- Press e
- change secureboot from
enabled
todisabled
Solution 2
Proprietary : Owned/Provided by some company (In your case these are the
Graphics drivers provided by Nvidia)
Open Source: Developed/Provided by an open source community.
If you want to use CUDA
(nVidia's stuff for executing functions on the GPU), you should use the proprietary driver.
If you want to use OpenCL
(something like CUDA, developed by Khronos), you have to use the open source driver.
To install latest drivers add PPA
:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
Now, find Software & Updates
under System Settings
and select the required driver version form the Additional Drivers
tab, select the driver and click Apply Changes
. Restart and Enjoy!
PS: Sometimes the best driver version doesn't seem to work well, so you must check whether you're enjoying all the functionalities provided and whether it contain bugs and please do check whether nvidia-prime
is installed because it comes handy in most of the situations where bugs lead to a black screen.
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
I'm on Ubuntu 16.04 and I notice that in the "Additional Drivers" tab of "Software & Updates", the latest versions of NVIDIA drivers I can install are
- version 367.57 from nvidia-367 (proprietary)
- version 370.28 from nvidia-370 (open source)
Aside from the fact that I don't know what "proprietary" and "open source" mean here, I also don't see an option to select the driver version based on my actual graphics card. I'm using GTX 1080 and the current Long Lived Branch version is 375.20; will the Ubuntu graphics PPA be updated eventually, or will I have to manually install 375?
-
Bono about 7 yearsDoesn't seem to be working for me. I have to go to TTY, disable
mdlight
, disable nouveau (almost bricking the GUI) and still can't get this to work. -
MeganFoxz about 7 yearsTRust me just do theese with no "" and nothing else "sudo apt-get update" "sudo ubuntu-drivers autoinstall"
-
embe over 6 yearsI used the official instructions described here with the 384.111 and it got me to the login loop. I don't have windows on this computer. Help someone?
-
Seven over 6 years@MeganFoxz: Thanks. "sudo ubuntu-drivers autoinstall" worked like a charm. I upgraded my hardware from an older NVIDIA card to a newer one.
-
Chai T. Rex over 6 yearsThe question was about the latest driver, which at the time was 375. 340 obviously isn't the latest driver. Also, that it works on Peppermint 8 doesn't tell whether it works on Ubuntu.
-
Frikster about 6 years@embe, according to a comment here: lenovolinux.blogspot.ca/2016/05/… "You will have to enter recovery mode after the first reboot because there will be a login loop. I couldn't ctrl-alt f1 to a tty... After continuing the steps it worked for me." Although that was for installing Bumblebee but I thought it might be relevant :)
-
DanMan over 5 yearsEveryone use the PPA solution. Less chances of messing up your system.