GPU Present source state tracking on current main #907
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/908"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from fxceless/victory-fork. Originally posted by Kamiloj9 on 2026-11-25T12:24:29Z.
Forward port of AscilCH’s state-tracking fix from #564 to
a253706, including that revision’s optionalVICTORY_ASYNC_PRESENTpath.The Present copy list retains the
HostTextureand lets the submission prelude transition it toCOPY_SOURCEunder the submission lock. The async queue holds the same texture rather than a state sampled before preceding lists execute. This also avoids a redundant source barrier on consecutive Presents. Swap-chain back-buffer transitions still surround the copy.Verification used an independently reviewed diff,
cargo check --workspace --all-features, staged asset policy, and a synthetic WARP regression that Presents the same texture twice starting fromCOPY_DEST. The regression failed before the fix and passed on both trees. The public tree passed withVICTORY_LATE_WAIT=0and3. The test calls host Present directly, so the async queue worker and title runtime remain untested.Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-25T14:08:34Z.
Independent Proton check of the Present change in
83f6b852on Bazzite 44, RTX 5060 Laptop 8 GB, NVIDIA 615.78.08 and GE-Proton 11-14 (vkd3d-proton buildcae8353ed7959c4+). Windows MSVC build with Rust 1.98.1.The supplied 64×64 two-Present state fixture passed with a test-only hardware-adapter selection and a device-removal check after each call, at both
VICTORY_LATE_WAIT=0and3. It exercised the fixed code on the NVIDIA adapter and verified the trackedCOPY_SOURCEstate. These direct calls cover host Present state.For a Series S comparison, I added the unchanged #908 commit to the same private #938 integration and used an identical cache/prefix seed, launch settings and host guards. The baseline and patched title-window captures were uniformly black from the first sampled frame. Their last observed scene recording was 74 and 87 first-bound pipelines respectively. Both ended on the host RAM guard with no recorded NVIDIA Xid. This integration takes the first present plane, and Series S second-plane composition is covered separately by #188.
Testing and report prepared with OpenAI Codex assistance.
Pull request closed