Currently not getting any GUI on my Lenovo Legion 5 Laptop. Everything was working OK but after kernel & nvidia updates I can only get to a tty.
dmesg reports
[ 31.078815] NVRM: API mismatch: the client has the version 535.86.05, but
NVRM: this kernel module has the version 535.54.03. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.
The nvidia drivers have been installed via YaST from the NVIDIA repository.
Does anyone know how to get these in sync?
Operating System: openSUSE Tumbleweed
CPU: AMD Ryzen 7 6800H with Radeon Graphics
RAM: 32Gb
GPU: Nvidia GeForce RTX 3070 Ti
Assuming you actually meant zypper se -is nvidia
S | Name | Type | Version | Arch | Repository
---+-------------------------------+---------+-------------------------+--------+----------------------
i+ | kernel-firmware-nvidia | package | 20230724-1.1 | noarch | Main Repository (OSS)
i+ | kernel-firmware-nvidia | package | 20230724-1.1 | noarch | Main Repository (OSS)
i+ | kernel-firmware-nvidia | package | 20230724-1.1 | noarch | openSUSE-20230610-0
i+ | kernel-firmware-nvidia | package | 20230724-1.1 | noarch | openSUSE-20230623-0
i | libnvidia-egl-wayland1 | package | 1.1.12-1.1 | x86_64 | Main Repository (OSS)
i | libnvidia-egl-wayland1 | package | 1.1.12-1.1 | x86_64 | Main Repository (OSS)
i | libnvidia-egl-wayland1 | package | 1.1.12-1.1 | x86_64 | openSUSE-20230610-0
i | libnvidia-egl-wayland1 | package | 1.1.12-1.1 | x86_64 | openSUSE-20230623-0
i | libva-nvidia-driver | package | 0.0.9-2.1 | x86_64 | Zerotier
i+ | nvidia-compute-G06 | package | 535.86.05-10.1 | x86_64 | NVIDIA
i | nvidia-compute-G06-32bit | package | 535.86.05-10.1 | x86_64 | NVIDIA
i | nvidia-compute-utils-G06 | package | 535.86.05-10.1 | x86_64 | NVIDIA
i | nvidia-driver-G06-kmp-default | package | 535.86.05_k6.4.3_1-10.1 | x86_64 | NVIDIA
i+ | nvidia-drivers-G06 | package | 535.86.05-10.1 | x86_64 | NVIDIA
i | nvidia-gl-G06 | package | 535.86.05-10.1 | x86_64 | NVIDIA
i | nvidia-gl-G06-32bit | package | 535.86.05-10.1 | x86_64 | NVIDIA
i+ | nvidia-kmp-default | package | 535.54.03_k6.4.4_1-3.18 | x86_64 | (System Packages)
i+ | nvidia-kmp-default | package | 535.54.03_k6.4.6_1-3.22 | x86_64 | Zerotier
i+ | nvidia-utils-G06 | package | 535.86.05-10.1 | x86_64 | NVIDIA
i | nvidia-video-G06 | package | 535.86.05-10.1 | x86_64 | NVIDIA
i | nvidia-video-G06-32bit | package | 535.86.05-10.1 | x86_64 | NVIDIA
Remove both nvidia-kmp-default
packages and force reinstall nvidia-driver-G06-kmp-default
. I do not know where nvidia-kmp-default
comes from, but if you want to use this package, you probably need to install all other packages from the same place.
Thanks - I’ll do this as soon as I can and get back
First some repository cleaning …
I hadn’t realised but they’ve got into a complete mess with duplicates and other crap. In my defence this probably happened after I came out of hospital after a heart-valve replacement and I was half out of my head on post-op drugs during which there was a kernel/nvidia drivers update.
As you suggested I’ve removed both nvidia-kmp-default
and re-installed the G06 driver as well cleaning up the repos with duplicate URLs
Looking good so far - I have GUI working again
Still not quite as I had it working before the hospital visit, but at least it’s working.
Thanks a lot for your help