this post was submitted on 09 Jul 2024
194 points (93.3% liked)

Linux

48376 readers
1625 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
all 36 comments
sorted by: hot top controversial new old
[–] Vash63@lemmy.world 147 points 4 months ago (2 children)

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.

[–] refalo@programming.dev 19 points 4 months ago (1 children)

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.

[–] unexposedhazard@discuss.tchncs.de 10 points 4 months ago (1 children)

I would just run external games through steam with proton if you have those kinds of issues.

[–] MentalEdge@sopuli.xyz 11 points 4 months ago (2 children)

You don't even have to do that.

Wine managers like Bottles make it extremely easy to slap on whatever fixes and wine variants you might need.

[–] Vincent@feddit.nl 6 points 4 months ago (1 children)

How do you know what fixes/Wine variants you need?

[–] MentalEdge@sopuli.xyz 6 points 4 months ago* (last edited 4 months ago) (1 children)

You google the game to see if smarter people have done the investigating.

If not, you parse logs and errors best you can and try to determine what needs enabling. If you get it working, share it on protondb.

Generally though, enabling "everything" doesn't come with any direct drawbacks. This is basically what bottles will do when you tell it you want to run a game, which will then allow most games to work fine.

The latest version of GE is generally what you want, too, as wine/GE isn't supposed to have regressions requiring the use of an older version with some games.

[–] Vincent@feddit.nl 1 points 4 months ago

Ah OK, that "everything" solution sounds perfect for me, thanks!

Yeah for sure, thats better in every way, but if you dont want to install another application thats the easiest way.

[–] atzanteol@sh.itjust.works 87 points 4 months ago (1 children)

I promise I won't go more into the tech bits meant for developers

I truly hate authors who speak down to me.

[–] steeznson@lemmy.world 13 points 4 months ago (1 children)

Often you see that in blog posts where the author themselves doesn't fully understand the details.

[–] Zozano@lemy.lol 10 points 4 months ago* (last edited 4 months ago)

"I'm healthy, I eat fruit, vegetables, etc."

"What's etc.?"

"Other things"

"Like what?"

"... Let's move on."

[–] mactan@lemmy.ml 42 points 4 months ago (4 children)

article from February, anybody got benchmarks? pretty sure this is long since merged and working iirc

[–] quantumcog@sh.itjust.works 26 points 4 months ago

It is merged in 6.10 which is about to be released on Sunday (14 July)

[–] Vash63@lemmy.world 15 points 4 months ago

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.

[–] pbjamm@beehaw.org 11 points 4 months ago (3 children)

Only thing I can find is this OS News article saying it should be in the 6.10 kernel

I can not find any confirmation that it is.

[–] Technus@lemmy.zip 11 points 4 months ago (1 children)
[–] lemba@social.tchncs.de 2 points 4 months ago

@Technus @pbjamm This sounds sooo good 😊.
#gamingonlinux has come a long way and still keeps improving.

[–] skizzles@lemmy.ml 6 points 4 months ago

It's actually being pushed as "broken" for 6.10 but should hopefully be completely available in 6.11.

[–] mactan@lemmy.ml 4 points 4 months ago

oh that makes more sense, for some reason I thought it was in 6.9 already

[–] Magnolia_@lemmy.ca 2 points 4 months ago (2 children)

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.

[–] pbjamm@beehaw.org 13 points 4 months ago

No need to be rude.

It seems to me that Mactan was hoping for some independent recent benchmarks.

[–] ChaoticEntropy@feddit.uk 3 points 4 months ago

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.

[–] Ooops 27 points 4 months ago* (last edited 4 months ago) (1 children)

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.

[–] False@lemmy.world 4 points 4 months ago (1 children)

I believe this replaces esync and fsync. IIRC it's slightly faster and has the benefit of being mainlined.

[–] Ooops 2 points 4 months ago

fsync is mainlined since January 2022 (5.16 iirc).

[–] MeDuViNoX@sh.itjust.works 25 points 4 months ago

This patch boosts the likelihood of getting that patch to produce similar results by 50%+

[–] ElectroLisa@lemmy.blahaj.zone 19 points 4 months ago (1 children)

I'd like to see those numbers stacked against modern Proton/Wine-GE solutions focused on gaming, rather than stock Wine

[–] Sina@beehaw.org 1 points 4 months ago

It doesn't matter much in this case. Once ntsync is working, we all will benefit just the same. (Bottles, Lutris etc need to implement it as well)

[–] kbal@fedia.io 16 points 4 months ago (1 children)

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.

[–] kbal@fedia.io 10 points 4 months ago* (last edited 4 months ago) (1 children)

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.)

[–] morrowind@lemmy.ml 15 points 4 months ago* (last edited 4 months ago) (2 children)

Basically implementing windows in the Linux kernel? Something about this is really funny

[–] cyberpunk007@lemmy.ca 35 points 4 months ago

The Linux subsystem for windows.

[–] fruitycoder@sh.itjust.works 2 points 4 months ago

I mean good ideas are good ideas. Even if not all of the windows kernel implementation is good it would be to learn from what works still