this post was submitted on 21 Jul 2025
6 points (100.0% liked)

openSUSE

936 readers
8 users here now

openSUSE is an open, free and secure operating system for PC, laptops, servers and ARM devices. Managing your emails, browsing the web, watching online streams, playing games, serving websites or doing office work never felt this empowering. And best part? It's not only backed by one of the leaders in open source industry, but also driven by lively community.

founded 2 years ago
MODERATORS
 

Hello! I am running Tumbleweed on a desktop with an RTX 4070 and I am have tried to run sudo zypper dup 3 times now over the last 2 months and each time it has messed up my nvidia graphics drivers somehow causing me to revert to the snapshot taken just before the zypper dup. I thought at the time that there was just some issue that would be resolved which is why I kept reverting but at this point I just need to bite the bullet and figure out how to fix it.

I have attempted to uninstall and reinstall the drivers several times using the command. sudo zypper remove \*nvidia\* && sudo zypper install x11-video-nvidiaG06 The only notable thing that this seems to do is fix my resolution from like 480p to 1080p, but only for the next reboot. However even with the resolution change it seems that the nvidia gpu is not being used at all.

sudo prime-select get-current tells me that there is "no driver configured"

The command xrandr --listproviders prints

Providers: number : 1 Provider 0: id: 0x40; cap: 0x2 (Sink Output); crtcs: 1; outputs: 1; associated providers: 0; name: modesetting output None-1

Also task manager (or whatever) can't detect the gpu I guess?

screenshot

I'm still pretty new to linux so any and all guidance is greatly appreciated. Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] Marafon@sh.itjust.works 2 points 1 week ago (3 children)

I'd just like to reiterate that I appreciate your help. Neither grep command printed anything and the mokutil command gave an error (also it only had one option when I hit tab twice as you instructed, thank you for the detailed instructions though)

spoiler

Now that you mention it I do recall the computer booting into some weird screen before grub but I just let it time out because I didn't know what it was. Sometimes when I uninstall and reinstall the drivers it does that screen again (shim?) but of course now that I want it to show up I can't reproduce it lol.

[–] Novocirab@feddit.org 2 points 1 week ago* (last edited 1 week ago) (2 children)

Yeah, the weird confusing screen at boot that's easy to miss and difficult to bring back must have been the one about key enrolment. Memories lol. Sadly I'm not fluent in dealing with secure boot. So when you've exhausted what the SUSE wiki suggests, try googling the error messages ('Failed to access kernel trusted keyring: Required key not available' and 'Failed to get root password hash') and play around with mokutil to see if you can solve your problem. Or ask in the OpenSUSE IRC channel, e.g. going to the Libera Web client and entering the channel name opensuse (ideally link to this thread when asking there).

[–] Marafon@sh.itjust.works 2 points 1 week ago (1 children)

Thanks again for your help! I tried rolling back again and redoing it a 4th time to get the mokutility screen to pull up again but it didn't 🙃 So I rolled back yet again because I'm tired of fucking with it today. I will definitely be heading to that IRC channel when I go to reattempt next time though.

[–] Novocirab@feddit.org 2 points 1 week ago* (last edited 1 week ago)

Cool, you're welcome! Also, by now the problem regarding key enrolment is more a general Linux/Secureboot problem, so you could also ask it in more general Linux forums/channels. When you find a solution, please let me know about it (ideally right here), since that would interest me too. :)