We're hiring!
*

Wine on Wayland year-end update: improved functionality & stability

Alexandros Frantzis avatar

Alexandros Frantzis
December 22, 2021

Share this post:

Reading time:

It has been just over a year since we first announced our effort to implement a Wayland driver for Wine. Since then a lot of work has been done to improve the functionality and stability of the driver, and to provide a cleaner and more upstreamable patchset. This work continues as we expand our testing and receive valuable feedback from the community.

The Wine Wayland driver currently supports (minus any bugs):

  • Window state handling: resizing, maximization, minimization (often no proper minimized window contents, though), fullscreen.
  • OpenGL and Vulkan (including using WineD3D and DXVK).
  • Display mode changes (emulated with Wayland compositor scaling, rather than real display hardware mode changes).
  • Multiple monitors.
  • Mouse capture/clipping/relative motion (but note that Wayland compositors don't tend to deal with non-fullscreen cases very well).
  • Popups, menus and other transient windows (except when cross-process, see below).
  • Keymaps set/updated from the Wayland compositor should work transparently.
  • HiDPI scaling (configurable to use either application/Wine or Wayland compositor scaling).
  • Copy/paste both ways, drag and drop in the direction from native Wayland to Wine.
  • Systray (minus right-click menu positioning)

A currently open issue is related to cross-process rendering, which is particularly relevant for Chromium/CEF based applications, like some game stores applications. For now, such applications require workarounds to function properly, but we have a few ideas about how to resolve these issues, which we plan to explore in the coming months.

For more information about known issues (and their workarounds), the current state of the Wayland driver and the next steps, we encourage you to visit the related discussion in the wine-devel mailing list.

Below is a video of some applications and games running on the latest version of the Wine Wayland driver. Enjoy!

Comments (5)

  1. Luke:
    Dec 23, 2021 at 01:45 PM

    Thank you all and Merry Christmas!

    Reply to this comment

    Reply to this comment

  2. Ahmed Elsayed:
    Jan 22, 2022 at 02:59 PM

    Minimizing and maximizing windows on wine under X11 have some issues. It will be great if you give them some love as well.

    My main issue with using Wayland instead of X11 is RetroArch which does not behave well under Wayland.

    Reply to this comment

    Reply to this comment

  3. Behzad A:
    Feb 23, 2022 at 05:17 PM

    Hi Alexandros

    I built Wine from "https://gitlab.collabora.com/alf/wine/-/commits/wayland" and tested that and noticed some issues, Is "https://bugs.winehq.org/show_bug.cgi?id=42284" a suitable place to send reports? Or should I send it another way?

    Reply to this comment

    Reply to this comment

    1. Alexandros Frantzis:
      Feb 24, 2022 at 08:39 AM

      Hi! For now, and until the Wayland driver code has been merged upstream, please send issues and comments to me directly (FIRST.LAST at collabora dot com). Thanks!

      Reply to this comment

      Reply to this comment

  4. Sergey:
    Mar 18, 2022 at 10:52 PM

    cant wait for it!
    i have a 4k monitor 200% scale and i cant play games more than FullHD

    i was using steam proton GE

    Reply to this comment

    Reply to this comment


Add a Comment






Allowed tags: <b><i><br>Add a new comment:


Search the newsroom

Latest Blog Posts

Faster inference: torch.compile vs TensorRT

19/12/2024

In the world of deep learning optimization, two powerful tools stand out: torch.compile, PyTorch’s just-in-time (JIT) compiler, and NVIDIA’s…

Mesa CI and the power of pre-merge testing

08/10/2024

Having multiple developers work on pre-merge testing distributes the process and ensures that every contribution is rigorously tested before…

A shifty tale about unit testing with Maxwell, NVK's backend compiler

15/08/2024

After rigorous debugging, a new unit testing framework was added to the backend compiler for NVK. This is a walkthrough of the steps taken…

A journey towards reliable testing in the Linux Kernel

01/08/2024

We're reflecting on the steps taken as we continually seek to improve Linux kernel integration. This will include more detail about the…

Building a Board Farm for Embedded World

27/06/2024

With each board running a mainline-first Linux software stack and tested in a CI loop with the LAVA test framework, the Farm showcased Collabora's…

Smart audio filters with WirePlumber 0.5

26/06/2024

WirePlumber 0.5 arrived recently with many new and essential features including the Smart Filter Policy, enabling audio filters to automatically…

Open Since 2005 logo

Our website only uses a strictly necessary session cookie provided by our CMS system. To find out more please follow this link.

Collabora Limited © 2005-2024. All rights reserved. Privacy Notice. Sitemap.