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

Closed
github-bot wants to merge 1 commit from gh-pr/453/head into gh-pr/453/base
Owner

@⁠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 merging

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

**@⁠4276b5yjdw-pixel3** on GitHub · 2026-11-26 21:55 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/453) `4276b5yjdw-pixel3:feat/launcher-multi-core` → `main` · +52 −3 · 2 files · 1 commits · closed without merging ## 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)
Sets VICTORY_ASYNC_SUBMIT=1 (submissions prepared and sent by a thread of
their own, the present following them) and VICTORY_RELAY_WIDE_MERGE=1 (the
relay's merges of what the card wrote on up to eight threads). Both are off
by default in VIctory.

Measured on an RTX 5060 8 GB and an i5-12400F (Series X, 1080p, "8 GB card"
preset): 4.8 fps median without, 6.6 and 7.0 with; the relay's landing time
per flight went from 7.5 ms to 3.8-4.3 ms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:34:58 +00:00
github-bot closed this pull request 2026-11-27 00:34:58 +00:00
Author
Owner

@⁠LooperSalty on GitHub · 2026-11-26 23:08 UTC · original

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

**@⁠LooperSalty** on GitHub · 2026-11-26 23:08 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/453#issuecomment-7205293786) 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

This discussion has been locked. Commenting is limited to contributors.
No description provided.