VIctory Studio: a window inside victory.exe (library, shader preload, live switches, sessions) #2653
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2653
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2653"
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?
@Anorak-314 on GitHub · 2026-11-29 15:35 UTC · original
Anorak-314:studio→main· +4307 −155 · 13 files · 8 commits · openWhat it changes
victory.exegets a window:victory studio(orvictory --gui) opens VIctory Studio. A start without either does exactly what it did (a double-click still plays), so nothing that exists changes its behaviour.Four commits on top of #1988 and #2201 (the present queue, its trace and the pacer, which the Live page reads and sets; until those merge, their commits show in this diff too):
1. Live switches: every
toggled!/asked_for!switch follows theVICTORY_HOT_ABfile#1619 gave the mechanism (a file of
VICTORY_NAME=valuelines, read again when it changes) for the switches that askhot::overat their use. This makes both switch macros ask the file first, plusVICTORY_PACEandVICTORY_PIPELINE_WAIT_MS. Each switch keeps what it last read and asks again only when the file has been read anew (hot::flag, a generation count), so a check stays one atomic load. Asking the table under its lock at every check cost about 3 frames a second in 32 here, which is why the cache is there. WithVICTORY_HOT_ABunset, a check is one load ofACTIVEmore than before.2. VIctory Studio (
apps/victory-studio, egui/eframe, linked intovictory.exe)MicrosoftGame.Config(nothing shipped, nothing downloaded), profiles of arguments and switches per title, an optional launcher script, and a shader preload before play (victory preload, with its progress; it runs with the chosen profile's own layer and variables, and is remembered for each profile with the executable and the driver version, so it is offered again when any of them changes: shaders are translated differently under some variables, and a preload made without them left the title making pipelines while it played).VICTORY_PRESENT_TRACE), the card's load and memory (nvidia-smi, when present), and the switches that can change while the title runs, written to theVICTORY_HOT_ABfile Studio sets up for the run.VICTORY_LOG_FILE), with a filter for warnings and errors.victory studio --play,--page live|sessions|logs,--set VICTORY_NAME=value,--preload.%LOCALAPPDATA%\VIctory\studio. The README's quick start has a short section on it.How it was tested
victory studio --play --page live --set VICTORY_PIPELINE_WAIT_MS=100: the title started from Studio and the log showshot-ab: following ...\live.txtandsegment 1 starts: VICTORY_PIPELINE_WAIT_MS=100 (frame 1). The file was then changed while the title ran:segment 2 starts: VICTORY_PIPELINE_WAIT_MS=100 VICTORY_SUBMIT_SPLIT=0 (frame 37346), the run went on, and after the title was closed the session was kept (51,968 traced frames).studioand--guiopen the window with no console left behind; a full preload started from Studio ran to its end (6,215 of 6,221 pipelines, 8.6 minutes) and the title was then offered without it.cargo clippy -p victory-studio -- -D warnings: clean. The release build's warnings are the ones main has; none are in lines this touches.cargo test, after merging main at41adb551:victory-gpuhot13 passed.shader_cache::tests::every_switch_of_the_translator_is_in_the_keyfails ("VICTORY_SCALAR_SPLITS is not read by the translator any more"); it fails the same way on plain main at41adb551, and this branch does not touch the shader cache or the translator. The wholevictory-gpusuite was not rerun on this branch.Checked for overlap
apps/launcher: it starts the title through the scripts of a source checkout, edits the F1 menu's settings and the keyboard pad's keys, and updates the checkout). The two share no source file besidesCargo.lockandREADME.md. What this one does that #982 does not: it is inside the releasedvictory.exe, changes switches while the title runs, shows the run's frame times and keeps sessions. What #982 does that this does not: key mapping, the F1 settings, updates. If #982 is the launcher you want, commit 1 stands on its own and the Live/Sessions pages could move there; say which you prefer. #1448 (rig launcher) is a script that picks settings for a PC and does not overlap.🤖 Generated with Claude Code
victory studio,victory --gui) df4f8fef5cd8441650c8' into present-pace f216cf31efView 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.