this post was submitted on 09 Jul 2024
187 points (93.1% liked)

Linux

46775 readers
1968 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 29 comments
sorted by: hot top controversial new old
[–] [email protected] 146 points 1 month 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.

[–] [email protected] 18 points 1 month 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.

[–] [email protected] 9 points 1 month ago (1 children)

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

[–] [email protected] 10 points 1 month 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.

[–] [email protected] 6 points 1 month ago (1 children)

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

[–] [email protected] 6 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 1 points 1 month ago

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

[–] [email protected] 1 points 1 month ago

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

[–] atzanteol 86 points 1 month 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.

[–] [email protected] 12 points 1 month ago (1 children)

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

[–] [email protected] 9 points 1 month ago* (last edited 1 month ago)

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

"What's etc.?"

"Other things"

"Like what?"

"... Let's move on."

[–] [email protected] 39 points 1 month ago (3 children)

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

[–] quantumcog 26 points 1 month ago

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

[–] [email protected] 15 points 1 month 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.

[–] [email protected] 2 points 1 month ago (1 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.

[–] [email protected] 2 points 1 month 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.

[–] [email protected] 27 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 4 points 1 month ago (1 children)

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

[–] [email protected] 2 points 1 month ago

fsync is mainlined since January 2022 (5.16 iirc).

[–] MeDuViNoX 25 points 1 month ago

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

[–] [email protected] 19 points 1 month ago

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

[–] [email protected] 17 points 1 month 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.

[–] [email protected] 10 points 1 month ago* (last edited 1 month 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.)

[–] [email protected] 14 points 1 month ago* (last edited 1 month ago) (2 children)

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

[–] [email protected] 32 points 1 month ago

The Linux subsystem for windows.

[–] fruitycoder 2 points 1 month 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