How to setup hybrid GPU with Nvidia?

$ sudo dnf --enablerepo=cooker-x86_64-non-free install nvidia-prime --refresh

OpenMandriva Cooker - x86_64                                                                              765  B/s | 2.4 kB     00:03    
OpenMandriva Cooker - Restricted - x86_64                                                                 3.7 kB/s | 2.4 kB     00:00    
OpenMandriva Cooker - Non-free - x86_64                                                                   3.4 kB/s | 2.4 kB     00:00    
Package nvidia-prime-1.0.0-1.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
$ inxi -G
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nouveau
    v: kernel
  Device-2: Chicony Integrated IR Camera driver: uvcvideo type: USB
  Display: x11 server: X.org v: 1.21.1.18 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: nouveau gpu: nouveau resolution: 2560x1440~165Hz
  API: EGL v: 1.5 drivers: nouveau,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 25.0.7 renderer: NV174
  API: Vulkan v: 1.4.312 drivers: N/A surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console
    gpu: nvidia-smi x11: xdpyinfo, xprop, xrandr

You’re only showing one. Are you sure you set hybrid in the BIOS?

In your bios there should be an option for you to use hybrid or discrete graphics

Ah, I’ve already switched to discrete in bios after the recommendation from @zeroability .

This is the output with hybrid mode

$ inxi -G
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
    v: 575.64
  Device-3: Chicony Integrated IR Camera driver: uvcvideo type: USB
  Display: x11 server: X.org v: 1.21.1.18 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
    resolution: 2560x1440~165Hz
  API: EGL v: 1.5 drivers: iris,kms_swrast,nouveau,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 575.64
    renderer: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
  API: Vulkan v: 1.4.312 drivers: N/A surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console
    gpu: nvidia-smi x11: xdpyinfo, xprop, xrandr

With the hybrid mode in the bios and back to the Rolling channel, now I can see that my nvidia card is detected by nvidia-smi:

$ nvidia-smi
Mon Jun 23 21:09:19 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.64                 Driver Version: 575.64         CUDA Version: 12.9     |
|-----------------------------------------+------------------------+----------------------+
| 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 3070 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   68C    P8             17W /  125W |     485MiB /   8192MiB |      6%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1465      G   /usr/bin/kwalletd6                        3MiB |
|    0   N/A  N/A            1520      G   /usr/libexec/Xorg                       158MiB |
|    0   N/A  N/A            1658      G   /usr/bin/ksmserver                        3MiB |
|    0   N/A  N/A            1660      G   /usr/bin/kded6                            3MiB |
|    0   N/A  N/A            1661      G   /usr/bin/kwin_x11                        12MiB |
|    0   N/A  N/A            1699      G   /usr/bin/plasmashell                     69MiB |
|    0   N/A  N/A            1758      G   /usr/bin/kaccess                          3MiB |
|    0   N/A  N/A            1759      G   ...it-kde-authentication-agent-1          3MiB |
|    0   N/A  N/A            1844      G   /usr/bin/kdeconnectd                      3MiB |
|    0   N/A  N/A            1921      G   /usr/bin/kalendarac                       3MiB |
|    0   N/A  N/A            1956      G   ...ibexec/xdg-desktop-portal-kde          3MiB |
|    0   N/A  N/A            2074      G   /usr/bin/konsole                          3MiB |
|    0   N/A  N/A            2265      G   /usr/lib64/chromium/chrome                3MiB |
|    0   N/A  N/A            2299      G   ...144 --variations-seed-version         26MiB |
+-----------------------------------------------------------------------------------------+

Thanks for the support.

Do you still have nvidia-prime installed? Try check it with the prime-run glxinfo | grep -e OpenGL.vendor -e OpenGL.renderer command.

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