TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Wine Wayland Driver

204 pointsby rom-anticsabout 2 years ago

9 comments

rjzzleepabout 2 years ago
Funny, I was literally just looking at this issue today. I switched to wayland a few weeks ago, just because it seems to save a lot of battery power. But so much basic functionality is still broken it&#x27;s infuriating. And then so many things seem to follow the &quot;unix functionality&quot; and as a result they&#x27;re half baked tools that aren&#x27;t really working properly IMHO.<p>A lot of these issues have fixes or workarounds directly in KDE.<p>For reference I&#x27;m using sway. swayidle is an idle daemon, where the maintainer doesn&#x27;t think that it matters whether its connected to power or not. You&#x27;re supposed to create your own scripts around it that handles ac connect and disconnects.<p>There&#x27;s a tool to do flux like color warmth setting. One of them doesn&#x27;t allow you to toggle, so you have create your own toggle script that kills or restarts it. The other one is controllable, but doesn&#x27;t actually account for time or timezone.<p>XWayland has had 2 or 3 patches to handle hidpi when the main wayland screen has fractional scaling, none of them are merged and they seem hardly active. KDE works around that by allowing you to turn it off for xwayland clients. Sway just passes it down and blurs everything.<p>When I exit a wayland session and then restart it the screen locks up. This doesn&#x27;t happen with normal X.<p>And then there is electron. Slack is not the only app that ignores electron settings and doesn&#x27;t run with wayland support. In chrome and electron it&#x27;s supposedly supported but you have to toggle it yourself? What is this madness?<p>These things seem like basic functionality for me. I don&#x27;t really get it. Sure, maybe I shouldn&#x27;t expect a proper experience for random sway tools, so that makes the first two points irrelevant. But the fact that years in they still haven&#x27;t found a proper solution on passing down hidpi for xwayland? That&#x27;s incomprehensible for me.
评论 #34938243 未加载
评论 #34938052 未加载
评论 #34939427 未加载
评论 #34939808 未加载
评论 #34938850 未加载
评论 #34937935 未加载
评论 #34941594 未加载
评论 #34945069 未加载
评论 #34937989 未加载
评论 #34940829 未加载
评论 #34941304 未加载
评论 #34955606 未加载
评论 #34937982 未加载
评论 #34938576 未加载
评论 #34939296 未加载
justin_about 2 years ago
Weirdly, I was just thinking about this earlier today. Years ago, Wine developers basically refused to add Wayland support. They told the Wayland devs that they&#x27;d stick with X11 and XWayland. Why? Because X11 and Win32 specify position windows in absolute screen coordinates, whereas Wayland positions windows relative to their parents. This broke some assumptions across the Wine project about positioning windows, and it didn&#x27;t seem worth it to fix[0][1]. (And there may have been other issues. I&#x27;m not an expert).<p>Even when the driver was being developed around 2021, it seems like the Wine developers only begrudgingly accepted it[2].<p>Exciting to see this finally hitting upstream. Progress in desktop Linux often seems slow, but things are moving forward.<p>[0] <a href="https:&#x2F;&#x2F;bugs.winehq.org&#x2F;show_bug.cgi?id=42284#c1" rel="nofollow">https:&#x2F;&#x2F;bugs.winehq.org&#x2F;show_bug.cgi?id=42284#c1</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19127952" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19127952</a><p>[2] <a href="https:&#x2F;&#x2F;www.phoronix.com&#x2F;news&#x2F;Wine-Julliard-Wayland-2021" rel="nofollow">https:&#x2F;&#x2F;www.phoronix.com&#x2F;news&#x2F;Wine-Julliard-Wayland-2021</a>
评论 #34938318 未加载
评论 #34938331 未加载
csdvrxabout 2 years ago
This falls right on time for my 2023 &quot;Linux on the desktop&quot; attempt! (now I wish <a href="https:&#x2F;&#x2F;github.com&#x2F;phil294&#x2F;AHK_X11">https:&#x2F;&#x2F;github.com&#x2F;phil294&#x2F;AHK_X11</a> had a Wayland option...)<p>I can&#x27;t live without Office! My personal favorite is 2010 x64, as Word then starts faster than the current Wordpad.<p>Office 2010 works great in Windows 11, but there&#x27;ve been some suspicious move making me believe old office version will be given a poison pill or something under the plausible deniability of &quot;security risks of 13 year old software&quot;, like how Outlook 2010 can&#x27;t connect to outlook.com anymore (though it works great with gmail using google&#x27;s GWSO plugin)<p>On <i>MY</i> computer, I run what <i>I</i> want. So I&#x27;ll try Office 2010 in wine within Wayland.
评论 #34939221 未加载
jchwabout 2 years ago
I&#x27;ve been running these patches to play around with them and it seems pretty good; layered windows (WS_EX_LAYERED) work great, and the issue you would have with non-reparenting X11&#x2F;XWayland WMs (mostly the mouse cursor being offset) is gone. There&#x27;s still some minor quirks remaining, so it&#x27;s not perfect, but a complex program like FL Studio seems to work just fine, as does some games using Wined3d.<p>The only thing I really hit that would be nice to fix is that it appears tablet support isn&#x27;t in yet, or at least it didn&#x27;t work for me. Of course, tablet support is a thing I generally wish could be improved in Wine, especially because Windows apps are slowly moving towards more modern APIs than the old wintab32 defacto standard.
mouse_about 2 years ago
Neat, good seeing progress on this front.<p>Many Windows applications since Windows 7 support fractional scaling natively (125%, 150%). Is there any way of accessing these modes with WINE? Is this really the same thing as simply setting the font DPI scale (which is what the WINE docs suggest doing)?
评论 #34939987 未加载
subarcticabout 2 years ago
can someone explain what is going on here? i know what wine is, it&#x27;s a thing that lets you play windows games on linux or macos, but what is wayland?
评论 #34939548 未加载
评论 #34942815 未加载
wheelerof4teabout 2 years ago
We are still fixing stuff in Wayland, stuff that Microsoft and Apple had figured out 20 years ago.<p>So defeating.
评论 #34939923 未加载
评论 #34941384 未加载
评论 #34939827 未加载
评论 #34939834 未加载
shmerlabout 2 years ago
Good to see it&#x27;s approaching merging!<p>I ran a few tests and it works for games well already, but there are still some issues to iron out. I&#x27;ll run more tests once it&#x27;s upstreamed.
sprashabout 2 years ago
Since this isn&#x27;t a community effort at all but purely done by a consultant agency called Collabora my question would be, who is funding them?
评论 #34938349 未加载
评论 #34938315 未加载
评论 #34941318 未加载