The latest Nvidia drivers are available on graphics-drivers PPA. This repository provides the latest drivers for your Ubuntu Desktop systems. This tutorial will help you to install the latest Nvidia drivers for your Ubuntu desktop using PPA.
Remove Old Nvidia Driver
The first step is to purge currently installed Nvidia drivers so that it does not conflict with the newer versions on your Ubuntu systems.
sudo apt-get purge nvidia*
Install Latest Nvidia Driver on Ubuntu
Now enable the
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update
Next, identify the installed graphics card model and recommended driver for that by running the following command:
ubuntu-drivers devices | grep "nvidia-driver" driver : nvidia-driver-390 - third-party free driver : nvidia-driver-415 - third-party free recommended driver : nvidia-driver-396 - third-party free
Then execute the below command to install recommended Nvidia graphics driver on your system.
sudo apt install nvidia-415
Verify Nvidia Driver
After installation reboot your system, So that your desktop load the new Nvidia driver. Now run below command to check Nvidia module.
lsmod | grep nvidia
10 Comments
I have a NVIDIA Corporation GP107 [GeForce GTX 1050] card and ubuntu 19.04 installed (18.10 gave the same issue). I tried many proposed solutions, including the one above. Nothing worked.
I finally found a solution for this Nvidia driver issue (on ubuntu 18 and 19). See instructions at the top at https://ubuntuforums.org/showthread…nvidia+drivers, it worked for me!
$ sudo apt install nvidia-driver-415
it works fine
Worked for me, thanks Rahul.
Seems to be broken:
$ sudo add-apt-repository ppa:graphics-drivers/ppa
Cannot add PPA: ‘ppa:~graphics-drivers/ubuntu/ppa’.
ERROR: ‘~graphics-drivers’ user or team does not exist.
$
What OS version are you running?
I have the same problem as Julien.
My system is for AI development
OS Ubuntu 16.04 LTS
Hardware is
Mobo Asus X99-WS/IMPI + Xeon on board VGA active
1 off Titan Xp
I got to the reboot point. It cam up and asked for password, as expected. Accepted it then looped back to ask
for password ad infinitum. Ctrl+Alt+F2 gives me a login, which works. So there is “somebody working in the cellar”.
Rob
Hi Rob,
I’m having the same problem as you, also on Ubuntu 16.04.
Did you manage to find a solution?
I’d really appreciate it if you could point me in the right direction.
Kind regards
Thanks for the post.
The question is what about having more than one nvidia card? For example, a quadro with version X and a GeForce with version Y.
thanks Rahul…
I’ve completed step 1 & step 2.
I restarted the system.
It starts loading, I see Ubuntu written on the screen, then BLACK SCREEN… and nothing happens….
Did I do something wrong?
My system is: (for mining purposes)
OS: Ubuntu 16.04 LTS
Mobo: Gigabyte GA-H110-D3A
3 nvidia 1080-ti
Now I have to reinstall the whole thing…
Is there an other way around?
Still, thank you for the tutorial, I’ve been having a lot of trouble to find how to update the drivers….
I’ll retry while having only one card plugged. and my fingers crossed !