r/MinecraftHelp • • 3d ago

WFOP [Java] my minecraft has been stuttering idk how to fix

every once in a while i get these lag spikes of fps dropping down from 70 to 90 or something but when i go in borderless and then back to full screen my fps go back to normal. i usually get around 1200 fps i got a decent gaming laptop rtx 5050 32gigs ddr5 intel 7 240h but for some reason it just stutters i tried removing my mods but nothing working when i made a new version of minecraft same snapshot and everything without mods it worked out fine but if i turn off the mods on the one where i already had mods it goes back to stuttering any suggestions? (i mainly use modrith and lunar if that helps) version is 26.2 but it mainly started on 1.21.11 i tried to switch to newer version but didnt work i use fabric btw not forge or anything

1 Upvotes

4 comments sorted by

•

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 3d ago

It looks like you didn't mention your version (e.g., 26.1, 1.21.11, 1.12.2 etc.). Please clarify for better help!

OP, remember to award points to helpers, and mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another ^comment.

Links:

Moderator applications open || How to mark solved || How to delete your post || FAQ || Rules

1

u/Available-Squash1021 Apprentice V 3d ago

The useful clue is that a brand-new instance of the same snapshot runs fine, but the old one still stutters even after you turn the mods off. Disabling or removing the mod jars does not reset the rest of that instance. The game directory still keeps options.txt, resource packs, and logs (see the Minecraft Wiki page on .minecraft), and a Fabric/Modrinth instance also keeps a config folder plus any shader packs those mods created. A fresh instance does not have those leftover files, which is why it stays smooth.

A few things to try on the stuttering instance:

  1. In that instance's folder, look at options.txt, resourcepacks, and (if present) config and shaderpacks. If you use a performance or shader mod, its settings can stay in config even after the jar is disabled. You can temporarily move options.txt and the config folder aside (don't delete them yet) and relaunch to see if the hitching stops.
  2. Toggling borderless and then back to fullscreen resetting your FPS is consistent with the game's display mode getting stuck, not with the laptop being too slow. Spikes from around 1200 FPS down to 70-90 are usually a hitch (chunk meshing, a pack/shader, garbage collection, or a present-wait), not weak hardware. In Video Settings, try Fullscreen on/off, VSync off, and a reasonable Max Framerate cap; running completely uncapped can make hitching feel worse.
  3. You mentioned both Modrinth and Lunar. If this instance is being launched through Lunar, Lunar adds its own client/overlay on top of the game. Launch the same instance from the Modrinth App or the vanilla launcher, with Lunar not involved, and see if the spikes remain.

If it still hitches after a clean options.txt/config test, post a latest.log from a session where it stuttered (the instance's logs folder) and a list of what was in mods and config.

1

u/FreaksMC Apprentice I 3d ago

The fact that switching to borderless and back fixes it points at Windows fullscreen or GPU switching, not your mods. A few things to try:

  • Just play in borderless (Video Settings, turn off Fullscreen, then maximize). On laptops this avoids a lot of fullscreen stutter.
  • Cap your FPS to your screen's refresh rate (or turn on VSync). Running at 1200 FPS makes the GPU spike and throttle on a laptop, and you feel it as stutter even though the number is high.
  • Make sure it uses the RTX GPU. In Windows Settings > System > Display > Graphics, add javaw.exe for your launcher and set it to High performance.
  • Laptop plugged in with the power mode on Best performance.

Since a fresh instance is fine but the old one stutters even with mods turned off, try copying your worlds into a fresh instance and only adding mods back a few at a time. Something in that old instance's config folder or options is probably the culprit.

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 1d ago

Hello OP! It has been at least 2 days since you last updated your post.

Please update your post in one of the following ways;

  • Reply to any relevant comments you haven't replied to yet.
  • Reply to any helpers who are waiting for info from you.
  • Mark your post solved, if your issue is fixed.

If you do not update your post within 7 days you may receive a short ban.

Please note: Deleting this post, without marking it solved, is against our rules.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.