mojira.dev
MC-271105

Stuttering of 1–1.2 seconds every 4–5 seconds on macOS with 1.20.5 (lag spikes)

Since upgrading to 1.20.5, Minecraft (Java) on macOS 14.4 has become virtually unplayable as the entire game "stutters". The game freezes (FPS goes from 30–50 down to 9) for about one second every 4 to 5 seconds.

This occurs with single player, server, and Realms-based games.

This occurs regardless of what action the player is taking: walking, mining, turning in place, or even just standing still. The F3 debug screen visibly stutters (freezes) then resumes, for example.

It occurs with no mods, no resource packs, and no other customizations; strictly a "vanilla" game.

Downgrading to 1.20.4 is an instant improvement with none of the issues described above.

UPDATE: testing on a newer iMac with an M3 CPU as well as an older MacBook Pro with an Intel CPU show no problems, so the issue seems to occur only with my Mac Studio thus far.

UPDATE: see the `F3+2` charts which show the massive red lag spikes reported by @cooldogwalter, @galaxy_flutter, and myself.

Linked issues

Attachments

Comments

migrated

Hey,
Have you checked the graphic settings?
Also is your Mac up to date or powerful enough to run the program?

migrated

Thanks @K7Y, the graphic settings have been adjusted to be minimal. This Mac is a Mac Studio with an M1 Ultra CPU and is plenty powerful enough to run Minecraft.

I've done testing with a much older Macbook Pro and it doesn't show any problem, so the issue seems to be either with this Mac Studio or software also installed on it. However, as I mentioned in the report, downgrading Minecraft to 1.20.4 shows no problems whatsoever, so it's some combination of 1.20.5 and this platform.

migrated

I have same problem on MacBook Pro with M3 chips. And downgrading to 1.20.4 also works well.

I post a screenshot of debug screen with frame time graph(F3+2). Do you have same "peak" like these charts?

[media]
migrated

Experience the same issue, my laptop is a 14 inch M1 Pro with 16g memory, macos Monterey.

[Mod] turbo

We do not have enough information to find the cause of this issue.

While the lag occurs, please press F3 + L once, then wait a short moment until profiling has finished.
Afterwards, please attach the generated .zip file containing the profiling results here. The file path is shown in chat; the file can be found in [minecraft/debug/profiling/<DATE>.zip|https://minecrafthopper.net/help/finding-minecraft-data-folder/].

If you are playing on a server please additionally run the command /perf start to create a profiling report for the server. In case you do not have the permission to run this command, make sure that you're a server operator.
Once profiling has finished, please attach the generated .zip file from debug/profiling/<DATE>.zip of the server folder.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

Thanks for assist, @turbo! I've attached the two `.zip` files. Hope they help!

migrated
[media]

 

[media]

I am having the identical issue.  Every 5 seconds the frame rate drops to 10 or 15, just for 1 second, with a big red spike, then back up.  It does this regardless of settings, even when not moving within the game.  I'm using a brand new Mac Studio with 64G Ram and no other apps open.  It never did this before the update.

migrated

Thanks for adding your profiling log too, @cooldogwalter! 🎉

migrated

I uploaded my .zip file.

I found that there is a strange activity showing in the graph even the game is  paused and the fps will drop to 40.

[media]
migrated

Thank you @galaxy_flutter for adding your profiling log as well 🎉

migrated

Hi all, I had the same issue but checking ARM64 in the launcher settings seems to resolve it.

migrated

For those checking back here and want the quick workaround, here's what did it for me:

  1. In the Launcher, go to Settings (lower left), General, scroll down, and ensure that "Use Arm64 Java runtime for Minecraft: Java Edition" is checked.

  2. If you don't have this option, make sure to uncheck "Use beta version of the Launcher" and restart the Launcher; then check the box by "Use Arm64 Java runtime for Minecraft: Java Edition". (You can then go back to the beta after this if you like.)

  3. There's no step 3.

Enjoy.

migrated

Does anyone know the fix for playing on windows? I'm having the same issue but don't have the Arm64 Java option whether my beta version is checked or not.

I attached my log file, please send assistance 😃

violine1101

If you have this issue on Windows, please file a new bug report. Thanks!

migrated

Use the USB cable that came with the G305 to place the wireless receiver next to your mouse pad.

migrated

(Unassigned)

Community Consensus

Performance

1.20.5

Retrieved