[GH-ISSUE #718] [performance] FPS halves from render distance 48 to 64 (90 → 50 FPS); LOD for far chunks? #214

Closed
opened 2026-11-02 15:37:21 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/718

🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

Reported on Discord by furyfire in #general (message), testing the new render distance cap (#673).

What happens: render distance 48: about 90 FPS. Render distance 64: about 50 FPS (61 FPS with CPU 11.5 ms in their screenshot). Apple M4 Pro, Metal.

Notes:

  • rdbt reports 300 → 600 FPS at render and simulation distance 32 with --server-thread, so part of the cost is ticking on the render thread (perf-ticks-5 is making the server thread the default).
  • The rest grows with distance: draw submission per section (perf-frame-2, #678), and terrain mesh and visibility work.
  • furyfire suggests LOD for far chunks (like Distant Horizons or Voxy). Any LOD would be our own implementation, written from scratch, not a port of their code.

Related: #678 (RD32 frame pacing).

Originally created by @ludovic111 on GitHub (Oct 17, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/718 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. Reported on Discord by **furyfire** in #general ([message](https://discord.com/channels/1559227979002028052/1559227979559731353/1561047414176227389)), testing the new render distance cap (#673). **What happens:** render distance 48: about **90 FPS**. Render distance 64: about **50 FPS** (61 FPS with CPU 11.5 ms in their screenshot). Apple M4 Pro, Metal. **Notes:** - rdbt reports 300 → 600 FPS at render and simulation distance 32 with `--server-thread`, so part of the cost is ticking on the render thread (perf-ticks-5 is making the server thread the default). - The rest grows with distance: draw submission per section (perf-frame-2, #678), and terrain mesh and visibility work. - furyfire suggests LOD for far chunks (like Distant Horizons or Voxy). Any LOD would be our own implementation, written from scratch, not a port of their code. Related: #678 (RD32 frame pacing).
bsakaguchi 2026-11-02 15:37:21 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 17, 2026):

Claimed by Cosmic on Discord (GitHub: Online5277), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #718).

<!-- gh-comment-id:6239367936 --> @ludovic111 commented on GitHub (Oct 17, 2026): Claimed by `Cosmic` on Discord (GitHub: `Online5277`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #718). <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 17, 2026):

Unclaimed by Cosmic on Discord: this issue is free to take.

<!-- gh-comment-id:6240069726 --> @ludovic111 commented on GitHub (Oct 17, 2026): Unclaimed by `Cosmic` on Discord: this issue is free to take. <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 17, 2026):

Claimed by Cosmic on Discord (GitHub: Online5277), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #718).

<!-- gh-comment-id:6241827380 --> @ludovic111 commented on GitHub (Oct 17, 2026): Claimed by `Cosmic` on Discord (GitHub: `Online5277`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #718). <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 21, 2026):

🤖 Agent: status from the P3 perf batch. I'm leaving this issue to its claimant (Cosmic, @Online5277; the claim runs until 11-04). #1029 (far terrain summaries and mesh inputs on the worker) has merged. Related: #1094 adopts vanilla's cave-culling rules. At RD 32 on the surface it draws 27–66% fewer sections, and frame time drops 16–40% on the Mac mini (M4 Pro), with similar drops on an HD 620. Fewer near sections leave more headroom for RD 48 to 64, but LOD for far chunks is still the open part of this issue.

<!-- gh-comment-id:6321742260 --> @ludovic111 commented on GitHub (Oct 21, 2026): 🤖 Agent: status from the P3 perf batch. I'm leaving this issue to its claimant (Cosmic, @Online5277; the claim runs until 11-04). #1029 (far terrain summaries and mesh inputs on the worker) has merged. Related: #1094 adopts vanilla's cave-culling rules. At RD 32 on the surface it draws 27–66% fewer sections, and frame time drops 16–40% on the Mac mini (M4 Pro), with similar drops on an HD 620. Fewer near sections leave more headroom for RD 48 to 64, but LOD for far chunks is still the open part of this issue.
Author
Owner

@rdbtCVS commented on GitHub (Oct 26, 2026):

🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Merged #771 supplies terrain LOD and #1094 improves cave culling, so the request for an LOD implementation has been addressed. The reported RD48-to-RD64 FPS drop still needs a comparable measurement. Recommend retaining or narrowing this issue until that performance result is checked.

<!-- gh-comment-id:6418377575 --> @rdbtCVS commented on GitHub (Oct 26, 2026): 🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Merged #771 supplies terrain LOD and #1094 improves cave culling, so the request for an LOD implementation has been addressed. The reported RD48-to-RD64 FPS drop still needs a comparable measurement. Recommend retaining or narrowing this issue until that performance result is checked.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

this issue is two weeks old, there has been many performance improvements, if this is still an issue open a new issue with updated profiling tests.

<!-- gh-comment-id:6537199647 --> @rdbtCVS commented on GitHub (Oct 31, 2026): this issue is two weeks old, there has been many performance improvements, if this is still an issue open a new issue with updated profiling tests.
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#214
No description provided.