Alexandros Frantzis
December 12, 2022
Reading time:
It's been some time since our last Wayland driver update, and, with the year coming to an end, I wanted to share the exciting progress we made this year.
The focus in 2022 was on maturing the Wayland driver and keeping up to date with the Wine upstream internal changes. This involved, among other things, splitting the driver into a PE and Unix part, updating it for the latest internal driver APIs, and making preparations to support WoW64.
A significant improvement compared to last year is support for cross-process rendering, which is required by Chromium/CEF applications. Last year the driver was able to run Chrome with the "--in-process" command-line option. Chrome is now supported without any special flags, and is fully GPU accelerated on both OpenGL and Vulkan!
This update also brings enhanced support for the linux-dmabuf v4 Wayland protocol (aka dmabuf-feedback), which allows compositors to dynamically send information about optimal formats and modifiers, e.g., depending on the surface presentation mode (fullscreen vs windowed).
This year we made a lot of smaller fixes and enhancements, that in aggregate have greatly improved driver stability. These were a result of both testing we performed ourselves, and also of reports from people trying out the Wayland driver, for which we are very grateful.
All this great work would not have been possible without Leandro and Sergio, who joined the Wine Wayland driver team this year!
We encourage you to visit the discussion in the wine-devel mailing list for more detailed information about this update and future steps.
Below is a video showing the latest version of the Wayland driver for Wine in action, including Chrome with accelerated cross-process rendering, LibreOffice, Call of Duty 2 (Demo), Crayon Physics Deluxe, Dagon, Factorio, The Last Express and Phoning Home. Enjoy!
20/12/2024
The Rockchip RK3588 upstream support has progressed a lot over the last few years. As 2024 comes to a close, it is a great time to have…
09/12/2024
Collabora will be at NeurIPs this week to dive into the latest academic findings in machine learning and research advancements that are…
05/12/2024
Now based on Debian Bookworm, Apertis is a collaborative OS platform that includes an operating system, but also tools and cloud services…
Comments (8)
Clement Wong:
Dec 12, 2022 at 09:23 PM
NICE!!! I see the LibreOffice saving popup is in the wrong position?
Reply to this comment
Reply to this comment
Alexandros Frantzis:
Dec 13, 2022 at 01:19 PM
Hi! This is an effect of Wayland not allowing absolute positioning of toplevel windows, so each compositor decides initial window placement based on other information it might have (e.g., the declared relationships between windows). For example, for this exact scenario KWin places the dialog at a more usual/expected location, over the middle of the main window.
Reply to this comment
Reply to this comment
Estebiu:
Dec 17, 2022 at 10:29 PM
Love your work! Keep it up!
Reply to this comment
Reply to this comment
Burner:
Feb 20, 2023 at 08:17 PM
Love the work
Reply to this comment
Reply to this comment
Microlinux:
Feb 22, 2023 at 03:20 AM
Consider to implement gallium nine for ir
Reply to this comment
Reply to this comment
Isaac:
Mar 28, 2023 at 05:37 AM
This is seriously great stuff!
I tried cloning and building the wayland branch from https://gitlab.collabora.com/alf/wine/-/tree/wayland with no luck. Is there a set of steps (or atleast recommended ./configure options) I can take to test out Wayland Wine like you did in the video above? I would love to test out for myself!
I'm specifically really interested in testing the input/frame latency. As a hobby, I've been trying to get my Fedora setup to run fighting games with low latency, but I haven't been able to get much faster than ~50ms on most games with Xorg or Xywayland on Wine/Proton. So I'm excited to see if Wine's Wayland driver improves that!
Reply to this comment
Reply to this comment
Alexandros Frantzis:
Mar 29, 2023 at 08:33 AM
Please see the Wine mailing list discussion at https://www.winehq.org/mailman3/hyperkitty/list/wine-devel@winehq.org/thread/5GQWFP7MC6GQTL2KLAV6F6RUMOE3QULI/ for more information about how to build. Thanks!
Reply to this comment
Reply to this comment
Hani:
Jun 10, 2023 at 02:13 PM
This is seriously great stuff!....
Reply to this comment
Reply to this comment
Add a Comment