https://bugs.winehq.org/show_bug.cgi?id=56145
Bug ID: 56145 Summary: Wine lacks VR support ( OpenVR/OpenXR runtime shim) Product: Wine Version: 9.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: xeno@x-s.com.pl Distribution: ---
Currently VR support in Linux gets to the point where it becomes viable option. Linux native apps tend to do just fine , but there's no way for VR capable windows apps running trough Wine to detect/use VR devices. VR is supposed to be supported on Proton and hacky Wine-Proton hybrids, where first option limits support to apps from Steam and second one is a bit cumbersome to get it working. To solve this issue wine environment could provide thin VR runtime environment that catches calls from apps and direct those to linux native VR runtime that is installed on user system. Wine OpenXR library shouldn't be that complex as it'd be simple 1:1 mapping of OpenXR API. For Valve OpenVR API there are two possible approaches, one similar to OpenXR where wine just forward calls to SteamVR or it could translate calls to OpenXR, like OpenComposite does, then call OpenXR runtime on Linux side.
https://bugs.winehq.org/show_bug.cgi?id=56145
Robert Lippmann robert.lippmann.development@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robert.lippmann.development | |@gmail.com
--- Comment #1 from Robert Lippmann robert.lippmann.development@gmail.com --- I believe that proton actually has (open source) code for this sort of shim:
https://github.com/ValveSoftware/Proton/tree/proton_9.0/wineopenxr
But I'm not sure how valuable that is because each VR game seems to install their own VR runtimes (or use Steam's).
https://bugs.winehq.org/show_bug.cgi?id=56145
--- Comment #2 from Stan aka Xeno xeno@x-s.com.pl --- Proton OpenXR loader is just half useful, first because it works only with Proton, has hard dependence on Steam and SteamVR, so it won't work for apps that aren't run in Steam runtime environment (container). Some more details in this issue: https://github.com/ValveSoftware/Proton/issues/8256