[Performance] Severe FPS drop (~36 FPS) in Market_Child looking toward Temple of Time due to actor turf pool exploding to 7M–9.5M records #2955

Closed
opened 2026-12-01 15:07:30 +00:00 by MoFan · 2 comments

Longshot version

nightly-971-4908cc6d (source 48e09e85)

Channel

Nightly

What kind of problem

Low fps or stutter

What happened

Summary

In nightly-971-4908cc6d, looking toward the Temple of Time entrance from Castle Town Market (Market_Child) causes a severe GPU-bound FPS drop from 60 FPS down to ~36 FPS (GPU frame time jumps from ~9 ms to 24.0 ms, longest submission from ~4 ms to 16.0–16.4 ms).

Surprisingly, open grassy areas like HyruleField_Child and SacredForestMeadow_Child run at 60 FPS with the exact same settings in the same session, whereas Market_Child (mostly stone pavement with very little visible grass) triggers massive actor turf buffer expansion up to 7,012,352 – 9,502,720 blade records (321–435 MB per pool, ~1.4–1.8 GB total across the 4 pools + 2 blade lists).

In v3.2.0 (which does not use the new actor turf renderer), the exact same camera angle in Market_Child stays locked at 60.0 FPS (GPU 8.8 ms, peak turf pool demand only 146,999 / 169,376 records = 7.8 MB).

Simulated Turf Settings (note: omitted from report.txt)

From settings.ini:

  • sim_turf_actor_renderer=1 (Longshot)
  • sim_turf_actor_blades=150
  • sim_turf_actor_reach=100
  • sim_turf_actor_fade_start=43 (Max preset)

(Side note: sim_turf_* settings do not currently appear under "Changes from the defaults" in report.txt.)

Key Log Evidence

1. nightly-971-4908cc6d — Market_Child looking toward Temple of Time (2026-12-01_21-44-40/longshot_log.txt)

  • Starts with: actor turf population: 445 resident tiles, 0.125-unit patch pitch, 138240 blade records available
  • As the camera faces the Temple of Time road, the turf pools repeatedly resize in lockstep with GPU time spikes (even while draw calls decrease from ~2700 to ~1983):
    • 458,752 records (21 MB/pool) → 8.8 ms GPU (max_sub 3.7 ms), 60.7 FPS (2704 draws)
    • 2,490,368 records (114 MB/pool) → 9.6 ms GPU (max_sub 6.0 ms), 60.0 FPS (2317 draws)
    • 4,194,304 records (192 MB/pool) → 12.5 ms GPU (max_sub 9.2 ms), 59.0 FPS (2168 draws)
    • 5,439,488 records (249 MB/pool) → 16.7 ms GPU (max_sub 13.1 ms), 47.4 FPS (2524 draws)
    • 7,012,352 records (321 MB/pool) → 24.0 ms GPU (max_sub 16.0 ms), 36.5–36.8 FPS (1983 draws)
  • Confirmed pure GPU bottleneck: 0 shader/pipeline waits, ~9.0/23.0 GB VRAM used, render thread idle 18.41 ms / 27.07 ms, MainThread nvn: GPU waits in 5 s: 184 sync waits (3810 ms).
  • In two earlier runs in Market_Child, the pools expanded even further to 8,912,896 records (408 MB/pool) and 9,502,720 records (435 MB/pool).

2. Same session in nightly-971-4908cc6d — Open grassy maps vs Market_Child (longshot_log.1.txt)

With the exact same Max turf preset:

  • HyruleField_Child: median 60.0 FPS, median GPU 12.8–13.3 ms (max 14.6–15.9 ms, max_sub 6.7–8.3 ms)
  • SacredForestMeadow_Child: 59.1–60.0 FPS, median GPU 8.4 ms (max 9.3 ms, max_sub 4.9 ms)
  • Market_Child (4 separate visits in the same run): drops to 34.8–37.1 FPS, GPU 23.4–25.5 ms (max_sub 17.0–32.2 ms)

3. Control comparison — v3.2.0 at the exact same spot (2026-12-01_22-01-16/longshot_log.txt)

  • Same 4K output / DLSS Quality (2560×1440) / Native HDR (PsychoV35) / dlss_pre_bloom=1 / 3072-texel nearest shadow cascade / ~1945–2115 draws.
  • Uses old simulated turf (global multipliers): peak demand only blade 167,927/209,920, pool 146,999/169,376 records (7.8 MB) — ~47× fewer records than nightly-971.
  • Result: 60.0 FPS, GPU 8.7–8.9 ms (max_sub 3.7–3.8 ms).

Question / Hypothesis

Why does actor turf generate 7M–9.5M blade records in Market_Child (where very little grass is visible) — far worse than HyruleField_Child? It looks like actor turf population (0.125-unit patch pitch, 445 resident tiles) may be over-populating terrain tiles or accumulating excessive blade records specifically in Market_Child near the Temple of Time area.

Where in the game

Market_Child (child)

How often

Every time

Graphics card and driver version

NVIDIA GeForce RTX 3090, NVIDIA 617.42

CPU, RAM and operating system

13th Gen Intel(R) Core(TM) i7-13700K (24 threads), 32 GB, Windows 11 (build 26300)

Changes from the defaults

DLAA before the bloom: On (default: Off)
NVIDIA Reflex: On (default: Off)
Fullscreen: On (default: Off)
V-Sync: Off (default: Auto)
CRT lines: 720 (default: 240)
HDR: Native (the game's) (default: Off)
HDR paper white: 250 nits (default: 200 nits)
HDR tone mapper: PsychoV35 (default: Vanilla)
Shadow resolution: Highest (default: Auto)
Microphone: a microphone by its name (default: Default)
FPS counter: Dev (default: Off)
Sampler cache: On (default: Off)

longshot_log.txt

Attached both log files:

  • longshot_log_nightly971.txt (nightly-971-4908cc6d, Market_Child looking toward Temple of Time)
  • longshot_log_v320.txt (v3.2.0 control comparison at the same camera angle)

Screenshots or video

No response

Before you send it

  • The problem is still there on the newest release or nightly.
  • I searched the open issues for it.
  • I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
### Longshot version nightly-971-4908cc6d (source 48e09e85) ### Channel Nightly ### What kind of problem Low fps or stutter ### What happened ### Summary In `nightly-971-4908cc6d`, looking toward the Temple of Time entrance from Castle Town Market (`Market_Child`) causes a severe GPU-bound FPS drop from 60 FPS down to **~36 FPS** (GPU frame time jumps from ~9 ms to **24.0 ms**, longest submission from ~4 ms to **16.0–16.4 ms**). Surprisingly, open grassy areas like `HyruleField_Child` and `SacredForestMeadow_Child` run at **60 FPS** with the exact same settings in the same session, whereas `Market_Child` (mostly stone pavement with very little visible grass) triggers massive `actor turf` buffer expansion up to **7,012,352 – 9,502,720 blade records** (321–435 MB per pool, ~1.4–1.8 GB total across the 4 pools + 2 blade lists). In `v3.2.0` (which does not use the new `actor turf` renderer), the exact same camera angle in `Market_Child` stays locked at **60.0 FPS** (`GPU 8.8 ms`, peak turf pool demand only `146,999 / 169,376` records = 7.8 MB). ### Simulated Turf Settings (note: omitted from `report.txt`) From `settings.ini`: - `sim_turf_actor_renderer=1` (`Longshot`) - `sim_turf_actor_blades=150` - `sim_turf_actor_reach=100` - `sim_turf_actor_fade_start=43` (`Max` preset) *(Side note: `sim_turf_*` settings do not currently appear under "Changes from the defaults" in `report.txt`.)* ### Key Log Evidence #### 1. `nightly-971-4908cc6d` — `Market_Child` looking toward Temple of Time (`2026-12-01_21-44-40/longshot_log.txt`) - Starts with: `actor turf population: 445 resident tiles, 0.125-unit patch pitch, 138240 blade records available` - As the camera faces the Temple of Time road, the turf pools repeatedly resize in lockstep with GPU time spikes (even while draw calls *decrease* from ~2700 to ~1983): - `458,752` records (21 MB/pool) → `8.8 ms` GPU (`max_sub 3.7 ms`), **60.7 FPS** (2704 draws) - `2,490,368` records (114 MB/pool) → `9.6 ms` GPU (`max_sub 6.0 ms`), **60.0 FPS** (2317 draws) - `4,194,304` records (192 MB/pool) → `12.5 ms` GPU (`max_sub 9.2 ms`), **59.0 FPS** (2168 draws) - `5,439,488` records (249 MB/pool) → `16.7 ms` GPU (`max_sub 13.1 ms`), **47.4 FPS** (2524 draws) - `7,012,352` records (321 MB/pool) → **`24.0 ms` GPU (`max_sub 16.0 ms`), 36.5–36.8 FPS** (1983 draws) - Confirmed pure GPU bottleneck: 0 shader/pipeline waits, ~9.0/23.0 GB VRAM used, render thread idle 18.41 ms / 27.07 ms, MainThread `nvn: GPU waits in 5 s: 184 sync waits (3810 ms)`. - In two earlier runs in `Market_Child`, the pools expanded even further to **8,912,896** records (408 MB/pool) and **9,502,720** records (435 MB/pool). #### 2. Same session in `nightly-971-4908cc6d` — Open grassy maps vs `Market_Child` (`longshot_log.1.txt`) With the exact same `Max` turf preset: - `HyruleField_Child`: median **60.0 FPS**, median GPU **12.8–13.3 ms** (max 14.6–15.9 ms, `max_sub` 6.7–8.3 ms) - `SacredForestMeadow_Child`: **59.1–60.0 FPS**, median GPU **8.4 ms** (max 9.3 ms, `max_sub` 4.9 ms) - `Market_Child` (4 separate visits in the same run): drops to **34.8–37.1 FPS**, GPU **23.4–25.5 ms** (`max_sub` 17.0–32.2 ms) #### 3. Control comparison — `v3.2.0` at the exact same spot (`2026-12-01_22-01-16/longshot_log.txt`) - Same 4K output / DLSS Quality (2560×1440) / Native HDR (PsychoV35) / `dlss_pre_bloom=1` / 3072-texel nearest shadow cascade / ~1945–2115 draws. - Uses old simulated turf (`global multipliers`): peak demand only `blade 167,927/209,920`, `pool 146,999/169,376 records` (7.8 MB) — **~47× fewer records** than `nightly-971`. - Result: **60.0 FPS**, GPU **8.7–8.9 ms** (`max_sub` 3.7–3.8 ms). ### Question / Hypothesis Why does `actor turf` generate 7M–9.5M blade records in `Market_Child` (where very little grass is visible) — far worse than `HyruleField_Child`? It looks like `actor turf` population (`0.125-unit patch pitch`, 445 resident tiles) may be over-populating terrain tiles or accumulating excessive blade records specifically in `Market_Child` near the Temple of Time area. ### Where in the game Market_Child (child) ### How often Every time ### Graphics card and driver version NVIDIA GeForce RTX 3090, NVIDIA 617.42 ### CPU, RAM and operating system 13th Gen Intel(R) Core(TM) i7-13700K (24 threads), 32 GB, Windows 11 (build 26300) ### Changes from the defaults DLAA before the bloom: On (default: Off) NVIDIA Reflex: On (default: Off) Fullscreen: On (default: Off) V-Sync: Off (default: Auto) CRT lines: 720 (default: 240) HDR: Native (the game's) (default: Off) HDR paper white: 250 nits (default: 200 nits) HDR tone mapper: PsychoV35 (default: Vanilla) Shadow resolution: Highest (default: Auto) Microphone: a microphone by its name (default: Default) FPS counter: Dev (default: Off) Sampler cache: On (default: Off) ### longshot_log.txt Attached both log files: - `longshot_log_nightly971.txt` (`nightly-971-4908cc6d`, `Market_Child` looking toward Temple of Time) - `longshot_log_v320.txt` (`v3.2.0` control comparison at the same camera angle) ### Screenshots or video _No response_ ### Before you send it - [x] The problem is still there on the newest release or nightly. - [x] I searched the open issues for it. - [x] I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
Member

Possibly related, for context:

  • PR #2772 feat(vk): populate simulated turf around Link — Merged actor turf renderer introducing the population path/settings; new issue may expose excessive market pool growth.
  • issue #2021 Game: About 40 FPS standing still at Hyrule Market fountain on RX 6800 XT (Linux) — Similar low FPS reported in Market, but different GPU and no established turf-pool cause.
  • issue #2251 Game: oversized simulated-turf mesh draw exceeds device workgroup limit — Related simulated-turf pool/workload limits, but distinct flicker symptom and AMD hardware.
Possibly related, for context: - PR #2772 feat(vk): populate simulated turf around Link — Merged actor turf renderer introducing the population path/settings; new issue may expose excessive market pool growth. - issue #2021 Game: About 40 FPS standing still at Hyrule Market fountain on RX 6800 XT (Linux) — Similar low FPS reported in Market, but different GPU and no established turf-pool cause. - issue #2251 Game: oversized simulated-turf mesh draw exceeds device workgroup limit — Related simulated-turf pool/workload limits, but distinct flicker symptom and AMD hardware.
Author

Follow-up comparison: HyruleField_Child (0.250-unit) vs Market_Child (0.125-unit patch pitch)

Comparing a fresh nightly-971-4908cc6d capture in a heavy grassy area of HyruleField_Child (with Grass distance: 4x + the same Max turf preset) reveals a clear difference in actor turf patch pitch:

Metric HyruleField_Child (23-13-37) Market_Child (21-44-40)
actor turf population 5160 resident tiles, 0.250-unit patch pitch 445 resident tiles, 0.125-unit patch pitch
Grass distance 4x Game's (default)
Peak pool size 6,225,920 records (285 MB, resized twice) 7,012,352–9,502,720 records (321–435 MB, 20+ resizes)
Draws / frame 1,840–2,608 1,982–1,991
GPU frame time 13.5–15.0 ms 23.9–24.0 ms
Longest GPU submission 5.1–6.4 ms 16.0–16.4 ms (~3× longer)
Frame rate 58–60 FPS 36.5–36.8 FPS

Hypothesis

Because Market_Child uses a 0.125-unit patch pitch (half of Hyrule Field's 0.250-unit, i.e., 4× as many patches per unit area), if sim_turf_actor_blades (maximum blades per full-size patch) is not scaled down by patch area (or if fine-pitched terrain tiles are over-populated), Market_Child ends up packing 7M–9.5M blades at 4× spatial density into the relatively small vegetated area near the Temple of Time entrance—causing severe local overdraw and tripling the longest GPU submission compared to Hyrule Field.

Attached:

  • longshot_log_hyrulefield.txt & picture_hyrulefield.png (HyruleField_Child, 58–60 FPS)
  • picture_market_child.png (Market_Child looking toward Temple of Time, 36.7 FPS)
### Follow-up comparison: `HyruleField_Child` (`0.250-unit`) vs `Market_Child` (`0.125-unit` patch pitch) Comparing a fresh `nightly-971-4908cc6d` capture in a heavy grassy area of `HyruleField_Child` (with `Grass distance: 4x` + the same `Max` turf preset) reveals a clear difference in `actor turf` patch pitch: | Metric | `HyruleField_Child` (`23-13-37`) | `Market_Child` (`21-44-40`) | |---|---|---| | `actor turf population` | `5160 resident tiles, 0.250-unit patch pitch` | `445 resident tiles, 0.125-unit patch pitch` | | `Grass distance` | `4x` | `Game's` (default) | | Peak pool size | `6,225,920` records (285 MB, resized twice) | `7,012,352`–`9,502,720` records (321–435 MB, 20+ resizes) | | Draws / frame | 1,840–2,608 | 1,982–1,991 | | GPU frame time | **13.5–15.0 ms** | **23.9–24.0 ms** | | Longest GPU submission | **5.1–6.4 ms** | **16.0–16.4 ms** (~3× longer) | | Frame rate | **58–60 FPS** | **36.5–36.8 FPS** | #### Hypothesis Because `Market_Child` uses a `0.125-unit` patch pitch (half of Hyrule Field's `0.250-unit`, i.e., **4× as many patches per unit area**), if `sim_turf_actor_blades` (maximum blades per full-size patch) is not scaled down by patch area (or if fine-pitched terrain tiles are over-populated), `Market_Child` ends up packing 7M–9.5M blades at **4× spatial density** into the relatively small vegetated area near the Temple of Time entrance—causing severe local overdraw and tripling the longest GPU submission compared to Hyrule Field. Attached: - `longshot_log_hyrulefield.txt` & `picture_hyrulefield.png` (`HyruleField_Child`, 58–60 FPS) - `picture_market_child.png` (`Market_Child` looking toward Temple of Time, 36.7 FPS)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
MagicBeanDev/Longshot#2955
No description provided.