Nvidia GeForce RTX 4070 drivers

Have a Tuxedo laptop that is capable of running with either Intel Arc or NVidia GeForce RTX 4070 graphics; unfortunately it did not occur to me to have a dig about to see what drivers were installed while the original Tuxedo OS was installed, doh! Under Leap 15.6. I have the Tuxedo openSUSE repository installed and have all the Tuxedo software with the exception of tuxedo-touchpad-fix (causes conflicts) installed, touch pad appears to work anyway.

With the laptop connected to a Tuxedo Dock Lite v2 and in a Tuxedo OS environment, the multiscreen functionality worked seamlessly; in the Leap 15.6 environment I would like this functionality back please; presumably something to do with drivers; although the network connection works OK through the dock. Since x11 is deprecated, I always use Wayland graphics sessions.

Ultimately I would like to install Steam and play some games (proprietary NVidia drivers?); currently the default nvidia-open drivers are installed.

#1 is the GeForce RTX 4070 supported on Leap 15.6 with proprietary drivers?

#2 if so, what proprietary NVidia drivers need to be installed.

Thanks in advance.

@Addanc As in dual graphics? You want the G06 driver for sure, can you show the output from inxi -GSaz

inxi -GSaz

System:
  Kernel: 6.4.0-150600.23.38-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.38-default
    root=UUID=8e8e3f44-714b-4171-badb-d5abf6621de6 splash=silent preempt=full
    quiet security=apparmor mitigations=auto
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 wm: kwin_wayland vt: 3
    dm: SDDM Distro: openSUSE Leap 15.6
Graphics:
  Device-1: Intel Raptor Lake-S UHD Graphics vendor: AIstone Global
    driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:a788
    class-ID: 0300
  Device-2: NVIDIA AD106M [GeForce RTX 4070 Max-Q / Mobile]
    vendor: AIstone Global driver: nvidia v: 570.124.04
    alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022-23+ pcie: speed: Unknown lanes: 63
    link-max: gen: 6 speed: 64 GT/s bus-ID: 01:00.0 chip-ID: 10de:2860
    class-ID: 0300
  Device-3: Kingcome FHD WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 2b7e:c858
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 24.1.1
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
    alternate: intel,nouveau,nv,nvidia dri: iris gpu: i915,nvidia
    display-ID: 0
  Monitor-1: eDP-1 res: 2560x1600 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 23.3.4 renderer: Mesa Intel Graphics (RPL-S)
    direct-render: Yes

@Addanc so that looks good… If you install switcherooctl, you should be fine to use the Intel as primary graphics and Prime Render Offload on the Nvidia gpu…
Ref: https://en.opensuse.org/SDB:NVIDIA_Switcheroo_Control

There is no switcherooctl package in Leap 15.6 repos, but there is a switcheroo-control package already installed.

The nvidia packages in the default Leap 15.6 install:

i  | kernel-firmware-nvidia                      | Kernel firmware files for Nvidia Tegra and graphics drivers                   | package
i  | libdrm_nouveau2                             | Userspace interface for Kernel DRM services for NVIDIA chips                  | package
i  | nvidia-open-driver-G06-signed-kmp-default   | NVIDIA open kernel module driver for GeForce 16 series (GTX 16xx) and newer   | package
i+ | openSUSE-repos-Leap-NVIDIA                  | openSUSE NVIDIA repository definitions                                        | package
i  | openSUSE-SLE-15.6-2024-2585                 | Security update for kernel-firmware-nvidia-gspx-G06                           | patch
i  | openSUSE-SLE-15.6-2024-4310                 | Recommended update for nvidia-open-driver-G06-signed                          | patch
i  | openSUSE-SLE-15.6-2024-4439                 | Recommended update for nvidia-open-driver-G06-signed                          | patch
i  | openSUSE-SLE-15.6-2025-41                   | Recommended update for nvidia-open-driver-G06-signed                          | patch
i  | openSUSE-SLE-15.6-2025-207                  | Security update for nvidia-open-driver-G06-signed                             | patch
i  | openSUSE-SLE-15.6-2025-422                  | Recommended update for nvidia-open-driver-G06-signed                          | patch
i  | openSUSE-SLE-15.6-2025-630                  | Recommended update for nvidia-open-driver-G06-signed                          | patch
i  | openSUSE-SLE-15.6-2025-807                  | Recommended update for nvidia-open-driver-G06-signed                          | patch

With this default install, running through the dock, when (if) it detects the additional monitor; I select expand right and I end up with a laptop display that slowly switches on/off (could be called a flicker), frequency approx 1 to 2 Hz.

I did attempt to install package:

nvidia-video-G06 => NVIDIA graphics driver for GeForce 700 series and newer

Yast requested that some the nvidia-open-driver* be uninstalled (resolving conflicts) and a bunch of other nvidia stuff be installed; the upshot was that when the laptop was rebooted, it hung when the graphical session (?) was launched (blank screen with an unresponsive mouse cursor).

@Addanc so what does switcherooctl list output?

switcherooctl command, whether run in user context or root context outputs nothing.

@Addanc So as root user systemctl enable --now switcheroo-control.service then as your user switcherooctl list

switcherooctl list

Device: 0
  Name:        Intel Corporation Raptor Lake-S UHD Graphics
  Default:     yes
  Environment: DRI_PRIME=pci-0000_00_02_0

Device: 1
  Name:        NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile]
  Default:     no
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only

@Addanc So you can use that command with launch to start an aplication and use the nvidia GPU, many applications should by default use the Nvidia gpu by default (check nvidia-smi output).

Is nvidia-smi meant to be another console command?

I have found that if I cycle the power on the dock, it triggers the configuration screen which presents the laptop-only, external-monitor-only, expand left, expand right screen options; I select a option which should put something on the external monitor and nothing appears; do you know what controls the re-direction of video content over the PCI port connected to the dock?

Activating the switcherooctl service appears to have stopped the laptop display flicker previously described.

OK found package containing nvidia-smi; ended up with the following additional packages installed:

i  | nvidia-common-G06                           | Common files for the NVIDIA driver packages                                   | package
i  | nvidia-compute-G06                          | NVIDIA driver for computing with GPGPU                                        | package
i  | nvidia-compute-G06-32bit                    | 32bit NVIDIA driver for computing with GPGPU                                  | package
i+ | nvidia-compute-utils-G06                    | NVIDIA driver tools for computing with GPGPU                                  | package
i  | nvidia-modprobe                             | NVIDIA kernel module loader                                                   | package
i  | nvidia-persistenced                         | A daemon to maintain persistent software state in the NVIDIA driver           | package

switcherooctl list

Device: 0
  Name:        Intel Corporation Raptor Lake-S UHD Graphics
  Default:     yes
  Environment: DRI_PRIME=pci-0000_00_02_0

Device: 1
  Name:        NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile]
  Default:     no
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only

I issue the following command:
switcherooctl launch --gpu=1 kate some-text-file.log

sudo nvidia-smi

Wed Mar 12 19:07:51 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.04             Driver Version: 570.124.04     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| 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 RTX 4070 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   35C    P8              1W /  115W |      98MiB /   8188MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

Not seeing an indication of kate running on the nvidia GPU?

Also the video re-direction to the dock through the PCI port now works with the additional NVidia packages installed.

@Addanc That I don’t know as not a Plasma user or day to day on Leap…

Maybe nvtop would help better.

If you just open say LibreOffice without switcherooctl, does it appear in nvidia-smi (if it does, it should be ‘c’ for compute)?

|    0   N/A  N/A          179298      C   ...breoffice/program/soffice.bin

Re-installed the TuxedoOS to see what that environment provides.

uname -a

Linux tuxedo-os 6.11.0-109019-tuxedo #19~24.04.1tux2 SMP PREEMPT_DYNAMIC Mon Feb 17 23:08:54 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

apt list --installed | grep “nvidia”

libnvidia-cfg1-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
libnvidia-common-560/tuxedo,tuxedo,now 2:560.35.03-4tux1 all [installed,automatic]
libnvidia-compute-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
libnvidia-compute-560/tuxedo,now 2:560.35.03-4tux1 i386 [installed,automatic]
libnvidia-decode-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
libnvidia-decode-560/tuxedo,now 2:560.35.03-4tux1 i386 [installed,automatic]
libnvidia-egl-wayland1/tuxedo,now 1:1.1.16-0tux1 amd64 [installed,automatic]
libnvidia-encode-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
libnvidia-encode-560/tuxedo,now 2:560.35.03-4tux1 i386 [installed,automatic]
libnvidia-extra-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
libnvidia-fbc1-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
libnvidia-fbc1-560/tuxedo,now 2:560.35.03-4tux1 i386 [installed,automatic]
libnvidia-gl-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
libnvidia-gl-560/tuxedo,now 2:560.35.03-4tux1 i386 [installed,automatic]
nvidia-compute-utils-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
nvidia-dkms-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
nvidia-driver-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
nvidia-firmware-560-560.35.03/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
nvidia-kernel-common-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
nvidia-kernel-source-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
nvidia-prime/noble,noble,now 0.8.17.2 all [installed,automatic]
nvidia-settings/noble,now 510.47.03-0ubuntu4 amd64 [installed,automatic]
nvidia-utils-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]
tuxedo-nvidia-driver-560/tuxedo,now 1.0.1 amd64 [installed]
xserver-xorg-video-nvidia-560/tuxedo,now 2:560.35.03-4tux1 amd64 [installed,automatic]

In summary a newer kernel than available in Leap 15.6 with access to the new Nvidia 560 driver.

Maybe running a newer stable kernel is an option for you?
https://en.opensuse.org/SDB:InstallNewerKernel

From looking around I believe that Nvidia support some script based installation of their driver; need to investigate further, kernel requirements, degree of hassle, etc …