feat(launcher): multi-core option, on by default (4.8 to 7.0 fps on an 8 GB card) #453
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/453"
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 4276b5yjdw-pixel3 on 2026-11-26T21:55:24Z.
What
A Multi-core option in the launcher's Performance card, on by default. It sets two switches of VIctory that are off by default there:
VICTORY_ASYNC_SUBMIT=1: a submission is prepared and sent by a thread of its own, and the title's call returns at once.VICTORY_ASYNC_PRESENTis on by default with it, so the present follows.VICTORY_RELAY_WIDE_MERGE=1: the relay's merges of what the card wrote run on up to eight threads instead of one. It takes effect only when the relay is on, which the Windows profile does.Unticking the option sets neither switch, which is the behaviour of
maintoday.Measured
RTX 5060 8 GB, i5-12400F (6 cores, 12 threads), Series X, 1080p, "8 GB card" preset with 1024 MB of buffer copies in all three runs. Medians from
tools/resume_journal_victory.pyand the relay's own log lines:The logs of the runs with the option show
submissions are prepared and sent by a thread of their own (VICTORY_ASYNC_SUBMIT=1); the run without does not. No new warnings, no device removed.Limits: these are separate runs, not one run alternating the switches. The run without the option is shorter: 19 world lines against 51 and 33.
Left out on purpose
VICTORY_WIDE_BACKis already on by default in VIctory, so setting it changes nothing.VICTORY_TEXTURE_PREPARE_THREADS=4was tried: its threads started, but they made no texture ready in either run (0.0 textures made readyon every line).Neither switch is in the shader cache key, so turning the option on does not make the warm translate again.
Tests
cargo test -p anyxboxx-launcher: 211 passed.the_defaults_set_only_the_multi_core_switchesreplacesthe_defaults_set_nothing, and the test that checks eachENV_NAMESentry against VIctory's sources covers both new names.🤖 Generated with Claude Code
Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-26T23:08:49Z.
Closing after #454 moved
third_party/victoryto the Vice-Tay base (TaynanGT/Vice-Tay a252348).On the new base both settings are already covered:
VICTORY_ASYNC_SUBMITis on wheneverVICTORY_THIN=1(part ofanyxboxx run's tuned set,queue/behind.rs:746), andVICTORY_RELAY_WIDE_MERGEis not read by Vice-Tay; its four landing threads already merge the relay's fetches (25 ms of work in 7 ms a frame, measured on an RTX 4070 SUPER). The 4.8 -> 7.0 fps gain was measured on the Neptune base.Thanks for the work. If you measure a gain on the new base, a new PR against
mainis welcome.🤖 Closed by Claude Code on behalf of the maintainer
Pull request closed