perf: the launcher turns on VICTORY_TEXTURE_PREPARE_THREADS=2 (#395) #430
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!430
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-430"
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?
@Skyfrye on GitHub · 2026-11-26 18:33 UTC · original
Skyfrye:nep/launcher-prepare-yield→main· +13 −4 · 9 files · 1 commits · openTurns on
VICTORY_TEXTURE_PREPARE_THREADS=2(merged in #395) inanyxboxx run's tuned set and in the Windows + NVIDIA launcher profile.Without it, the pass over the heap's texture views makes every new texture on the thread that records the frame. That means a host texture and an upload buffer each, about 0.7 ms of driver calls per texture. While a backlog is due, the pass may spend 250 ms of a frame, or 1.5 s while catching up. That is the opening cutscene's crawl and the dips when a new area streams in. With the switch, two threads of their own make, stage and detile those textures, and the pass only records the uploads of the ones that are ready.
The tuned set grows to 47 variables.
Measured (2026-11-26, RTX 5080, Series X)
Two 9-minute runs of the same stretch (opening cutscene, cell, corridor, a later cutscene), one without and one with. The runs did not alternate. Frame lines every 5 s from the VIctory log:
Changes
crates/anyxboxx/src/run/settings.rs(TUNED)crates/anyxboxx-launcher/profiles.tomltests/fixtures/lancer_victory_neptune.ps1crates/anyxboxx/src/run/tests.rsandtests/test_anyxboxx_run.pydocs/running-gta6.md,docs/fr/lancer-gta6.md,docs/rust-full-status.md,docs/fr/rust-full-status.mdTest plan
cargo test --release -p anyxboxx -p anyxboxx-launcher: 23 + 211 passed (1 ignored)pytest tests/test_anyxboxx_run.py tests/test_lanceur_victory.py tests/test_readme_sync.py: 37 passed, 1 skipped (the test count is only compared on a full run)AI assistance: written with Claude Code (Claude Opus 5.5): the measurements, the change and this description.
🤖 Generated with Claude Code
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.