Does Leap 16.0 work with Nvidia proprietary driver?

Hi !

As I mentioned in another thread, the upgrade from 15.6 to 16.0 using “migration-tool” was a nightmare with Plasma dbus and Nvidia driver failing. Thanks tgo Google AI I was able to switch to a working environment, using Nouveau driver.

However, Nouveau driver is very limited:

  • Steam games don’t work at all
  • Even old dos games using Wine does not work (back screen with only the square area around the cursor visible)

I would like to know if I can get an Nvidia driver working with my Leap 16.0. Google AI told me the kernel is too recent and could cause the issue. Here is the version::

6.12.0-160000.28-default

Nvidia repo is available


#  | Alias                       | Name                      | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                        | Service
---+-----------------------------+---------------------------+---------+-----------+---------+------+----------+--------+----------------------------------------------------------------------------+---------
 1 | NVIDIA:repo-non-free        | repo-non-free (16.0)      | Oui     | (r ) Oui  | Oui     | -    |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/16.0                             | NVIDIA
 2 | Packman                     | Packman                   | Non     | ----      | ----    | -    |   99     | N/A    | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_16.0/        | 
 3 | Visual_Studio_Code          | Visual Studio Code        | Non     | ----      | ----    | -    |   99     | N/A    | https://download.opensuse.org/repositories/devel:/tools:/ide:/vscode/15.6/ | 
 4 | Wine                        | Wine                      | Non     | ----      | ----    | -    |   99     | N/A    | https://download.opensuse.org/repositories/Emulators:/Wine/15.6/           | 
 5 | devel_tools_ide_vscode      | devel_tools_ide_vscode    | Non     | ----      | ----    | -    |   99     | N/A    | https://download.opensuse.org/repositories/devel:/tools:/ide:/vscode/15.6/ | 
 6 | games_tools_steam           | games:tools:steam         | Oui     | (r ) Oui  | Oui     | -    |   99     | rpm-md | https://download.opensuse.org/repositories/games:/tools:/steam/16.0/       | 
 7 | google-chrome               | google-chrome             | Oui     | (r ) Oui  | Oui     | -    |   99     | rpm-md | https://dl.google.com/linux/chrome/rpm/stable/x86_64                       | 
 8 | openSUSE-Leap-15.6-1        | openSUSE-Leap-15.6-1      | Non     | ----      | ----    | -    |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/usb-ASUS_SDRW-08D2S-U_97_436301522375-0:0     | 
 9 | openSUSE:repo-non-oss       | repo-non-oss (16.0)       | Oui     | (r ) Oui  | Oui     | -    |   99     | rpm-md | http://cdn.opensuse.org/distribution/leap/16.0/repo/non-oss/x86_64         | openSUSE
10 | openSUSE:repo-non-oss-debug | repo-non-oss-debug (16.0) | Non     | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/distribution/leap/16.0/repo/non-oss/x86_64   | openSUSE
11 | openSUSE:repo-openh264      | repo-openh264 (16.0)      | Oui     | (r ) Oui  | Oui     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap_16                       | openSUSE
12 | openSUSE:repo-oss           | repo-oss (16.0)           | Oui     | (r ) Oui  | Oui     | -    |   99     | rpm-md | http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64             | openSUSE
13 | openSUSE:repo-oss-debug     | repo-oss-debug (16.0)     | Non     | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/distribution/leap/16.0/repo/oss/x86_64       | openSUSE
14 | openSUSE:repo-oss-source    | repo-oss-source (16.0)    | Non     | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/source/distribution/leap/16.0/repo/oss             | openSUSE
localhost:/home/arnaud # 


Do you think I can get back an Nvidia proprietary driver working?

What would be the easiest way to move from Nouveau to Nvidia? I know there are some strange things to apply (modprobe, nomodereset…)

Please let me know what information is needed to ensure a smooth transition to Nvidia.

In general: yes, Leap 16.0 and Nvidia works.

You missed to provide an essential information. Your GPU type.

Leap 16 only provides drivers for newer cards which are supported by at least the G06 aka v580 drivers. Even in your other posts i did not find any informations about your GPU.
Show
inxi -GSaz

Sidenote: your repolist is messy. Clean up the Leap 15.6 repos.

Hi!

I removed the 15.6 repos.

Here is the in formation related to GPU:

14: PCI 100.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.395]
  Unique ID: VCu0.musp0ZfRX5D
  Parent ID: vSkL.LsEKNtpMAPB
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia AD107 [GeForce RTX 4060]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x2882 "AD107 [GeForce RTX 4060]"
  SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
  SubDevice: pci 0x5161 
  Revision: 0xa1
  Driver: "nouveau"
  Driver Modules: "nouveau"
  Memory Range: 0x53000000-0x53ffffff (rw,non-prefetchable)
  Memory Range: 0x40000000-0x4fffffff (ro,non-prefetchable)
  Memory Range: 0x50000000-0x51ffffff (ro,non-prefetchable)
  I/O Ports: 0x5000-0x5fff (rw)
  Memory Range: 0x54000000-0x5407ffff (ro,non-prefetchable,disabled)
  IRQ: 135 (731534 events)
  Module Alias: "pci:v000010DEd00002882sv00001462sd00005161bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

With 15.6 I used G06 drivers and they worked well. I still don’t understand why it failed last time.

With your command line:

ystem:
  Kernel: 6.12.0-160000.28-default arch: x86_64 bits: 64 compiler: gcc
    v: 13.4.0 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12.0-160000.28-default
    root=UUID=8af150ba-2dc8-4b7d-8b01-4e6ecea622cc splash=silent preempt=full
    mitigations=auto quiet security=selinux enforcing=1 selinux=1
    ia32_emulation=1
  Desktop: KDE Plasma v: 6.4.2 tk: Qt v: N/A info: frameworks v: 6.16.0
    wm: kwin_x11 tools: avail: xscreensaver vt: 2 dm: SDDM
    Distro: openSUSE Leap 16.0
Graphics:
  Device-1: NVIDIA AD107 [GeForce RTX 4060] vendor: Micro-Star MSI
    driver: nouveau v: kernel non-free: 550.xx+ status: current (as of 2024-09)
    arch: Lovelace code: AD1xx process: TSMC n4 (5nm) built: 2022+ pcie:
    gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s ports:
    active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 10de:2882
    class-ID: 0300
  Device-2: Generalplus GENERAL WEBCAM driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:2
    chip-ID: 1b3f:2247 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: vesa
    failed: nouveau alternate: fbdev,nv,nvidia dri: nouveau gpu: nouveau
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Acer EK251Q E serial: <filter>
    built: 2024 res: 1920x1080 hz: 60 dpi: 90 gamma: 1.2
    size: 543x302mm (21.38x11.89") diag: 621mm (24.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
    device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
    drv: nouveau inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.3.3 glx-v: 1.4
    direct-render: yes renderer: NV197 device-ID: 10de:2882 memory: 7.81 GiB
    unified: no
  API: Vulkan Message: No Vulkan data available.

Show your installed driver packages:
zypper se -si nvidia

S  | Name                        | Type   | Version                    | Arch   | Repository
---+-----------------------------+--------+----------------------------+--------+---------------------
i+ | kernel-firmware-nvidia      | paquet | 20250516-160000.2.2        | noarch | repo-oss (16.0)
i  | libnvidia-egl-gbm1          | paquet | 1.1.3-lp160.10.1           | x86_64 | repo-non-free (16.0)
i  | libnvidia-egl-gbm1-32bit    | paquet | 1.1.3-lp156.10.1           | x86_64 | (Paquets système)
i  | libnvidia-egl-wayland1      | paquet | 1.1.22-160000.1.1          | x86_64 | repo-oss (16.0)
i  | libnvidia-egl-x111          | paquet | 1.0.5-160000.1.1           | x86_64 | repo-oss (16.0)
i  | libnvidia-gpucomp-G06       | paquet | 580.159.03-lp160.48.1      | x86_64 | repo-non-free (16.0)
i  | libnvidia-gpucomp-G06-32bit | paquet | 580.159.03-lp160.48.1      | x86_64 | repo-non-free (16.0)
i  | openSUSE-repos-Leap-NVIDIA  | paquet | 20250714.a450212-lp160.3.1 | x86_64 | repo-oss (16.0)

There are no drivers installed.
Install them via
zypper in nvidia-open-driver-G07-signed-kmp-meta

Will it solve everything (deleting Nouveau) or shall I expect additional tasks afterward?

Deleting Nouveau is not necessary. Nouveau gets automatically blacklisted when installing the drivers.

Deleting Nouveau is not recommended, as you have a fallback when Nvidia fails (you only need to remove the blacklist then).

PS
After Nvidia is working, steam look here:

Thank you, will try this tomorrow and will confirm if it works or fails

Did that command.

However, strangely, no “compilation with verbose logs”, no question about confirmation to install proprietary drivers, and after reboot, no “MOK” blue screen. I tried a few applications and same results, maybe Nouveau is still enabled.

 hwinfo --gfxcard
14: PCI 100.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.395]
  Unique ID: VCu0.musp0ZfRX5D
  Parent ID: vSkL.LsEKNtpMAPB
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia AD107 [GeForce RTX 4060]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x2882 "AD107 [GeForce RTX 4060]"
  SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
  SubDevice: pci 0x5161 
  Revision: 0xa1
  Driver: "nvidia"
  Driver Modules: "nvidia"
  Memory Range: 0x53000000-0x53ffffff (rw,non-prefetchable)
  Memory Range: 0x40000000-0x4fffffff (ro,non-prefetchable)
  Memory Range: 0x50000000-0x51ffffff (ro,non-prefetchable)
  I/O Ports: 0x5000-0x5fff (rw)
  Memory Range: 0x54000000-0x5407ffff (ro,non-prefetchable,disabled)
  IRQ: 138 (20887 events)
  Module Alias: "pci:v000010DEd00002882sv00001462sd00005161bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Driver Info #1:
    Driver Status: nvidia_drm is active
    Driver Activation Cmd: "modprobe nvidia_drm"
  Driver Info #2:
    Driver Status: nvidia is active
    Driver Activation Cmd: "modprobe nvidia"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

Show

zypper se -si nvidia
inxi -GSaz

As it is the open driver with precompiled kernel modules, no MOK screen will appear.

According your shown output, Nvidia driver is active. But the above two commands will show…

zypper se -si nvidia
Chargement des données du dépôt...
Lecture des paquets installés...

S  | Name                                      | Type   | Version                                | Arch   | Repository
---+-------------------------------------------+--------+----------------------------------------+--------+---------------------
i+ | kernel-firmware-nvidia                    | paquet | 20250516-160000.2.2                    | noarch | repo-oss (16.0)
i  | libnvidia-cfg                             | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | libnvidia-egl-gbm1                        | paquet | 1.1.3-lp160.10.1                       | x86_64 | repo-non-free (16.0)
i  | libnvidia-egl-gbm1-32bit                  | paquet | 1.1.3-lp156.10.1                       | x86_64 | (Paquets système)
i  | libnvidia-egl-wayland1                    | paquet | 1.1.22-160000.1.1                      | x86_64 | repo-oss (16.0)
i  | libnvidia-egl-x111                        | paquet | 1.0.5-160000.1.1                       | x86_64 | repo-oss (16.0)
i  | libnvidia-gpucomp                         | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | libnvidia-gpucomp-G06                     | paquet | 580.159.03-lp160.48.1                  | x86_64 | repo-non-free (16.0)
i  | libnvidia-gpucomp-G06-32bit               | paquet | 580.159.03-lp160.48.1                  | x86_64 | repo-non-free (16.0)
i  | libnvidia-ml                              | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | nvidia-common-G07                         | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | nvidia-compute-G07                        | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | nvidia-compute-utils-G07                  | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | nvidia-gl-G07                             | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | nvidia-modprobe                           | paquet | 595.58.03-lp160.3.1                    | x86_64 | repo-non-free (16.0)
i  | nvidia-open-driver-G07-signed-kmp-default | paquet | 595.58.03_k6.12.0_160000.27-160000.1.1 | x86_64 | repo-oss (16.0)
i+ | nvidia-open-driver-G07-signed-kmp-meta    | paquet | 595.58.03-lp160.15.1                   | x86_64 | repo-non-free (16.0)
i  | nvidia-persistenced                       | paquet | 595.58.03-lp160.2.1                    | x86_64 | repo-non-free (16.0)
i  | nvidia-userspace-meta-G07                 | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | nvidia-video-G07                          | paquet | 595.58.03-lp160.11.1                   | x86_64 | repo-non-free (16.0)
i  | openSUSE-repos-Leap-NVIDIA                | paquet | 20250714.a450212-lp160.3.1             | x86_64 | repo-oss (16.0)

    Note : Pour une recherche étendue incluant des ressources encore non activées, veuillez utiliser
    'zypper search-packages'.

inxi -GSaz
System:
  Kernel: 6.12.0-160000.28-default arch: x86_64 bits: 64 compiler: gcc
    v: 13.4.0 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12.0-160000.28-default
    root=UUID=8af150ba-2dc8-4b7d-8b01-4e6ecea622cc splash=silent preempt=full
    mitigations=auto quiet security=selinux enforcing=1 selinux=1
    ia32_emulation=1 rd.driver.blacklist=nouveau
  Desktop: KDE Plasma v: 6.4.2 tk: Qt v: N/A info: frameworks v: 6.16.0
    wm: kwin_x11 tools: avail: xscreensaver vt: 2 dm: SDDM
    Distro: openSUSE Leap 16.0
Graphics:
  Device-1: NVIDIA AD107 [GeForce RTX 4060] vendor: Micro-Star MSI
    driver: nvidia v: 595.58.03 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-09) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 8
    ports: active: none off: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0
    chip-ID: 10de:2882 class-ID: 0300
  Device-2: Generalplus GENERAL WEBCAM driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:2
    chip-ID: 1b3f:2247 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: modesetting,nouveau,vesa alternate: fbdev,nv
    gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 90 s-size: 542x301mm (21.34x11.85")
    s-diag: 620mm (24.41")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: Acer EK251Q E
    serial: <filter> built: 2024 res: 1920x1080 hz: 60 dpi: 90 gamma: 1.2
    size: 543x302mm (21.38x11.89") diag: 621mm (24.5") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm:
    drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland
  API: OpenGL v: 4.6.0 vendor: nvidia v: 595.58.03 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 4060/PCIe/SSE2
    memory: 7.81 GiB
  API: Vulkan v: 1.4.309 layers: 3 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 4060 driver: N/A device-ID: 10de:2882
    surfaces: xcb,xlib

The Nvidia driver is active and working. You can also see this when utilizing nvidia-smi

You should uninstall two leftover packages from the G06 and Leap 15.6 driver series.

sudo zypper rm libnvidia-gpucomp-G06 libnvidia-gpucomp-G06-32bit libnvidia-egl-gbm1-32bit 

Thank you.

However I have still the strange behaviour with Wine and old games like Panzer General. When I launch the game, the image is clipping. When I am in the game, I can only see the rectangular area around the cursor, the rest of the screen is black. Google AI told me it was due to Nouveau driver but I guess the problem is Elsewhere.

I test Steam games and post a feedback

This is most likely not a Nvidia issue, but more like Wine and suboptimal 32bit support in Leap 16.

If you also want to have support 32bit driver support, you need to install the 32bit Nvidia driver packages also. Open Myrlyn, search for nvidia and install the matching 32bit pckages . Pay close attention to the version tab to have the correct versions installed.


nvidia-gl-G07-32bit-595.58.03
nvidia-video-G07-32bit-595.58.03
nvidia-compute-G07-32bit-595.58.03
libnvidia-gpucomp-32bit-595.58.03
libnvidia-ml-32bit-595.58.03

Thank you.

I tested few Steam games. FRed Orchestra was clunky and crashed but Xcom Ennemy unknown works perfectly and smoothly.

Do you know why I don’t have the blue screen MOK registration anymore?