How to get updated NVIDIA driver for Ubuntu Mate 20.04 LTS?

Hi!

I have read on the Internet that you should update the NVIDIA graphics card driver.
because:

https://nvidia.custhelp.com/app/answers/detail/a_id/5142/~/security-bulletin%3A-nvidia-gpu-display-driver---january-2021

NVIDIA has released a software security update for NVIDIA® GPU Display Driver. This update addresses issues that may lead to denial of service, escalation of privileges, data tampering, or information disclosure.

ubuntu-drivers devices

vendor : NVIDIA Corporation
model : GP106 [GeForce GTX 1060 6GB]
driver : nvidia-driver-450 - third-party free recommended
driver : xserver-xorg-video-nouveau - distro free builtin

How to get updated NVIDIA driver for Ubuntu Mate 20.04 LTS?

I have the solution.

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt-get update

Open Mate-Terminal.

sudo apt purge --remove libnvidia-cfg1-450 libnvidia-common-450 libnvidia-compute-450 libnvidia-decode-450 libnvidia-encode-450 libnvidia-extra-450 libnvidia-fbc1-450 libnvidia-gl-450 libnvidia-ifr1-450 nvidia-compute-utils-450 nvidia-dkms-450 nvidia-driver-450 nvidia-kernel-common-450 nvidia-kernel-source-450 nvidia-prime nvidia-settings nvidia-utils-450 xserver-xorg-video-nvidia-450

sudo apt-get install libnvidia-cfg1-460 libnvidia-common-460 libnvidia-compute-460 libnvidia-decode-460 libnvidia-encode-460 libnvidia-extra-460 libnvidia-fbc1-460 libnvidia-gl-460 libnvidia-ifr1-460 nvidia-compute-utils-460 nvidia-dkms-460 nvidia-driver-460 nvidia-kernel-common-460 nvidia-kernel-source-460 nvidia-prime nvidia-settings nvidia-utils-460 xserver-xorg-video-nvidia-460

After that, only for x64 NVIDIA GPU driver,

remove all i386 packages (for NVIDIA x32 driver support if you don't need it)

sudo apt purge --remove gcc-10-base:i386 libbsd0:i386 libc6:i386 libcrypt1:i386 libgcc-s1:i386 libnvidia-compute-450:i386 libnvidia-decode-450:i386 libnvidia-encode-450:i386 libnvidia-gl-450:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386

@mate2go You shouldn't need to add the ppa to get the newest Nvidia drivers. Ubuntu now pushes out the newest drivers after they have gone through a bit of testing.

Just look under "Additional Drivers" in the Control Centre. You should see a massive list of drivers available to you given your card. I upgraded to the new 460 driver last week through the "Additional Drivers" option and everything works great!

ok, I have installed the new 460 driver.

1 Like

My HP 505 desktop has a Nvidia GeForce 6150SE nForce 430 installed but the corresponding driver appears to be Nouveau (NOT Nvidia). I can install 19.04 which works as advertised but trying to run 20.04 in "live" mode crashes forcing a reboot. Does this recommended update apply to me apparently running Nouveau driver ? If not, are there any upgrade options avail ??

bewildered newbie Bob

At first you have to backup your 19.04 system with Nvidia 304 driver installed, then upgrade it to supported 20.04 LTS. See EOLUpgrades - Community Help Wiki for details.

It needs Nvidia 304 drivers. So I would recommend to try the special PPA on 20.04 LTS:

sudo add-apt-repository ppa:dokomix/legacygpu-focal
sudo apt-get update
sudo apt-get install nvidia-304 nvidia-graphics-drivers-304

Thanx for the help but the URL provided (see below) for EOL upgrade apparently assumes an experienced LInux user - not a NEWBIE like me. Can anyone tell me VERY SPECIFICALLY which of the many instructions pertain. Also the intended upgrade from 19.04 => 20.04 is NOT on the list provided with specific instructions - is that important ?

still bewildered newbie Bob

I found Upgrade from 19.04? - #2 by tkn answer useful, you can follow it. And please discuss upgrade in the linked thread.