Any unity game using UnityOpenXR, I used sample scene from UnityOpenXR.
System information
GPU: NVIDIA GeForce RTX 3060
Driver: 535.113.01
Wine version: Proton7-55 (Custom build with latest commit of DXVK)
DXVK version: v2.3-12-gf45911a2
Apitrace file(s)
I couldn't figure out how to replace dlls with apitrace one with steam launcher. Let me know if there's way to do it.
I'm not sure it is needed to debug DXVK, because it is most likely caused by wineopenxr and call logs exists in proton log file trace:openxr and wineopenxr itself is open-source: https://github.com/GloriousEggroll/proton-ge-custom/blob/GE-Proton7-55/wineopenxr/openxr.c
This is probably very hard to reproduce without VR headset.
It needs working SteamVR which is set to default OpenXR runtime and headset must be detected in SteamVR.
If SteamVR is not running or headset is not attached, the game just works fine but obviously without VR support.
Anything other
Apparently everyone has same problem, like beat saber which requires UnityOpenXR.
Only way to avoid this was to downgrade beat saber to legacy_29.1_unity_ver2019.4.28f1 which was using SteamVR (OpenVR).
Versions
I tried different combination of SteamVR and Proton versions. no luck.
I was not able to use VK_LAYER_KHRONOS_validation with Proton8. It hangs without any window. without using VK_LAYER_KHRONOS_validation on Proton8, the game itself launches, but still DXVK-related crashes happen.
Problems
When launching UnityOpenXR games, first 1~3 seconds works fine with output to VR headset. After that, Unity application will crash or stops responding. In worst case, SteamVR crashes. This is probably random.
In log file there's a lot of Vulkan validation errors. First one is VUID-VkImageViewCreateInfo-image-01762, continued by UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout, VUID-vkBindBufferMemory-memory-02985 and more.
Sometimes DXVK logs VK_ERROR_DEVICE_LOST. Sometimes it doesn't. This seems random too.
OpenVR games works fine. (not OpenXR, OpenVR.)
This is first time opening bug reports with Proton/wine related things. It might not even a DXVK issue. Any help would be appreciated!
Software information
Any unity game using UnityOpenXR, I used sample scene from UnityOpenXR.
System information
Apitrace file(s)
I couldn't figure out how to replace dlls with apitrace one with steam launcher. Let me know if there's way to do it. I'm not sure it is needed to debug DXVK, because it is most likely caused by wineopenxr and call logs exists in proton log file
trace:openxr
and wineopenxr itself is open-source: https://github.com/GloriousEggroll/proton-ge-custom/blob/GE-Proton7-55/wineopenxr/openxr.cLog files
System WINEDEBUG: +steam,+openxr steam-dxvk-openxr_steam-openxr.log
System WINEDEBUG: (default) steam-dxvk-openxr_default.log
Steps to reproduce
This is probably very hard to reproduce without VR headset. It needs working SteamVR which is set to default OpenXR runtime and headset must be detected in SteamVR. If SteamVR is not running or headset is not attached, the game just works fine but obviously without VR support.
Anything other
legacy_29.1_unity_ver2019.4.28f1
which was using SteamVR (OpenVR).VK_LAYER_KHRONOS_validation
with Proton8. It hangs without any window. without usingVK_LAYER_KHRONOS_validation
on Proton8, the game itself launches, but still DXVK-related crashes happen.VUID-VkImageViewCreateInfo-image-01762
, continued byUNASSIGNED-CoreValidation-DrawState-InvalidImageLayout
,VUID-vkBindBufferMemory-memory-02985
and more.VK_ERROR_DEVICE_LOST
. Sometimes it doesn't. This seems random too.This is first time opening bug reports with Proton/wine related things. It might not even a DXVK issue. Any help would be appreciated!