Insane stuttering on high end pc
I have a 4090, 7950x3d cpu and 32gb of ram. I have seen videos of people showcasing this mod so I decided to install it with bliss, sodium, iris, indium, C2ME, Noisium, Tectonic and Terralith as the videos show and I allocated 8gb of ram.
When I play, everything begins to stutter and I cannot move or look anywhere without stuttering. Anything higher than 128 LOD with minimal impact cpu load and distant generation set to false causes stutters. I feel like something is wrong because my computer is very powerful and has similar specs to the YouTubers who show off these mods with seemingly no issues.
46 Replies
Download spark mod then send spark report log or smth idk
also check if the cpu temps down immediately throttle
I installed spark, how do I get the logs?
more ram, i have 32 and about 20 allocated to mc, you defiantly dont need that much but being generous fixed my stuttering
I heard Minecraft gets worse when ram over 8gb is allocated
Search up Minecraft zgc flags
heres the spark heap summary https://spark.lucko.me/GsCOsw3Gi9
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
here's my instance settings
Idk why but I tried to record it and it looks smooth when watching the video in file explorer despite f3 showing 20-30fps
I was able to kinda record the stutters but it’s far worse than what the video is showing
Can you try with some more ram? I doubt it will fix the issue but it's worth trying
I’m trying 20gb right now and it runs smoother but still stutters occasionally
You could try ZGC instead of G1GC
How do I do that?
Inside the Java Parameters, replace
-XX+UseG1GC
with -XX:+UseZGC
Since you have a high enough Java version, you could also add the -XX:-ZGenerational
flag
Note, this flag only works with Java 21+ and with ZGCShould I keep ram on 20gb when using that?
Yea, you don't need to change that
You could also try to check how much RAM you should allocate exactly. You can find how to do that here: https://discord.com/channels/881614130614767666/881614131877269586/1270435414758653983
my java parameters are this
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:-ZGenerationalflag
and i got error: could not create java virtual machineIts without
flag
at the endOhh I see
they looked merged for me
remove
-XX:G1NewSizePercent=20
and -XX:G1ReservePercent=20
and XX:MaxGCPauseMillis=50
and -XX:G1HeapRegionSize=32M
as they are for G1
You can just copy and paste this ready set:
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ZGenerational -XX:+AlwaysPreTouch -XX:+UseFastUnorderedTimeStamps
Are these flags what you're using yourself?
the bottom ones yes
Imma try how they work for me. Currently I just have a weird mess of flags
im kinda confused on how to do this, a lot of it is around a few kb-mb and then theres some that's 4-7gb
I think it will be the sum of all 3
Sometimes it shows 4
Hmm, I kinda have the messages in a different memory
But yea, it should be the sum of all
Do I add all the orange numbers and then divide by how many numbers I counted?
Wait, I think theres a different spark command that might make it easier
Yeah it’s kinda hard to count it with gcmonitor since newer messages delete older ones and it doesn’t cut off perfectly
You would sum every Orange number in one messge with No dividing
Then sum multiple messages and divide by the message number
Enter
/sparkc profile start
. Do the stuff you would normal do, like exploring the world. After a bit, enter /sparkc profile stop
. Wait a second and a link should show up in chatwhen i watch f3 it does seem to peak at like 13-14gb for memory usage
Then set it to about 15GB
These are much better than my previous ones. Previously I had frequent stutters when moving around + Distant Generation. Now I almost have no stutters. Thanks for sharing these
no problem
are there any dh settings i should change like cpu usage, lod, quality, terrain generation, etc?
decreasing CPU load or disabling distant generation will reduce the CPU and RAM usage
But it will decrease LOD loading adn generating speed
https://spark.lucko.me/rlVqOs8Wv5 heres the link
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Afaik, the memory amount shown there is the average used in all of the profilers runtime, not the average memory amount the GC ran at, meaning the amount isn't usable.
Stick to 15GB, if like you said in f3 it peaks at 13-14GB
I tried everything but it still seems to stutter a bit, I don’t know how the people on YouTube get it to run so smooth like this guy https://youtu.be/gBMEwunuEUI
AsianHalfSquat
YouTube
The Best Minecraft Graphics Mod Is Available Now
The Distant Horizons update supporting shaders has officially arrived! It's now possible to experience Minecraft in a way you've never seen before. Enjoy!
-----------------------------------------------------------------------------------------------------------
MODS
Distant Horizons -
https://modrinth.com/mod/distanthorizons
Sodium -
ht...
14900K + 4090 is most likely the answer
I have a 7950x3d and 4090 which is comparable to their specs but I still stutter
7950x3d is usually better in most games due to 3d vcache
then maybe RAM of optimisation mods?
Try looking at this list: https://discord.com/channels/881614130614767666/1266678234104336417/1266751519642882080
i have a few of these but ill try download all of them
i thought nvidium doesnt work with shaders
It turns itself off
so it is safe
but yeah, it will only increase fps when you disable shaders
Okay I have some clues as to what it could be but I’m not sure, I am playing on my pc remotely through sunshine and moonlight, rarely it does a bug where I have to quit and reconnect and when I do, Minecraft is in bordered mode and it runs perfectly smoothly. When I press f11 or fullscreen it becomes stutters and does it even if I un-fullscreen again
When I go to settings it says that Minecraft is in fullscreen but I can see the white process title at the top of my screen
This also happens if I unplug and replug my monitor whilst playing, it says it’s fullscreen but shows the title bar at the top and it runs perfectly smoothly