7

I used this code to install the Nvidia driver:

sudo add-apt-repository ppa:graphics-drivers/ppa                
sudo apt update             
sudo apt install nvidia-384             

Problem: There are many versions available. How do I choose the right one? Is there any way to auto-detect the right version based on the hardware?

Zanna
  • 70,465
JustWe
  • 172
  • The way is using geforce.com or nvidia.com to check the driver versions supporting your specific hardware. Then, if one of the listed drivers is already provided by the official repositories for your Ubuntu release, just install, no need for a PPA. Otherwise, you may add that PPA and install from there. –  Jan 18 '18 at 09:45

1 Answers1

10

Run

ubuntu-drivers devices

This should recommend the right driver.

Zanna
  • 70,465
xipmix
  • 116