Multi-second frame stalls from sequential pipeline waits — RTX 3090 / v2026.11.30.03 #4662

Closed
opened 2026-12-01 00:53:58 +00:00 by KesreI · 1 comment
KesreI commented 2026-12-01 00:53:58 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by KesreI on 2026-12-01T00:53:58Z.


1. Summary

Following my previous report in #4391 and the driver compatibility investigation in #4630, I completed an additional gameplay session lasting approximately 11 minutes and 39 seconds.

The previously reported compute pipeline creation failures are no longer reproducible after updating to NVIDIA driver 621.40.

However, the latest runtime log reveals a separate issue: multiple sequential screen-pass pipeline waits within a single frame, resulting in multi-second stalls.

2. System specifications

  • CPU: Intel Core i9-10900K @ 5.0 GHz (all cores)
  • GPU: NVIDIA GeForce RTX 3090 24 GB
  • RAM: 64 GB DDR4-3600
  • Motherboard: ASUS ROG Maximus XII Apex (Z490)
  • NVIDIA driver: 621.40
  • OS: Windows 11 Pro
  • VIctory: v2026.11.30.03

Runtime settings

  • Console: Series S
  • Internal resolution setting: 720p
  • DLSS: Quality, preset K
  • Frame Generation: FSR 2x
  • Async Submit: ON
  • Texture No Wait: ON
  • Card Steps: 2
  • Lazy Compare: 64 MB
  • Indirect Batch: 2
  • Relay: 2

Existing shader and pipeline caches were retained. Complete launch switches are included in the attached log.

3. Pipeline wait statistics

Across the recorded session:

  • Screen-pass pipeline waits: 29
  • Distinct frame IDs affected: 25
  • Median individual wait: 936 ms
  • Longest individual wait: 3,048 ms
  • Total recorded wait duration: 32,455 ms
  • Longest recorded frame: 10,132.1 ms
  • Host pipelines newly created: 366
  • Host pipelines loaded: 2,384
  • Host pipeline creation failures: 0

All 29 screen-pass waits completed with made=true.

The problem is therefore not permanent pipeline creation failure, but excessive blocking during runtime pipeline creation.

4. Sequential pipeline waits within individual frames

Case A: Frame 47235

At 00:29:26–00:29:28 UTC, two sequential screen-pass pipeline waits occurred within the same frame:

First wait:

  • Duration: 3,048 ms
  • Mesh shader: 4ee6f065af29dd41
  • Pixel shader: b8b978cc56469d6d

Second wait:

  • Duration: 2,381 ms
  • Mesh shader: f1b5cf2ca8935bc7
  • Pixel shader: 5ab3a670d8e65f7f

Both waits completed with made=true.

Total pipeline wait duration: 5,429 ms.

The subsequent frame-time statistics reported:

frame times: 7 frames, median 85.2 ms,
p95 5495.4, p99 5495.4, longest 5495.4

The accumulated pipeline waits account for approximately 98.8% of the recorded maximum frame duration, strongly suggesting that sequential pipeline waits dominated this particular stall.

The same frame also recorded 60 dropped draws involving 11 pipelines that had not yet been made.

Case B: Frame 46036

Three sequential screen-pass pipeline waits were recorded:

  • 1,121 ms
  • 884 ms
  • 535 ms

Total wait duration: 2,540 ms.

Case C: Frame 47550

Two sequential screen-pass pipeline waits were recorded:

  • 695 ms
  • 746 ms

Total wait duration: 1,441 ms.

These observations suggest that the accumulation of multiple pipeline waits within a single frame deserves investigation.

5. Separate 10-second frame stall

At 00:25:17 UTC, the following frame-time statistics were recorded:

frame times: 3 frames, median 72.6 ms,
p95 10132.1, p99 10132.1, longest 10132.1

Corresponding telemetry:

  • GPU busy: approximately 1% by VIctory's queue-based counter.
  • No VIctory GPU work queued: 3,372.1 ms/frame.
  • GPU idle while the submitting thread was working: 23.5 ms/frame.
  • Submitting thread work: 61.4 ms/frame.
  • Submitting thread waiting for GPU: 0 ms.
  • Dedicated GPU memory usage: 12,997 MB.
  • Dedicated GPU memory budget: 23,558 MB.

These measurements represent the same three-frame reporting window, not the longest individual frame in isolation.

Most GPU idle time occurred outside marked submission work, and dedicated GPU memory was not exhausted.

Unlike Case A, the exact cause of this 10-second stall has not been established and may involve another blocking path.

6. Pipeline cache behavior

The existing host pipeline library was successfully loaded at startup.

  • Initial library size: 149,597,816 bytes
  • Final library size: 180,678,364 bytes
  • Newly created pipelines: 366
  • Loaded pipelines: 2,384

The severe stalls occurred despite an existing, functional pipeline cache.

At normal shutdown:

pipeline failures: 0 host pipelines failed (none),
0 shaders do not translate
failed=0 untranslated=0 retried=0 retry_made=0

No E_OUTOFMEMORY errors were recorded.

7. Questions for investigation

  • Can sequential screen-pass pipeline waits accumulate beyond the intended per-frame waiting budget?
  • Could these pipelines be prioritized or created earlier, before their first blocking use?
  • Could a shared per-frame waiting budget reduce extreme stalls while preserving rendering correctness?
  • Could additional diagnostics identify the blocking path responsible for the separate 10-second frame?

I understand that dropping important draws or screen passes can introduce visual corruption. I am not suggesting that pipeline waits should simply be disabled.

The objective is to reduce excessive blocking without sacrificing rendering correctness.

I have not yet performed a controlled replay to determine whether the same waits recur after the newly created pipelines have been cached.

  • #4391 — Persistent CPU submission and resource refresh overhead.
  • #4447 — Multi-second gameplay freezes.
  • #4248 — Runtime pipeline compilation stalls and CPU preparation costs.
  • #4630 — NVIDIA driver compatibility investigation.

9. Attached log

victory-nvidia-play-20261201-001851-23508.log

The complete runtime log is attached for further investigation.

Log analysis and report preparation were AI-assisted.

victory-nvidia-play-20261201-001851-23508.log

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6709682865 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4662). Originally posted by [KesreI](https://github.com/KesreI) on 2026-12-01T00:53:58Z. --- ## 1. Summary Following my previous report in #4391 and the driver compatibility investigation in #4630, I completed an additional gameplay session lasting approximately 11 minutes and 39 seconds. The previously reported compute pipeline creation failures are no longer reproducible after updating to NVIDIA driver 621.40. However, the latest runtime log reveals a separate issue: multiple sequential screen-pass pipeline waits within a single frame, resulting in multi-second stalls. ## 2. System specifications - CPU: Intel Core i9-10900K @ 5.0 GHz (all cores) - GPU: NVIDIA GeForce RTX 3090 24 GB - RAM: 64 GB DDR4-3600 - Motherboard: ASUS ROG Maximus XII Apex (Z490) - NVIDIA driver: 621.40 - OS: Windows 11 Pro - VIctory: v2026.11.30.03 ### Runtime settings - Console: Series S - Internal resolution setting: 720p - DLSS: Quality, preset K - Frame Generation: FSR 2x - Async Submit: ON - Texture No Wait: ON - Card Steps: 2 - Lazy Compare: 64 MB - Indirect Batch: 2 - Relay: 2 Existing shader and pipeline caches were retained. Complete launch switches are included in the attached log. ## 3. Pipeline wait statistics Across the recorded session: - Screen-pass pipeline waits: 29 - Distinct frame IDs affected: 25 - Median individual wait: 936 ms - Longest individual wait: 3,048 ms - Total recorded wait duration: 32,455 ms - Longest recorded frame: 10,132.1 ms - Host pipelines newly created: 366 - Host pipelines loaded: 2,384 - Host pipeline creation failures: 0 All 29 screen-pass waits completed with `made=true`. The problem is therefore not permanent pipeline creation failure, but excessive blocking during runtime pipeline creation. ## 4. Sequential pipeline waits within individual frames ### Case A: Frame 47235 At 00:29:26–00:29:28 UTC, two sequential screen-pass pipeline waits occurred within the same frame: First wait: - Duration: 3,048 ms - Mesh shader: `4ee6f065af29dd41` - Pixel shader: `b8b978cc56469d6d` Second wait: - Duration: 2,381 ms - Mesh shader: `f1b5cf2ca8935bc7` - Pixel shader: `5ab3a670d8e65f7f` Both waits completed with `made=true`. **Total pipeline wait duration: 5,429 ms.** The subsequent frame-time statistics reported: frame times: 7 frames, median 85.2 ms, p95 5495.4, p99 5495.4, longest 5495.4 The accumulated pipeline waits account for approximately 98.8% of the recorded maximum frame duration, strongly suggesting that sequential pipeline waits dominated this particular stall. The same frame also recorded 60 dropped draws involving 11 pipelines that had not yet been made. ### Case B: Frame 46036 Three sequential screen-pass pipeline waits were recorded: - 1,121 ms - 884 ms - 535 ms **Total wait duration: 2,540 ms.** ### Case C: Frame 47550 Two sequential screen-pass pipeline waits were recorded: - 695 ms - 746 ms **Total wait duration: 1,441 ms.** These observations suggest that the accumulation of multiple pipeline waits within a single frame deserves investigation. ## 5. Separate 10-second frame stall At 00:25:17 UTC, the following frame-time statistics were recorded: frame times: 3 frames, median 72.6 ms, p95 10132.1, p99 10132.1, longest 10132.1 Corresponding telemetry: - GPU busy: approximately 1% by VIctory's queue-based counter. - No VIctory GPU work queued: 3,372.1 ms/frame. - GPU idle while the submitting thread was working: 23.5 ms/frame. - Submitting thread work: 61.4 ms/frame. - Submitting thread waiting for GPU: 0 ms. - Dedicated GPU memory usage: 12,997 MB. - Dedicated GPU memory budget: 23,558 MB. These measurements represent the same three-frame reporting window, not the longest individual frame in isolation. Most GPU idle time occurred outside marked submission work, and dedicated GPU memory was not exhausted. Unlike Case A, the exact cause of this 10-second stall has not been established and may involve another blocking path. ## 6. Pipeline cache behavior The existing host pipeline library was successfully loaded at startup. - Initial library size: 149,597,816 bytes - Final library size: 180,678,364 bytes - Newly created pipelines: 366 - Loaded pipelines: 2,384 The severe stalls occurred despite an existing, functional pipeline cache. At normal shutdown: pipeline failures: 0 host pipelines failed (none), 0 shaders do not translate failed=0 untranslated=0 retried=0 retry_made=0 No E_OUTOFMEMORY errors were recorded. ## 7. Questions for investigation - Can sequential screen-pass pipeline waits accumulate beyond the intended per-frame waiting budget? - Could these pipelines be prioritized or created earlier, before their first blocking use? - Could a shared per-frame waiting budget reduce extreme stalls while preserving rendering correctness? - Could additional diagnostics identify the blocking path responsible for the separate 10-second frame? I understand that dropping important draws or screen passes can introduce visual corruption. I am not suggesting that pipeline waits should simply be disabled. The objective is to reduce excessive blocking without sacrificing rendering correctness. I have not yet performed a controlled replay to determine whether the same waits recur after the newly created pipelines have been cached. ## 8. Related reports - #4391 — Persistent CPU submission and resource refresh overhead. - #4447 — Multi-second gameplay freezes. - #4248 — Runtime pipeline compilation stalls and CPU preparation costs. - #4630 — NVIDIA driver compatibility investigation. ## 9. Attached log `victory-nvidia-play-20261201-001851-23508.log` The complete runtime log is attached for further investigation. Log analysis and report preparation were AI-assisted. [victory-nvidia-play-20261201-001851-23508.log](https://github.com/user-attachments/files/35649818/victory-nvidia-play-20261201-001851-23508.log)
tyr0nsur commented 2026-12-01 00:59:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-12-01T00:59:43Z.


I checked the wait path in the v2026.11.30.03 source. Draws in the screen budget share 10,000 ms of wait time per title frame by default, separately from the normal 500 ms budget. The first 3,048 ms in frame 47235 would leave about 6,952 ms for the other screen-budget waits before any further reservations. The second wait of 2,381 ms fits, so the trace is consistent with the existing budget. Default limits · Wait accounting

The log's screen label also covers ordinary graphics draws assigned that budget by VICTORY_PIPELINE_WAIT_ALL, which defaults on. VICTORY_SCREEN_EARLY=1 queues actual screen passes at creation, so the log label alone cannot establish whether those two pipeline keys are eligible. Budget classification · Early queue

The cleanest comparison is the same save and route with the library you already built and the same switches. Check whether those two shader pairs wait again and whether the separate ~10 s stall recurs. That would give two useful signals while keeping the current rendering behavior.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7296969719 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4662#issuecomment-7296969719). Originally posted by [tyr0nsur](https://github.com/tyr0nsur) on 2026-12-01T00:59:43Z. --- I checked the wait path in the v2026.11.30.03 source. Draws in the screen budget share 10,000 ms of wait time per title frame by default, separately from the normal 500 ms budget. The first 3,048 ms in frame 47235 would leave about 6,952 ms for the other screen-budget waits before any further reservations. The second wait of 2,381 ms fits, so the trace is consistent with the existing budget. [Default limits](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/pipeline/make.rs#L550-L573) · [Wait accounting](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/pipeline/make.rs#L1089-L1159) The log's screen label also covers ordinary graphics draws assigned that budget by `VICTORY_PIPELINE_WAIT_ALL`, which defaults on. `VICTORY_SCREEN_EARLY=1` queues actual screen passes at creation, so the log label alone cannot establish whether those two pipeline keys are eligible. [Budget classification](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/pipeline/make.rs#L389-L393) · [Early queue](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/pipeline/make.rs#L895-L903) The cleanest comparison is the same save and route with the library you already built and the same switches. Check whether those two shader pairs wait again and whether the separate ~10 s stall recurs. That would give two useful signals while keeping the current rendering behavior.
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#4662
No description provided.