Nvidia driver stoped loading

Driver stopped loading after a local power glitch. Nvidia is the only GPU.
KDE 15.6

localhost:/home/gogalthorp # inxi -G
Graphics:
  Device-1: NVIDIA GP108 [GeForce GT 1030] driver: N/A
  Device-2: Lenovo FHD Webcam driver: snd-usb-audio,uvcvideo type: USB
  Display: x11 server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1 driver:
    X: loaded: nouveau unloaded: fbdev,modesetting,vesa failed: nvidia gpu: N/A
    resolution: 1920x1080~77Hz
  API: OpenGL v: 4.5 Mesa 23.3.4 renderer: llvmpipe (LLVM 17.0.6 256 bits)
localhost:/home/gogalthorp # 

Tried a force reinstall all things NVIDIA.

I do have desktop just no accel

@gogalthorp nouveau is not blacklisted since it’s in use? Check the output from lsinitrd | grep -E "nouveau|nvidia" what does inxi -GSaz show?

Required standard output:
zypper se -si nvidia

Also:

find  /lib/modules -name build -type l -exec ls -l {} \;
find  /lib/modules -name source -type l -exec ls -l {} \;
ocalhost:/home/gogalthorp # zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                       | Type    | Version                      | Arch   | Repository
---+----------------------------+---------+------------------------------+--------+------------------------
i+ | kernel-firmware-nvidia     | package | 20250205-150600.3.15.1       | noarch | update-sle (15.6)
i+ | libnvidia-egl-gbm1         | package | 1.1.2-lp156.5.1              | x86_64 | repo-non-free (15.6)
i+ | libnvidia-egl-gbm1         | package | 1.1.2-lp156.5.1              | x86_64 | nVidia Graphics Drivers
i+ | libnvidia-egl-gbm1-32bit   | package | 1.1.2-lp156.7.1              | x86_64 | repo-non-free (15.6)
i+ | libnvidia-egl-gbm1-32bit   | package | 1.1.2-lp156.7.1              | x86_64 | nVidia Graphics Drivers
i+ | libnvidia-gpucomp          | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | libnvidia-gpucomp          | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | libnvidia-gpucomp-32bit    | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | libnvidia-gpucomp-32bit    | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-common-G06          | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-common-G06          | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-compute-G06         | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-compute-G06         | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-compute-G06-32bit   | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-compute-G06-32bit   | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-compute-utils-G06   | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-compute-utils-G06   | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-gl-G06              | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-gl-G06              | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-gl-G06-32bit        | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-gl-G06-32bit        | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-libXNVCtrl          | package | 580.76.05-lp156.41.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-libXNVCtrl          | package | 580.76.05-lp156.41.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-modprobe            | package | 580.76.05-lp156.17.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-modprobe            | package | 580.76.05-lp156.17.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-persistenced        | package | 580.76.05-lp156.2.1          | x86_64 | repo-non-free (15.6)
i+ | nvidia-persistenced        | package | 580.76.05-lp156.2.1          | x86_64 | nVidia Graphics Drivers
i+ | nvidia-settings            | package | 580.76.05-lp156.41.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-settings            | package | 580.76.05-lp156.41.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-userspace-meta-G06  | package | 580.76.05-lp156.11.1         | noarch | repo-non-free (15.6)
i+ | nvidia-userspace-meta-G06  | package | 580.76.05-lp156.11.1         | noarch | nVidia Graphics Drivers
i+ | nvidia-video-G06           | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-video-G06           | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | nvidia-video-G06-32bit     | package | 580.76.05-lp156.39.1         | x86_64 | repo-non-free (15.6)
i+ | nvidia-video-G06-32bit     | package | 580.76.05-lp156.39.1         | x86_64 | nVidia Graphics Drivers
i+ | openSUSE-repos-Leap-NVIDIA | package | 20250604.94835c9-lp156.2.9.1 | x86_64 | update-oss (15.6)
localhost:/home/gogalthorp # 

You do not have any kernel module installed (not sure how you managed that). Install it via:
sudo zypper in nvidia-driver-G06-kmp-default

Afterwards the driver should be working.

ystem:
  Kernel: 6.4.0-150600.23.65-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.65-default
    root=UUID=7d4171ba-ecf4-4b98-a21e-9055921e6333 splash=silent preempt=full
    mitigations=auto quiet security=apparmor rd.driver.blacklist=nouveau
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Leap 15.6
Graphics:
  Device-1: NVIDIA GP108 [GeForce GT 1030] vendor: ASUSTeK driver: N/A
    alternate: nouveau non-free: 530.xx+ status: current (as of 2023-05)
    arch: Pascal code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 1
    speed: 2.5 GT/s lanes: 4 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0
    chip-ID: 10de:1d01 class-ID: 0300
  Device-2: Lenovo FHD Webcam driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1.2.2:5
    chip-ID: 17ef:4831 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1
    compositor: kwin_x11 driver: X: loaded: nouveau
    unloaded: fbdev,modesetting,vesa failed: nvidia alternate: nv gpu: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: default res: 1920x1080 hz: 77 size: N/A modes: N/A
  API: OpenGL v: 4.5 Mesa 23.3.4 renderer: llvmpipe (LLVM 17.0.6 256 bits)
    direct-render: Yes

ILL you need reinstallation of Nvidia drivers (if you need them).

Read the terminal output. No reinstallation needed. Only the missing kernel module package nvidia-driver-G06-kmp-defaultneeds to be installed.

Yep second time recently the kmp mod did not update. Since i had reinstall kmp mod earlier did not occur the mod had gone away again.

Does it work now?

@arvidjaar has a good explanation in the mailing list:

On Leap NVIDIA driver is built against and requires the GA kernel. The 
default libzypp configuration keeps two kernels. When purge-kernels 
removes the third, GA, kernel it also removes NVIDIA driver that depends 
on it.

Add the GA kernel to the list of versions to keep.

Arguably it is a bug in the NVIDIA driver package. But it is not 
straightforward to fix. You may still consider bug report to make sure 
it is not lost.

I am surprised nobody reported it so far. In the hindsight, some topics 
on the forums look like it could be the reason.

https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/LPZCEKICO2R7ZY3IN3NTKSWX7IJH3JD7/

It depends on this line:

grep -i 'multiversion.kernels' /etc/zypp/zypp.conf
multiversion.kernels = latest,latest-1,latest-2,oldest,running

Last NVIDIA update some how dropped the kmp mod. This append on a earlier update also.

The kmp mod was installed the updated happened and it was gone ???

Since I fixed it earlier I did not expect to see the problem again Since I had installed the kmp mod earlier and it should have just updated not go away.

Apparently it is enough to (re-)install and possibly lock kernel-devel and kernel-default-devel in the GA version (6.4.0-150600.21.3), no need for the full kernel.

Nvidia is build with the GA Kernel:

i+ | nvidia-driver-G06-kmp-default | Paket | 580.76.05_k6.4.0_150600.21-lp156.39.1 | x86_64 | nVidia Graphics Drivers

But the standart in Leap is:

grep -i 'multiversion.kernels' /etc/zypp/zypp.conf
multiversion.kernels = latest,latest-1,running

So the 2 Kernels with highest Version are kept.
And not the GA kernel and its dependencies (nvidia-driver-kmp-default)

or add
oldest
in the multiversion.kernels line of /etc/zypp/zypp,conf

See this:

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