A big improvement has been merged into XWayland called DRM (Direct Rendering Manager) Leasing, which should allow good VR support under Wayland. Something we've been waiting on!
From the commit message:
This commit allows X11 clients running through Xwayland to lease non-desktop connectors from the Wayland compositor by implementing support for drm-lease-v1. In order to not deadlock with the Wayland compositor if its response to a lease request is delayed, the new interface in _rrScrPriv introduced in the last commit is used, which makes it possible to block the X11 client while a response is pending. Leasing normal outputs is not yet supported, all connectors offered for lease will be advertised as non-desktop.
Want to learn more about it? Developer Drew DeVault wrote about a bunch of the work involved and some explainers back in 2019. The gist of it is that this was all needed for the hand-off between your PC and the VR headset, so you can actually get everything to display correctly.
Thanks to this work being hooked up, it means VR games that don't support Wayland directly that need to be run through X11/XWayland should hopefully work well. Support should land in XWayland version 22 sometime next year. Just another tick in the box towards Linux distributions and Linux gaming going all-in with Wayland.
Thread: https://lists.fedoraproject.org/archives/list/[email protected]/thread/OTGKP27GD7BWWCSBDSJAFUAHFTN7NWNB/
Quoting: Zac2211At first I saw the title and thought it meant Digital Rights Management, lolYeah, when you see DRM support in the Kernel you have to cringe. But it is the good DRM, not the bad one.
Quoting: ArdjeAnd here I am, waiting for wayland support on my second seat. I don't care about my first, because I use that one for my DJ equipment.I was going to try out Wayland with the new drivers, but can't figure out how to get the option to pop back up in gdm on Debian Sid, it used to be there. Oh well. It'd probably be like when I test out KDE and it decides my icons and mouse cursor should be changed to KDE's when I go back to Gnome...
See more from me