NVIDIA 470.94 Driver/library version mismatch

Good day,

today I updated using good ol sudo zypper dup. After reboot I booted into KDE just fine but I noticed incredibly poor performance in games.

nvidia-settings failed to launch and when launched from terminal shows the following:

Gtk-Message: 13:40:05.371: Failed to load module “appmenu-gtk-module”

ERROR: An internal driver error occurred

ERROR: Unable to load info from any available system

After some googling on my own I tried to run nvidia-smi and received the following:

Failed to initialize NVML: Driver/library version mismatch

/proc/driver/nvidia/version shows the following:

NVRM version: NVIDIA UNIX x86_64 Kernel Module 470.86 Tue Oct 26 21:55:45 UTC 2021
GCC version: gcc version 11.2.1 20211124 [revision 7510c23c1ec53aa4a62705f0384079661342ff7b] (SUSE Linux)

any help on what to try next is appreciated. I am very new to tumbleweed and zypper

I went through a similar issue a while back when I attempted to boot an older kernel. But in my case, IIRC I couldn’t even boot to desktop.

It should be fixed by reinstalling nvidia/kernel packages but let’s take a look at your system:

$ dmesg | grep NVRM
$ zypper se -si nvidia
$ inxi -GSxx

older kernel you mentioned got me to the answer… I was messing around in /etc/grub.d putting in custom entries for my second hard drive. I left a trailing }

so the post transaction script was failing but related to grub, I missed it.

thanks much