Wine's Project Leader Has Given A Blessing To The Wayland Effort
Written by Michael Larabel in WINE on 5 March 2021 at 03:30 AM EST. 31 Comments
WINE --
Published last month was an updated but still experimental version of the native Wayland support for Wine after that code was originally published last year. One of the lingering questions has been around the prospects of mainlining this Wayland driver in Wine while last week the longtime Wine project leader, Alexandre Julliard, provided some clarity on the matter.

The engineers at Collabora have been making good progress on the Wayland driver for Wine to allow Windows games/applications to run on Wayland without having to go through XWayland while in the ensuing discussion on the latest version of the patches were the prospects or requirements around getting it accepted upstream.

Last week Alexandre Julliard as the project leader commented on the matter. Ultimately he's open to it being upstreamed permitting that it uses established Wayland protocols and doesn't resort to relying on workarounds or other hacks that compromise the ability to maintain it.
I'm not opposed in principle to having a Wayland driver upstream. In fact I started writing one myself many years ago... It got stalled when I realized there was essentially no way to do decent window management, and that the best we could do would be the equivalent of X11 desktop mode, where we manage the windows ourselves. I don't have the impression that the situation has improved in the meantime, or that there is any interest in improving it.

That doesn't mean it couldn't go upstream, but then there will be constraints on what hacks and workarounds you'll be able to do. For instance, it will have to stick to protocols that are standardized across desktops, without adding compositor-specific workarounds, just like we don't allow window manager specific hacks on the X11 side otherwise it quickly becomes unmaintainable.
...
I expect you'll find a much bigger impedance mismatch between Wayland and Win32, and that in the end you'll end up reinventing XWayland using Windows APIs. But if that's your idea of fun go ahead ;-)

With the blessing that Julliard isn't outright against such a Wayland driver, the discussion so far is indicating it will likely go through Wine-Staging first before maturing and working its way to upstream.
Related News
About The Author
Author picture

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 or contacted via MichaelLarabel.com.

Popular News This Week