You are not logged in.
Hello,
I'm having issues with configuring my dual gpu setup. I want to be able to send output from the AMD card to the GTX 1650 Ti, which has HDMI connected.
lspci -k | grep -A 2 VGA
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
Subsystem: Lenovo Device 3a43
Kernel driver in use: nvidia
--
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)] (rev c6)
Subsystem: Lenovo Device 3a3f
Kernel driver in use: amdgpuIf I understand it correctly, I should use reverse-PRIME for that.
This is my xrog.conf: https://text.is/RMJ2
xrandr --setprovideroutputsource 1 0 runs without issues. The integrated gpu is being used as the primary gpu:
glxinfo | grep Device
Device: AMD Radeon Graphics (radeonsi, renoir, LLVM 17.0.6, DRM 3.57, 6.8.7-arch1-2) (0x1636)Xrandr sees both gpus:
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x53 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 1 name:AMD Radeon Graphics @ pci:0000:05:00.0
Provider 1: id: 0x1f4 cap: 0x2, Sink Output crtcs: 4 outputs: 4 associated providers: 1 name:NVIDIA-G0Xrandr sees the HDMI output as connected: https://text.is/X2JL .
However, the external screen is still off. When I try to turn it on, I get configure crtc 4 failed error.
xrandr --output HDMI-1-0 --auto
xrandr: Configure crtc 4 failedThe funny thing is, I managed to get the HDMI output working with PRIME offloading ( xrandr --setprovideroffloadsink ) using nouveau. BUT I unfortunately need the proprietary drivers for CUDA support.
Any insight is greatly appreciated, I've been scratching my head over this for way too long.
Offline
Finally solved with adding the correct kernel module: /etc/modprobe.d
cat /etc/modprobe.d/nvidia-params.conf
options nvidia_drm modeset=1 fbdev=1 Last edited by j_ratinsky (2024-06-08 12:05:54)
Offline