this post was submitted on 21 Jul 2025
7 points (100.0% liked)
openSUSE
936 readers
20 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm wondering if it has something to do with the priorities of your repositories. What's the output of
zypper repos --details
(orzypper lr -d
for short) on your system?Thanks for your help with this!
zypper lr -d
spoiler
edit to add: I'm not sure how readable the formatting will be but I can tell you that all of them have 99 priority except for packman which has 70.
The repo configuration looks sane to me (however, it's bin a while since I last combined Packman repo with NVidia). Also please give the output of
lspci
, which is about the most low-level way to see whether your system sees the graphics card.output of lspci
Looks normal; the graphics card is being detected.
How about about
sudo journalctl -xe | grep nvidia
and specificallysudo journalctl -xe | grep nvidia-persistenced
?I remember my NVIDIA drivers causing troubles because of secure boot:
https://en.opensuse.org/SDB:NVIDIA_drivers#Secureboot
During every reboot right after an upgrade involving NVIDIA drivers, one should watch the screen in case a prompt for the enrolment of new MOK keys appears. If one misses this prompt, one has to do the enrolment by hand, see Ctrl+F "miss the timeout for certificate enrollment after first reboot" in the linked section. With your card model, this means you'd have to run
mokutil --import /usr/share/nvidia-pubkeys/MOK-nvidia-driver-G06-<driver_version>-<kernel_flavor>.der --root-pw
as root. In order to find the precise filename to use here, the easiest way is to first enter just the part until and including "MOK-nivdia-driver-G0", and then hit
Tab
twice to see what suggestions you get: the relevant file is then in all likelihood the one with the highest version numbers.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.
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).
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.
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. :)