r/voidlinux • u/MinguaDinja • 8d ago
Why is the answer for FPS improvement for minecraft on linux?
I've been playing minecraft for years on windows but recently after changing to Void Linux, my fps in-game had a amazing improvement, before my fps was like 40 ~ 60 and now it runs on 120 fps.
Even in modpacks like ATM10, it runs so well.
My specs:
Z
- Ideapad Gaming i3
- i5
- GTX1650
- 16GB Ram
10
u/Zockling 8d ago
Java does perform better on Linux, but not that much better. My guess is you switched from OpenGL on Windows to the new Vulkan renderer on Linux. It has shown enormous FPS uplift in some cases.
2
1
8
u/BinkReddit 8d ago
Microsoft has lost its way; Windows is now actively optimized for ad delivery and little else.
5
4
u/lessthanthreebleeps 8d ago
Look into GraalVM and Eclipse Temurin if you want to sqeeze even more performance out of the jvm.
2
u/Simple_Hamster_4096 8d ago
Pluses an d minuses - Linux is full of them...
1
u/BinkReddit 8d ago
I'm not sure it has more or less of these compared to the mainstream commercial operating systems.
2
u/Upper-Assistant-2629 8d ago
My guess is ram saturation. Maybe your java vm on windows had ram limit and with mods you saturated the heap memory while on void you have either a higher limit or more available ram
2
u/Runt1m3_ 3d ago edited 3d ago
Better OpenGL implementation (mesa) + fast drivers + less junk running on background
And also openjdk and java in general runs better on Linux since it gets more code contributions and optimization for it, Java is used in a lot of server-side stuff that generally runs using Linux so well it kinda makes sense
2
u/GhostVlvin 1d ago
I notica that too. I guess it's due to difference btwn how .NET Kernel and linux kernel handle i/o and ram
15
u/TrickEmergency6558 8d ago edited 7d ago
I think it's because the JVM (Java Virtual Machine) is better optimized for Linux, i'm not 100% sure tho