A huge enhancement has actually been combined right into XWayland called DRM (Direct Making Supervisor) Leasing, which need to enable excellent virtual reality assistance under Wayland. Something we have actually been waiting on!
From the dedicate message:
This dedicate permits X11 customers going through Xwayland to rent non-desktop ports from the Wayland compositor by applying assistance for drm-lease-v1. In order to not deadlock with the Wayland compositor if its feedback to a lease demand is postponed, the brand-new user interface in _rrScrPriv presented in the last dedicate is made use of, that makes it feasible to obstruct the X11 customer while a feedback is pending. Leasing typical outcomes is not yet sustained, all ports supplied for lease will certainly be marketed as non-desktop.
Wish to discover more regarding it? Programmer Drew DeVault blogged about a lot of the job included as well as some explainers back in 2019. The essence of it is that this was all required for the hand-off in between your computer as well as the virtual reality headset, so you can in fact obtain every little thing to present properly.
Many thanks to this job being attached, it implies virtual reality video games that do not sustain Wayland straight that requirement to be gone through X11/XWayland needs to ideally function well. Assistance needs to land in XWayland variation 22 at some time following year. Simply one more tick in package in the direction of Linux circulations as well as Linux pc gaming going all-in with Wayland.
Resource web link