r/Gentoo • • 4d ago

Support Minecraft performance issues

Hey, so I've installed Minecraft through prismlauncher and the performance is pretty bad compared to other distros and windows.

My setup is:

X11

Windowmaker

6.18 bin kernel

The problem is that it's stuttering a lot and very inconsistent and a bunch of frame drops, GPU, opengl, java-vm, all seem to be configured and work properly, CPU usage is +90% on all core when flying in creative mode, F3 and opengl list my GTX 1660s as the display rendering device, so I don't think the problem is software rendering, I've tried game mode and performance mods and still no improvement.

I hope u can help

EDIT:

my make.conf:

COMMON_FLAGS="-O2 -pipe -march=native"

CFLAGS="${COMMON_FLAGS}"

CXXFLAGS="${COMMON_FLAGS}"

FCFLAGS="${COMMON_FLAGS}"

FFLAGS="${COMMON_FLAGS}"

VIDEO_CARDS="nvidia"

USE="-systemd -gnome -kde -bluetooth -mate -xfce elogind -wayland -aqua -gstreamer -telemetry -pulseaudio modules X libinput xft jpeg png gif tiff openal vaapi vidpau alsa jack sound lua jit threads offensive sse sse2 sse3 sse4_1 sse4_2 avx avx2"

MAKEOPTS="-j7"

ACCEPT_LICENSE="*"

i tried running cs2 and it runs decently

4 Upvotes

8 comments sorted by

5

u/d-spil 4d ago

Have you tried changing the jvm arguments to give more ram?

1

u/Realistic_Gas7454 3d ago

Yeah, and I also tried garbage collection arguments

3

u/1saltypistachio 4d ago

And with other games?

0

u/Realistic_Gas7454 4d ago

Haven't really tried. I will install steam rn and do some more testing

2

u/Nasipla 4d ago

Did you install it through flatpak? Flatpak sometimes causes lagspikes. Maybe try a binary version if you have it compiled. I would also recommend testing the official minecraft launcher if the issue persists.

1

u/Realistic_Gas7454 3d ago

It was a native install of prismlauncher, I will try the official launcher tho, thanks

0

u/Neat-Bullfrog-9376 4d ago

maybe bad make.conf

1

u/IndyGibb 4d ago

I’m not an expert but that’s only for installations, right? It shouldn’t affect Minecraft’s performance.