A little lost between NVIDIA and AMD

Hello,

I am trying to work with NVIDIA CUDA on a machine that has two graphics cards.

The forum gave me some answers, but as I am not very experienced in these matters, I am not sure how to diagnose and find the problem.

The command

prime-select nvidia

followed by a restart does not seem to have any effect.
(I checked with nvtop and NVIDIA-smi, which show me that it is not working.)

I suspect that I haven’t installed everything correctly.

The bug report has been generated, but I can’t find the problem.

D.

P.S. If you know where I can find documentation that will help me understand how to use these graphics cards, I’d love to hear from you :wink:

After

sudo prime-select nvidia

logoff ; logon

nvtop

Nothing in GPU0 (NVIDIA)
AMD Radeon OK.

nvidia-smi

GPU0 = NVIDIA … OFF

@DadoooR3 Anything suse-prime is deprecated with newer hardware, switcherooctl is what is used…

https://en.opensuse.org/SDB:NVIDIA_Switcheroo_Control

You need to uninstall anything suse-prime, bbswitch, bumblebee related and rebuild initrd dracut -f --regenerate-all

Then you just need to use the AMD for graphics, everything else Prime Render Offload with switcherooctl, it’s integrated into GNOME, just right-click and launch with the discrete GPU.

Thank you for your reply.

After executing the following commands:
sudo zypper remove suse-prime
sudo zypper al suse-prime
sudo dracut -f --regenerate-all

I restarted the machine.

sudo systemctl status switcheroo-control.service
gives:

and
switcherooctl list

gives:

I attempted to produce a calculation requiring CUDA (a Python script calling OPENCV and torch) with the command:

switcherooctl launch -g 1 python OCR_openCV_2.py

Unfortunately, it doesn’t seem to work.

Any ideas?

…double post removed…

By the way, you have the completely wrong driver installed for the Nvidia card…
Why do you want to use the incompatible v470 driver for your RTX 3080?

You need the G06 aka v580 driver series.

Show zypper se -si nvidia and zypper lr -d.

Thank you for your analysis.

I was surprised to see the G05 drivers installed (I recently reinstalled my machine).
I simply let the installer do its job.

zypper se -si nvidia

zypper lr -d

The question remains: how should I proceed?

I tried this:

Uninstalls with Yast:

nvidia-computeG05
nvidia-computeG05-32bit
nvidia-gfxG05-kmp-default
nvidia-glG05
nvidia-glG05-32bit
X11-video-nvidiaG05
X11-video-nvidiaG05-32bit

New installation with Yast:

nvidia-computeG06
nvidia-gfxG06-kmp-default
nvidia-glG06
X11-video-nvidiaG06

Which gives me, with dependencies

then

sudo dracut -f --regenerate-all

Reboot

Enroll MOK (secureboot)

and, to test:

nvidia-smi
Capture d’écran du 2025-11-06 08-05-58

I tried this:

Uninstalls with Yast:

nvidia-computeG05
nvidia-computeG05-32bit
nvidia-gfxG05-kmp-default
nvidia-glG05
nvidia-glG05-32bit
X11-video-nvidiaG05
X11-video-nvidiaG05-32bit

New installation with Yast:

nvidia-computeG06
nvidia-gfxG06-kmp-default
nvidia-glG06
X11-video-nvidiaG06

Which gives me, with dependencies

then

sudo dracut -f --regenerate-all

Reboot

Enroll MOK (secureboot)

and, to test:

nvidia-smi
Capture d’écran du 2025-11-06 08-05-58

I try:

sudo modprobe nvidia_drm

Without success.

Finally with:

sudo journalctl -b0 | grep -iC1 nvidia

nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 535.129.03 on 2023-11-05: 41fc3e4d3ef999d336107791f8cfb756aadf46a9'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 545.29.02 on 2023-11-18: b542f47fd15b2aabec98122c6bf28076fd1f452c'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 535.129.03 on 2023-11-18: 0082c1899c064699fda66e9e006912a7993d7ee7'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 545.29.06 on 2023-11-29: 176800941f470480cb681a9d5aa9d67879172ffe'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 545.29.06 on 2023-12-15: 6ed2a0e4502fc3d762991e14943de46bac50d82a'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 545.29.06 on 2024-01-05: a2a53354b07edfceefc4cc6c93e9f74a675d0b18'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.67 on 2024-03-26: cb3dec8f5d767de26387f83c6b681ee3757b4d3c'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.67 on 2024-04-09: ae5c495dda2eaaaccbdb58db3b56008165398155'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.67 on 2024-04-14: e4f678126697ae1554b088259c788cf0067b963a'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-05-16: 2b09020e642af07e29388cd75583fff228ab3774'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-06-02: b1383211cc0aec6f11374d6aa7289b7934c71a5a'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-06-08: 8b2a0d24596a8a72d9f0a78bd4fe39b7ce7d3790'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-06-24: 5ae6be622b30833c05750ceda3764b446ec23c13'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-07-24: 82fcaaa6668775832ef93d9dd54778f0315df7c1'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-08-13: e0320c32e2a7df353b3087a9883202111e24e2fd'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-08-18: dca3df5b2e8e3ea65c2e74a65727a7e99b4f843c'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-09-01: c6a4c13c9c7070ec4fec0a7b069cd62699710c4c'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-09-13: ec23eb3151ee6810cdfd259ffc500298c0b78e51'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-09-29: 8498a8667c4f0481c3c7a1619a5b74f17300def1'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-10-09: 4b319c1f4091bf30441f310c883ef3085ea993da'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-10-17: b592089162651f25d21c1ec4a2f1d40345708c53'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-11-01: b68ea3c1b9329ce0ab4554c8fe43f4e8ebbe012c'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-11-06: 977eb90de109744cd7fdf88ebc926e7af5a15007'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-11-23: 0bc48e181ba8c50bbe659aa4b4426ee36056ebd0'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2024-12-22: 16e381132f33b8bd22a2bb5a7a84833ae5b8ff75'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.78 on 2025-02-24: c758216bf9ba34724eac46289618d8bb8336af4a'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-gfxG05 470.256.02 on 2025-10-27: d8dd64c08f3b115fbc5e553994cc412c002f0cd1'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-gfxG05 470.256.02 on 2025-10-30: ee3b6e3955fac10e09c202809f5e0c1b7c66478d'
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loading X.509 certificate: UEFI:MokListRT (MOKvar table)
nov. 06 07:47:20 dans kernel: integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 580.105.08 on 2025-11-06: c957ae942474f31923043022d7e7ea2d744f4d9f'
nov. 06 07:47:20 dans kernel: Loading compiled-in module X.509 certificates
--
nov. 06 07:47:26 dans kernel: intel_rapl_common: Found RAPL domain core
nov. 06 07:47:26 dans kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input27
nov. 06 07:47:26 dans kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input28
nov. 06 07:47:26 dans kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input29
nov. 06 07:47:26 dans kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input30
nov. 06 07:47:26 dans (udev-worker)[760]: controlC0: Process '/usr/sbin/alsactl restore 0' failed with exit code 13.
--
nov. 06 07:47:27 dans systemd[1]: Starting Machine Check Exception Logging Daemon...
nov. 06 07:47:27 dans systemd[1]: Started nvidia-powerd service.
nov. 06 07:47:27 dans systemd[1]: Starting Authorization Manager...
--
nov. 06 07:47:27 dans systemd[1]: Starting Switcheroo Control Proxy service...
nov. 06 07:47:27 dans nvidia-powerd[1018]: nvidia-powerd version:2.0 (build 1)
nov. 06 07:47:27 dans systemd[1]: Starting User Login Management...
--
nov. 06 07:47:27 dans systemd[1]: Finished Restore /run/initramfs on shutdown.
nov. 06 07:47:27 dans nvidia-powerd[1018]: ERROR! Allocate Root client failed 0x59
nov. 06 07:47:27 dans systemd[1]: nvidia-powerd.service: Deactivated successfully.
nov. 06 07:47:28 dans systemd[1]: Starting wtmpdb daemon...
--
nov. 06 08:10:19 dans systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
nov. 06 08:10:40 dans sudo[8127]:   daniel : TTY=pts/0 ; PWD=/home/daniel ; USER=root ; COMMAND=/usr/sbin/modprobe nvidia_drm
nov. 06 08:10:40 dans sudo[8127]: pam_unix(sudo:session): session opened for user root(uid=0) by daniel(uid=1000)

Unfortunately, that doesn’t work.
I tried the following diagnostic command:

sudo lshw -numeric -C display

 *-display NON-RÉCLAMÉ     
       description: VGA compatible controller
       produit: GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] [10DE:249C]
       fabriquant: NVIDIA Corporation [10DE]
       identifiant matériel: 0
       information bus: pci@0000:01:00.0
       version: a1
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       ressources: mémoireE/S:f80-f7f mémoireE/S:fc0-fbf mémoire:d0000000-d0ffffff mémoire:f800000000-fbffffffff mémoire:fc00000000-fc01ffffff portE/S:3000(taille=128) mémoire:d1080000-d10fffff
  *-display
       description: VGA compatible controller
       produit: Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638]
       fabriquant: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
       identifiant matériel: 0
       information bus: pci@0000:06:00.0
       version: c4
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: driver=amdgpu latency=0
       ressources: mémoireE/S:fc0-fbf mémoireE/S:fc0-fbf irq:48 mémoire:fc10000000-fc1fffffff mémoire:fc20000000-fc201fffff portE/S:1000(taille=256) mémoire:d1500000-d157ffff

After updating the OS,

sudo zypper ref
sudo zypper dup

Restart

Enroll MOK

the graphics card is now visible.

nvidia-smi

gives the following result

We’re making progress!

After activating the screensaver, the following message appears:

nvidia-modeset: Error: GPU0: Error while waiting for GPU progress: 0x0000c67d:0 2:2:0:4040

@DadoooR3 Run;

zypper -vvv inr
zypper -vvv dup --allow-vendor-change
zypper in -f nvidia-driver-G06-kmp-default
zypper -vvv inr
zypper -vvv dup --allow-vendor-change  # reboot
zypper in -f nvidia-driver-G06-kmp-default  # reboot; Enroll MOK

then
nvidia-smi

Fri Nov  7 15:08:44 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.105.08             Driver Version: 580.105.08     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 RTX 3080 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   43C    P0             19W /  100W |      13MiB /   8192MiB |      9%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            3453      G   /usr/bin/gnome-shell                      3MiB |
+-----------------------------------------------------------------------------------------+

and

switcherooclt list

Device: 0
  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]
  Default:     yes
  Environment: DRI_PRIME=pci-0000_06_00_0

Device: 1
  Name:        NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
  Default:     no
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only

MAGNIFIQUE!

It works perfectly!

It wasn’t easy. Thank you very much.