Launchers: the card is not kept awake between submissions by default (#771) #927
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/927"
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 kibagami-nc on 2026-11-28T09:12:22Z.
Why
VICTORY_CARD_AWAKEkeeps one compute job running on a second queue. The aim is that the card does not lower its clocks in the gaps between the some thirty submissions of a game frame. The launchers turned it on after a replay of one captured frame: 28.6 ms with it, 37.8 ms without (86694b5,victory replay --pace).Measured in the game, it was slower both times:
Gameplay (Yoshi-233, on #825). RTX 4070 Ti SUPER, driver 617.42, a boat held still facing a bridge, frame generation on. The test used the helper's own
=turnsmode (20 s on, 20 s off in one run), five off/on pairs. Medians of the five phase medians:Every off phase was faster than the on phases next to it (off 18.75 to 19.1, on 17.1 to 17.55). The clock stayed the same, so there was no drop for the helper to prevent there. Its job only took card time from the game's work.
A menu (#771). RTX 3060 12 GB, Series S profile. The first menu ran at 15 to 45 frames a second with the window in front, and at 600 or more with
VICTORY_CARD_AWAKE=0.An RTX 3070 8 GB desktop (CuteBooty, Windows 11 26200, Series S, DLSS performance, no frame generation). Two 10-minute runs standing still, in 20-second phases. Kept awake, it had about 4 % fewer frames a second (15.19 against 15.89, 14.70 against 15.33) and about a third more frames over 100 ms (297 against 219, 376 against 273). The clock stayed at 1980 MHz either way. GPU busy went from about 79 % to 99.8 %, which is the helper's own job filling the gaps.
An RTX 3060 12 GB (grosterr, Windows 11, Series S, DLSS Quality, FSR 3 frame generation 2x). One run alternating 20 s on and 20 s off, from the intro cutscenes to standing at the buoy. Over 20 neighbouring pairs with similar draw counts, frames were 5.5 ms longer with the card kept awake (median; mean 6.6), and longer in 18 of the 20.
An RTX 3070 Ti 8 GB (Robotniq, i7-13700F, Series S, DLSS Quality, driver 621.40). One 5-minute run with
=turns, fitted for draws a frame: the helper on cost +0.39 ms a frame, with a standard error of 0.95 ms (29 samples). No difference either way on a PC limited by the submitting thread rather than the card (card about 83 % busy). So the helper buys nothing there either.The change
victory play(SETTINGSinplay.rs),play-foxhound.ps1(with itplay-nvidia.ps1andPLAY_FRAMEGEN.cmd) andplay.ps1no longer setVICTORY_CARD_AWAKE=1. A comment in each says why. The layer's own default was already off.Where it does help, it is one switch away:
victory.exe play --set VICTORY_CARD_AWAKE=1;-More @{VICTORY_CARD_AWAKE='1'}for the scripts;VICTORY_CARD_AWAKE=1invictory-settings.txt.#825 still applies when it is on: it keeps the card awake only through frames of many submissions, so it stays out of menus.
Tests
cargo test -p victory --locked play::: 11 passed.-p victory,-D warnings, default and--all-features): nothing in the changed lines. It stops onmain's ownmanual_is_multiple_ofandsome_filterfindings, fixed in #665. With those allowed, both builds are clean.Not run with the game here. The numbers above are Yoshi-233's, CuteBooty's, grosterr's, Robotniq's and #771's reporter's.
No game files, dumps or extracted data are included.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by CuteBooty on 2026-11-28T13:39:53Z.
I have a second in-game data point for this, on a different card class: an RTX 3070 8 GB desktop (driver 621.24, PCIe 3.0 x16), a Ryzen 7 5800X3D, 32 GB and Windows 11 build 26200. The build was main
63b902feplus my local patches. Settings: Series S, DLSS performance, no frame generation. I used the helper's ownVICTORY_CARD_AWAKE=turns.Setup: two unattended runs on a save that loaded and stood still, each 10 minutes after world entry in 20-second phases. I counted from one minute after entry and left out the first 6 seconds of each phase.
Pairs: the off phase had more frames a second than the on phase before it in 11 of 14 pairs in run 1, and in 10 of 14 in run 2. The scene itself swings between about 13 and 18 frames a second, so single pairs are noisy.
Same as Yoshi-233's result:
These are two runs standing still, without frame generation.
(Unattended standing-still runs. Measurements and text prepared with my AI assistants, Claude Code and Codex. No game files.)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T13:46:09Z.
Thanks for the two runs, and for counting the pairs: the phase-to-phase swing of 13 to 18 fps makes them worth more than any single average. That makes three machines showing the same thing: Yoshi-233's RTX 4070 Ti SUPER, your RTX 3070, and #771's RTX 3060 in a menu. The clock never dropped without the helper, and with it on there were fewer frames and more long ones. I added your numbers to the description.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoshi-233 on 2026-11-28T13:52:19Z.
@kibagami-nc, one small correction to the comment about my GPU. My boat test in #825 was on an RTX 4070 Ti SUPER, at 19.0 FPS with the helper off and 17.4 with it on. The RTX 3060 was the menu test in #771. The PR description already lists both correctly.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by RobertAndreiGit on 2026-11-28T14:34:49Z.
One stock
.01(63b902f) gameplay result for the default decision: turning the helper off helped at the Chapter 1 radio console, but the direction did not hold in every view. Ryzen 5 5600 / RTX 3060 Ti 8 GB, CachyOS Proton, Series S, DLSS Performance, FSR 3 2× active. Used stockVICTORY_CARD_AWAKE=turnsto test the setting in one launch, not a build of this PR.The four consecutive 20-second phases had the same background framing in the captures. We trimmed the first 3 s and last 1 s per phase and kept only complete timing intervals. Phase medians were 6,938–7,045 draws and 289–293 skipped draws/frame across both states. All three adjacent on/off comparisons in that view favored off.
A lighter TV/sofa close-up was mixed. One adjacent pair favored off (10.31 off vs 9.05 on); the next non-overlapping pair favored on (10.16 off vs 10.41 on, 40.9% vs 36.4% over 100 ms, respectively). The camera cuts between these scenes, so pooling the whole run would overstate the evidence. No displayed-FPS estimate here.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by grosterr on 2026-11-28T18:34:02Z.
One more card where keeping it awake costs card time: RTX 3060 12 GB (driver 621.40), Ryzen 7 5700X, 32 GB, Windows 11.
Main
63b902fwith open PRs, Series S, DLSS Quality K, FSR 3 frame generation 2x,VICTORY_CARD_AWAKE=turns(20 s on, 20 s off) in one run: the intro cutscenes, then the boat by the buoy, standing still for the last minutes. I paired each phase with its neighbour where the log's 5-second lines had draws within 25 % of each other, leaving out the first 6 s of each phase:Over 20 neighbouring pairs the frame was 5.5 ms longer with the card kept awake (median; mean 6.6), and longer in 18 of the 20. The submitting thread's wait for the card fell from about 25 to 19 ms with it off. Standing at the buoy with it off: 51.8 ms, GPU BUSY 49.1 in the F3 panel.
So on this card too the helper's job takes card time from the game's work; we play with
VICTORY_CARD_AWAKE=0from now on.AI-assisted (Claude Code): the run was played and judged on my PC, and Claude analysed the log and wrote this text. No game files attached.
🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T18:42:43Z.
Thanks, that's a clear one: 18 of 20 pairs, with the pairing by draw count taking the scene out of it. I added it to the description. That makes four machines pointing the same way: Yoshi-233's RTX 4070 Ti SUPER, CuteBooty's RTX 3070, your RTX 3060, and #771's RTX 3060 in a menu.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Robotniq on 2026-11-28T21:40:17Z.
A neutral data point from an RTX 3070 Ti 8 GB / i7-13700F / 32 GB (Series S, DLSS Quality, driver 621.40):
VICTORY_CARD_AWAKE=turns(20 s on, 20 s off). I dropped the first sample after each change and the first minute. Then I fitted frame time against draws a frame plus an on/off term, because the route's draw count changes a lot between phases.Measured with AI assistance (Claude Code); the runs were made on my machine.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-11-29T01:47:36Z.
One more card for the record, as confirmation after the merge. RTX 3090 24 GB (Ampere, driver 610.88), i9-14900K, Windows 11, main
f9dfb76, Series S, DLSS performance, no frame generation. The same executable, the default against--set VICTORY_CARD_AWAKE=1, alternating, 3 rounds each after a warm-up, the same frozen save (a balcony, about 5,800 draws a frame), a 60 s window each:VICTORY_CARD_AWAKE=1The awake job costs about 9% here, and the ranges don't overlap (this bench's noise is 2-3%). The busy figure goes up by the job itself, not by more work done. This is most of the step from the old main (
923e38c, awake on by default) to the current one on this card.🤖 Generated with Claude Code