Describe the bug
On Arch Linux, SteamVR fails to use Direct Display Mode with my AMD GPU with the error "Failed to acquire xlib display". The VR scene is rendered in a window on the monitor and the HMD display remains turned off. I can turn on the HMD display manually with xrandr.
To Reproduce
Steps to reproduce the behavior:
Run SteamVR
Observe that the HMD display is blank and the VR scene is being rendered on the desktop
Expected behavior
Direct Display Mode should be used and the VR scene should be visible in the HMD.
System Information (please complete the following information):
$ vulkaninfo | grep "GPU id :"
GPU id : 0 (AMD RADV SIENNA_CICHLID):
GPU id : 1 (Intel(R) Graphics (ADL-S GT1)):
$ cat ~/.steam/steam/logs/vrcompositor.txt | head -n 250 | tail -n 10
Sat Aug 06 2022 22:28:51.598356 - - 168: [email protected]
Sat Aug 06 2022 22:28:51.598359 - - 169: [email protected]
Sat Aug 06 2022 22:28:51.598363 - - 170: [email protected]
Sat Aug 06 2022 22:28:51.598367 - Selected mode 1.
Sat Aug 06 2022 22:28:51.717283 - Failed to acquire xlib display
Sat Aug 06 2022 22:28:51.717306 - CHmdWindowSDL: Failed to create direct mode surface
Sat Aug 06 2022 22:28:51.717563 - Requesting 10 device extensions:
Sat Aug 06 2022 22:28:51.717570 - - VK_KHR_swapchain
Sat Aug 06 2022 22:28:51.717574 - - VK_KHR_maintenance1
Sat Aug 06 2022 22:28:51.717578 - - VK_KHR_dedicated_allocation
Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.
Describe the bug
On Arch Linux, SteamVR fails to use Direct Display Mode with my AMD GPU with the error "Failed to acquire xlib display". The VR scene is rendered in a window on the monitor and the HMD display remains turned off. I can turn on the HMD display manually with xrandr.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Direct Display Mode should be used and the VR scene should be visible in the HMD.
System Information (please complete the following information):
Additional context
I have attempted the following with no success:
DRI_PRIME=1flagxf86-video-amdgpupackage to get Xorg to use the dGPU instead of the iGPU (source)vulkan-intelandlib32-vulkan-inteldrivers so that only the vulkan driver available is the AMD one (source)MESA_VK_DEVICE_SELECT=1002:73bf(source)Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.