AMD & Nvidia GPU Hybrid System unable to use dedicated GPU

I am trying to get my video-editing setup to run on Manjaro. However, the system seems to be unable to utilize my dedicated GPU, limiting itself to the onboard chip of my AMD CPU. I have tried to get the hybrid function to work with prime-run mentioned in the troubleshooting guide for nvidia on ArchWiki, but have run into the issue of prime-run not functioning as mentioned.

Thanks in advance for the awesome documentation and any ideas for troubleshooting this issue!

prime-run error:

prime-run glxinfo | grep "OpenGL renderer"

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  70
  Current serial number in output stream:  71

System info for GPU:

inxi -Gx

Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: Gigabyte
    driver: nvidia v: 570.133.07 arch: Ampere bus-ID: 01:00.0
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: ASUSTeK
    driver: amdgpu v: kernel arch: RDNA-2 bus-ID: 0c:00.0 temp: 40.0 C
  Device-3: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 5-2:3
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6 driver: X:
    loaded: amdgpu unloaded: modesetting dri: radeonsi gpu: amdgpu resolution:
    1: 1920x1080~60Hz 2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    raphael_mendocino LLVM 19.1.7 DRM 3.54 6.6.85-2-MANJARO)
  API: Vulkan v: 1.4.309 drivers: radv surfaces: xcb,xlib devices: 1
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr

Installed drivers:

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
video-hybrid-amd-nvidia-prime            2025.01.13               false            PCI


Warning: No installed USB configs!

Kernel info:

mhwd-kernel -li

Currently running: 6.6.85-2-MANJARO (linux66)
The following kernels are installed in your system:
   * linux66

There are problems with this version at the time.

First, what you could do is to check with:

pacman -Q |grep 570.133

For Nvidia package and then get rid of does.
But keep: opencl-nvidia 570.133.07-2 and libxnvctrl 570.133.07-1

Then you have to choose if you want to stick with linux66 or try an other kernel.

What’s work for me is:

❯ pacman -Q |g linux612
linux612 6.12.21-4
linux612-acpi_call 1.2.2-39
linux612-bbswitch 0.8-37
linux612-broadcom-wl 6.30.223.271-39
linux612-headers 6.12.21-4
linux612-virtualbox-host-modules 7.1.6-20

and

pacman -Q |g nvidia
hip-runtime-nvidia 6.3.3-1
libva-nvidia-driver 0.0.13-1
nvidia-550xx-dkms 550.144.03-1
nvidia-550xx-utils 550.144.03-1
nvidia-driver-assistant 0.20.124.06-1
opencl-nvidia 570.133.07-2

Important in this is to get Nvidia 550 from the AUR.

nvidia-550xx-dkms 550.144.03-1
nvidia-550xx-utils 550.144.03-1

Thanks for your time and effort helping me out here!

I used pacman -Q | grep 570.133 but neither opencl-nvidia 570.133.07-2 nor libxnvctrl 570.133.07-1 showed up through this.

I also tried installing the following as mentioned with yay:

nvidia-550xx-dkms 550.144.03-1
nvidia-550xx-utils 550.144.03-1

I received several errors for missing packages ending in an error status 15.

I decided to setup a fresh installation with linux612 and manually installed the packages mentioned in your response. After some smaller fixes the installation process worked out fine. My video editing software “DaVinci Resolve” is still unable to recognize my dGPU though. Monitors are also not recognized when plugged to the dGPU.

Updated system info for GPU:

inxi -Gx
                                                                                                                                                                         
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: Gigabyte
    driver: nvidia v: 550.144.03 arch: Ampere bus-ID: 01:00.0
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: ASUSTeK
    driver: amdgpu v: kernel arch: RDNA-2 bus-ID: 0c:00.0 temp: 42.0 C
  Device-3: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 5-2:3
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6 driver: X:
    loaded: amdgpu unloaded: modesetting,nouveau failed: nvidia dri: radeonsi
    gpu: amdgpu s-res: 3840x1080 resolution: 1: 1920x1080 2: 1920x1080
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi platforms:
    active: gbm,x11,surfaceless inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    raphael_mendocino LLVM 19.1.7 DRM 3.61 6.12.21-4-MANJARO)
  API: Vulkan v: 1.4.309 drivers: radv surfaces: xcb,xlib devices: 1
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-smi wl: wayland-info
    x11: xdpyinfo,xprop

Updated installed mhwd PCI configs:

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI


Warning: No installed USB configs!

Update for the package manager linux612:

pacman -Q | grep linux61
linux612 6.12.21-4
linux612-acpi_call 1.2.2-39
linux612-bbswitch 0.8-37
linux612-headers 6.12.21-4
linux612-virtualbox-host-modules 7.1.6-20

Update for the package manager nvidia:

pacman -Q | grep nvidia

hip-runtime-nvidia 6.3.3-1
libva-nvidia-driver 0.0.13-1
mhwd-nvidia 570.133.07-2
mhwd-nvidia-390xx 390.157-19
mhwd-nvidia-470xx 470.256.02-10
nvidia-550xx-dkms 550.144.03-1
nvidia-550xx-utils 550.144.03-1
nvidia-driver-assistant 0.20.124.06-1
opencl-nvidia 570.133.07-2

Though the packages are installed I suspect they still have to be set to function as the default drivers. When plugging my monitors to my nvidia GPU, it doesn’t receive a signal.

Neither is prime-run available to start an application with it:

which prime-run

prime-run not found

See:

pamac search -f prime-run 

but it depends on v570, so you cannot install it without installing that newer driver.

It’s basically just a script that does this: prime-run · main · Arch Linux / Packaging / Packages / nvidia-prime · GitLab So create a file at /usr/local/bin/prime-run, put the content in there and make it executable. Now you can use prime-run.

The driver failed to load. :thinking:

In future please try to provide any errors in the form of the command output from commands you may have used; much as you did with the initial prime-run output. Simply indicating that there were errors isn’t overly useful for others wishing to help.

Regards.


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit:


Update Announcements

The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.

System Information

Output of this command (formatted according to forum requirements) may be useful for those wishing to help:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

Be prepared to provide more information and outputs from other commands whenever asked. It’s equally important to provide as much actionable information as possible in your first post, rather than simply indicating there is a problem.

Required reading
Resources

For prime-run you would need nvidia-prime as @megavolt pointed out, but that does not fully work for me at the moment.

Thanks everyone for giving me new input, I really appreciate your support!

I seem to have both mhwd-nvidia 570.133.07-2 and nvidia-550xx-dkms 550.144.03-1 on my system. Installing prime-run via sudo pacman -S nvidia-prime worked out fine. Running DaVinci Resolve with prime-run succesfully starts the program, but it crashes due to being unable to use the nvidia GPU:

GPU Initialization Failed 
DaVinci Resolve could not initialize OpenGL. Please ensure that the latest graphics drivers are installed

Since the 550xx driver and utils doesn’t seem to function I removed them and instead installed the newest drivers supporting the prime-run function: Successfully installed video-hybrid-amd-nvidia-prime:

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
video-hybrid-amd-nvidia-prime            2025.01.13               false            PCI


Warning: No installed USB configs!

I ran sudo reboot and tested if the driver was initialized successfully:

nvidia-smi

No devices were found

@soundofthunder Thanks for pointing this out - I lost the snippet in the process of resetting my system to a fresh installation and will take precautions to avoid that in the future. I made sure to look into threads with similar issues and the Stable Update 2025-03-24 from where I got my first basic knowledge as a complete beginner with Linux. Unfortunately after a week of troubleshooting I wasn’t able to resolve the issue on my own which led me here.

Updated system info as suggested by soundofthunder:

inxi -zv8

System:
  Kernel: 6.12.21-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=a77c4fff-d627-4c1b-81ec-82548673cd36 rw quiet splash
    resume=UUID=71acc1c3-ee22-4095-808a-a7374ec9de09 udev.log_priority=3
  Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A info: frameworks v: 6.12.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING B650-PLUS v: Rev 1.xx
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 1811 date: 10/07/2023
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 32 GiB available: 30.56 GiB used: 3.09 GiB (10.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: no module installed
  Device-2: Channel-A DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 4800 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK32GX5M2E6000C36 serial: N/A
  Device-3: Channel-B DIMM 0 type: no module installed
  Device-4: Channel-B DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 4800 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK32GX5M2E6000C36 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4 gen: 4
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601209
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB
    desc: 8x1024 KiB L3: 96 MiB desc: 1x96 MiB
  Speed (MHz): avg: 2982 min/max: 400/5050 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 2982 2: 2982 3: 2982
    4: 2982 5: 2982 6: 2982 7: 2982 8: 2982 9: 2982 10: 2982 11: 2982 12: 2982
    13: 2982 14: 2982 15: 2982 16: 2982 bogomips: 134198
  Flags: 3dnowprefetch abm adx aes amd_lbr_pmc_freeze amd_lbr_v2 aperfmperf
    apic arat avic avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f
    avx512ifma avx512vbmi avx512vl bmi1 bmi2 bpext cat_l3 cdp_l3 clflush
    clflushopt clwb clzero cmov cmp_legacy constant_tsc cpb cppc cpuid cqm
    cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc cr8_legacy cx16 cx8 de
    decodeassists erms extapic extd_apicid f16c flush_l1d flushbyasid fma fpu
    fsgsbase fsrm fxsr fxsr_opt gfni ht hw_pstate ibpb ibrs ibrs_enhanced ibs
    invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
    movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
    overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
    perfctr_llc perfctr_nb perfmon_v2 pfthreshold pge pku pni popcnt pse
    pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp
    succor svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk
    v_spec_ctrl vaes vgif vmcb_clean vme vmmcall vnmi vpclmulqdq wbnoinvd wdt
    x2avic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
    conditional; STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected;
    BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: Gigabyte
    driver: nvidia v: 570.133.07 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: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 01:00.0 chip-ID: 10de:2504 class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: ASUSTeK
    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-1,HDMI-A-1 empty: Writeback-1 bus-ID: 0c:00.0
    chip-ID: 1002:164e class-ID: 0300 temp: 40.0 C
  Device-3: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-2:3
    chip-ID: 046d:085c class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
    s-diag: 1055mm (41.54") monitors: <missing: xrandr>
  Monitor-1: DP-1 model: BenQ GL2780 serial: <filter> built: 2021
    res: 1920x1080 dpi: 82 gamma: 1.2 chroma: red: x: 0.639 y: 0.337 green:
    x: 0.314 y: 0.627 blue: x: 0.157 y: 0.055 white: x: 0.314 y: 0.329
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9
    modes: 1920x1080, 1680x1050, 1600x900, 1280x1024, 1440x900, 1280x800,
    1152x864, 1280x720, 1024x768, 832x624, 800x600, 720x576, 720x480,
    640x480, 720x400
  Monitor-2: HDMI-A-1 model: BenQ GL2780 serial: <filter> built: 2021
    res: 1920x1080 dpi: 82 gamma: 1.2 chroma: red: x: 0.639 y: 0.337 green:
    x: 0.314 y: 0.627 blue: x: 0.157 y: 0.055 white: x: 0.314 y: 0.329
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9
    modes: 1920x1080, 1680x1050, 1600x900, 1280x1024, 1440x900, 1280x800,
    1152x864, 1280x720, 1024x768, 832x624, 800x600, 720x576, 720x480,
    640x480, 720x400
  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 x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    raphael_mendocino LLVM 19.1.7 DRM 3.61 6.12.21-4-MANJARO)
    device-ID: 1002:164e memory: 500 MiB unified: no
  API: Vulkan v: 1.4.309 layers: 1 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
    v: 25.0.3-arch1.1 device-ID: 1002:164e surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:1640
    class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 0c:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Swissonic UA-2X2 driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-1:2
    chip-ID: 17c8:7002 class-ID: 0102
  Device-5: SteelSeries ApS Arctis 7
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 5-1:2 chip-ID: 1038:12ad class-ID: 0300
  Device-6: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-2:3
    chip-ID: 046d:085c class-ID: 0102 serial: <filter>
  API: ALSA v: k6.12.21-4-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 08:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager,systemd-timesyncd
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 960.15 GiB used: 39.32 GiB (4.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD BLACK SN850X 1000GB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 620361WD temp: 37.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: Ultra USB 3.0
    size: 28.64 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 46.57 GiB size: 45.53 GiB (97.78%) used: 31.59 GiB (69.4%)
    fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
    uuid: a77c4fff-d627-4c1b-81ec-82548673cd36
  ID-2: /boot/efi raw-size: 476.3 MiB size: 475.3 MiB (99.80%)
    used: 316 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
    uuid: 27B7-5ED2
  ID-3: /home raw-size: 232.83 GiB size: 228.12 GiB (97.98%)
    used: 7.72 GiB (3.4%) fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8 label: N/A
    uuid: 05cd5584-e73a-4109-8a97-2315c9e598ad
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 29.8 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
    uuid: 71acc1c3-ee22-4095-808a-a7374ec9de09
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 100 MiB fs: vfat label: N/A
    uuid: 6095-5FCB
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 417.96 GiB fs: ntfs label: N/A
    uuid: E44695F94695CCA4
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 662 MiB fs: ntfs label: N/A
    uuid: A66C88D16C889DA5
  ID-5: /dev/sda1 maj-min: 8:1 size: 4.03 GiB fs: iso9660
  ID-6: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: 97A3-D79B
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-6:2 info: SteelSeries ApS Rival 5 type: HID,mouse
    driver: hid-generic,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 200mA chip-ID: 1038:183c class-ID: 0300
  Device-2: 1-7:3 info: SteelSeries ApS Apex 3 TKL type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 5 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 400mA chip-ID: 1038:1622 class-ID: 0300
  Device-3: 1-11:4 info: ASUSTek AURA LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 16mA chip-ID: 0b05:19af class-ID: 0300
    serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 5 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-3:2 info: SanDisk Ultra Flair type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 896mA chip-ID: 0781:5591 class-ID: 0806
    serial: <filter>
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: Swissonic UA-2X2 type: HID,audio
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 17c8:7002 class-ID: 0102
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-1:2 info: SteelSeries ApS Arctis 7 type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 6 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 1038:12ad class-ID: 0300
  Device-2: 5-2:3 info: Logitech C922 Pro Stream Webcam type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 046d:085c class-ID: 0102 serial: <filter>
  Hub-6: 6-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 8-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 63.6 C mobo: 35.5 C gpu: amdgpu temp: 41.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 1218 libs: 332 tools: pamac,yay pm: flatpak
    pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirrors.nic.cz/manjaro/stable/$repo/$arch
    2: http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    3: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 368
  1: cpu: 9.1% command: firefox pid: 1641 mem: 473.9 MiB (1.5%)
  2: cpu: 3.1% command: firefox pid: 1938 mem: 390.6 MiB (1.2%)
  3: cpu: 3.1% command: firefox pid: 1943 mem: 377.7 MiB (1.2%)
  4: cpu: 3.0% command: firefox pid: 1946 mem: 297.0 MiB (0.9%)
  5: cpu: 2.2% command: firefox pid: 1857 mem: 273.3 MiB (0.8%)
  Memory top: 5 of 368
  1: mem: 473.9 MiB (1.5%) command: firefox pid: 1641 cpu: 9.1%
  2: mem: 390.6 MiB (1.2%) command: firefox pid: 1938 cpu: 3.1%
  3: mem: 377.7 MiB (1.2%) command: firefox pid: 1943 cpu: 3.1%
  4: mem: 347.9 MiB (1.1%) command: plasmashell pid: 1090 cpu: 1.4%
  5: mem: 297.0 MiB (0.9%) command: firefox pid: 1946 cpu: 3.0%
Info:
  Processes: 368 Power: uptime: 3m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.19 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Compilers: gcc: 14.2.1 alt: 13 Shell: Zsh v: 5.9 default: Bash v: 5.2.37
    running-in: konsole inxi: 3.3.38

At this point I am really clueless on how to proceed. Any new idea is highly appreciated!

My humble guess is that the issue here is that the modsetting driver needs to be loaded here on X11 instead of amdgpu. With Intel that is the case. Probably try to use Wayland mode here?

As stated here: Chapter 35. PRIME Render Offload modsetting driver needs to be loaded for proper autoconfiguration. But there is also a way to force using it by configuration.

I would try this:

File: /etc/X11/xorg.conf.d/10-amdgpu-nvidia-drm-outputclass.conf
Content:

Section "OutputClass"
    Identifier "AMDgpu"
    MatchDriver "amdgpu"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

See:

Please try this getting info with and without prime-run:

pamac install mesa-utils
glxinfo -B
prime-run glxinfo -B 

Usually the GPU should switch here and therefore should also work with Davinci Resolve.

:notebook: I don’t own an nvidia card anymore, so that is just my research. Hope it helps :slight_smile:

2 Likes

Your humble ideas help me a lot to try and shoot for new solutions. Thanks a lot for helping me out!

I created the file with the contents and ran the commands you posted both on X11 and on Wayland. Here are the results:

On X11:

glxinfo -B

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.12.21-4-MANJARO) (0x164e)
    Version: 25.0.3
    Accelerated: yes
    Video memory: 512MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 33 MB, largest block: 33 MB
    VBO free aux. memory - total: 15082 MB, largest block: 15082 MB
    Texture free memory - total: 33 MB, largest block: 33 MB
    Texture free aux. memory - total: 15082 MB, largest block: 15082 MB
    Renderbuffer free memory - total: 33 MB, largest block: 33 MB
    Renderbuffer free aux. memory - total: 15082 MB, largest block: 15082 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 512 MB
    Total available memory: 16160 MB
    Currently available dedicated video memory: 33 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.12.21-4-MANJARO)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
prime-run glxinfo -B

name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  70
  Current serial number in output stream:  71

On Wayland:

prime-run glxinfo -B

name of display: :1
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  70
  Current serial number in output stream:  71
prime-run glxinfo -B

name of display: :1
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  70
  Current serial number in output stream:  71

From looking up the error codes I found a guide on how to setup an nvidia-system with Arch. Since Manjaro is based on Arch, maybe that setup guide could work for my purpose: Using Wayland With Manjaro

I will post an update as soon as I have tested that aswell.

One of our former Moderators could frequently be relied upon for useful Nvidia information.

The following is a link to Search results with “prime-run” and “@cscs” as keywords - you might find something useful for your purposes.

Regards.

1 Like

Check if your user is listed in video group:
https://stackoverflow.com/questions/40644455/x-error-of-failed-request-badvalue-integer-parameter-out-of-range-for-operatio

Maybe try putting nvidia drivers in early KMS:
https://bbs.archlinux.org/viewtopic.php?id=268728

https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting