You are not logged in.
As stated in the title, I'm using a dual GPU setup with Xorg where the display is connected to the iGPU and gaming is offloaded to the dGPU. This is mainly achieved in Steam by using DRI_PRIME=1 %command% in the launch options. I found myself in a situation where the native games would run fine, but the Windows games failed to launch, regardless of the Proton version I used. Same issue with Lutris or with Wine directly.
By adding PROTON_LOG=1 to the launch options, I was able to pinpoint the problem to the following lines:
333373.492:0020:00ec:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
333373.492:0020:00ec:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."This is very similar to what is described in this thread https://bbs.archlinux.org/viewtopic.php?id=286784 so I tried to follow the same troubleshooting steps, but unfortunately it didn't work for me.
Here is what actually worked in my case:
xf86-video-intel [uninstalled]
vulkan-intel [uninstalled]
lib32-vulkan-intel [uninstalled]
xf86-video-amdgpu [uninstalled]
vulkan-radeon [installed]
lib32-vulkan-radeon [installed]
vulkan-icd-loader [installed]
lib32-vulkan-icd-loader [installed]
vulkan-mesa-layers [installed]
lib32-vulkan-mesa-layers [installed]vulkaninfo --summary output shows a single GPU0 device.
Xorg is manually configured with the following /etc/X11/xorg.conf.d/20-intel.conf file:
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
EndSection
Section "ServerFlags"
Option "AutoAddGPU" "off"
EndSectionThe last part with "AutoAddGPU" "off" is really what resolved it. With this setting, there is absolutely no mention of the AMD GPU in the ~/.local/share/xorg/Xorg.0.log file. With any other variation (e.g. no .conf files, 20-intel.conf only, 20-intel.conf + 30-amdgpu.conf), there were always traces of the AMD GPU being picked up by Xorg. From my understanding this is what was causing the issue, as Wine was trying to attach directly to the dGPU that is not actually bound to any display.
Lastly, despite the AMD GPU not being picked up by Xorg, utility amdgpu_top shows a latent Xorg process running (with 0M VRAM).
I realize this may be an outdated setup (especially with Xorg), but I thought I'd put the information out there in case it can help anyone!
Offline