perf: lazy GPU readback on guarded title pages (VICTORY_LAZY_BACK, off) #574
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/574"
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 LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-28T01:16:02Z.
Summary
Port of the lazy copy-back of JMAN730/victory PR #802 (fever308, GPL-3.0) onto our Vice-Tay base. In game the submit thread spends 10-17 ms a frame copying back what the card wrote (21-47 MB, RTX 4070 SUPER, 1080p): with
VICTORY_LAZY_BACK=1(off by default) a page is copied back only when the title's CPU touches it (guarded pages), and unread page versions stay on the device.b10d4b31enumerate all aliases for deferred readback (uncapped section-view lookup)06744005defer GPU readback to guarded title pages7c925c18retain unread GPU-mapped page versions on the deviceSource: JMAN730/victory PR #802, credited per commit (
Co-authored-by: fever308).Test plan
cargo test --release -p victory-gpuand-p victory-hle, with the switch off and oncargo xtask policycopying backms per frame and fps, switch off then on🤖 Generated with Claude Code
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-28T01:16:10Z.
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
We couldn’t complete this review. Comment
@codex reviewto try again.3fa09cdℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-28T01:16:13Z.
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.
Imported from LooperSalty/AnyXboxX. Originally posted by akimfomin on 2026-11-28T01:56:20Z.
I compared the observable-read contract with KLBF #59 and the Vulkan image case in shadPS4 #5434. Fourteen local CPU model sequences agreed with eager readback at each CPU observation, including replacing an unobserved GPU write and preserving a neighboring page through a partial CPU write. The model bypasses D3D12 and does not establish hardware behavior. A portable extension of your opt-in tests is to leave one page unread, observe its neighbor twice, then overwrite part of the first page. Require correct bytes and report each page transfer count separately from frame gains.