Failed to initialize NVML: Driver/library version mismatch

hi, thanks for the free os
i got this error when trying to run nvidia-smi after installing the nvidia driver G06 version (my gpu is pascal)

fajar@localhost:~> nvidia-smi 
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 595.45

i couldn’t find a way to install nvml with same version as the G06
what should i do?

You can use Myrlyn and its version tab to find and install matching versions.

But show
zypper se -si nvidia

i open up myrlyn but there are only this 595 version
image

and here’s the output of the command

fajar@localhost:~> zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                             | Type    | Version                   | Arch   | Repository
---+----------------------------------+---------+---------------------------+--------+--------------
i  | kernel-firmware-nvidia           | package | 20251018-1.2              | noarch | repo-oss
i  | libnvidia-cfg                    | package | 595.45.04-4.1             | x86_64 | repo-non-free
i+ | libnvidia-egl-gbm1               | package | 1.1.3-11.1                | x86_64 | repo-non-free
i+ | libnvidia-egl-wayland1           | package | 1.1.22-57.1               | x86_64 | repo-non-free
i+ | libnvidia-egl-x111               | package | 1.0.5-26.1                | x86_64 | repo-non-free
i+ | libnvidia-gpucomp                | package | 580.126.18-49.1           | x86_64 | repo-non-free
i  | libnvidia-ml                     | package | 595.45.04-4.1             | x86_64 | repo-non-free
i+ | nvidia-common-G06                | package | 580.126.18-49.1           | x86_64 | repo-non-free
i+ | nvidia-compute-G06               | package | 580.126.18-49.1           | x86_64 | repo-non-free
i  | nvidia-compute-utils-G06         | package | 580.126.18-49.1           | x86_64 | repo-non-free
i+ | nvidia-driver-G06-kmp-default    | package | 580.126.18_k6.19.5_1-49.1 | x86_64 | repo-non-free
i  | nvidia-driver-G06-kmp-meta       | package | 580.126.18-36.1           | x86_64 | repo-non-free
i+ | nvidia-gl-G06                    | package | 580.126.18-49.1           | x86_64 | repo-non-free
i+ | nvidia-modprobe                  | package | 580.126.18-23.2           | x86_64 | repo-non-free
i+ | nvidia-persistenced              | package | 580.126.18-3.4            | x86_64 | repo-non-free
i  | nvidia-userspace-meta-G06        | package | 580.126.18-36.1           | x86_64 | repo-non-free
i  | nvidia-video-G06                 | package | 580.126.18-49.1           | x86_64 | repo-non-free
i+ | openSUSE-repos-Tumbleweed-NVIDIA | package | 20250728.9adc675-1.2      | x86_64 | repo-oss

What is your GPU model? Can you show
inxi -GSaz

it’s GTX 1060 6GB

System:
  Kernel: 6.19.5-2-default arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/opensuse-tumbleweed/6.19.5-2-default/linux-4c4bdbeaa665b6ec0b01fd8c28a57b5358591609
    splash=silent mitigations=auto quiet security=selinux selinux=1
    rd.driver.blacklist=nouveau
    root=UUID=c0b8e1d1-1806-4f63-9a59-326aec62e337
    rootflags=subvol=@/.snapshots/1/snapshot
    systemd.machine_id=e1f57ba0b5bf43ba80d350ad64b4678c
  Desktop: GNOME v: 49.4 tk: GTK v: 3.24.51 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 49.2 Distro: openSUSE Tumbleweed
    20260306
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: ZOTAC driver: nvidia
    v: 580.126.18 alternate: nouveau,nvidia_drm non-free: 550-580.xx+
    status: current (as of 2025-11; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 2 speed: 5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s ports: active: DP-3 empty: DP-1, DP-2,
    DVI-D-1, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1c03 class-ID: 0300
  Display: wayland server: Xwayland v: 24.1.9 compositor: gnome-shell
    driver: gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-3 model: ViewSonic serial: <filter> built: 2025
    res: 1920x1080 dpi: 92 gamma: 1.2 size: 527x296mm (20.75x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6.0 vendor: nvidia v: 580.126.18 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
    memory: 5.86 GiB display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo gpu: nvidia-smi x11: xprop

You should be able to remove the two additional packages via
sudo zypper rm libnvidia-cfg libnvidia-ml

If the solver wants to remove more packages, don’t do it.

If the packages are succesfully removed, force the reinstallation of the kmp
sudo zypper in -f nvidia-driver-G06-kmp-default

thanks, it works!

fajar@localhost:~> nvidia-smi 
Mon Mar  9 07:03:12 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.126.18             Driver Version: 580.126.18     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1060 6GB    Off |   00000000:01:00.0  On |                  N/A |
| 40%   45C    P5             10W /  120W |     449MiB /   6144MiB |     19%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1141      G   /usr/bin/gnome-shell                    118MiB |
|    0   N/A  N/A            1469    C+G   /usr/bin/gnome-software                  45MiB |
|    0   N/A  N/A            1830    C+G   /usr/bin/kgx                             41MiB |
|    0   N/A  N/A            1872      G   /usr/bin/Xwayland                         2MiB |
|    0   N/A  N/A            2854      G   ...rack-uuid=3190708988185955192         80MiB |
|    0   N/A  N/A            6953    C+G   /usr/bin/gnome-system-monitor            66MiB |
+-----------------------------------------------------------------------------------------+

Apparently there is a bug:

bruno@LT-B:~> zypper info --requires nvidia-compute-utils-G06 |grep libnvidia-ml
    libnvidia-ml.so.1()(64bit)
bruno@LT-B:~> zypper info --provides nvidia-compute-G06 |grep libnvidia-ml
    libnvidia-ml.so.1()(64bit)
    libnvidia-ml = 580.126.18
bruno@LT-B:~> zypper info --provides libnvidia-ml |grep libnvidia-ml
Information for package libnvidia-ml:
Name           : libnvidia-ml
    libnvidia-ml.so.1()(64bit)
    libnvidia-ml = 595.45.04-4.1
    libnvidia-ml(x86-64) = 595.45.04-4.1
bruno@LT-B:~>
  • nvidia-compute-utils-G06 requires libnvidia-ml.so.1()(64bit)
    but two packages provide it, namely:
  • nvidia-compute-G06 and
  • libnvidia-ml

and apparently the latter is selected for alphabetical reasons even for GPUs that support only the G06 driver and not the G07 one.

Please report to https://bugzilla.opensuse.org/; you may link to this thread as an explanation.

1 Like

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