[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
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#2955
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_ChildandSacredForestMeadow_Childrun at 60 FPS with the exact same settings in the same session, whereasMarket_Child(mostly stone pavement with very little visible grass) triggers massiveactor turfbuffer 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 newactor turfrenderer), the exact same camera angle inMarket_Childstays locked at 60.0 FPS (GPU 8.8 ms, peak turf pool demand only146,999 / 169,376records = 7.8 MB).Simulated Turf Settings (note: omitted from
report.txt)From
settings.ini:sim_turf_actor_renderer=1(Longshot)sim_turf_actor_blades=150sim_turf_actor_reach=100sim_turf_actor_fade_start=43(Maxpreset)(Side note:
sim_turf_*settings do not currently appear under "Changes from the defaults" inreport.txt.)Key Log Evidence
1.
nightly-971-4908cc6d—Market_Childlooking toward Temple of Time (2026-12-01_21-44-40/longshot_log.txt)actor turf population: 445 resident tiles, 0.125-unit patch pitch, 138240 blade records available458,752records (21 MB/pool) →8.8 msGPU (max_sub 3.7 ms), 60.7 FPS (2704 draws)2,490,368records (114 MB/pool) →9.6 msGPU (max_sub 6.0 ms), 60.0 FPS (2317 draws)4,194,304records (192 MB/pool) →12.5 msGPU (max_sub 9.2 ms), 59.0 FPS (2168 draws)5,439,488records (249 MB/pool) →16.7 msGPU (max_sub 13.1 ms), 47.4 FPS (2524 draws)7,012,352records (321 MB/pool) →24.0 msGPU (max_sub 16.0 ms), 36.5–36.8 FPS (1983 draws)nvn: GPU waits in 5 s: 184 sync waits (3810 ms).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 vsMarket_Child(longshot_log.1.txt)With the exact same
Maxturf preset:HyruleField_Child: median 60.0 FPS, median GPU 12.8–13.3 ms (max 14.6–15.9 ms,max_sub6.7–8.3 ms)SacredForestMeadow_Child: 59.1–60.0 FPS, median GPU 8.4 ms (max 9.3 ms,max_sub4.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_sub17.0–32.2 ms)3. Control comparison —
v3.2.0at the exact same spot (2026-12-01_22-01-16/longshot_log.txt)dlss_pre_bloom=1/ 3072-texel nearest shadow cascade / ~1945–2115 draws.global multipliers): peak demand onlyblade 167,927/209,920,pool 146,999/169,376 records(7.8 MB) — ~47× fewer records thannightly-971.max_sub3.7–3.8 ms).Question / Hypothesis
Why does
actor turfgenerate 7M–9.5M blade records inMarket_Child(where very little grass is visible) — far worse thanHyruleField_Child? It looks likeactor turfpopulation (0.125-unit patch pitch, 445 resident tiles) may be over-populating terrain tiles or accumulating excessive blade records specifically inMarket_Childnear 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_Childlooking toward Temple of Time)longshot_log_v320.txt(v3.2.0control comparison at the same camera angle)Screenshots or video
No response
Before you send it
Possibly related, for context:
Follow-up comparison:
HyruleField_Child(0.250-unit) vsMarket_Child(0.125-unitpatch pitch)Comparing a fresh
nightly-971-4908cc6dcapture in a heavy grassy area ofHyruleField_Child(withGrass distance: 4x+ the sameMaxturf preset) reveals a clear difference inactor turfpatch pitch:HyruleField_Child(23-13-37)Market_Child(21-44-40)actor turf population5160 resident tiles, 0.250-unit patch pitch445 resident tiles, 0.125-unit patch pitchGrass distance4xGame's(default)6,225,920records (285 MB, resized twice)7,012,352–9,502,720records (321–435 MB, 20+ resizes)Hypothesis
Because
Market_Childuses a0.125-unitpatch pitch (half of Hyrule Field's0.250-unit, i.e., 4× as many patches per unit area), ifsim_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_Childends 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_Childlooking toward Temple of Time, 36.7 FPS)