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

USB 3.0 preliminary support in U-boot for Radxa Rock-5B

31/05/2023

A while back I presented USB 2.0 host support that was added to U-boot for the Radxa Rock-5B RK3588 Rockchip board. This time, USB 3.0 was…

Radxa Rock-5B PCIe and RTL8125B networking in U-boot

18/05/2023

Work continues on the Radxa ROCK5B RK388, as PCIe and RTL8125B networking support in U-boot have now been added. Publishing code as Open…

Introducing Multiview for NVK

03/05/2023

NVK, an open-source Vulkan driver for NVIDIA hardware that is part of Mesa, now supports the Vulkan extension VK_KHR_multiview.

Adding bootloader support for USB 2.0 Host for Radxa ROCK 5B RK3588

27/04/2023

The beauty of Open Source is that we can reuse code written by many other people, keep their authorship, and credit them for their work,…

Meson & VSCode: Develop your project in a modern IDE

18/04/2023

Want to develop your Meson project in a modern IDE? Make sure to install Meson VSCode extension which is now fully functional with the recent…

Carlafox: Towards reliable open-source 3D perception

05/04/2023

Labeling errors are common in present open-source 3D perception datasets, which could have impactful consequences. To tackle this issue,…

Open Since 2005 logo

We use cookies on this website to ensure that you get the best experience. By continuing to use this website you are consenting to the use of these cookies. To find out more please follow this link.

Collabora Ltd © 2005-2023. All rights reserved. Privacy Notice. Sitemap.