feat(launcher): multi-core option, on by default (4.8 to 7.0 fps on an 8 GB card) #453

Closed
4276b5yjdw-pixel3 wants to merge 1 commit from upstream-pr/453 into main
4276b5yjdw-pixel3 commented 2026-11-26 21:55:24 +00:00 (Migrated from github.com)

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_PRESENT is 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 main today.

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.py and the relay's own log lines:

without with (run 1) with (run 2)
fps 4.8 6.6 7.0
ms/frame 207 152 142
copying back (ms) 85.6 66.6 60.2
relay landing time per flight (ms) 7.5 4.3 3.8

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_BACK is already on by default in VIctory, so setting it changes nothing.
  • VICTORY_TEXTURE_PREPARE_THREADS=4 was tried: its threads started, but they made no texture ready in either run (0.0 textures made ready on 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_switches replaces the_defaults_set_nothing, and the test that checks each ENV_NAMES entry against VIctory's sources covers both new names.

🤖 Generated with Claude Code

<!-- greyfinch-sync:LooperSalty/AnyXboxX:issue:5517674571 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/453). Originally posted by [4276b5yjdw-pixel3](https://github.com/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_PRESENT` is 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 `main` today. ## 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.py` and the relay's own log lines: | | without | with (run 1) | with (run 2) | |---|---|---|---| | fps | 4.8 | 6.6 | 7.0 | | ms/frame | 207 | 152 | 142 | | copying back (ms) | 85.6 | 66.6 | 60.2 | | relay landing time per flight (ms) | 7.5 | 4.3 | 3.8 | 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_BACK` is already on by default in VIctory, so setting it changes nothing. - `VICTORY_TEXTURE_PREPARE_THREADS=4` was tried: its threads started, but they made no texture ready in either run (`0.0 textures made ready` on 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_switches` replaces `the_defaults_set_nothing`, and the test that checks each `ENV_NAMES` entry against VIctory's sources covers both new names. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
LooperSalty commented 2026-11-26 23:08:49 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-26T23:08:49Z.


Closing after #454 moved third_party/victory to the Vice-Tay base (TaynanGT/Vice-Tay a252348).

On the new base both settings are already covered: VICTORY_ASYNC_SUBMIT is on whenever VICTORY_THIN=1 (part of anyxboxx run's tuned set, queue/behind.rs:746), and VICTORY_RELAY_WIDE_MERGE is 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 main is welcome.

🤖 Closed by Claude Code on behalf of the maintainer

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7205293786 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/453#issuecomment-7205293786). Originally posted by [LooperSalty](https://github.com/LooperSalty) on 2026-11-26T23:08:49Z. --- Closing after #454 moved `third_party/victory` to the Vice-Tay base (TaynanGT/Vice-Tay a252348). On the new base both settings are already covered: `VICTORY_ASYNC_SUBMIT` is on whenever `VICTORY_THIN=1` (part of `anyxboxx run`'s tuned set, `queue/behind.rs:746`), and `VICTORY_RELAY_WIDE_MERGE` is 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 `main` is welcome. _🤖 Closed by [Claude Code](https://claude.com/claude-code) on behalf of the maintainer_

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LooperSalty/AnyXboxX!453
No description provided.