ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.99k stars 198 forks source link

Parameter --prefer-vk-device forces display output to other GPU #792

Open MonkaKokosowa opened 1 year ago

MonkaKokosowa commented 1 year ago

I have 2 dedicated GPUs (RX 570, RTX 3060) and no integra. My monitor is plugged into RTX and my plan is for apps to run by default with RTX 3060 and only steam in gamescope with RX 570. I tried to use --prefer-vk-device, but when the pc is rebooted the isn't any video output, but when monitor is disconnected and plugged into RX 570, it starts working without issues. Another thing to note is that when this option is used with RX plugged in, the mangohud doesn't work in games and even though their fps is a lot higher the screen shows ~30 fps, but this might be a whole other issue (though it only happens with that parameter).

Is there any way to off-load steam for AMD, but keep the video output and things running in steam for Nvidia?

TheGreatMcPain commented 1 year ago

I have a slightly different setup where I have a GTX1050 as my "primary" GPU (All my monitors are connected to it), and a RTX3060 which I use for my Win10 VM.

When I want to play Linux games using the 3060 I use primus_vk and primus to handle render off-loading.

I suggest looking at the PRIME archwiki article for more information on how you may be able to do this on your particular setup.