Skip to content

Fix/driver pipeline retry after 2188 - #2469

Merged
trustno1-coder merged 2 commits into
trustno1-coder:mainfrom
NemesisDawn:fix/driver-pipeline-retry-after-2188
Nov 30, 2026
Merged

trustno1-coder merged 2 commits into
trustno1-coder:mainfrom
NemesisDawn:fix/driver-pipeline-retry-after-2188

Conversation

@NemesisDawn

@NemesisDawn NemesisDawn commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

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: #

Ondra97 and others added 2 commits November 29, 2026 11:20
Depends on upstream PR trustno1-coder#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 trustno1-coder#2188 lands. The unmodified main wait loop can otherwise retain the full timeout.
@Ondra97

Ondra97 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Independent Windows validation of the exact 9fd78e8..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.

@trustno1-coder
trustno1-coder merged commit 97593f4 into trustno1-coder:main Nov 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants