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

Open
opened 2026-12-06 02:58:34 +00:00 by github-bot · 3 comments
Owner

@⁠sqxosj on GitHub · 2026-12-06 02:55 UTC · original

Environment

  • GPU: RTX 5070 Ti 16 GB, driver 621.47
  • CPU / RAM: Ryzen 7 9800X3D, 32 GB DDR5
  • Storage: 2 TB M.2 NVMe SSD (game installed on C:\)
  • OS: Windows 11
  • Build: larp-v1.1.6-windows-nvidia-FULL, launched with series-x.cmd (also reproduced on v1.1.5)
  • Settings: DLSS (preset M, Balanced), frame generation tested both on and off, Reflex boost, 4K output (also reproduced at 1440p)
  • Mods: none

Problem

While driving or walking, the game freezes for 1–3 seconds at irregular intervals. Overlay values during a freeze:

  • frame time 1100–2900 ms, 0.1% low 1 fps, longest frame up to ~3 s
  • GPU utilisation drops to ~19–27% (it is ~100% when standing still at ~26 fps base, so this is not a GPU-bound hitch)
  • VRAM 10–13 GB of the 13–14 GB budget, shared memory stays ~0.9 GB (no visible spill to system RAM)
  • RAM ~10 GB

Immediately after the freeze ends, a "compiling pipelines" message flashes at the top of the screen for a few milliseconds.

Observations

  1. The pipeline counter in the overlay keeps increasing while I explore (e.g. 4007 → 4424 between two captures; 4337 → 6820 across a longer session).
  2. After deleting Larp\cache and letting the startup precompile finish (~10 min, the startup line showed compiling 12 now, 37654 queued), freezes were worse, not better. Fresh shaders are not the fix.
  3. Texture streaming (streamed textures 2.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_budget default and 3500
  • frame generation on/off
  • 4K and 1440p output
  • Deleting the shader cache

Hypothesis (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.

**@⁠sqxosj** on GitHub · 2026-12-06 02:55 UTC · [original](https://github.com/gamingwithhomie/larp/issues/571) ## Environment - GPU: RTX 5070 Ti 16 GB, driver 621.47 - CPU / RAM: Ryzen 7 9800X3D, 32 GB DDR5 - Storage: 2 TB M.2 NVMe SSD (game installed on `C:\`) - OS: Windows 11 - Build: `larp-v1.1.6-windows-nvidia-FULL`, launched with `series-x.cmd` (also reproduced on v1.1.5) - Settings: DLSS (preset M, Balanced), frame generation tested both on and off, Reflex boost, 4K output (also reproduced at 1440p) - Mods: none ## Problem While driving or walking, the game freezes for 1–3 seconds at irregular intervals. Overlay values during a freeze: - frame time 1100–2900 ms, 0.1% low 1 fps, longest frame up to ~3 s - GPU utilisation drops to **~19–27%** (it is ~100% when standing still at ~26 fps base, so this is not a GPU-bound hitch) - VRAM 10–13 GB of the 13–14 GB budget, shared memory stays ~0.9 GB (no visible spill to system RAM) - RAM ~10 GB Immediately after the freeze ends, a "compiling pipelines" message flashes at the top of the screen for a few milliseconds. ## Observations 1. The pipeline counter in the overlay keeps increasing while I explore (e.g. 4007 → 4424 between two captures; 4337 → 6820 across a longer session). 2. After deleting `Larp\cache` and letting the startup precompile finish (~10 min, the startup line showed `compiling 12 now, 37654 queued`), freezes were **worse**, not better. Fresh shaders are not the fix. 3. Texture streaming (`streamed textures` 2.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_budget` default and 3500 - frame generation on/off - 4K and 1440p output - Deleting the shader cache ## Hypothesis (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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 02:58:34 +00:00
Author
Owner

@⁠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_s and frames_begun_meanwhile for 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.

**@⁠christopear** on GitHub · 2026-12-06 03:04 UTC · [original](https://github.com/gamingwithhomie/larp/issues/571#issuecomment-7450415636) Your hypothesis has a concrete path in v1.1.6. [ready()](https://github.com/gamingwithhomie/larp/blob/v1.1.6/crates/larp-gpu/src/pipeline/make.rs#L330-L360) can enter [wait_for()](https://github.com/gamingwithhomie/larp/blob/v1.1.6/crates/larp-gpu/src/pipeline/make.rs#L482-L530), 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](https://github.com/gamingwithhomie/larp/blob/v1.1.6/crates/larp-gpu/src/pipeline/make.rs#L985-L1040) 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](https://git.gtahub.st/github/gamingwithhomie--larp/pulls/435), with the limitations documented. For anyone reproducing with a diagnostics build, [end_episode()](https://github.com/gamingwithhomie/larp/blob/v1.1.6/crates/larp-gpu/src/pipeline/make.rs#L540-L561) already reports `made_by_title_threads`, `waits`, `longest_s` and `frames_begun_meanwhile` for 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](https://github.com/gamingwithhomie/larp/blob/v1.1.6/crates/larp-core/src/logging.rs#L46-L62) hides that debug line even if you raise the environment filter.
Author
Owner

@⁠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

**@⁠diasreuf** on GitHub · 2026-12-06 03:08 UTC · [original](https://github.com/gamingwithhomie/larp/issues/571#issuecomment-7450455232) · 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](https://github.com/user-attachments/files/35927979/play.log)
Author
Owner

@⁠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

**@⁠MrCovert1** on GitHub · 2026-12-06 03:09 UTC · [original](https://github.com/gamingwithhomie/larp/issues/571#issuecomment-7450476814) 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
This discussion has been locked. Commenting is limited to contributors.
No milestone
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
github/gamingwithhomie--larp#571
No description provided.