Nvidia installation disappears on reset

(Nomodeset is set to on)
How do I get the nvidia installations to stay on?
Now it goes like this:
reboot → resolution 800x600 → nvidia installation → reboot → resolution OK → reboot → resolution 800x600 → nvidia installation → and so on… (this is a loop).

Operating System: openSUSE Tumbleweed 20250820
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.1-1-default (64-bit)
Graphics Platform: X11
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 32 GiB of RAM (30.7 GiB usable)
Graphics Processor: llvmpipe
Product Name: NUC14SRK-B
System Version: 90AR0042-M00150

The command I use to install nvidia is:
sudo zypper in -f nvidia-driver-G06-kmp-default

This parameter needs to be removed from the kernel command line so that the Nvidia drivers can get used. This parameter was only necessary to boot the installer prior Nvidia driver installation.

Use YaST->Bootloader to remove nomodeset from the kernel command line and apply the changes.

I’m sorry to be just an idiot :frowning_face:
I remove the nomodeset from line below but it didn’t help.

How can I check that the correct nividia driver is properly insalled?

splash=silent quiet security=selinux selinux=1 rd.driver.blacklist=nouveau 

After you have applied the changes (removed nomodeset from kernel command line), and installing the drivers once again, it should stick.
A reboot is necessary.

I can’t do this.

I checked that nomdeset is removed from the bios.
I installed the nvidia driver.
I checked the bios again.
I gave the command reboot.
The resolution was correct.
I gave another reboot
The resolution had changed back to 800x600.

I printed the computer startup log (journalctl)
I found, among other things, the log below in the file

elo 24 16:52:45 localhost.localdomain nvidia-persistenced[1803]: Started (1803)
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[1803]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 461 has read and write permissions for those files.
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[1803]: PID file unlocked.
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[1803]: PID file closed.
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[1774]: nvidia-persistenced failed to initialize. Check syslog for more details.
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[1803]: Shutdown (1803)
elo 24 16:52:45 localhost.localdomain systemd[1]: nvidia-persistenced.service: Control process exited, code=exited, status=1/FAILURE
elo 24 16:52:45 localhost.localdomain systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
elo 24 16:52:45 localhost.localdomain systemd[1]: nvidia-persistenced.service: Scheduled restart job, restart counter is at 3.
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[2081]: Verbose syslog connection opened
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[2081]: Directory /var/run/nvidia-persistenced will not be removed on exit
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[2081]: Started (2081)
elo 24 16:52:45 localhost.localdomain nvidia-persistenced[2081]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 461 has read and write permissions for those files.

Could this be a mokutil problem?
Should I install a new “mokutil” for nivia driver?
If so, how do I do that?

Graphics Processor: llvmpipe

Is this a virtual install of TW on a VM ?

I have installed a virtual machine, but the host machine is opensuse.
The fact that I installed a virtual machine has not affected this display problem in any way. I can of course remove it.

I would like to try if the command below would help, but I don’t know what I should put in it:

mokutil --import /usr/share/nvidia-pubkeys/MOK-nvidia-driver-G0<X>-<driver_version>-<kernel_flavor>.der --root-pw

Sw is opensuse with last updates and nvidia drives
nvidia-driver-G06-kmp-default

There seems to be some confusion. Did you enroll the MOK key when you where asked to after restart of the machine? If you have enrolled it, everything should be OK. If you ignored the enrollment, you need to perform the command which you showed above. You can find out the correct name of the file by simply browsing the directory with a filebrowser. But it should look something like that:

MOK-nvidia-driver-G06-580.76.05-kernel-default.der

https://en.opensuse.org/SDB:NVIDIA_drivers#Secureboot

I tried to run that command, but I got an error message.
I’m so tired of fighting this with no progress. I’m crying now.
Why didn’t you just run the command directly, instead of just instructions?

mokutil --import /usr/share/nvidia-pubkeys/MOK-nvidia-driver-G06-580.76.05-kernel-default.der --root-pw
Failed to get file status, /usr/share/nvidia-pubkeys/MOK-nvidia-driver-G06-580.76.05-kernel-default.der

Because i don’t use Secure Boot but tried to help you as best as possible. That is why i mentioned that you should check the correct name via a filebrowser…

linux64:/home/stephan # mokutil --import /usr/share/nvidia-pubkeys/MOK-nvidia-driver-G06-580.76.05-lp156.39.1-default.der 
SKIP: /usr/share/nvidia-pubkeys/MOK-nvidia-driver-G06-580.76.05-lp156.39.1-default.der is already in the enrollment request

PS
@hui is not using secure boot, so he might not have this file, but you are using secure boot and could use the TAB -completion as I do.

1 Like

I think I’ll start the installation from scratch. First, though, I’ll install another distro to clean up all my desperate attempts.
I’ve installed linux mint on this machine before and it didn’t have any problems with the graphics card.
I was warned about the nvidia drivers, but I had already ordered this computer.

I put my old computer back into use. It works better than a new one, though.
I would wait many months before trying to install opensuse on a new computer again.
I’m still wondering why Linux Mint doesn’t have any problems with it, but opensuse is almost impossible to install…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.