Repository navigation
Fix/driver pipeline retry after 2188 - #2469
trustno1-coder merged 2 commits into
Conversation
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.
|
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. |
Fixes #
What it changes
How it was tested
cargo testpassed for the crates it touches: yes / noChecked for overlap