perf: integration batch, cheaper title-memory copies (12 PRs, +13 % median fps measured) #358
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!358
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-358"
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?
@LooperSalty on GitHub · 2026-11-26 12:41 UTC · original
LooperSalty:perf/copy-batch-2026-11-26→main· +4378 −259 · 31 files · 35 commits · merged 2026-11-26 14:21 UTCIntegration batch, like #277: twelve open pull requests that cut the per-frame cost of the copies between title memory and the card. Their commits keep their authors. Several are drafts or are waiting for CI approval as first-time contributors, so they are brought in together here and tested as one.
Pull requests in this batch
VICTORY_WINDOW_SKIP_SAME(sample mode by default,=1saves)VICTORY_MERGE_SUBMISSIONS(off by default)VICTORY_RESULT_RING(on,=0off)VICTORY_PAGE_WRITES=5(off by default)VICTORY_SCRATCH_POOL(on,=0off)Two conflicts were mechanical, with additions on both sides: #337 against #255 in
host.rs, and #291 against #340 inshadow.rs. Left out: #292, #311 and #254 (correctness fixes, not copies), #276 (Wine only), #278 and #279 (lock and clock micro-optimisations).Measured (maintainer's machine, 2026-11-26)
i7-13700KF, RTX 4070 SUPER, Windows 11, Series X, same save, launcher settings of
main. Medians come from the VIctory log's frame-rate line; card occupancy from its "the card about N% busy" line.main(8ed1109f)VICTORY_WINDOW_SKIP_SAME=1 VICTORY_MERGE_SUBMISSIONS=1 VICTORY_PAGE_WRITES=5No crash and no device loss in any run, and dropped draws per frame are about the same (440 / 478 / 445). Each configuration ran once. The three switches stay off by default in this PR: a follow-up turns them on in the launcher's tuned set once a second run confirms the gain.
Test plan
cargo test --release -p victory-gpu: 216 passed. The 3 that fail fail the same way on cleanmain(WARP testsdescriptor::host::tests::spans_say_the_next_start_and_the_lowest_level_viewed,indirect::tests::warp_card_patch_writes_the_masked_bytes_and_no_others,indirect::tests::warp_card_fetch_copies_flagged_pieces_to_their_slots)cargo xtask policy: 209 files ok🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL62nyr3m1M4tJsHRox
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 12:41 UTC · original
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.5c4b75fℹ️ 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.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 12:41 UTC · original
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.
@LooperSalty on GitHub · 2026-11-26 13:51 UTC · original
Update:
38cb70afnow turns the three switches on by default (VICTORY_WINDOW_SKIP_SAME=1,VICTORY_MERGE_SUBMISSIONS=1,VICTORY_PAGE_WRITES=5) inanyxboxx run's tuned set and in the Windows + NVIDIA launcher profile (42 variables). The golden script, the tests and the guides (EN and FR) are updated. Four more runs of this base on 2026-11-26 measured 14.5 to 15.1 fps median (main: 13.4). The CLAMP_AFTER_WRITER and Wave32 ports follow in #377, stacked on this PR.🤖 Generated with Claude Code
@Skyfrye on GitHub · 2026-11-26 14:28 UTC · original
A picture problem with
VICTORY_WINDOW_SKIP_SAME=1, which main's launcher now sets (profiles.toml,run/settings.rs).What I saw: same build (main
c4c93bd+ #308 + #340), same scene (the first cutscene, at the same point), Series X,VICTORY_INDIRECT_RAW=3, RTX 5080, screen captures every 15 s.VICTORY_WINDOW_SKIP_SAME=1, a rectangle of multicoloured noise covered a character's face.It was one run each, so I can't rule out chance. The multicoloured confetti on skin that #333 seemed to bring varies between builds in the same way, and is being traced to ray-tracing programs reading leftover memory while the structure builder is off. Leaving pages out of windows could just change which leftover values they read. Either way, I put #340 back to draft for this (comment there) before it was merged here.
My Series S frame rates in #340 were also not valid: with
--console series-sthe 3D scene is black without AMD's FidelityFX DLL (VICTORY_FSR_DLL), see #338.Suggestion: keep
VICTORY_WINDOW_SKIP_SAMEoff in the launcher's set until a run with screen captures of faces (the cell and the diner in the first cutscene) shows them clean with it on. I'll post here when I have such a run.🤖 Generated with Claude Code