Measuring: an autopilot pad (VICTORY_AUTOPILOT) and each A/B phase's CPU #2805

Open
Demos974 wants to merge 1 commit from upstream-pr/2805 into main
Demos974 commented 2026-11-29 17:30:48 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Demos974 on 2026-11-29T17:30:48Z.


What it changes

Two things for measured runs.

VICTORY_AUTOPILOT=1 plays pad 1 whenever the host's own pad 1 is idle: A every two seconds while the title loads (its title screens wait for a press), then the same 24-second walk again and again (forward, camera turns, strafes, a run, a step back). Runs measured standing still leave out what streaming new scenery costs, and a person playing makes no two runs alike. A real pad that moves takes over at once.

Each A/B phase line now also says how many cores the process kept busy over the phase (GetProcessTimes), so that a change that saves processor time shows even where the frame rate hides it.

How it was tested

  • GPU and profile: RTX 5070 Ti 16 GB (driver 621.40), Core Ultra 7 265KF (8 fast + 12 slow cores), 64 GB; Series S, 720p, DLSS Quality, DLSS frame generation x4, no ray tracing
  • Before: an unattended run stood on the porch of the opening's house for the whole run
  • After: filmed, the character leaves the porch, swims, climbs back and crosses the garden, the same way each run; two 6-minute four-way A/B runs were made with it
  • For shader changes, the wave sizes tested: not a shader change
  • cargo test passed for the crates it touches: yes (victory-gpu 915 passed; victory-hle 423 of 424, the one failure being xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it, which fails about 3 runs in 5 on main too). One new test: the autopilot's pad, the same at the same time of every run.

Checked for overlap

  • I searched the open pull requests for autopilot and A/B. Related: #1925 (in-session A/B, teleport test tool). #2803 (same author) also edits the end of ab::presented: whichever lands second needs a one-line merge.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5553255438 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2805). Originally posted by [Demos974](https://github.com/Demos974) on 2026-11-29T17:30:48Z. --- ## What it changes Two things for measured runs. `VICTORY_AUTOPILOT=1` plays pad 1 whenever the host's own pad 1 is idle: A every two seconds while the title loads (its title screens wait for a press), then the same 24-second walk again and again (forward, camera turns, strafes, a run, a step back). Runs measured standing still leave out what streaming new scenery costs, and a person playing makes no two runs alike. A real pad that moves takes over at once. Each `A/B phase` line now also says how many cores the process kept busy over the phase (`GetProcessTimes`), so that a change that saves processor time shows even where the frame rate hides it. ## How it was tested - GPU and profile: RTX 5070 Ti 16 GB (driver 621.40), Core Ultra 7 265KF (8 fast + 12 slow cores), 64 GB; Series S, 720p, DLSS Quality, DLSS frame generation x4, no ray tracing - Before: an unattended run stood on the porch of the opening's house for the whole run - After: filmed, the character leaves the porch, swims, climbs back and crosses the garden, the same way each run; two 6-minute four-way A/B runs were made with it - For shader changes, the wave sizes tested: not a shader change - `cargo test` passed for the crates it touches: yes (victory-gpu 915 passed; victory-hle 423 of 424, the one failure being `xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it`, which fails about 3 runs in 5 on `main` too). One new test: the autopilot's pad, the same at the same time of every run. ## Checked for overlap - [x] I searched the open pull requests for autopilot and A/B. Related: #1925 (in-session A/B, teleport test tool). #2803 (same author) also edits the end of `ab::presented`: whichever lands second needs a one-line merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2805:upstream-pr/2805'
git switch 'upstream-pr/2805'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/2805'
git switch 'upstream-pr/2805'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2805'
git switch 'upstream-pr/2805'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2805'
git switch 'main'
git merge --squash 'upstream-pr/2805'
git switch 'main'
git merge --ff-only 'upstream-pr/2805'
git switch 'main'
git merge 'upstream-pr/2805'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!2805
No description provided.