ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.33k stars 1.02k forks source link

Display issues and crashes with multiple GPUs. #3765

Open jboero opened 4 years ago

jboero commented 4 years ago

This may be more of a Wine issue than Proton, but I just found out why no versions of Proton (4.x - 5.6) were working for me. This issue comes from part of a thread started here: https://github.com/ValveSoftware/Proton/issues/3224#issuecomment-612948434

I have a primary NVidia card and a secondary AMD card with no monitor attached. Any app starting that attempts to set resolution fails as the AMD card has no screen and thus no modes available. I finally found the answers in a D3D log. The only solution I've found is to physically remove the AMD device so everything defaults to my primary. Not sure if Wine is sorting GPU devices by alphabetical order or what but how frustrating...

kisak-valve commented 4 years ago

Hello @jboero, you should be able to workaround this issue with VK_ICD_FILENAMES or https://github.com/aejsmith/vkdevicechooser (from https://github.com/ValveSoftware/Proton/issues/2870#issuecomment-510670875).

jboero commented 4 years ago

Thanks I'll try it out later. Need to pass that env var through the maze of layered processes to the right one? Or is this global for dxvk?