Nvdia drivers don't work, suspecting a MOK problem

Hi,

I had problems with my secureboot yesterday, but I managed to boot into my system after some help and time.

Now however, my Nvidia dirvers dont work; only one of my screen turns on and the resolution is low. I tried re-installing the drivers, but I don’t get the necessry MOK keys in /usr/share/nvidia-pubkeys during the installation.

I tried some other tinkering with MOK, but I think that wasn’t of any use :smiley:

How should I proceed? Thanks in advance!

Hi,

What brand is your motherboard? I had the same problem with Nvidia drivers. A bug in an ASUS motherboard prevented the enrollment of MOK keys after every distro upgrade. In the end I’ve just disabled the Secure Boot.

My mobo is MSI B350 PC MATE.

Post:
zypper se -si kernel nvidia
uname -a

S  | Name                          | Type    | Version                | Arch   | Repository
---+-------------------------------+---------+------------------------+--------+-------------------------
i+ | kernel-default                | package | 6.10.4-1.1             | x86_64 | (System Packages)
i+ | kernel-default                | package | 6.10.5-1.1             | x86_64 | repo-oss
i  | kernel-default-devel          | package | 6.10.4-1.1             | x86_64 | (System Packages)
i  | kernel-default-devel          | package | 6.10.5-1.1             | x86_64 | repo-oss
i  | kernel-devel                  | package | 6.10.4-1.1             | noarch | (System Packages)
i  | kernel-devel                  | package | 6.10.5-1.1             | noarch | repo-oss
i  | kernel-firmware-all           | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-amdgpu        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-ath10k        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-ath11k        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-ath12k        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-atheros       | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-bluetooth     | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-bnx2          | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-brcm          | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-chelsio       | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-dpaa2         | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-i915          | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-intel         | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-iwlwifi       | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-liquidio      | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-marvell       | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-media         | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-mediatek      | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-mellanox      | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-mwifiex       | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-network       | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-nfp           | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-nvidia        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-platform      | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-prestera      | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-qcom          | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-qlogic        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-radeon        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-realtek       | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-serial        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-sound         | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-ti            | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-ueagle        | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-firmware-usb-network   | package | 20240809-1.1           | noarch | repo-oss
i  | kernel-macros                 | package | 6.10.5-1.1             | noarch | repo-oss
i  | kernel-syms                   | package | 6.10.4-1.1             | x86_64 | (System Packages)
i  | kernel-syms                   | package | 6.10.5-1.1             | x86_64 | repo-oss
i  | libnvidia-container-tools     | package | 1.16.1-1               | x86_64 | nvidia-container-toolkit
i  | libnvidia-container1          | package | 1.16.1-1               | x86_64 | nvidia-container-toolkit
i  | libnvidia-egl-wayland1        | package | 1.1.15-1.1             | x86_64 | repo-oss
i  | nvidia-compute-G06            | package | 550.100-25.1           | x86_64 | repo-non-free
i  | nvidia-compute-G06-32bit      | package | 550.100-25.1           | x86_64 | repo-non-free
i+ | nvidia-container-toolkit      | package | 1.16.1-1               | x86_64 | nvidia-container-toolkit
i  | nvidia-container-toolkit-base | package | 1.16.1-1               | x86_64 | nvidia-container-toolkit
i+ | nvidia-driver-G06-kmp-default | package | 550.100_k6.9.7_1-25.1  | x86_64 | repo-non-free
i  | nvidia-gl-G06                 | package | 550.100-25.1           | x86_64 | repo-non-free
i  | nvidia-gl-G06-32bit           | package | 550.100-25.1           | x86_64 | repo-non-free
i  | nvidia-video-G06              | package | 550.100-25.1           | x86_64 | repo-non-free
i  | nvidia-video-G06-32bit        | package | 550.100-25.1           | x86_64 | repo-non-free
i  | openSUSE-repos-MicroOS-NVIDIA | package | 20240712.dd8c2eb-1.1   | x86_64 | repo-oss
i  | purge-kernels-service         | package | 0-9.7                  | noarch | repo-oss
i  | texlive-l3kernel              | package | 2024.216.svn70026-58.1 | noarch | repo-oss
Linux localhost.localdomain 6.10.5-1-default #1 SMP PREEMPT_DYNAMIC Fri Aug 16 11:15:41 UTC 2024 (30fd964) x86_64 x86_64 x86_64 GNU/Linux

Nvidia driver is build for Kernel 6.9 and fails in Kernel 6.10.

Maybe you can switch in grub back to kernel 6.9

I have build them this weekend.
You can download all needed files and install them, but this is no Repository.

https://www.krauttranslate.de/~sauerland/Nvidia

Thanks for the reply. How come I managed to install nvidia drivers that are not for my kernel? Why would zypper allow this :smiley:

So should I just wait for the updated drivers to drop or what?

There is an automatism in the kernel, files in the update directory are copied to the weak-update directory of the new kernel.
That may work or not and for kernel 6.10 not.

zypper does not allow or forbid anything…

Actually, it cant be the kernel I think.

If i disable secureboot, the driver seems to work just fine again.

However I want to re-iterate that I want to have working secureboot.

Delete all Nvidia drivers, see that there is no blacklist file for blacklisting nouveau and use the nouveau driver.

Or use the run file from Nvidia.

I want to be able to run games so nouveau isn’t really an option.

Use the run file.

It may be a MOK problem. Have you tried uninstalling, reboot and then installing the nvidia driver? Maybe the nvidia driver was only partially updated?

Se if Secure Boot is enabled:

mokutil --sb-state

You may have to Disable CSM (Compatibility Support Module) in the UEFI (“BIOS”).

Find out the version is the Nvidia card if you don’t know for sure:

inxi -G

The driver needed:

GT 8xxx / GT 9xxx = G03 (Driver version: 340) via a community user.
GT 4xx / Gt 5xx = G04 (Driver version: 390)
GeForce 600 series = G05 (Driver version: 470)
Geforce 700 series and modern cards = G06

  1. Make sure Nvidia driver is not installed or any part of Nvidia driver left installed.
    Check if installed driver installed:

sudo zypper se nvidia*G0x*

x = driver number. Probably x = 6 for most people.

If nvidia installed:

sudo zypper rm nvidia*G0x*
then reboot.

Then install the nvidia driver. There is a good tutorial video by A1RM4X:

Just noticed something.

The problem might be this:

openSUSE-repos-MicroOS-NVIDIA

shouldn’t that be:

openSUSE-repos-Tumbleweed-NVIDIA ?

So, my suggestion is to remove the nvidia driver and this repository:

openSUSE-repos-MicroOS-NVIDIA

Enable this repository:

openSUSE-repos-Tumbleweed-NVIDIA

and then install the nvidia driver.

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