Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

Wayland driver for Wine is getting closer

By - | Views: 28,796

Back late last year, Collabora developer Alexandros Frantzis blogged about a whole lot of work going into getting full Wayland support for Wine and now a big first step towards it being included in Wine is happening.

Frantzis has now put up a Merge Request, to have the first of many parts begin to be included in Wine. This first part "introduces the Wayland driver PE and unixlib components with some basic code, and prepares the makedep tool to be able to handle Wayland protocol files".

So right now, it's not too exciting for end-users but a big step in the right direction and will lead to more being included, to then eventually having a full Wayland driver for Wine included. Frantzis mentioned Part 2 will include "basic Wayland wl_output (i.e., display) events and populate the Wine monitor information".

It's being done in parts since it's quite large and their goal is just to make it easier for people to review the code and suggest improvements as they go along. Seems like a sane idea.

Article taken from GamingOnLinux.com.
20 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
20 comments
Page: 1/2»
  Go to:

DefaultX-od Feb 27, 2023
I wonder how will fractional scaling work with wine apps once wayland driver becomes available. Like is it going to be scaled and crisp like Qt and GTK apps?
lejimster Feb 27, 2023
I keep trying to switch over to Wayland, but there is always a few quirks on gnome that wind me up and put me off using it full time, I really should test KDE as it's probably just gnome issues. Anyway, I wonder if this will have any benefits over gamescope? Even less latency? I was planning to do some testing with gamescope as it works so well on the steam deck but I haven't got around to it yet. Does anyone here run gamescope on their PC?
ripper81358 Feb 27, 2023
Quoting: lejimsterI keep trying to switch over to Wayland, but there is always a few quirks on gnome that wind me up and put me off using it full time, I really should test KDE as it's probably just gnome issues. Anyway, I wonder if this will have any benefits over gamescope? Even less latency? I was planning to do some testing with gamescope as it works so well on the steam deck but I haven't got around to it yet. Does anyone here run gamescope on their PC?

I dont know how to get gamescope running on PC. However i consider it to be a thing that is mainly developed for the steam deck to make games run optimal on this hardware. I am gaming on KDE 5.27.1 right now using Wayland with VRR (AMD Freesync) enabled. Works absolutely flawless on my end.
whizse Feb 27, 2023
View PC info
  • Supporter
Quoting: DefaultX-odI wonder how will fractional scaling work with wine apps once wayland driver becomes available. Like is it going to be scaled and crisp like Qt and GTK apps?
At least at the moment it doesn't. In fact it does not scale at all.

But it's still early days. Walk before you run, etc.


Actually, I'm a filthy liar. It's there, but not enabled by default. You have to set the (string) registry key
HKCU\Software\Wine\Wayland Driver\HiDPIScaling to Compositor or Application and it works.

I see no real difference between Wayland and Xwayland here. But I'm just comparing winecfg with the default font.


Last edited by whizse on 27 February 2023 at 5:56 pm UTC
whizse Feb 27, 2023
View PC info
  • Supporter
Quoting: lejimsterDoes anyone here run gamescope on their PC?
I do, but mainly for upscaling old games, or pillarboxing games that doesn't do aspect ratio correctly.
Shmerl Feb 27, 2023
Cool to see it approaching merging! I hope it won't take too long, to allow testing it in upstream Wine.
Shmerl Feb 27, 2023
On a side note, what's the story with Winesync project? Esync / fsync were rejected for upstreaming, but what happened to Winesync that was proposed as a more robust solution?
drjoms Feb 27, 2023
Quoting: lejimsterI keep trying to switch over to Wayland, but there is always a few quirks on gnome that wind me up and put me off using it full time, I really should test KDE as it's probably just gnome issues. Anyway, I wonder if this will have any benefits over gamescope? Even less latency? I was planning to do some testing with gamescope as it works so well on the steam deck but I haven't got around to it yet. Does anyone here run gamescope on their PC?

I do, and it's hit and miss. When it works - it works. When it doesn't, well, it doesn't...
fenglengshun Feb 28, 2023
Quoting: drjomsI do, and it's hit and miss. When it works - it works. When it doesn't, well, it doesn't...
Echoing this. I'm on KDE x11. The most useful usecase for me is when it's an old game or games that have annoying alt-tab behaviors.
vox Feb 28, 2023
Quoting: lejimsterI keep trying to switch over to Wayland, but there is always a few quirks on gnome that wind me up and put me off using it full time, I really should test KDE as it's probably just gnome issues. Anyway, I wonder if this will have any benefits over gamescope? Even less latency? I was planning to do some testing with gamescope as it works so well on the steam deck but I haven't got around to it yet. Does anyone here run gamescope on their PC?

I'm on KDE and I have the impression from the internet discussions that Wayland on GNOME is considered more stable/mature/whatever. There are some bugs or absent features in KDE that may make Wayland experience worse. I'm still on X11 and waiting. You can track some of the problems here: https://community.kde.org/Plasma/Wayland_Showstoppers
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.