I’m having some issues with NVIDIA drivers on Leap 16.0 with an NVIDIA GeForce RTX 5070 Ti. I was using the G06 open driver, but then it kept having conflicts when trying to apply updates, so I eventually uninstalled everything to do with G06 and installed the G07 open driver. This has worked fine for about a month (I can game, including MS titles on Steam), but now this is also having issues with conflicts during updates. I’ve tried uninstalling it and reinstalling it, but this results in a 640x480 resolution. I have noticed I seem to have both proprietary and open drivers installed, which is odd, as I’m sure I only installed the open driver. If I remove either, the graphics revert to 640x480, so it seems both are needed, which makes no sense to me.
I have this extra repository enabled (as per knowledge base on NVIDIA): https://download.nvidia.com/opensuse/leap/16.0
The following NVIDIA-related packages are installed:
i | kernel-firmware-nvidia | Kernel firmware files for Nvidia Tegra and graphics drivers | package
i+ | libnvidia-cfg | NVIDIA Config public interface (nvcfg) | package
i+ | libnvidia-egl-gbm1 | The GBM EGL external platform library | package
i+ | libnvidia-egl-wayland1 | The EGLStream-based Wayland external platform | package
i+ | libnvidia-egl-x111 | NVIDIA XLib and XCB EGL Platform Library | package
i+ | libnvidia-gpucomp | NVIDIA library for shader compilation (nvgpucomp) | package
i+ | libnvidia-gpucomp-G06 | NVIDIA library for shader compilation (nvgpucomp) | package
i+ | libnvidia-ml | NVIDIA Management Library (NVML) | package
i+ | nvidia-common-G07 | Common files for the NVIDIA driver packages | package
i+ | nvidia-compute-G07 | NVIDIA driver for computing with GPGPU | package
i+ | nvidia-compute-utils-G07 | NVIDIA driver tools for computing with GPGPU | package
i+ | nvidia-gl-G07 | NVIDIA OpenGL libraries for OpenGL acceleration | package
i+ | nvidia-modprobe | NVIDIA kernel module loader | package
i+ | nvidia-open-driver-G07-signed-kmp-default | NVIDIA open kernel module driver for GeForce 16 series (GTX 16xx) and newer | package
i+ | nvidia-open-driver-G07-signed-kmp-meta | Meta package to select open nvidia driver in sync | package
i+ | nvidia-persistenced | A daemon to maintain persistent software state in the NVIDIA driver | package
i+ | nvidia-userspace-meta-G07 | Meta package to autoselect NVIDIA userspace packages | package
i+ | nvidia-video-G07 | NVIDIA graphics driver for GeForce 700 series and newer | package
i | openSUSE-repos-Leap-NVIDIA | openSUSE NVIDIA repository definitions | package
I realise this subject has been covered a lot on this forum, and in the knowledge base, but I can’t seem to apply this information to my situation: the instructions for driver installation don’t work for me. I wonder if we should have a sticky post / page that is updated with instructions on how to get NVIDIA working, and is kept up-to-date (I’m happy to contribute once I understand the process!)? What is the bare minimum package list that should get working graphics on a 5070?
Or are the packages just in flux at the moment and it will all sort itself out?
This is a meta package which pulls all necessary packages. As one can see at the 1+ status, you installed all packages manually. This can be avoided by simply installing the meta package which does all the rest.
The only issue, which you should have seen yourself is, that you have a G06 package installed. Uninstall
libnvidia-gpucomp-G06 sudo zypper rm libnvidia-gpucomp-G06
Jun 03 09:06:46 ryzen9 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Jun 03 09:06:46 ryzen9 kernel: nvidia 0000:01:00.0: Direct firmware load for nvidia/595.80/gsp_ga10x.bin failed with error -2
Jun 03 09:06:46 ryzen9 kernel: NVRM: RmFetchGspRmImages: No firmware image found
Jun 03 09:06:46 ryzen9 kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x61:0x56:2074)
Jun 03 09:06:46 ryzen9 kernel: NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
Jun 03 09:06:46 ryzen9 kernel: [drm:nv_drm_dev_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
I didn’t install them manually in the sense of picking them one by one. I just installed the G07 open driver using Myrlin, and it auto-picked the rest. I will remove G06 shortly.
I can’t update to newer versions of the rest because of conflicts (Myrlin complains of conflicts, but zypper lists them as things it’s refusing to install. Is this simply that the repository is in a state of flux and it will get fixed, or have I messed things up?)
Also, I don’t understand why there’s no conflict if I’ve got both nvidia-video-G07 and nvidia-open-driver-G07-signed-kmp-default: aren’t they different drivers?
No. You need both.
nvidia-open-driver-G07-signed-kmp-default is only the kernel module.
nvidia-userspace-meta-G07 (which contains nvidia-video-G07) are the necessary userland drivers.
If you remove one, the graphics will not work as the userland driver and the kernel modul are necessary.
Aha, thanks for explaining. So my driver is working fine, but it has a newer version that I can’t install. In Myrlin, there are conflicts. zypper just refuses to update:
The following 22 package updates will NOT be installed:
libnvidia-cfg libnvidia-egl-wayland1 libnvidia-egl-x111 libnvidia-gpucomp libnvidia-ml libvdpau_nouveau libvdpau_r600 libvdpau_radeonsi libvulkan_radeon Mesa-dri Mesa-gallium Mesa-libva Mesa-vulkan-device-select nvidia-common-G07 nvidia-compute-G07 nvidia-compute-utils-G07 nvidia-gl-G07 nvidia-modprobe nvidia-open-driver-G07-signed-kmp-default nvidia-persistenced nvidia-userspace-meta-G07 nvidia-video-G07
Is this a normal state of affairs? Do these things resolve themselves, or is it a result of me installing them the wrong way? Or is it a bug I need to report?
As the kernel module and the userland drivers in Leap sometimes differ a little bit version wise (due to different build and relase mechanics), this problem happens from time to time. It will resolve itself.
The meta packages nvidia-open-driver-G07-signed-kmp-meta and nvidia-userspace-meta-G07 take care that only a matching set of packages get installed. If something differs, you get the message that it can’t be updated.
Ok, thanks. How long does it normally take to resolve? I know with the G06 driver, it was many weeks before I gave up and installed G07.
I suppose it’s not so much of an issue for me, as I have it installed already, but what if someone is installing a system from scratch? How can they get a working driver? Or do they just have to manually install older versions of the individual packages? Or do the meta packages automatically choose older versions to stop these conflicts?
Ok, thanks. So actually, going into Myrlin and selecting all packages and choosing “Update if newer version available” is NOT the way to update? It shows newer NVIDIA packages in the patch list, but of course, I can’t install them!
What you are trying to do is forcing an update. This is not how it is done.
On Leap, use the “Package update” button on the"Updates" tab. If there are installable updates available, the symbol in front of the packages will change. Then you can click “Accept”.
If the update is not possible due to package conflicts or version missmatches, the icon will change to a sad face and prevents the update due to this reason. Normaly wait, and the issue will solve after some time. (If you want to speed up the process you can create bugreports with valid description).
So Myrlyn and zypper are preventing you from damage. If you press “Update if newer version available” on your own on some selected packages, you overwrite this guard (the guard is in this case the meta package which takes care of the driver versions) and you screw up your driver installation.
If you are using the"Package update" button you are on the safe side. Also using the Patch tab is fine. But do not try to use “Update if newer version available” on single packages. Only use it if you have some experience and know what you are doing. Because you can screw up your system as explained above. This functionality is there for special purposes but shouldn’t be used by the normal user. And it is not necessary to be used by normal users.
Small correction: The “Patch” tab does not contain anything serviceable for the normal user. That means, always use the “Package update” button on Leap. It will install all patches and software updates which are necessary and safe/possible to update.
Under this “Pakage update” button you also have the description what it is doing under the hood. It performs the zypper update action which is the terminal command to update Leap.