A day many have been waiting for is here. Following on from NVIDIA releasing the NVIDIA 470.42.01 Beta driver that finally supports hardware accelerated OpenGL and Vulkan rendering on Xwayland, a brand new release of XWayland is out now.
XWayland 21.1.2 would have usually been a cleaning up bug-fix release, however when the Release Candidate went out in late June developer Michel Dänzer mentioned:
It's a bit special, as most of the changes are not the usual stable branch fixes material, but are needed for HW accelerated direct rendering with the Nvidia 470 driver (which is currently in open beta).
I'm making an exception, pulling these changes into the 21.1 branch instead of waiting for the next major release, since the changes are mostly specific to the EGLStream backend and do not affect the GBM backend. And they make a big difference for users of the EGLStream backend.
That release has now been made as of today, July 9, where the only difference is "a fix for a long standing issue where Xwayland wouldn't send events to notify clients of RandR configuration changes in some cases".
Hopefully soon various Linux distributions will pick up the new version, so users don't have to do any manual work for enabling hardware accelerated OpenGL and Vulkan rendering on Xwayland with their favourite distribution. Once done, it should mean NVIDIA users see a much better experience on Wayland.