On Di, Jun 14 2022 at 22:41:48 +0200, Michal Suchánek <msuchanek@suse.de> wrote:
What is the current XR state on Linux?
To the best of my knowledge most solutions rely on proprietary software that only runs on Windows.
Is there some place where the hardware options and applications avaialble on Linux are described?
https://monado.freedesktop.org/#supported-hardware There's quite a bit already "fully working" (with some outside help of existing libraries), but at it has always been, Valve's hardware tends to be ahead of the curve on Linux. And of course, just having OpenXR runtime only gets you so far, since to this day a large chunk of software relies on older solutions (which is changing), Monado remedies that a bit by offering the ability to use their hardware drivers with SteamVR [1] (which does enable quite a bit of software to work with quite a bit of hardware with a lot of existing games). There's also OpenComposite [2] which allows for running OpenVR stuff with OpenXR runtime like Monado, to remove the need to have support for OpenVR directly as well. The remaining bits of software support are mostly done through wine and dxvk, since there are very few native applications that aren't some sort of a demo. Having all of those packages ready to go in distributions would make it easier for developers to develop for xr though ;)
Also this sounds like it mostly depends on graphics/desktops which have thir own develproject(s) - gnome, kde, Mesa, etc.
Sure, you are not wrong, but I don't think xrdesktop library [3], with all of its xr dependencies (gxr, openxr-sdk) or monado itself exactly fit in any of the existing devel projects. I would be fine with submitting kwin effect and associated applet to the KDE project on obs, but on the other hand, I am fairly sure a sizable patch adding support for xr in gnome-shell will not be accepted into GNOME:Factory, just because it's 3rd party, and isn't meant to be merged into upstream. As far as I can tell we do currently have a total of 1 package for xr in devel projects, and it's OpenVR in games. I don't think that's a great place for xr stuff either, since we really don't need productivity stuff like desktops in games project of all places ;) [1] https://monado.freedesktop.org/steamvr.html [2] https://gitlab.com/znixian/OpenOVR [3] https://gitlab.freedesktop.org/xrdesktop/xrdesktop LCP [Sasi] https://lcp.world/