- cross-posted to:
- linux@programming.dev
- cross-posted to:
- linux@programming.dev
It’s annoying all the articles are focusing on performance versus stock wine here when basically everyone uses Proton or a fork of it anyway, which has had fsync for years now that does similar performance uplift.
The story here should be that we’re getting fsync level performance with fewer bug and it can be upstreamed to wine. There is no relevant performance uplift for Proton users, but I guess performance gets clicks so that’s the story all the press are going with.
I can’t believe stock wine is still so bad with so many games. GTA5 is still unplayable with a keyboard, it just freezes for 5 seconds with every single keypress.
deleted by creator
Yes it is. It’s not in mainline wine, it’s been in kernel for a long time now.
I promise I won’t go more into the tech bits meant for developers
I truly hate authors who speak down to me.
Often you see that in blog posts where the author themselves doesn’t fully understand the details.
“I’m healthy, I eat fruit, vegetables, etc.”
“What’s etc.?”
“Other things”
“Like what?”
“… Let’s move on.”
article from February, anybody got benchmarks? pretty sure this is long since merged and working iirc
It is merged in 6.10 which is about to be released on Sunday (14 July)
It’s not merged, but the benchmarks are against upstream wine. Proton has hacks (fsync) that have almost identical performance uplift but were not suited to upstreaming.
So basically this will improve “correctness” versus current Proton, not performance. Should fix some bugs and improve compatibility.
Versus stock wine, it’s a huge perf uplift though.
If you had read it you’d have answers to your questions.
They are trying to merge it in 6.11 bit has to go through Greg and Torvalds himself. The benchmarks, once again, speed-reader, are on the article.
Presumably they wanted something a bit more thorough and clear than a table of numbers with no information besides:
These tests were done on various hardware running games, both old and new, with and without the new driver being active.
Doing that improved performance for Windows apps on Linux when using Wine or Valve’s Proton that is based on the former. […] benchmarks that show games running better with average improvement rates ranging from 50% to 150% when using the new driver compared to not using it.
Talking about improvements for Wine and Proton then providing no actual data for Proton (which is already using a completely different mehod for syncs - yes the basic wine method sucks) is either stupid or intentionally misleading.
I believe this replaces esync and fsync. IIRC it’s slightly faster and has the benefit of being mainlined.
fsync is mainlined since January 2022 (5.16 iirc).
This patch boosts the likelihood of getting that patch to produce similar results by 50%+
I’d like to see those numbers stacked against modern Proton/Wine-GE solutions focused on gaming, rather than stock Wine
More recently, from Phoronix:
While the initial driver patches were merged to char/misc and now in turn within Linux 6.10 Git, much of the enablement work wasn’t accepted in time. Thus for Linux 6.10 the new NTSYNC driver is marked as “broken”, so it won’t even be built for normal kernel builds.
Hopefully for Linux 6.11 or sometime soon the rest of the NTSYNC patches are upstreamed for yielding this massive boost to Windows games on Linux.
Support for it already seems to be there in wine, so rather than wait for 6.11 I think I’ll just go ahead and apply the patches myself to 6.10-rc7 and see if it makes any difference to the one game I regularly play. If my computer blows up as a result I’ll let y’all know.
(Result: None. The versions of wine I have probably need patching or at least configuring in order to use it. In the course of briefly considering trying to work out how to do that, I discovered that the expected improvements are not nearly as dramatic as were suggested compared to what’s already most often done in proton (fsync). The main benefit for most of us will be better compatibility, not huge performance gains. Well at least my kernel is ready for it.)
o7