How install Nvidia driver 460 in Ubuntu 20.04.2 ?

aug7744

Member
Joined
Aug 12, 2020
Messages
98
Reaction score
12
Credits
1,020
Hello.
Using Lubuntu 20.04.2 64 with kernel 5.8.
Not is possible install Nvidia proprietary drivers version 460 because Nvidia DKMS 460 not is compatible with kernel 5.8 ?
Anyone know an configuration to install latest driver version 460 ?
I see perhaps the same issue happen with VirtualBox.
Thanks for your reply.
 


Enable the Ubuntu graphics drivers PPA and install it from there.
 
Last edited:
I just did it in a virtual machine, let me show you.
tux@ubuntu:~$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
tux@ubuntu:~$ uname -a
Linux ubuntu 5.8.18-050818-generic #202011011237 SMP Sun Nov 1 12:40:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
tux@ubuntu:~$ dpkg --list | grep nvidia
ii nvidia-dkms-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
ii nvidia-kernel-common-460 460.39-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
This is how I did it, it should work for Lubuntu as well. Just open a terminal and run the following.
Code:
sudo apt install nvidia-dkms-460
Then reboot your system to load the drivers, although it seems the dkms package is from the default Ubuntu repositories. Trying to figure out which package are from the ppa.
 
Last edited:
Being that "Additional Drivers" not install driver 460 I had used the command below
sudo apt-get install nvidia-dkms-460
In displayed lines has reference about
"ERROR (dkms apport): kernel package linux-headers-5.8.0-41-generic is not supported"
Thus forcing to install using the command above will allow install driver version 460, but when rebooting crash the OS load not being possible to start Lubuntu because the driver installation had breaked the start process with black screen.
 
It seems the nvidia-dkms-460 package is from the default repos, try installing this package which is from the graphics drivers ppa.
Code:
sudo apt install nvidia-driver-460
 
I didn't realize that nvidia-driver-460 is a meta-package of the nvidia-dkms installation so that's not going to work for you either. I find it odd that under Ubuntu it does install under kernel 5.8.x but under Lubuntu it doesn't. I'm sure @KGIII will have an idea since he runs Lubuntu but my guess is that probably the only other way to install the 460 driver is to install it manually without dkms which is not an ideal situation.
 
Last edited:
What's the complete output along with the error? Please post it in plain text and not a screenshot.
 
@f33dm3bits
Not is possible i nstall Nvidia drive 460 without Nvidia DKMS 460.

@KGIII

I need todo an fresh install because the system is breaked.
When possible will post here all lines, but only one line is about error being exactly
"ERROR (dkms apport): kernel package linux-headers-5.8.0-41-generic is not supported"
All lines when installing the driver using command line has success results.
Perhaps is an issue with Lubuntu ? Is being possible install in Ubuntu 20.04.2 ?
Lubuntu 20.04.2 use HWE kernel stack 5.8
 
Last edited:
Are you using the "proposed" repos?
 

Attachments

  • Software Sources_012.png
    Software Sources_012.png
    60.4 KB · Views: 566
 
Did you read your link?

"This PPA is currently in testing, you should be experienced with packaging before you dive in here:"

"Fresh drivers from upstream, currently shipping Nvidia."

I'm not sure that's a wise place to get your drivers at this time.

You also don't want to get the .run from NVidia themselves, 'cause that's even more a pain in the arse.

Why not just use the drivers that are available in main, universe, or multiverse - where they should be fine with dkms and well-tested, or at least QA tested?
 
Oh yes I had ignored the message
"This PPA is currently in testing, you should be experienced with packaging before you dive in here:"
because was used in driver previous versions.
Nvidia official driver from nvidia.com is more "simple" to install if starting in recovery mode using command line grub nouveau.modeset=0

I will test the drivers available in "Additional Drivers" even if are previous versions and wait to an correct fix to DKMS for kernel 5.8.
I am Linux new user for few months and is how if Nvidia not does good support priority for Linux.
 
Yeah, I'd drop that repository and then try the recommended drivers.

Heck, I don't even use the proprietary drivers - as I have no reason to. I do not do anything all that graphics-intensive. The most I do is watch a movie, or streaming a movie. Most of that gets done on a television. I don't play games. So, well, I never bother with the proprietary drivers. For me, 'it just works'.
 
Did you read your link?

"This PPA is currently in testing, you should be experienced with packaging before you dive in here:"

"Fresh drivers from upstream, currently shipping Nvidia."

I'm not sure that's a wise place to get your drivers at this time.

You also don't want to get the .run from NVidia themselves, 'cause that's even more a pain in the arse.

Why not just use the drivers that are available in main, universe, or multiverse - where they should be fine with dkms and well-tested, or at least QA tested?
Some years ago when I was running Ubuntu as my daily driver I always installed my drivers from there to get the latest drivers, I never ran into any problems otherwise I wouldn't have recommended it to anyone else.
 
Not is possible install ANY Nvidia proprietary driver in Lubuntu 20.04.2.
In moment only is possible use Nouveau driver that not has CUDA, Vulkan and NVENC.
 
Not is possible install ANY Nvidia proprietary driver in Lubuntu 20.04.2.
In moment only is possible use Nouveau driver that not has CUDA, Vulkan and NVENC.

I can test that this afternoon and get back to you. I have a box with Lubuntu on it and a fairly modern Nvidia card.
 
Not is possible install ANY Nvidia proprietary driver in Lubuntu 20.04.2.
In moment only is possible use Nouveau driver that not has CUDA, Vulkan and NVENC.
You can always try installing a lower version of the driver, such as 440, 450 or 455.
 
@KGIII
Caution. Lubuntu 20.04.2 if you force install driver 460 even being displayed "DKMS not will be installed" the system not will be started.

@f33dm3bits
Not is possible install ANY driver version
 
Which graphics card do you have?
 


Top