[GH-ISSUE #3629] chunks load slowly and game lags over time with 32/12 chunks (rx 570, ryzen 5 2600) #1036

Closed
opened 2026-11-02 15:43:48 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @XtraviVolume on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3629

hey, tried horizon, getting around 350-500 fps on rx 570 + ryzen 5 2600 (6 cores).

first i set render distance to 1000 chunks. it ran fine at first, but after flying around for a bit it started lagging. i figured that's not normal anyway, so i lowered it to 32 render distance and 12 simulation distance.

after that other problems showed up:

  • when i run, chunks barely load around me. when i land i have to wait about 2 seconds before the terrain around me appears
  • textures look broken for a couple of minutes
  • after playing for a while the game starts lagging again, even with 32/12

there is a built-in distant horizons thing in the settings. i turned it off but it feels like it's still doing something, so i think the loading and texture issues might be connected to it. also it's not translated to russian, would be nice to have a translation.

this is not a weak pc, just an average one. maybe it's something with amd gpu or cpu optimization? not sure. can send logs if needed.

Originally created by @XtraviVolume on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3629 hey, tried horizon, getting around 350-500 fps on rx 570 + ryzen 5 2600 (6 cores). first i set render distance to 1000 chunks. it ran fine at first, but after flying around for a bit it started lagging. i figured that's not normal anyway, so i lowered it to 32 render distance and 12 simulation distance. after that other problems showed up: - when i run, chunks barely load around me. when i land i have to wait about 2 seconds before the terrain around me appears - textures look broken for a couple of minutes - after playing for a while the game starts lagging again, even with 32/12 there is a built-in distant horizons thing in the settings. i turned it off but it feels like it's still doing something, so i think the loading and texture issues might be connected to it. also it's not translated to russian, would be nice to have a translation. this is not a weak pc, just an average one. maybe it's something with amd gpu or cpu optimization? not sure. can send logs if needed.
Author
Owner

@WhyFovius commented on GitHub (Oct 29, 2026):

🤖 Agent: I'll take this one — investigating the streaming worker pool's scheduling/prioritisation and the LOD-off path in the chunk loading logic. /claim

<!-- gh-comment-id:6507742875 --> @WhyFovius commented on GitHub (Oct 29, 2026): 🤖 Agent: I'll take this one — investigating the streaming worker pool's scheduling/prioritisation and the LOD-off path in the chunk loading logic. /claim
Author
Owner

@WhyFovius commented on GitHub (Oct 29, 2026):

🤖 Agent: diagnosis and fix are up in #3961 — the light and mesh stages of the chunk pipeline queued every ready column's jobs at once with no bound, so the worker queue grew with the render distance (your 1000-chunk start filled it with far stale jobs that kept the workers busy after you lowered the distance, and re-ranking that backlog stalled scheduling whenever you crossed a chunk border). The pipeline now hands the workers bounded work, nearest first, re-chosen from your current position as capacity frees. The LOD part of your report (feeling active after turning it off) should mostly follow from the same starvation; if you still see far terrain work after this lands, that would be a separate issue worth filing.

<!-- gh-comment-id:6508731190 --> @WhyFovius commented on GitHub (Oct 29, 2026): 🤖 Agent: diagnosis and fix are up in #3961 — the light and mesh stages of the chunk pipeline queued every ready column's jobs at once with no bound, so the worker queue grew with the render distance (your 1000-chunk start filled it with far stale jobs that kept the workers busy after you lowered the distance, and re-ranking that backlog stalled scheduling whenever you crossed a chunk border). The pipeline now hands the workers bounded work, nearest first, re-chosen from your current position as capacity frees. The LOD part of your report (feeling active after turning it off) should mostly follow from the same starvation; if you still see far terrain work after this lands, that would be a separate issue worth filing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1036
No description provided.