this post was submitted on 25 Oct 2023
125 points (73.6% liked)
Linux Gaming
15256 readers
70 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm as much a believer that Linux can get better performance than Windows because the less bloat, the best example is Blender which works almost twice as fast on Linux. That being said 25% increase on a game running on wine seems fishy.
Your video did not play correctly, also you didn't synced properly between the two at the start so it's hard to compare that both have the same settings, and on the screen at the end it shows windows is running in full screen and Linux in Borderless, not sure if this should make a difference but showcases that not every setting is the same. After the video crashed for the first time I skipped a bit ahead and saw that at one point you put the screen half-half, that's a good approach, but I also noticed that the right side had a character the left side didn't right at the start, that means that Wine is failing to render some stuff, or disabling some features which is usually what's happening when you get this massive performance differences, so the comparison might not be valid. An example would be if DXVK ray tracing implementation bounces the light less times than DX12 does, it would be almost indistinguishable but would have a performance boost (at which point my question would be to show me the benefits of bouncing the light more, but that's my opinion and not a technical analysis).
In any case, great video, even if something is different I couldn't see any significant difference in the screen when doing the side-by-side, and I don't think people who claim Linux is always worse would even know of the possibility of wine lacking some implementation therefore not rendering that.
You are most welcome. I really think disbelief in how much better Linux is derives from a really cumbersome past. I've been benchmarking games on Windows and Linux for 3 years now.
At first performance was a little better/same on Linux, then it improved and then it improved vastly.
Don't fear that Proton is a compatibility layer. Linux overall (with its lightness, better Filesystems and optimizations) can achieve great results like this in most DX11 games. I will do a MIrage Benchmark as well on Tumbleweed vs Windows 11 to see how things are on he DX12 side. Ray Tracing is not ready on Linux on AMD yet so that will have to wait.
I don't understand why people think 25% plus is "unbelievable". It takes like 30 minutes to set up dual boot, just test it yourself.
I'm honestly surprised it's not more.
I got over 25% increase in FPS, no micro stutters and I was on a higher resolution in Linux. Apex legends
Because just as many people have had a complete opposite experience
When I tried Apex on Manjaro a few weeks back I saw a ~15% decrease in frames and major stutters.
A single system, running untested benchmarks and without any external validation from a trusted source doesn’t mean anything. Just like my experience with it isn’t universal, neither is either of yours.
Yeah I got worse performance on some Linux OSs. This was on PopOS. Every Linux distro will be different, I suggest sticking with the current best gaming distro.. not sure what that is currently, but I think Arch was previously one of the best distro for gaming. Once you have that and proton going, you will should see a difference.
Unless your on Nvidia: in which case I hear it's hit and miss for performance gains, I see no reason why it shouldn't perform better in the majority of cases.
Even Microsoft uses Linux over their own products... https://www.cybersecurity-insiders.com/microsoft-uses-linux-instead-of-windows-for-its-azure-sphere/
Exactly this. I am willing to believe these people either don't game on Linux or just use Nvidia which has less performance on Linux. In any case Apex is a good idea. After Mirage which is on the schedule perhaps Apex will be the next one.
There is absolutely no way 25% is realistic in this scenario, it's most likely, as you said, a certain characteristic/feature is interpreted/skipped/handled differently by WINE.
People say this, but what exactly do you mean? I mostly model on windows because it's my primary system (I use applications that simply don't work well enough with wine), but mostly finish and render stuff on linux because of windows' retarded automatic updates etc. that can just cancel rendering without asking. And the only difference I've seen is how fast Blender starts - I'd say that's more than 2x as fast on linux, it's a huge difference. But rendering is the same (NVidia GTX GPU) and other work inside blender also seems to be about the same.
Nvidia drivers don't tend to be as performant under linux.
With AMD instead of using the AMD VLK driver, you would use the RADV (developed largely by valve). Which petforms better.
Every AMD card under linux supports OpenCL (the driver is more based on graphics card architecture) and you install it very easily. Googling it with windows found pages of errors and missing support.
Blender supports OpenCL. I bet the 2x improvement is Blender being able to ofload rendering to the AMD graphics card.
Also this represents the biggest headache in Linux, lots of gamers insist they can only use Nvidia cards. Nvidia treats linux as an afterthought as best or deliberately sabotages things at worse.
AMD embraced open source and so Linux land is much nicer on AMD (and to a less extent Intel).
The results here will probably be a DxVK quirk, lots of "Nvidia optimised" games have game engines doing weird things and the Nvidia driver compensates. DxVK has been identifying that to produce "good" vulkan calls.
Afaik Blender since 3.0 does not support OpenCL anymore and AMD rendering uses HIP instead. I have not found any information about dramatic performance differences, though CPU rendering does seem to be somewhat faster on Linux - but more like 10% faster and the amount of computation practically done on the CPU is not that big.
Personally I use NVidia because of CUDA, gaming is an afterthought. I wish CUDA just fucked off and we got some universal compute API instead, because that's what would reduce the NVidia stranglehold on the market, perhaps OneAPI is going to catch on at some point, but at this moment those options are not practical.
We're referencing a somewhat old video of a benchmark ran in both systems https://www.youtube.com/watch?v=cpE2B2QSsa0 that's likely not still true, possibly devs figured out what was the issue on windows and circumvented it somehow.
Yeah, don't do that anymore then. Firstly the video doesn't really find overall 2x speedup, but mainly Cycles X came out since then, where most of the codebase has been rewritten from scratch, and after that numerous significant optimizations happened as well. That video is pretty much irrelevant now.