Repository navigation
Conversation
|
Tested in a batch on an RTX 3080 Ti + Ryzen 7 5700X, 1440p, DLSS Quality, title ray tracing on (VICTORY_BVH_BUILDER=1), 240 s run into the prison cell scene. Batch: #516, #501, #498, #497, #532, #521. |
|
Measured on an RTX 5080 16 GB + Ryzen 9 9950X3D (Series X, 1440p, DLSS Performance, frame generation off, diagnostics build on
Two runs of plain One thing not in the numbers: playing it, the textures looked a little better, with fewer visual glitches than in the other runs. That is one person's impression from one run, not measured; with the pipelines made ahead no pipeline was in flight during the scenes in any run, so I cannot tie it to this change from the log. Same machine and scene with and without the title's ray tracing: #535. |
Problem
When a slow non-screen pipeline (1-5s host driver compile) hits
wait_budget()(500 ms) on its first draw, subsequent frames keep waiting another 500 ms for the samePendingwhile its worker is already compiling it in the background.Change
waited_out: AtomicBooltoPending(crates/victory-gpu/src/pipeline/make.rs).p.made.get().is_none(), setwaited_out = trueso subsequent frames skip waiting while the worker finishes (VICTORY_PIPELINE_WAIT_ONCE=0restores repeating waits).screen && screens_first()) keep their fullscreen_budget()behavior unchanged.Verification
cargo test --release --locked -p victory-gpu --lib pipeline::make::(8 passed; 0 failed, includingslow_non_screen_pipeline_does_not_repeat_frame_waits)cargo xtask policy(290 files ok)cargo build --release --locked -p victory(succeeded)Part of the low-stutter patch stack tested in https://github.com/tiadiff/VIctory-NVIDIA-LowStutter.