Cannot Use the NVIDIA GPU via PRIME when Playing Games

Hey fellow Garuda users,

I recently decided to switch Linux distros in time for my new PC build and fell in love with the Mokka edition when I tried it out.

My new PC which has the following specs:

  • CPU: AMD Ryzen 9 9950X3D
  • GPU:
    • AMD Radeon Integrated Graphics (Used for monitor output)
    • NVIDIA GeForce RTX 5090
    • NVIDIA GeForce RTX 3050

I have installed the NVIDIA open-source and nvidia-open-dkms drivers but when I try to play a game using mangohud it will state that the game is using my integrated GPU.

I found this article on the Garuda Wiki that stated to use the DRI_PRIME=1 command in the game’s launch options but this was still using my integrated GPU.

I also tried using DRI_PRIME=pci-0000.01_00_0 as shown on the Arch Wiki article for PRIME but no dice - still used the integrated GPU.

To give context the reason why my display is connected to the integrated GPU is because I am going to be setting up a GPU passthrough for both of my RTX cards, to a Windows VM for games that require that OS. Then I am going to set up Looking Glass so that I can stay in my Linux session why using the Windows VM.

Any help would be appreciated, thanks. :slight_smile:

garuda-inxi:

 weion@dataslate in ~
 󰛓 ❯ garuda-inxi
System:
  Kernel: 6.15.4-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=753697d1-f9d1-472f-baee-2474af9fc4bd rw rootflags=subvol=@
    vt.default_red=30,243,166,249,137,245,148,186,88,243,166,249,137,245,148,166
    vt.default_grn=30,139,227,226,180,194,226,194,91,139,227,226,180,194,226,173
    vt.default_blu=46,168,161,175,250,231,213,222,112,168,161,175,250,231,213,200
    quiet rd.luks.uuid=94abc47d-c4cc-4b6c-8897-2531be763b17
    rd.luks.uuid=f23a73eb-f2fc-4eb3-b7cf-a1713452a298
    resume=/dev/mapper/luks-f23a73eb-f2fc-4eb3-b7cf-a1713452a298 loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 6.4.2 tk: Qt v: N/A info: frameworks v: 6.15.0
    wm: kwin_wayland with: ulauncher vt: 1 dm: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: X870E AORUS PRO ICE v: x.x
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F7b date: 06/23/2025
CPU:
  Info: model: AMD Ryzen 9 9950X3D bits: 64 type: MT MCP arch: N/A level: v4
    note: check family: 0x1A (26) model-id: 0x44 (68) stepping: 0
    microcode: 0xB404032
  Topology: cpus: 1x dies: 2 clusters: 2x1 cores: 16 threads: 32 tpc: 2
    smt: enabled cache: L1: 1.2 MiB desc: d-16x48 KiB; i-16x32 KiB L2: 16 MiB
    desc: 16x1024 KiB L3: 128 MiB desc: 1x32 MiB, 1x96 MiB
  Speed (MHz): avg: 624 min/max: 624/5756 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 624 2: 624 3: 624
    4: 624 5: 624 6: 624 7: 624 8: 624 9: 624 10: 624 11: 624 12: 624 13: 624
    14: 624 15: 624 16: 624 17: 624 18: 624 19: 624 20: 624 21: 624 22: 624
    23: 624 24: 624 25: 624 26: 624 27: 624 28: 624 29: 624 30: 624 31: 624
    32: 624 bogomips: 274675
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GB202 [GeForce RTX 5090] vendor: ASUSTeK driver: nvidia
    v: 575.64.03 alternate: nouveau,nvidia_drm non-free: 550-570.xx+
    status: current (as of 2025-04) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 5 speed: 32 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:2b85 class-ID: 0300
  Device-2: NVIDIA GA107 [GeForce RTX 3050 6GB] driver: nvidia v: 575.64.03
    alternate: nouveau,nvidia_drm non-free: 550-570.xx+ status: current (as of
    2025-04; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 pcie: gen: 4 speed: 16 GT/s lanes: 4 link-max: lanes: 16
    bus-ID: 10:00.0 chip-ID: 10de:2584 class-ID: 0300
  Device-3: Advanced Micro Devices [AMD/ATI] Granite Ridge [Radeon Graphics]
    vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-2 empty: DP-1, HDMI-A-1, HDMI-A-2, Writeback-1
    bus-ID: 79:00.0 chip-ID: 1002:13c0 class-ID: 0300 temp: 38.0 C
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: DP-2 model: LG (GoldStar) 38GL950G serial: <filter> built: 2019
    res: mode: 3840x1600 hz: 144 scale: 110% (1.1) to: 3491x1455 dpi: 110
    gamma: 1.2 size: 890x390mm (35.04x15.28") diag: 971mm (38.2") modes:
    max: 3840x1600 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi                                   wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.1.4-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    raphael_mendocino LLVM 20.1.6 DRM 3.63 6.15.4-zen2-1-zen)
    device-ID: 1002:13c0 memory: 1.95 GiB unified: no display-ID: :1.0
  API: Vulkan v: 1.4.313 layers: 13 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
    v: 25.1.4-arch1.2 device-ID: 1002:13c0 surfaces: N/A device: 1 type: cpu
    name: llvmpipe (LLVM 20.1.6 256 bits) driver: mesa llvmpipe
    v: 25.1.4-arch1.2 (LLVM 20.1.6) device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: lact wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 5 speed: 32 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22e8 class-ID: 0403
  Device-2: NVIDIA GA107 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 4 link-max: lanes: 16
    bus-ID: 10:00.1 chip-ID: 10de:2291 class-ID: 0403
  Device-3: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
    [Rembrandt/Strix] driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 79:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-4: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 79:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.15.4-zen2-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.4.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm WCN785x Wi-Fi 7 320MHz 2x2 [FastConnect 7800]                                          vendor: Foxconn driver: ath12k_pci v: N/A modules: ath12k pcie: gen: 3
    speed: 8 GT/s lanes: 1 link-max: lanes: 2 bus-ID: 0d:00.0                                               chip-ID: 17cb:1107 class-ID: 0280
  IF: wlp13s0 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel                                 pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 0e:00.0
    chip-ID: 10ec:8125 class-ID: 0200                                                                     IF: enp14s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Foxconn / Hon Hai driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:2 chip-ID: 0489:e10d
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: N/A
Drives:
  Local Storage: total: 3.7 TiB used: 19.94 GiB (0.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: MP700 PRO
    size: 3.64 TiB block-size: physical: 512 B logical: 512 B speed: 126 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EQFM22.3 temp: 45.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Kingston model: DataTraveler 3.0
    size: 57.73 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 0000 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 3.57 TiB size: 3.57 TiB (100.00%) used: 17.85 GiB (0.5%)
    fs: btrfs dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 776 KiB (0.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 17.85 GiB (0.5%) fs: btrfs dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-4: /var/log raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 17.85 GiB (0.5%) fs: btrfs dev: /dev/dm-1 maj-min: 253:1                                          mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-5: /var/tmp raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 17.85 GiB (0.5%) fs: btrfs dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17                                                   Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 66.47 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-0 maj-min: 253:0                                                              mapped: luks-f23a73eb-f2fc-4eb3-b7cf-a1713452a298
  ID-2: swap-2 type: zram size: 60.43 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 dev: /dev/zram0
Sensors:                                                                                                  System Temperatures: cpu: 58.0 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 60 GiB note: est. available: 60.43 GiB used: 9.77 GiB (16.2%)                            Processes: 592 Power: uptime: 2h 9m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 24.15 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical                                  tool: systemctl
  Packages: pm: pacman pkgs: 1674 libs: 423 tools: octopi,paru Compilers:
    clang: 20.1.7 gcc: 15.1.1 Shell: garuda-inxi default: fish v: 4.0.2
    running-in: ghostty inxi: 3.3.38                                                                    Garuda (2.7.3-1):
  System install date:     2025-07-03
  Last full system update: 2025-07-03 ↻
  Is partially upgraded:   No                                                                             Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

Welcome Weion,

First, sorry for this comment.. the never ending story with the nvidia gpus.

That mean ↻–> pls reboot ..you see also icon if you use/open garuda-rani
pls do this → result = ?

Now nvidia stuff
Default you read/ use the search here inside the forum about nvidia gpus or use the arch wiki + great www

You need for this gpu the nvidia-open-beta-dkms driver to find as aur package and default install over paru or yay.

You need for this gpu NV170 family (Ampere )default the nvidia-open-dkms driver.
but to know:
you can not use 2 different nvidia drivers. That’s not possible 2 nvidia gpu modules.

But before to install the right stuff it’s nice to know which nvidia stuff is installed.
Pls post the output from pacman -Qs nvidia

2 Likes

Hey @gampel, thanks for the reply.

I went ahead and rebooted but that didn’t resolve the underlying issue, so might be related to the nvidia-open-beta-dkms package as I don’t have them installed it seems. Though I can’t even use the RTX 3050 with the nvidia-open-dkms package installed.

pacman -Qs nvidia:

 weion@dataslate in ~
 󰛓 ❯ pacman -Qs nvidia
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/linux-firmware-nvidia 20250627-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/mhwd-nvidia 575.64.03.1-1
    NVIDIA pci id list for MHWD
local/mhwd-nvidia-390xx 390.143-1
    mhwd-nvidia-390xx PCI ID database
local/mhwd-nvidia-470xx 470.94-1
    mhwd-nvidia-470xx PCI ID database
local/nvidia-open-dkms 575.64.03-1
    NVIDIA open kernel modules - module sources
local/xf86-video-nouveau 1.0.18-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

garuda-inxi

 weion@dataslate in ~
 󰛓 ❯ garuda-inxi
System:
  Kernel: 6.15.4-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=753697d1-f9d1-472f-baee-2474af9fc4bd rw rootflags=subvol=@
    vt.default_red=30,243,166,249,137,245,148,186,88,243,166,249,137,245,148,166
    vt.default_grn=30,139,227,226,180,194,226,194,91,139,227,226,180,194,226,173
    vt.default_blu=46,168,161,175,250,231,213,222,112,168,161,175,250,231,213,200
    quiet rd.luks.uuid=94abc47d-c4cc-4b6c-8897-2531be763b17
    rd.luks.uuid=f23a73eb-f2fc-4eb3-b7cf-a1713452a298
    resume=/dev/mapper/luks-f23a73eb-f2fc-4eb3-b7cf-a1713452a298 loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 6.4.2 tk: Qt v: N/A info: frameworks v: 6.15.0
    wm: kwin_wayland with: ulauncher vt: 1 dm: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: X870E AORUS PRO ICE v: x.x
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F7b date: 06/23/2025
CPU:
  Info: model: AMD Ryzen 9 9950X3D bits: 64 type: MT MCP arch: N/A level: v4
    note: check family: 0x1A (26) model-id: 0x44 (68) stepping: 0
    microcode: 0xB404032
  Topology: cpus: 1x dies: 2 clusters: 2x1 cores: 16 threads: 32 tpc: 2
    smt: enabled cache: L1: 1.2 MiB desc: d-16x48 KiB; i-16x32 KiB L2: 16 MiB
    desc: 16x1024 KiB L3: 128 MiB desc: 1x32 MiB, 1x96 MiB
  Speed (MHz): avg: 2200 min/max: 624/5756 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 2200 2: 2200 3: 2200
    4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200                              13: 2200 14: 2200 15: 2200 16: 2200 17: 2200 18: 2200 19: 2200 20: 2200
    21: 2200 22: 2200 23: 2200 24: 2200 25: 2200 26: 2200 27: 2200 28: 2200
    29: 2200 30: 2200 31: 2200 32: 2200 bogomips: 274698
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GB202 [GeForce RTX 5090] vendor: ASUSTeK driver: nvidia
    v: 575.64.03 alternate: nouveau,nvidia_drm non-free: 550-570.xx+
    status: current (as of 2025-04) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 5 speed: 32 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:2b85 class-ID: 0300
  Device-2: NVIDIA GA107 [GeForce RTX 3050 6GB] driver: nvidia v: 575.64.03
    alternate: nouveau,nvidia_drm non-free: 550-570.xx+ status: current (as of
    2025-04; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 pcie: gen: 4 speed: 16 GT/s lanes: 4 link-max: lanes: 16
    bus-ID: 10:00.0 chip-ID: 10de:2584 class-ID: 0300
  Device-3: Advanced Micro Devices [AMD/ATI] Granite Ridge [Radeon Graphics]
    vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-2 empty: DP-1, HDMI-A-1, HDMI-A-2, Writeback-1
    bus-ID: 79:00.0 chip-ID: 1002:13c0 class-ID: 0300 temp: 42.0 C                                        Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: DP-2 model: LG (GoldStar) 38GL950G serial: <filter> built: 2019
    res: mode: 3840x1600 hz: 144 scale: 110% (1.1) to: 3491x1455 dpi: 110
    gamma: 1.2 size: 890x390mm (35.04x15.28") diag: 971mm (38.2") modes:
    max: 3840x1600 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.1.4-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    raphael_mendocino LLVM 20.1.6 DRM 3.63 6.15.4-zen2-1-zen)
    device-ID: 1002:13c0 memory: 1.95 GiB unified: no display-ID: :1.0
  API: Vulkan v: 1.4.313 layers: 13 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
    v: 25.1.4-arch1.2 device-ID: 1002:13c0 surfaces: N/A device: 1 type: cpu
    name: llvmpipe (LLVM 20.1.6 256 bits) driver: mesa llvmpipe
    v: 25.1.4-arch1.2 (LLVM 20.1.6) device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: lact wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 5 speed: 32 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22e8 class-ID: 0403
  Device-2: NVIDIA GA107 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 4 link-max: lanes: 16
    bus-ID: 10:00.1 chip-ID: 10de:2291 class-ID: 0403
  Device-3: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
    [Rembrandt/Strix] driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 79:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-4: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 79:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.15.4-zen2-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.4.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm WCN785x Wi-Fi 7 320MHz 2x2 [FastConnect 7800]
    vendor: Foxconn driver: ath12k_pci v: N/A modules: ath12k pcie: gen: 3
    speed: 8 GT/s lanes: 1 link-max: lanes: 2 bus-ID: 0d:00.0
    chip-ID: 17cb:1107 class-ID: 0280
  IF: wlp13s0 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 0e:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp14s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Foxconn / Hon Hai driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:2 chip-ID: 0489:e10d
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: N/A
Drives:
  Local Storage: total: 3.64 TiB used: 70.54 GiB (1.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: MP700 PRO
    size: 3.64 TiB block-size: physical: 512 B logical: 512 B speed: 126 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EQFM22.3 temp: 46.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 3.57 TiB size: 3.57 TiB (100.00%) used: 70.54 GiB (1.9%)
    fs: btrfs dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 776 KiB (0.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 70.54 GiB (1.9%) fs: btrfs dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-4: /var/log raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 70.54 GiB (1.9%) fs: btrfs dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-5: /var/tmp raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 70.54 GiB (1.9%) fs: btrfs dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 66.47 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-0 maj-min: 253:0
    mapped: luks-f23a73eb-f2fc-4eb3-b7cf-a1713452a298
  ID-2: swap-2 type: zram size: 60.43 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 58.5 C mobo: N/A gpu: amdgpu temp: 43.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 60 GiB note: est. available: 60.43 GiB used: 6.13 GiB (10.1%)
  Processes: 575 Power: uptime: 22m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 24.15 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1674 libs: 423 tools: octopi,paru Compilers:
    clang: 20.1.7 gcc: 15.1.1 Shell: garuda-inxi default: Bash v: 5.2.37
    running-in: ghostty inxi: 3.3.38
Garuda (2.7.3-1):
  System install date:     2025-07-03
  Last full system update: 2025-07-03
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

You must deinstall first nvidia-open-dkms
open konsole and insert : sudo -Rdd nvidia-open-dkms
then command
paru -S nvidia-open-beta-dkms lib32-nvidia-utils-beta lib32-opencl-nvidia-beta nvidia-settings-beta opencl-nvidia-beta nvidia-utils-beta nvidia-prime

then reboot result = ?

If paru + dkms is not installed (not shure if) to install sudo pacman -S paru dkms

2 Likes

Hey, so that appears to have fixed the issue when I launch a game with the DRI_PRIME=1 launch command, as mangohud is now listing the active GPU as the RTX 5090. :smiley:

However, I get this when I run DRI_PRIME=1 glxinfo | grep "OpenGL renderer" not sure if that is normal?

 weion@dataslate in ~
 󰛓 ❯ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
glx: failed to create dri3 screen
failed to load driver: nouveau
OpenGL renderer string: zink Vulkan 1.4(AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) (MESA_RADV))

pls post current garuda-inxi + pacman -Qs nvidia again

Sure. :slight_smile:

garuda-inxi

 weion@dataslate in ~
 󰛓 ❯ garuda-inxi
System:
  Kernel: 6.15.4-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=753697d1-f9d1-472f-baee-2474af9fc4bd rw rootflags=subvol=@
    vt.default_red=30,243,166,249,137,245,148,186,88,243,166,249,137,245,148,166
    vt.default_grn=30,139,227,226,180,194,226,194,91,139,227,226,180,194,226,173
    vt.default_blu=46,168,161,175,250,231,213,222,112,168,161,175,250,231,213,200
    quiet rd.luks.uuid=94abc47d-c4cc-4b6c-8897-2531be763b17
    rd.luks.uuid=f23a73eb-f2fc-4eb3-b7cf-a1713452a298
    resume=/dev/mapper/luks-f23a73eb-f2fc-4eb3-b7cf-a1713452a298 loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 6.4.2 tk: Qt v: N/A info: frameworks v: 6.15.0
    wm: kwin_wayland with: ulauncher vt: 1 dm: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: X870E AORUS PRO ICE v: x.x
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F7b date: 06/23/2025
CPU:
  Info: model: AMD Ryzen 9 9950X3D bits: 64 type: MT MCP arch: N/A level: v4
    note: check family: 0x1A (26) model-id: 0x44 (68) stepping: 0
    microcode: 0xB404032
  Topology: cpus: 1x dies: 2 clusters: 2x1 cores: 16 threads: 32 tpc: 2
    smt: enabled cache: L1: 1.2 MiB desc: d-16x48 KiB; i-16x32 KiB L2: 16 MiB
    desc: 16x1024 KiB L3: 128 MiB desc: 1x32 MiB, 1x96 MiB
  Speed (MHz): avg: 624 min/max: 624/5756 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 624 2: 624 3: 624
    4: 624 5: 624 6: 624 7: 624 8: 624 9: 624 10: 624 11: 624 12: 624 13: 624
    14: 624 15: 624 16: 624 17: 624 18: 624 19: 624 20: 624 21: 624 22: 624
    23: 624 24: 624 25: 624 26: 624 27: 624 28: 624 29: 624 30: 624 31: 624
    32: 624 bogomips: 274677
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GB202 [GeForce RTX 5090] vendor: ASUSTeK driver: nvidia
    v: 575.64.03 alternate: nouveau,nvidia_drm non-free: 550-570.xx+
    status: current (as of 2025-04) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 5 speed: 32 GT/s ports: active: none empty: DP-1, DP-2,
    DP-3, HDMI-A-1, HDMI-A-2 bus-ID: 01:00.0 chip-ID: 10de:2b85 class-ID: 0300
  Device-2: NVIDIA GA107 [GeForce RTX 3050 6GB] driver: nvidia v: 575.64.03
    alternate: nouveau,nvidia_drm non-free: 550-570.xx+ status: current (as of
    2025-04; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4,DVI-D-1,HDMI-A-3
    bus-ID: 10:00.0 chip-ID: 10de:2584 class-ID: 0300
  Device-3: Advanced Micro Devices [AMD/ATI] Granite Ridge [Radeon Graphics]
    vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-6 empty: DP-5, HDMI-A-4, HDMI-A-5, Writeback-1
    bus-ID: 79:00.0 chip-ID: 1002:13c0 class-ID: 0300 temp: 45.0 C
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-6 model: LG (GoldStar) 38GL950G serial: <filter> built: 2019
    res: mode: 3840x1600 hz: 144 scale: 110% (1.1) to: 3491x1455 dpi: 110
    gamma: 1.2 size: 890x390mm (35.04x15.28") diag: 971mm (38.2") modes:
    max: 3840x1600 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: nvidia device: 2 drv: radeonsi device: 5
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia wayland:
    drv: radeonsi x11: drv: radeonsi inactive: device-3,device-4
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 25.1.4-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    raphael_mendocino LLVM 20.1.6 DRM 3.63 6.15.4-zen2-1-zen)
    device-ID: 1002:13c0 memory: 1.95 GiB unified: no display-ID: :1.0
  API: Vulkan v: 1.4.313 layers: 15 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
    v: 25.1.4-arch1.2 device-ID: 1002:13c0 surfaces: N/A device: 1
    type: discrete-gpu name: NVIDIA GeForce RTX 5090 driver: nvidia
    v: 575.64.03 device-ID: 10de:2b85 surfaces: N/A device: 2
    type: discrete-gpu name: NVIDIA GeForce RTX 3050 driver: nvidia
    v: 575.64.03 device-ID: 10de:2584 surfaces: N/A device: 3 type: cpu
    name: llvmpipe (LLVM 20.1.6 256 bits) driver: mesa llvmpipe
    v: 25.1.4-arch1.2 (LLVM 20.1.6) device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: lact, nvidia-settings, nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 5 speed: 32 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22e8 class-ID: 0403
  Device-2: NVIDIA GA107 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 4 link-max: lanes: 16
    bus-ID: 10:00.1 chip-ID: 10de:2291 class-ID: 0403
  Device-3: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
    [Rembrandt/Strix] driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 79:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-4: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 79:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.15.4-zen2-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.4.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm WCN785x Wi-Fi 7 320MHz 2x2 [FastConnect 7800]
    vendor: Foxconn driver: ath12k_pci v: N/A modules: ath12k pcie: gen: 3
    speed: 8 GT/s lanes: 1 link-max: lanes: 2 bus-ID: 0d:00.0
    chip-ID: 17cb:1107 class-ID: 0280
  IF: wlp13s0 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 0e:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp14s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Foxconn / Hon Hai driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:2 chip-ID: 0489:e10d
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: N/A
Drives:
  Local Storage: total: 3.64 TiB used: 144.44 GiB (3.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: MP700 PRO
    size: 3.64 TiB block-size: physical: 512 B logical: 512 B speed: 126 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EQFM22.3 temp: 50.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 3.57 TiB size: 3.57 TiB (100.00%) used: 144.44 GiB (3.9%)
    fs: btrfs dev: /dev/dm-0 maj-min: 253:0
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 776 KiB (0.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 144.44 GiB (3.9%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-4: /var/log raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 144.44 GiB (3.9%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
  ID-5: /var/tmp raw-size: 3.57 TiB size: 3.57 TiB (100.00%)
    used: 144.44 GiB (3.9%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
    mapped: luks-94abc47d-c4cc-4b6c-8897-2531be763b17
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 66.47 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 253:1
    mapped: luks-f23a73eb-f2fc-4eb3-b7cf-a1713452a298
  ID-2: swap-2 type: zram size: 60.43 GiB used: 78.1 MiB (0.1%)
    priority: 100 comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 60.5 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 60 GiB note: est. available: 60.43 GiB used: 7.38 GiB (12.2%)
  Processes: 628 Power: uptime: 18m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 24.12 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1685 libs: 425 tools: octopi,paru Compilers:
    clang: 20.1.7 gcc: 15.1.1 Shell: garuda-inxi default: Bash v: 5.2.37
    running-in: ghostty inxi: 3.3.38
Garuda (2.7.3-1):
  System install date:     2025-07-03
  Last full system update: 2025-07-03
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

pacman -Qs nvidia

 weion@dataslate in ~
[󰟾] 󰛓  pacman -Qs nvidia
local/egl-gbm 1.1.2.1-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.19-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.2-1
    NVIDIA XLib and XCB EGL Platform Library
local/lib32-nvidia-utils-beta 575.64.03-1
    NVIDIA drivers utilities (32-bit, beta version)
local/lib32-opencl-nvidia-beta 575.64.03-1
    OpenCL implemention for NVIDIA (32-bit, beta version)
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/linux-firmware-nvidia 20250627-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/mhwd-nvidia 575.64.03.1-1
    NVIDIA pci id list for MHWD
local/mhwd-nvidia-390xx 390.143-1
    mhwd-nvidia-390xx PCI ID database
local/mhwd-nvidia-470xx 470.94-1
    mhwd-nvidia-470xx PCI ID database
local/nvidia-open-beta-dkms 1:575.64.03-1
    NVIDIA open kernel modules (module sources; beta version)
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings-beta 575.64.03-1
    Tool for configuring the NVIDIA graphics driver (beta version)
local/nvidia-utils-beta 575.64.03-1
    NVIDIA drivers utilities (beta version)
local/opencl-nvidia-beta 575.64.03-1
    OpenCL implemention for NVIDIA (beta version)
local/xf86-video-nouveau 1.0.18-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

Hey @gampel, so looks like I also needed to modify the launch parameters to the following:

mangohud __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

Now the RTX 5090 is being used in both OGL and DX/VK games.

Thanks for the help again.

that looks good

But i`m wondering me, why i see under relevant software no dkms
Question (perhaps only for me) : Is this installed ? Use pacseek (if installed) or
pacman -Qs dkms (over konsole) or octopi → if you see it’s installed → all fine.

Now your prime stuff. Sorry → for this :downcast_face_with_sweat: no knowledge reason no metal for this only one dgpu or amd cpu/igpu ↔ amd (dgpu) (laptop)

It seems to be installed according to pacman:

weion@dataslate in ~
󰛓 ❯ pacman -Qs dkms
local/dkms 3.2.1-1
Dynamic Kernel Modules System
local/garuda-settings-manager 1.0.5-3.2
Garuda Linux system settings (Manjaro settings manager ported to work with Arch standards and limited to
only DKMS drivers)
local/mhwd-db-garuda 2:1.1.6-1.1
MHWD-db backported to Archlinux with additional features and limited to DKMS drivers
local/mhwd-garuda 1.1.4-3
MHWD-db backported to Archlinux with additional features and limited to DKMS drivers
local/nvidia-open-beta-dkms 1:575.64.03-1
NVIDIA open kernel modules (module sources; beta version)
local/openrazer-driver-dkms 3.10.3-1
OpenRazer kernel modules sources

It had to be installed.
You can be lucky 2 different dgpus are running. :+1:
Question: 5090 is from asus, the other ?

Yeah the 3050 is a Palit KalmX model which is passively cooled, it is basically a glorified PhysX Accelerator card. :laughing:

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