Card awake: left out while Reflex paces frames (the 14 fps lock) #398

Closed
github-bot wants to merge 0 commits from github-bot/gh-398 into main AGit
Owner

@⁠AVD-appezhax on GitHub · 2026-12-01 22:24 UTC · original
AVD-appezhax:fix/card-awake-reflex → main · +29 −2 · 2 files · 72 commits · closed without merging

What it fixes: the 14 fps frame-generation lock (#20)

With frame generation, Reflex counts the endless job behind VICTORY_CARD_AWAKE=1, takes every frame for GPU-bound, and sleeps inside the present. About half of the starts then sit at 71.4 ms a frame for the whole session.

The card-awake job is now left out while Reflex is on. Port of trustno1-coder/VIctory-NVIDIA#1938.

Switch: VICTORY_CARD_AWAKE=always restores the old behaviour.

How it was measured

RTX 5070 12 GB, DLSS + 4x frame generation, release logs (5 s frame-time windows).

  • Before: 1,196 of 1,275 five-second windows locked at 71.4 ms.
  • After: five runs, never locked.

Split out of #335 at the maintainers' request; one change per pull request, independent of the others (applies alone on main 94c3c5f).

Checks (this branch alone, on main)

  • cargo clippy --workspace --all-targets --locked -- -D warnings: clean.
  • cargo test -p victory-gpu -p victory-shader --lib --locked: all pass, except watch::tests::what_the_kernel_writes_through_is_not_guarded_for_another_view failed once in the full parallel run; it passes alone, 3 of 3, here and on unchanged main (timing-sensitive, unrelated: this change does not touch watch.rs).

🤖 Generated with Claude Code

**@⁠AVD-appezhax** on GitHub · 2026-12-01 22:24 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/398) `AVD-appezhax:fix/card-awake-reflex` → `main` · +29 −2 · 2 files · 72 commits · closed without merging ## What it fixes: the 14 fps frame-generation lock (#20) With frame generation, Reflex counts the endless job behind `VICTORY_CARD_AWAKE=1`, takes every frame for GPU-bound, and sleeps inside the present. About half of the starts then sit at 71.4 ms a frame for the whole session. The card-awake job is now left out while Reflex is on. Port of trustno1-coder/VIctory-NVIDIA#1938. **Switch:** `VICTORY_CARD_AWAKE=always` restores the old behaviour. ## How it was measured RTX 5070 12 GB, DLSS + 4x frame generation, release logs (5 s frame-time windows). - Before: 1,196 of 1,275 five-second windows locked at 71.4 ms. - After: five runs, never locked. Split out of #335 at the maintainers' request; one change per pull request, independent of the others (applies alone on `main` 94c3c5f). ## Checks (this branch alone, on main) - `cargo clippy --workspace --all-targets --locked -- -D warnings`: clean. - `cargo test -p victory-gpu -p victory-shader --lib --locked`: all pass, except `watch::tests::what_the_kernel_writes_through_is_not_guarded_for_another_view` failed once in the full parallel run; it passes alone, 3 of 3, here and on unchanged main (timing-sensitive, unrelated: this change does not touch `watch.rs`). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
With frame generation on, Reflex low latency is on. Reflex measures each
frame's GPU time from the card's queues and counts the never-ending
compute job of VICTORY_CARD_AWAKE=1 (which the launcher sets) as work:
the frame looks GPU-bound, Reflex sleeps inside each present, and the
game holds 14.0 fps (71.4 ms) for the whole session in about half of
the starts (#20).

The job is now left out while Reflex is on, said once in the log.
VICTORY_CARD_AWAKE=always keeps the old behaviour.

Port of trustno1-coder/VIctory-NVIDIA PR #1938.

Tested: RTX 5070 12 GB, 1440p, DLSS Quality, 4x frame generation.
Before, a 20-minute run sat at 71.4 ms in 1,196 of 1,275 five-second
windows, 24 ms of each frame inside the present call. After, two runs
had none (median 33-55 ms).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 058e733789)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 22:27:29 +00:00
github-bot closed this pull request 2026-12-02 07:54:30 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.