menu: benchmark mode for PortWatch reports; the menu edits run.conf #209
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!209
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-209"
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?
@Bushyon on GitHub · 2026-12-02 16:32 UTC · original
Bushyon:benchmark-mode→main· +1018 −267 · 13 files · 7 commits · closed without mergingMerged with
mainatf3a1172. #185 was superseded by #237, so its two commits still show in the history here.Benchmark mode
For PortWatch Lab reports.
VICTORY_BENCH=rt|nortwithVICTORY_BENCH_MINUTESdoes the same from the command line.VICTORY_SKIP_BINK=1,VICTORY_PANEL=full. The menu is off during it.run.shwritesbench_results.txtinlocal/benchmark/<date>-rt|nort/: the form's answers that can be known, and "you:" lines for the others.Menu changes
run.confinstead oflocal/menu.conf(changes #118): a commented or missing line is "not set", and only the lines of changed settings are rewritten. An existinglocal/menu.confis moved intorun.confonce, with a copy of the oldrun.confinlocal/.run.shwas given, so nothing of the previous session carries over.main: choosing a preset setsVICTORY_PRESETinrun.confand comments out the rows presets name, which then show the preset's values (nothing of the preset is copied into the file). A benchmark run drops any preset and its settings.Also here
run.shholds asystemd-inhibit --what=sleep:idlelock while the game runs, so the PC does not suspend or count as idle (a gamepad alone does not count as use). It needs no sudo here; without the lock the game starts anyway. Some desktops may still blank the screen despite it.update.sh: fetches upstreammain, merges it into the current branch and builds. It stops on uncommitted changes, undoes a conflicting merge and never pushes.UPSTREAMandBRANCHchange the source (origin,main).Note for the maintainer:
update.shcould instead be arun.sh updatemode. I think it is better as a separate script, but the decision is yours.Tested
Fedora, RX 7800 XT (RADV, the project's patched Mesa 26.3.1), Proton Experimental, 2560x1440 screen.
After the merge with
f3a1172:victory-coretests pass.run.confas above.Before that merge:
run.conffrom the menu.local/menu.confintorun.conf.update.shwhen already up to date (it builds).Not tested
A benchmark run in the game on the merged build. Also: the fix that leaves the first minute out of a 2 minute run (unit test only), the restart after a crash (there was no crash to test it with today),
run.shwith the sleep lock in the game,update.shmerging new commits or meeting a conflict, and other hardware.AI-assisted.
@Bushyon on GitHub · 2026-12-03 00:08 UTC · original
@goldfishdev, fixed the conflicts and retested it, it should clean merge now
@goldfishdev on GitHub · 2026-12-03 03:23 UTC · original
Most of this is merged now: benchmark core (#285), menu editing run.conf (#286), sleep lock and update.sh. The remaining menu-side bits — benchmark rows, F10 save/restart and two-line descriptions — can be a small follow-up if wanted. Closing this stale branch.
Pull request closed