Recurring 1–3 s freezes with GPU load dropping to ~20%; "compiling pipelines" toast appears right after each freeze (v1.1.5 and v1.1.6, RTX 5070 Ti) #571
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#571
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?
@sqxosj on GitHub · 2026-12-06 02:55 UTC · original
Environment
C:\)larp-v1.1.6-windows-nvidia-FULL, launched withseries-x.cmd(also reproduced on v1.1.5)Problem
While driving or walking, the game freezes for 1–3 seconds at irregular intervals. Overlay values during a freeze:
Immediately after the freeze ends, a "compiling pipelines" message flashes at the top of the screen for a few milliseconds.
Observations
Larp\cacheand letting the startup precompile finish (~10 min, the startup line showedcompiling 12 now, 37654 queued), freezes were worse, not better. Fresh shaders are not the fix.streamed textures2.1 → 3.3 GB) also grew during one freeze, so I cannot rule it out as a contributor.Comparison on the same machine
Another build/port of the same game on the same PC, same route, same driving speed: no freezes. Longest frame stays ~157 ms with GPU at 100% and VRAM at 12.7 GB (so VRAM is not the difference).
That build starts with ~8k pipelines in its counter, this one starts with ~4k. The counter also keeps rising on the other build, so the count alone is not the cause; the difference may be when/where pipelines get created (blocking the render thread vs. ahead of time).
What I tried (no real change)
stream_budgetdefault and 3500Hypothesis (not verified)
New pipeline variants appear to be created synchronously on the render thread during gameplay, and the startup prewarm may only cover a subset of them (README notes "only previously-used variants"). This would match the GPU idling during the freeze and the toast appearing as it finishes.
@christopear on GitHub · 2026-12-06 03:04 UTC · original
Your hypothesis has a concrete path in v1.1.6. ready() can enter wait_for(), where the calling title thread can claim a queued pipeline and make it itself, or wait for another thread. A graphics blob on disk can let menu warm-up skip creating the live object. First use may still need that creation.
The progress panel samples every 250 ms and after startup only shows batches of at least ten. Its label compares loads and creations across a batch. The flash is consistent with a burst of work, but it doesn't time the blocking draw or exclude streaming.
A useful comparison with #537 would be the same short route twice in one process, then once more after restarting with the cache intact. Keep the same save, settings and route. If the first pass and restart hitch much more than the immediate repeat, #435 is a particularly relevant experiment. Its author has paired observations with retention off and on, with the limitations documented.
For anyone reproducing with a diagnostics build, end_episode() already reports
made_by_title_threads,waits,longest_sandframes_begun_meanwhilefor completed wait episodes lasting at least a second. Compare those timestamps with the freezes. An episode can span multiple frames. The normal release logging cap hides that debug line even if you raise the environment filter.@diasreuf on GitHub · 2026-12-06 03:08 UTC · original · edited 2026-12-06 03:13 UTC
I’m dealing with the same problem, the game runs stable 25-30 fps, no graphic glitches but freezes for 3-5 seconds sometimes, and GPU usage drops to 0% without any shader or pipeline warning
RTX 5060 TI 16GB
Core Ultra 245KF
16GB DDR5
NVME SSD
Using default Series S settings
play.log
@MrCovert1 on GitHub · 2026-12-06 03:09 UTC · original
Same here
AMD Ryzen 5 9600X 6-Core Processor, 3900 Mhz, 6 Core(s), 12 Logical Processor(s)
(RAM) 32.0 GB DDR5
NVIDIA RTX 5070