this post was submitted on 12 Mar 2024
1090 points (96.7% liked)

Programmer Humor

32572 readers
277 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] nexussapphire@lemm.ee 2 points 8 months ago* (last edited 8 months ago) (1 children)

I don't think you get how dxvk and wine work. All games that don't require rootkits and have Linux support in their flavor of anti cheat will start, about 80% playable potentially with some tweaking or hardware specific fixes and about 20% pretty much work out of the box which is nice. AMD users are probably feeling smug about the aggregate 50% playable with 10% verified steam deck compatible.

It only runs better as a result of the optimizations done to translate Windows calls to Linux calls as well as translating Direct X into Vulkan or just uses vulkan. So if the game is well optimized Linux is a lot less likely to have an advantage and often suffers in performance a little bit until optimizations for that game are patched into Wine or DXVK about the same as video card drivers in windows.

On the other hand some poorly optimized games still run just as bad as they do on Windows if the game has issues not related to the graphics stack. Things like Elden Ring play to the strength of the optimizations and presented good results but I like to think of it as the exception and not the rule.

On average you see a delta of at most 10fps with windows beating Linux or Linux beating windows which even I find surprising sometimes. Maybe lower CPU overhead, the game just runs better being translated into Vulkan, or shader cashing in DXVK has gotten better than some in-house solutions; it's hard to say.

[–] Default_Defect@midwest.social 3 points 8 months ago (1 children)

I don’t think you get how dxvk and wine work.

Clearly, I don't use Linux. I should have specified that it was an example of the type of comment I see rather than the absolute reality of it. My point was that there's always a something that the loudest proponents of linux don't mention simply because they took care of it so long ago that they forgot or its so routine to them they fail to mention it.

[–] nexussapphire@lemm.ee 2 points 8 months ago

Yeah, I totally agree. Sorry about that. I got pretty excited about the topic because it's amazing how all my games have worked so far and how it works is interesting. If I was using Windows or MacOS I'd be paying attention but I generally wouldn't care about the progress.