Wayland's Weston Will Now Respect Your VR HMD

Written by Michael Larabel in Wayland on 24 September 2018 at 08:09 AM EDT. 9 Comments
WAYLAND
Wayland's Weston compositor will no longer try to takeover your virtual reality (VR) head-mounted display.

As was the case too with the X.Org Server up until some months back, Wayland's Weston compositor currently would try to take over VR HMDs like the HTC Vive as just another monitor output... But thanks to the work led by Keith Packard under contract for Valve to improve the X.Org and DRM components for better SteamVR handling on Linux, there is now the non-desktop bit plumbed through the Linux kernel's DRM infrastructure so VR HMDs will be treated as non-desktop display outputs. So user-space finally can know if a display output isn't intended as just another desktop display but for a special use-case like virtual reality.


With the latest Weston code, the compositor is making use of the non-desktop flag and no longer enabling these display outputs by default. But should you want to try mapping your VR HMD to part of your Weston desktop, that can still be done explicitly via the display configurable tunables in the weston.ini.

Overall though using the X.Org Server still is the preferred route for the time being if engaging in SteamVR gaming on Linux due to the better support, not to mention better NVIDIA driver compatibility. One other experimental alternative to that would be the Arcan display server with its VR desktop that does continue to be developed.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week