feat(loader): opt-in extra title recording workers #612
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!612
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-612"
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?
@lynxnathan on GitHub · 2026-12-05 18:15 UTC · original
lynxnathan:feat/recording-workers-opt-in→main· +3377 −7 · 18 files · 1 commits · draftSummary
Port CNF-Larp's extra title recording workers for the exact supported executable build.
VICTORY_SUBRENDER_WORKERS=6,7, or8enables the patch; unset or5leaves the title's original five workers in place. The patch moves the title's fixed per-worker arrays, extends their setup and setter calls, and changes the worker count last. It turns off the title's async compute when extra workers are used because its context slots cannot hold both.The setting is opt-in because more CPU threads are useful only when recording is the bottleneck. It does not change output resolution, upscaling, ray tracing, or frame generation preferences.
Validation
cargo check --locked -j 8 -p victorypassed on this branch (target and SDK environment set as inbuild.sh).recording_workers_remain_opt_inWindows unit test passed under Wine: unset and5select the original count;6and8select added workers; invalid values are rejected.cargo xtask policy: 375 files OK.git diff --checkpassed.Costs and scope
With the switch unset, the title keeps five workers. Enabling it adds CPU threads and per-worker state, uses relocation and detour code at load, and disables async compute. The performance benefit is still unmeasured. This PR contains no personal profile, game files, binaries, or output artifacts. The open PR queue has no direct recording-worker change; descriptor performance PRs are independent.
Contribution checks
@fsrajner on GitHub · 2026-12-05 20:06 UTC · original
A/B data point on RDNA 4. This PR was tested together with #612, #599, #553 and #608 in one build. All are opt-in, so the arms differ only by env.
Setup: RX 9070 XT 16 GB, Ryzen 7 7800X3D, CachyOS, repo-patched Mesa 26.3.1 RADV + vkd3d-proton, proton-cachyos-slr. Series X profile, 4K output with FSR 4.1.2 Quality, hardware RT (
HW_RT+LEAN_BUILDER+REUSE), frame generation off, headless gamescope. Base:main@49f5f9e+rt-7-reuse+ #542 (+ #611/#596, switched off). The four PRs merged with no conflicts.Method: the same intro snapshot every run, 120 s after the first A press. One warm-up run, then two rounds of all five arms, interleaved. "Long frames" are the
long framelines (≥ 50 ms). This scene is GPU-bound: the submit thread waits ~16 ms a frame on the card.SUBRENDER_WORKERS=8THIN_SPLIT=1JOIN_BARRIERS=1EVENT_DIRTY_SHADOWS=1gpu_waitrises by about 5 ms, so the frame becomes even more card-bound, and ≥ 50 ms frames drop about 12 %. The mean frame time stays the same here because the card is the limit. No crashes or visual problems were seen with async compute off.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.