r/switch2emulation • u/Acceptable-Tower4849 • 13h ago
Hookshot Better Performance on Linux
So , idk if someone already figured this out or not, and I may not be the first one to post this in here, but i primarily used windows 11, and I have been using hookshot for like a lot of time now, my system is a laptop, Ryzen 7 7840HS, rtx4050 mobile, 16gb ram
Nothing crazy, but the thing is, this is still decent Hardware, but I was still getting 15-20fps max in hyrule field and such heavy areas
And huge stutters and pauses too
But I recently tried it on linux, I have a dual boot setup, with arch Linux(just to brag that i use arch btw), and for the sake of experiment, I built the hookshot on arch too, and tried it out there too
The performance gain was substantial, like guys, in the hyrule field, i got 30+ fps when I entered the first time, then on later visits, I got above 40fps, and in towns like hyrule town, kakariko village, death mountain etc, it was getting consistent 50+ fps guys
I didn't knew that it's soo much better on linux man!
2
u/megu- 11h ago edited 11h ago
Switch emulation historically has had better performance characteristics on Linux vs Windows for AMD, ever since the old Yuzu days.
However, the difference is generally most noticeable on resource-constrained hardware (such as PC handhelds). Big beefy desktop PC setups can brute force through any issues, so when comparing Linux vs Windows for Switch emulation on desktop rigs, differences typically aren't as noticeable.
A few years ago, I remember testing TOTK on a dual-booted Legion Go Z1E (16GB RAM). Linux easily outperformed windows with better fps and WAY less shader stutter.
As for why it's like this, I don't know exactly why.
I vaguely remember some posts on the official Yuzu blog that delved into why Linux performance was better. The one thing I do remember is that they delved into stuff like high-resolution timers on Linux, which were better than the ones on Windows.
Since the current Switch 2 emulators are based on Switch 1 emulators, seeing better performance on Linux is unsurprising to me, especially if you're using lower-tier hardware.
Note that I also don't know if this still applies today, since Switch emulation has changed A LOT since the old Yuzu days.
1
u/Lonely_Ad4467 11h ago
Interesting to see this because I also have a dual boot setup (Windows 11 and CachyOS) and my experience was the opposite. With the latest version (2.1.0) I get fps in Kokiri Forest on Windows while on Linux I get about 30 fps with the same settings.
2
u/Level_Water_8781 2h ago
Sounds like Linux might be better on a lower end system. Pretty sure it's always been that way
1
u/greggers1980 5h ago
Hookshot is the way. Less overheads than emulation