This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unable to install Nvidia drivers

Tags: None
(comma "," separated)
mleoni
Registered Member
Posts
5
Karma
0

Unable to install Nvidia drivers

Thu Mar 18, 2021 8:54 pm
Hello, I just got my new laptop, an hp omen 15 with an Nvidia RTX 2060.

The PC came with Windows but I want to try Neon so I shrinked the windows partition and installed Neon; I had to use the "graphics safe" install mode as the regular one wouldn't work.
After installing Neon, I tried to install the Nvidia drivers so I could go back to a normal graphics mode.
I tried four different ways:
1. Adding the graphics-drivers ppa and using ubuntu-drivers autoinstall
2. Installing package nvidia-drivers-460
3. Installing the latest drivers downloaded from the Nvidia webpage
4. Using "Software & Updates", tab "additional drivers"

Method 1 gave me an error on a dependency that couldn't be satisfied.
The other methods seem to install successfully, ask me to pick a password to add a MOK key to the secure boot system at the next reboot (which I successfully enroll) and don't report any problem, except the Nvidia installer which made me sign a certificate but then complained that it couldn't be added to the certificates database.
However, upon rebooting I only get to a black screen, instead of the normal login screen. After the drivers have been installed, even booting into recovery mode and "safe graphics" mode fails to give me a login screen.
If I uninstall the drivers, I'm back to square one.

Can anyone help me out? Or point me in the right direction?

Thanks in advance!
Massimiliano

P.s. please excuse me if I've been imprecise in the text above, I'm writing from my phone and I'm away from the computer at the moment.
User avatar
boospy007
Registered Member
Posts
237
Karma
0
OS
Use the version 450. I have the same card here, and it work perfectly for actual steam games. I had the same problem on an normal Ubuntu. The DKMS for this driver version was not installed. After i installed the dkms for this driverversion with apt and reinstall the driver with "apt install --reinstall XXX", it has worked normaly.
mleoni
Registered Member
Posts
5
Karma
0
Hello boospy, thanks for the help! I tried just now but still no luck, it just boots into a black screen :'(
I checked and the nvidia dkms driver module is already installed.

One thing that I noticed is that, when I generate the MOK key password, it tells me that upon reboot I'll have to enter the same password in both the "Enroll MOK" and "Change Secure Boot state" menus, but it only shows the former when I reboot.
mleoni
Registered Member
Posts
5
Karma
0
Update: I made some good progress here. Turns out I actually have two graphics cards, the NVidia dedicated one and an integrated ATI Renoir. Unfortunately, Renoir cards are not supported on kernels older than 5.8, and ubuntu 20.04 ships kernel 5.4.x. For this reason, I had to manually install a newer kernel, which finally gave me a GUI at boot. Of course, I had to go through the trouble of signing said kernel because Secure Boot wouldn't let me load it otherwise.

Then, back to NVidia. I tried to install the NVidia drivers but I was getting some errors related to some kernel folders not being found.
I conjectured that that was in some way related to Secure Boot [as of now, my new arch-enemy], so I went into the BIOS and disabled Secure Boot.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Install the ubuntu HWE stack to get an official 5.8 kernel

Code: Select all
 sudo apt install --install-recommends linux-generic-hwe-20.04


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
mleoni
Registered Member
Posts
5
Karma
0
Thank you! That is very convenient and I feel safer using an official kernel. I installed it and it seems to work fine!
User avatar
boospy007
Registered Member
Posts
237
Karma
0
OS
mleoni wrote:Thank you! That is very convenient and I feel safer using an official kernel. I installed it and it seems to work fine!

Sounds interesting. I test this next updatecycle.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar