mojira.dev
MC-166005

Stuttering when crossing chunk borders/loading chunks

Mod Notice

We are now closing this issue, because it has grown too indistinct. Note that Mojang is aware that this is still an issue but the contents of this report have grown outdated or unclear

If you still are experiencing this issue, please identify what the scenario is and submit specific bugs, so separate issues can be tracked separately. Also please make sure to include debug reports and all relevant information when reporting such bugs.

Note: Jira is not a discussion forum. If you have performance issues, follow the instructions above rather than posting further comments on this issue.

This bug can have multiple symptoms, including, but not limited to:

  • Crossing chunks in certain directions (MC-229115)

  • Rendering with generation

  • Entities spawning with generation

  • Biome identification (layed out in this comment)

  • Blocks rendering with different geometry (MC-261698)

Also, when this issue occurs, the a line like this:

Can't keep up! Is the server overloaded? Running 5000ms or 100 ticks behind

will be printed occasionally in the game console.

Sometimes this issue will become so bad that it will crash the server. In that case the crash report usually has a line like Description: Watching Server.

If you experience this issue, please run a complete debug dump by following these steps:

  1. Generate a debug report (Client Side):

    • Press F3 + L

  2. Generate a debug report (Server Side):

    • Run /perf start

    • Wait then run /perf stop

Those files will be generated in the debug folder of your Minecraft instance. If you are on singleplayer, access your game directory. If you are on server, report to your system administrator. If you don't have op permission, either ask your server admin to perform the dump, or if you are on singleplayer, open your world to LAN with cheats on.

The game stutters when crossing chunk borders while moving quickly, for example flying with an elytra. With my configuration, this was noticeable with a render distance of about 13 or more, while I was able to play on 1.14 with a render distance of 20 or even more without any stuttering.

Chunks at the edge of the render distance seem to be loaded all at once when entering a new chunk, which might contribute to the stuttering.

On 1.15-pre3 the stuttering is less noticeable, but can still be observed.

Linked issues

MC-150144 Moving through chunks creates CPU spikes on server Resolved MC-159603 Micro stutter when crossing into a new chunk Resolved MC-166772 lag peaks when changing chunks Resolved MC-174308 When i cross the chunk line game is stuned. Resolved MC-196808 Game microfreezes/lags when going through chunk borders Resolved

Attachments

Comments 81

LogicalGeekBoy

I'm seeing the same issue (see attached screenshot). Generally speaking the chunk loading is so much better, thank you! This test was done on a multiplayer server running 1.15-pre1. It's just a normal world, I changed to spectator mode and increased my speed a little, probably similar to elytra flight speed. I have my max FPS set to 120 and have a pretty good machine. As you can see from the screenshot, when I cross a chunk boundary there is a noticeable stutter. Thanks for the awesome work, 1.15 is shaping up very nicely!

 

[media]

Can confirm. Also happens when the chunk borders are not displayed (as those might be a potential cause for lag by themselves as well).

Affects 20w07a.

Same problem here

Vanilla minecraft 1.15.2, clean install

This is happening with my 2080ti, even in single player, new world, clean install of windows 10, no background apps running other than obs (but obs doesnt cause it).

I tested a gt710 in the same system, and it isnt stuttering anywhere near as much, and sometimes doesnt stutter at all when crossing chunk borders.

When testing with both cards, I used stock nvidia control panel settings, all default.  No overclocking. 

Nvidia driver 432.00 (stock windows 10 driver), although the driver version doesnt make any difference at all.

I tested with vsync on/off, framerate cap at 60fps/120fps/off.  A mixture of all, makes no difference.

Temperatures are in check, no overheating.  I tried underclocking the 2080ti memory/core clock in afterburner, and it didnt make any difference.

 Whenever i put the 2080ti in the computer, crossing chunk borders = stutters.  The 2080ti passes all stress tests, such as unique heaven and furmark, left for hours, no crashing/artifacts.

Maybe worth a mention.. When the mem : empties (garbage collection by pressing f3), there is a small micro stutter each time.  Alot worst on the 2080ti, hardly present on the gt710.

Strangely, i set up another computer, ryzen 3700x, 16gb ram, diifferent chipset, new clean install of windows 10, tried both the gt710 and 2080ti, new minecraft world, and still the 2080ti stutters when crossing chunk borders.   Its not the psu as i tested two different power supplies.

In game resolution / refresh rate seems to make no difference to the stuttering at chunk borders.  I tested both 1080p and 1440p.

Please watch the video below :

https://streamable.com/fwzx2u

or

https://youtu.be/it9nrux193w

71 more comments

And yes. I vote the 200th of this issue. This bug makes the game about to be unplayable (as least in vanilla Minecraft).

Still occurs in 23w18a, despite the fix of similar bug MC-162253.

Can confirm in 1.20 Pre-Release 4.

This also affects 1.20 since 1.20 RC 1 has been added as an affects version, right?

i experienced this to, im using optifine 1.20.4, i fix this by change chunk builder to threaded (before im using semi blocking and thats why i experienced this)

kuemmi

(Unassigned)

Confirmed

Platform

Very Important

Performance

mojang_internal_2

1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 20w07a, ..., 1.19.3 Release Candidate 3, 1.19.3, 1.19.4 Pre-release 3, 1.20 Pre-release 4, 1.20 Release Candidate 1

Retrieved