Nvidia Driver and secure boot issue

Hello!
A linux newbie here. I recently decided to switch to linux and I went with Tumbleweed. I tried to install nvidia drivers but it just wasn’t working, it would say Install success but didn’t work. I figured out after some research, I have to disable secure boot. The problem is I dual boot with windows and apparently it’s essential for dual booting(for security reasons?)? I also play valorant sometimes and it needs secure boot. Is there any way to have drivers working and also have secure boot? I did find guide on “sign nvidia kernel” but it was on debian and ubuntnu, people said to follow the same guide but I have no experience about these stuffs I am kinda scared that I may break things. What can I do? I followed this guide: https://youtu.be/j3o_BCTaawY?si=atIDEdVyU6OOlsbx “The easy way” section. He also shows it how to do it “the hard way”, does doing it “the hard way” fix my issue? If Yes, Do i need to remove my previously installed drivers?
Thank you!

@exalted Hi and welcome to the Forum :smile:
First off can you advise what Desktop Environment your running and also post some GPU info via inxi -Gxz

I am running kde plasma 6.0.4.
image

@exalted Hi, so a hybrid setup, have a read of this recent thread GPU drivers didn't seem to work (RTX 4070)

I am not really having problems in performances. Only a few bits of stuttering here and there while opening some apps but game is working completely fine right now.

@exalted If you using the rpms for the Nvidia repository, then you shouldn’t need to disable secure boot as they are signed.

You might also want to look at using the gsp firmware…

I am sorry but I have no idea what those are. Can you elaborate maybe? How can I know if I am using rpms or sth else?

One still needs to enroll the certificate for these drivers. And it is generated every time driver version is updated.

@exalted So you would need to enroll when the MokManager Utility shows up on boot then, use the root password when it asks.

Did you see the nvidia drivers install via rpms, else if you look at the output from zypper lr -d you should see an nvidia repo present? Also maybe post the output from zypper se -si nvidia

For GSP firmware see https://forums.opensuse.org/t/todays-update-4-19-broke-graphical-interface/174354/18

I did read I have to enroll when the mok manager shows up, but it never did for me.


See here:
Mok Example

I tried this and got the mok enrollment screen and used my root pw but no luck, it didn’t work :frowning:

@exalted you might want to remove the open nvidia kmp packages, but also have a number of duplicate repositories(?).

Perhaps getting the secure boot working first, then look at maybe asking @bearymore what steps they took in resolving.

How to remove the “kmp” packages? Do you have any simple method to achieve what you’re saying?

@exalted yes, and also lock so it doesn’t come back :wink:

zypper rm nvidia-open-driver-G06-signed-kmp-default
zypper al nvidia-open-driver-G06-signed-kmp-default

One wonders since the opendriver version is 550.76 and the G06 proprietary drivers are at 555.67 that could also cause an issue…

image
Is this supposed to show this?

Yes, because according your output this package is not installed…

Ahh my bad it’s the development one installed… nvidia-open-driver-G06-signed-default-devel


It worked now. What should I do next?

@exalted So what is the status of the driver now, all ok?