this post was submitted on 25 Oct 2023
125 points (73.6% liked)
Linux Gaming
15281 readers
228 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.
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.
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.
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.