Next, identify the installed graphics card model and recommended driver for that by running the following command:$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
Then execute the below command to install recommended Nvidia graphics driver on your system.$ 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
Verify Nvidia Driver$ sudo apt install nvidia-415
After installation reboot your system, So that your desktop load the new Nvidia driver. Now run below command to check Nvidia module.
Remove Old Nvidia Driver$ lsmod | grep nvidia
he 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*