feat(launcher): multi-core option, on by default (4.8 to 7.0 fps on an 8 GB card) #453
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!453
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/453/head"
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?
@4276b5yjdw-pixel3 on GitHub · 2026-11-26 21:55 UTC · original
4276b5yjdw-pixel3:feat/launcher-multi-core→main· +52 −3 · 2 files · 1 commits · closed without mergingWhat
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
@LooperSalty on GitHub · 2026-11-26 23:08 UTC · original
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