Hacker News new | ask | show | jobs
by Wowfunhappy 17 days ago
> I get better FPS on Linux than I ever did on Windows.

How is this actually possible? Wine is always going to add at least a little overhead because it has to translate system calls and such, right? And, well, I know Linux GPU drivers have improved a lot, but are they really better than the Windows drivers now?

8 comments

Very few, if any modern games actually use WINE. In today's world, if you want a Linux build for your game, it's usually just a checkbox option in Unity/Unreal/Godot etc. A lot of games just have native Linux support. Those that don't use Proton, which is designed specifically to accelerate graphics calls.

As for faster, it's not that Linux does anything special to improve speeds, Windows is just genuinely that bad. Windows on its own consumes more resources than pretty much any Linux distro which means there's more compute for your game.

Again counter-intuitive: compatibility is better with Linux. I have some old games that won't play on modern Windows but work flawlessly under Linux.

There really is no good reason to use Windows other than being locked into Adobe software or whatever. Linux is just better in pretty much every sense.

I don’t think this is actually true. If anything native linux games have become less common after proton.

Native Linux builds used to have their own bugs like dynamically linked libraries which would go missing over time. While running a windows build in proton means any issue can be solved by the community rather than begging the publisher.

> Very few, if any modern games actually use WINE. In today's world, if you want a Linux build for your game, it's usually just a checkbox option in Unity/Unreal/Godot etc. A lot of games just have native Linux support.

Isn't Valve's own recommendation to target Windows and let Proton handle Linux compatibility?

> Those that don't use Proton, which is designed specifically to accelerate graphics calls.

I know, but Proton is just Valve's branch of Wine.

Or if you're like me and your laptop/ GPU isn't yet supported by Linux well enough.
> Windows is just genuinely that bad.

I have two vague memories on this:

With the right tweaks, there were a handful of games that were already better on WINE than Windows, even before Proton existed.

And one instance where someone claimed to have gotten higher FPS on one specific game in WINE in a linux VM on Windows, than on bare Windows.

These would have both been before 2010, when I was first switching to linux and still did a lot of PC gaming.

> Like, Wine does have to translate system calls and such, so it's always going to add some overhead, right?

Yes, of course. The key to understanding it is that this is still less overhead than Windows adds.

Windows 11 has a lot of overhead with CPU and RAM from my experience (also compared to Windows 10). A minimal Arch/CachyOS setup is surprisingly light, especially for older hardware
> are they really better than the Windows drivers now?

So a game I play (Path of Exile 2) started crashing after an Nvidia driver update on windows. It was really bad and they (GGG, the developers) couldn't figure out why. They created a workaround where the game wouldn't crash, but instead pause while the driver restarted. They made a video when it was finally fixed [0].

Anyway, I was on Linux at the time and completely fine. When I played with friends on windows, the instance would pause whilst their drivers restarted.

So I would say that for at least some games, it's definitely better. I also have an Nvidia card on Linux, which historically has been pretty awful.

[0] https://youtu.be/XDEJLOHcdWw?si=brA5x2QlwP-5TeWJ

One thing the other replies are missing, Valve publishes a native dota 2 build for Linux. The answer is probably either better drivers, less background sw, or one of the many possibilities in how valve chooses to build the binary
Some games are using directx to vulkan layers where vulkan drivers are better than directly using old directx. Hard to say for sure though.
the key to wine, which siblings overlook, is that it doesn’t just translate syscalls. it’s a straight up fresh implementation of all the windows apis and dlls and the high level interfaces can decompose into efficient calls that provide the needed semantics
Often because it's not a complete reimplementation and some functionality is skipped/silently missing.