Fix/driver pipeline retry after 2188 #2469

Manually merged
github merged 2 commits from github-bot/gh-2469 into main 2026-11-30 14:17:23 +00:00 AGit
Owner

@⁠NemesisDawn on GitHub · 2026-11-29 13:21 UTC · original
NemesisDawn:fix/driver-pipeline-retry-after-2188 → main · +313 −39 · 3 files · 2 commits · merged 2026-11-30 14:12 UTC

Fixes #

What it changes

How it was tested

  • GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing):
  • Before:
  • After:
  • For shader changes, the wave sizes tested (32 and/or 64 lanes):
  • cargo test passed for the crates it touches: yes / no

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #
**@⁠NemesisDawn** on GitHub · 2026-11-29 13:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2469) `NemesisDawn:fix/driver-pipeline-retry-after-2188` → `main` · +313 −39 · 3 files · 2 commits · merged 2026-11-30 14:12 UTC <!-- Thanks for the pull request. Please label it (pr-fix, pr-feature, pr-performance, pr-diagnostics, pr-refactor, pr-docs or pr-tests, plus the area labels), or put the label in the title, like [pr-fix]. --> Fixes # ## What it changes <!-- What was wrong, and what this does about it. --> ## How it was tested - GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing): - Before: - After: - For shader changes, the wave sizes tested (32 and/or 64 lanes): - `cargo test` passed for the crates it touches: yes / no ## Checked for overlap - [ ] I searched the open pull requests for the same issue and for the files this touches. Related: #
Depends on upstream PR #2188 at 9fd78e8. Keep recoverable D3D12 pipeline memory failures pending, space retries across workers, and stop waiting when no worker owns a deferred key. This is a dependency checkpoint for review after #2188 lands. The unmodified main wait loop can otherwise retain the full timeout.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 13:22:54 +00:00
Author
Owner

@⁠Ondra97 on GitHub · 2026-11-29 13:38 UTC · original · edited 2026-11-29 14:06 UTC

Independent Windows validation of the exact 9fd78e89..eb2b947 increment over a local #2263 + #2148 + #2188 control. The locked release build succeeded on Rust stable 1.100.0. The pipeline suite passed 79 tests, with two ignored.

On the RTX 4070 Ti SUPER (driver 621.40, 32 GB RAM), I ran Series X 2560×1440, DLSS Performance, RT requested, FG off, with 4096 MiB for GPU-upload windows and empty emulator image, shader, and pipeline caches. The existing driver cache remained in place.

The new outcome split was useful. During the 420-second probe, the memory guard reported physical soft-floor deferrals and the new native D3D12 retry marker did not appear. A concurrent one-second REA observation sampled an active thread in nvgpucomp64.dll, while the engine reported 541 MiB free physical RAM, 10,634 MiB available commit and one admitted compile. The final compile sample recorded 724 finished driver calls, 524 attempts deferred after waiting, and one still in flight. The title still had a large scheduler backlog at the end. No device fault occurred. This covers the soft-floor path and the synthetic cooldown regressions. It leaves the real native OOM retry path unexercised on this machine, and cold gameplay remained unverified.

Additional queue census on this same retry stack in a diagnostics build. A late RT-off sample reported WAITING=1,103. It contained 8 worker claims and 1,095 entries in REQUESTED, including 127 stale entries and 254 duplicate entries for objects already counted. The 714 distinct valid objects included 199 with a settled result and 515 unresolved keys. The raw queue count therefore includes more entries than there are live PSOs to compile. This is separate from the physical-memory throttling, which still let one admitted compiler call occupy the gate for long intervals. The snapshot does not establish that pruning these entries is sufficient to recover gameplay.

**@⁠Ondra97** on GitHub · 2026-11-29 13:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2469#issuecomment-7256686443) · edited 2026-11-29 14:06 UTC Independent Windows validation of the exact 9fd78e89..eb2b947 increment over a local #2263 + #2148 + #2188 control. The locked release build succeeded on Rust stable 1.100.0. The pipeline suite passed 79 tests, with two ignored. On the RTX 4070 Ti SUPER (driver 621.40, 32 GB RAM), I ran Series X 2560×1440, DLSS Performance, RT requested, FG off, with 4096 MiB for GPU-upload windows and empty emulator image, shader, and pipeline caches. The existing driver cache remained in place. The new outcome split was useful. During the 420-second probe, the memory guard reported physical soft-floor deferrals and the new native D3D12 retry marker did not appear. A concurrent one-second REA observation sampled an active thread in nvgpucomp64.dll, while the engine reported 541 MiB free physical RAM, 10,634 MiB available commit and one admitted compile. The final compile sample recorded 724 finished driver calls, 524 attempts deferred after waiting, and one still in flight. The title still had a large scheduler backlog at the end. No device fault occurred. This covers the soft-floor path and the synthetic cooldown regressions. It leaves the real native OOM retry path unexercised on this machine, and cold gameplay remained unverified. Additional queue census on this same retry stack in a diagnostics build. A late RT-off sample reported WAITING=1,103. It contained 8 worker claims and 1,095 entries in REQUESTED, including 127 stale entries and 254 duplicate entries for objects already counted. The 714 distinct valid objects included 199 with a settled result and 515 unresolved keys. The raw queue count therefore includes more entries than there are live PSOs to compile. This is separate from the physical-memory throttling, which still let one admitted compiler call occupy the gate for long intervals. The snapshot does not establish that pruning these entries is sufficient to recover gameplay.
github manually merged commit 97593f46c2 into main 2026-11-30 14:17:23 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/trustno1-coder--VIctory-NVIDIA!2469
No description provided.