Rig launcher: checks the PC, then plays with settings worked out for it #1448
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1448"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gertvw23 on 2026-11-28T20:11:48Z.
A PowerShell wrapper around
victory.exe playthat checks the PC first and picks settings for it, plus a live watcher and a run log summary. It changes nothing in the layer: options and--setswitches only, so the F1 menu's SAVE AND RESTART keeps them. Six new or changed files, all additions;Play-MyRig.cmddouble-clicks it.Built on, and for, an i5-13600K / RTX 4080 16 GB / 32 GB / Windows 10 22H2 PC, but everything is read from the PC at each start.
Why
Two runs on that PC showed:
no shared buffer ... 0x8007000Eanda host command list did not close(the failure indocs/windows-memory.md).What it does
victory.exeprocesses left behind (a game without a window, or preload /warmworkers whose parent is gone; only those are offered to be ended); GPU scheduling for frame generation; the D3D12 Agility runtime on Windows 10; the game's disk; RAM below its rated speed.VICTORY_TEXTURE_ROOM_PERCENTsized to the card (84 on 16 GB instead of the 12 GB card's 80);VICTORY_PIPELINE_WORKERS4 or 2 while commit is short; native 1440p, no cap.preloadprocess exits with 0, stopped early it says how many pipelines are built and offers to go on; a skip-for-this-version choice.-Cores pcoressets the process's default CPU sets to the fast cores (off by default: unmeasured, andcores.rsmeasured the opposite for the list threads).%LOCALAPPDATA%\victory\rig-runs.csv;-Try cores|roomalternates A/B variants and-Comparegives medians and a verdict once each side has three runs.scripts/watch-rig.ps1(-Watch): fps, stalls, memory and GPU every minute; alerts on low commit, out-of-memory, log errors, stalls, heat and a hang (log still 60 s, window not responding).Tested
scripts/tests/play-rig.Tests.ps1: 13 Pester tests (3.4, Windows 10's own), all passing; they run the scripts as processes against a stand-invictory.exein a temporaryVICTORY_HOME, with no game files.-Check,-Summaryagainst the two real logs, the CPU-set and borderless calls against throwaway processes.Not tested
-Cores pcores/ the 84 % texture room in the game (that is what-Try/-Compareare for).docs/rig-launcher.mdhas the details and the measurements.🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T08:28:14Z.
Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T18:26:52Z.
One small launch follow-up on
284ca6b8. After the initial runner exits, the launcher waits for an F1 or warm-up restart by looking for processes at the same executable path. An instance that was already open before this run can keep that wait going and delay the report.060d3d37 skips instances that started before the existing run timestamp. A later instance at the same path can still be followed, as needed for the restart. The watcher and launch settings are untouched.
A focused Windows PowerShell fixture ran the exact wait loop using synthetic process records. The old instance stopped delaying the report. A later restart was still awaited, including when an old instance was present, and a different executable path was ignored. The full launcher parsed and staged asset policy passed. The patch and #5050 merge cleanly in a local merge check.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding this change into another commit.AI-assisted with OpenAI Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.