yeenbean / zimas-vanillaplus

Zima's Vanilla+
MIT License
1 stars 0 forks source link

[Steam Deck Issue] Experiencing bad frame time when chunks generate or load #2

Open yeenbean opened 1 month ago

yeenbean commented 1 month ago

Describe the bug When chunks are generated or loaded into the world, the framerate can drop below 20 FPS. This is not considering initial loading or generation of the world, as that is to be expected. Rather, this is apparent during normal gameplay.

Expected behavior Framerate should be 30 FPS consistently during normal gameplay using default modpack configuration.

Steam Deck stuff:

yeenbean commented 1 month ago

Reducing number of cores allocated to chunk generation helps significantly. In fact, on the Deck, I can set the number of cores to just one and not only do chunks load at a reasonable rate, frametime does not reduce anywhere as significantly as it did on the default setting.

yeenbean commented 1 month ago

Frametime struggles roughly the same amount with shaders disabled. The issue disappears when standing still. Tweaks to chunk loading is necessary.

Changing the number of chunk update threads provides some improvement and diminishes the number of frame drops. However, it is still noticeable.

yeenbean commented 1 month ago

This issue appears in vanilla Minecraft! 🥰

yeenbean commented 1 month ago

This issue is likely not going to improve much more. I'm going to close this and merge the branch, but I'll continue investigating other areas where performance can be improved as this project develops.