victory: make frame generation ready opt-in via --framegen-ready #20

Merged
Androtim merged 1 commit from upstream-pr/20 into main 2026-11-29 14:04:33 +00:00
Androtim commented 2026-11-28 06:16:07 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-28T06:16:07Z.


Summary

Port trustno1-coder/VIctory-NVIDIA b4e1b08 (Frame generation made ready only when asked for (--framegen-ready, -FrameGenReady) (#544)) into apps/victory/src/play.rs and scripts/play-foxhound.ps1:

  • Default launches without --framegen / -FrameGen no longer initialize Streamline/FSR 3 frame generation in standby mode unless --framegen-ready (-FrameGenReady in play-foxhound.ps1) is explicitly passed, avoiding routing non-FG frames through Streamline's swap chain.
  • Keep --no-framegen-ready and -NoFrameGenReady accepted as overrides/compatibility flags and update VICTORY_MENU_ARGS to carry --framegen-ready / -FrameGenReady.
  • Guard AMD FSR 3 frame generation readiness behind dlss_on / `` so FidelityFX is never armed when DLSS is off (preventing boot-screen 0x80000003).
  • Update play::tests (a_plain_start_is_the_launchers, without_nvidias_files_there_is_no_dlss, and new framegen_ready_prepares_frame_generation_off).

Rig Specs Tested On

  • CPU: 13th Gen Intel(R) Core(TM) i7-13700F
  • GPU & VRAM: NVIDIA GeForce RTX 4060 Ti (8 GiB VRAM)
  • System RAM: 32 GiB
  • OS & GPU Driver: Windows 11 Home (Build 26300) / NVIDIA Driver 32.0.16.2124

Run Settings & Profile

  • Build & Commit SHA: release build & launcher unit tests @ 8bb6fb7067d1608ce3ab99a6ff29a0d91d3fcf42 (0 non-system MinGW DLLs; full CI workflow watched on PR)
  • Console Profile & Internal Resolution / Scale: Launcher CLI / PowerShell env configuration tests
  • Ray Tracing: N/A (launcher / unit test scope)
  • Upscaling: N/A
  • Frame Generation: off by default unless --framegen or --framegen-ready is passed
  • Launcher Command / Preset & Extra VICTORY_* Overrides: cargo +1.98.1-x86_64-pc-windows-gnu test -p victory
  • Scene / Area & Session Length: Unit tests + census integration test (no separate live game session run for CLI default change)

Measurements & Verification

  • Base FPS (without Frame Gen): N/A (launcher option & env-var generation change)
  • Frame-Gen FPS (if enabled): off by default
  • VRAM / RAM Usage: N/A
  • Crashes / DRED Resets: 0
  • Automated Checks:
    • cargo +1.98.1-x86_64-pc-windows-gnu xtask policy (294 files ok)
    • cargo +1.98.1-x86_64-pc-windows-gnu test -p xtask (6 passed; 0 failed)
    • cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings (0 warnings)
    • cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features victory-gpu/diagnostics -- -D warnings (0 warnings)
    • cargo +1.98.1-x86_64-pc-windows-gnu test -p victory (24 passed; 0 failed unit + 2 passed; 0 failed census)
<!-- greyfinch-sync:Androtim/MiniVI:issue:5537379907 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/20). Originally posted by [Androtim](https://github.com/Androtim) on 2026-11-28T06:16:07Z. --- ## Summary Port `trustno1-coder/VIctory-NVIDIA` `b4e1b08` (`Frame generation made ready only when asked for (--framegen-ready, -FrameGenReady) (#544)`) into [`apps/victory/src/play.rs`](https://github.com/Androtim/MiniVI/blob/8bb6fb7067d1608ce3ab99a6ff29a0d91d3fcf42/apps/victory/src/play.rs) and [`scripts/play-foxhound.ps1`](https://github.com/Androtim/MiniVI/blob/8bb6fb7067d1608ce3ab99a6ff29a0d91d3fcf42/scripts/play-foxhound.ps1): - Default launches without `--framegen` / `-FrameGen` no longer initialize Streamline/FSR 3 frame generation in standby mode unless `--framegen-ready` (`-FrameGenReady` in `play-foxhound.ps1`) is explicitly passed, avoiding routing non-FG frames through Streamline's swap chain. - Keep `--no-framegen-ready` and `-NoFrameGenReady` accepted as overrides/compatibility flags and update `VICTORY_MENU_ARGS` to carry `--framegen-ready` / `-FrameGenReady`. - Guard AMD FSR 3 frame generation readiness behind `dlss_on` / `` so FidelityFX is never armed when DLSS is off (preventing boot-screen `0x80000003`). - Update `play::tests` (`a_plain_start_is_the_launchers`, `without_nvidias_files_there_is_no_dlss`, and new `framegen_ready_prepares_frame_generation_off`). ## Rig Specs Tested On - **CPU:** `13th Gen Intel(R) Core(TM) i7-13700F` - **GPU & VRAM:** `NVIDIA GeForce RTX 4060 Ti` (`8 GiB` VRAM) - **System RAM:** `32 GiB` - **OS & GPU Driver:** `Windows 11 Home (Build 26300)` / NVIDIA Driver `32.0.16.2124` ## Run Settings & Profile - **Build & Commit SHA:** `release` build & launcher unit tests @ `8bb6fb7067d1608ce3ab99a6ff29a0d91d3fcf42` (`0` non-system MinGW DLLs; full CI workflow watched on PR) - **Console Profile & Internal Resolution / Scale:** Launcher CLI / PowerShell env configuration tests - **Ray Tracing:** `N/A` (launcher / unit test scope) - **Upscaling:** `N/A` - **Frame Generation:** `off` by default unless `--framegen` or `--framegen-ready` is passed - **Launcher Command / Preset & Extra `VICTORY_*` Overrides:** `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory` - **Scene / Area & Session Length:** Unit tests + `census` integration test (no separate live game session run for CLI default change) ## Measurements & Verification - **Base FPS (without Frame Gen):** `N/A` (launcher option & env-var generation change) - **Frame-Gen FPS (if enabled):** `off` by default - **VRAM / RAM Usage:** `N/A` - **Crashes / DRED Resets:** `0` - **Automated Checks:** - [x] `cargo +1.98.1-x86_64-pc-windows-gnu xtask policy` (`294 files ok`) - [x] `cargo +1.98.1-x86_64-pc-windows-gnu test -p xtask` (`6 passed; 0 failed`) - [x] `cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings` (`0` warnings) - [x] `cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features victory-gpu/diagnostics -- -D warnings` (`0` warnings) - [x] `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory` (`24 passed; 0 failed` unit + `2 passed; 0 failed` `census`)
Androtim commented 2026-11-28 07:03:29 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-28T07:03:29Z.


Automated triage for the maintainers (not an approval).

Verdict: needs-gpu-test · CI (check): passing

Review Summary

Clean, focused port of trustno1-coder/VIctory-NVIDIA b4e1b08 to both apps/victory/src/play.rs and scripts/play-foxhound.ps1, with CI passing and updated unit coverage (play::tests::a_plain_start_is_the_launchers, without_nvidias_files_there_is_no_dlss, and framegen_ready_prepares_frame_generation_off).

What looks good

  • Consistent CLI and PowerShell parity: --framegen-ready / -FrameGenReady makes standby frame generation opt-in while preserving --no-framegen-ready / -NoFrameGenReady as overriding compatibility flags (let ready = o.framegen_ready && !o.no_framegen_ready in apps/victory/src/play.rs and $FrameGenReady -and -not $NoFrameGenReady in scripts/play-foxhound.ps1).
  • Menu restart propagation: VICTORY_MENU_ARGS in both apps/victory/src/play.rs and scripts/play-foxhound.ps1 is updated to carry --framegen-ready / -FrameGenReady instead of --no-framegen-ready / -NoFrameGenReady, and explicit --framegen / VICTORY_MENU_FRAMEGEN values still arm frame generation and VICTORY_TEXTURE_ROOM_PERCENT=80 as expected.
  • No security or policy issues: Flag quoting and environment variable handling remain safe and unchanged.

Minor note (non-blocking)

  • Gating VICTORY_FSR_FRAMEGEN behind dlss_on (apps/victory/src/play.rs) and $dlssOn (scripts/play-foxhound.ps1) prevents AMD FSR 3 frame generation from being armed on Series S when --dlss off is set or when NVIDIA Streamline DLLs (sl.interposer.dll) are absent (e.g., on AMD/Intel GPUs). The existing help comments in apps/victory/src/play.rs (Play::fg_type) and scripts/play-foxhound.ps1 ($FgType / FSR block) still state that DLSS is only required on Series X — worth aligning if DLSS-off FSR 3 is intentionally disabled across both profiles.

Verdict: needs-gpu-test

Since this changes launcher defaults (Streamline/FSR 3 standby initialization, VICTORY_TEXTURE_ROOM_PERCENT default on plain launches, and VICTORY_WARMUP_RESTART eligibility) and was verified with unit tests only, a quick local real-GPU smoke test is recommended before merging.


Generated with Antigravity CLI (agy).

<!-- greyfinch-sync:Androtim/MiniVI:comment:7235687454 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/20#issuecomment-7235687454). Originally posted by [Androtim](https://github.com/Androtim) on 2026-11-28T07:03:29Z. --- <!-- minivi-triage v1 head=d963ba32aa01fbddfbfc89f07be04c2860b3a715 verdict=needs-gpu-test ci=passing at=2026-11-29T09:05:10Z --> Automated triage for the maintainers (not an approval). **Verdict:** `needs-gpu-test` · **CI (`check`):** `passing` ### Review Summary Clean, focused port of `trustno1-coder/VIctory-NVIDIA` `b4e1b08` to both `apps/victory/src/play.rs` and `scripts/play-foxhound.ps1`, with CI passing and updated unit coverage (`play::tests::a_plain_start_is_the_launchers`, `without_nvidias_files_there_is_no_dlss`, and `framegen_ready_prepares_frame_generation_off`). #### What looks good - **Consistent CLI and PowerShell parity:** `--framegen-ready` / `-FrameGenReady` makes standby frame generation opt-in while preserving `--no-framegen-ready` / `-NoFrameGenReady` as overriding compatibility flags (`let ready = o.framegen_ready && !o.no_framegen_ready` in `apps/victory/src/play.rs` and `$FrameGenReady -and -not $NoFrameGenReady` in `scripts/play-foxhound.ps1`). - **Menu restart propagation:** `VICTORY_MENU_ARGS` in both `apps/victory/src/play.rs` and `scripts/play-foxhound.ps1` is updated to carry `--framegen-ready` / `-FrameGenReady` instead of `--no-framegen-ready` / `-NoFrameGenReady`, and explicit `--framegen` / `VICTORY_MENU_FRAMEGEN` values still arm frame generation and `VICTORY_TEXTURE_ROOM_PERCENT=80` as expected. - **No security or policy issues:** Flag quoting and environment variable handling remain safe and unchanged. #### Minor note (non-blocking) - Gating `VICTORY_FSR_FRAMEGEN` behind `dlss_on` (`apps/victory/src/play.rs`) and `$dlssOn` (`scripts/play-foxhound.ps1`) prevents AMD FSR 3 frame generation from being armed on Series S when `--dlss off` is set or when NVIDIA Streamline DLLs (`sl.interposer.dll`) are absent (e.g., on AMD/Intel GPUs). The existing help comments in `apps/victory/src/play.rs` (`Play::fg_type`) and `scripts/play-foxhound.ps1` (`$FgType` / FSR block) still state that DLSS is only required on Series X — worth aligning if DLSS-off FSR 3 is intentionally disabled across both profiles. #### Verdict: `needs-gpu-test` Since this changes launcher defaults (Streamline/FSR 3 standby initialization, `VICTORY_TEXTURE_ROOM_PERCENT` default on plain launches, and `VICTORY_WARMUP_RESTART` eligibility) and was verified with unit tests only, a quick local real-GPU smoke test is recommended before merging. --- _Generated with Antigravity CLI (`agy`)._
Androtim commented 2026-11-29 08:05:29 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-29T08:05:29Z.


Rebased cleanly onto origin/main (c20129f, new head d963ba3) with zero conflicts, and verified everything:

  • cargo xtask policy: 303 files ok
  • cargo test -p victory --bin victory --locked -- play::tests::: 11 passed; 0 failed (including a_plain_start_is_the_launchers, without_nvidias_files_there_is_no_dlss, and framegen_ready_prepares_frame_generation_off)
  • cargo clippy --workspace --all-targets -- -D warnings & --features diagnostics: 0 warnings
  • Plain --release + objdump -p: standard Windows system DLLs only; victory play --help lists --framegen-ready and --no-framegen-ready
  • Live 75s Series S GPU verification (pr20-framegen-ready-rebased): 10/11 gates PASS (0 crashes, 0 host texture errors)
    • Median FPS: 12.1 fps (82.45 ms, vs 8.9 fps baseline, +3.20 fps)
    • Max VRAM: 5693 MB / 6955 MB budget (over=0 MB, vs 5864 MB baseline, -171 MB)
    • Waiting textures: 3224 (vs 7121 baseline) | mapped() stall rate: 8.45 ms/s
    • Shader translation: untranslated=1
    • Visually inspected 24 captured frames (frame-7601.png, frame-7625.png, median luma 103.22, edge energy 7.11, 0.0% near-black/magenta): clean daylight rendering.
    • Pipeline-drops note (278.0 vs 261.0 baseline): PR #20 touches only apps/victory/src/play.rs and scripts/play-foxhound.ps1; steady-state world windows had 0 being made / 0 repeat-waits skipped, and 100% of drops were intentionally skipped passes (ray-tracing structure builder, which is off: 262–283/frame + VICTORY_LEAVE_OUT: 2/frame).
<!-- greyfinch-sync:Androtim/MiniVI:comment:7252880115 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/20#issuecomment-7252880115). Originally posted by [Androtim](https://github.com/Androtim) on 2026-11-29T08:05:29Z. --- Rebased cleanly onto `origin/main` (`c20129f`, new head `d963ba3`) with zero conflicts, and verified everything: - `cargo xtask policy`: `303 files ok` - `cargo test -p victory --bin victory --locked -- play::tests::`: **11 passed; 0 failed** (including `a_plain_start_is_the_launchers`, `without_nvidias_files_there_is_no_dlss`, and `framegen_ready_prepares_frame_generation_off`) - `cargo clippy --workspace --all-targets -- -D warnings` & `--features diagnostics`: **0 warnings** - Plain `--release` + `objdump -p`: standard Windows system DLLs only; `victory play --help` lists `--framegen-ready` and `--no-framegen-ready` - Live 75s Series S GPU verification (`pr20-framegen-ready-rebased`): **10/11 gates PASS** (`0` crashes, `0` host texture errors) - Median FPS: `12.1 fps` (`82.45 ms`, vs `8.9 fps` baseline, `+3.20 fps`) - Max VRAM: `5693 MB` / `6955 MB` budget (`over=0 MB`, vs `5864 MB` baseline, `-171 MB`) - Waiting textures: `3224` (vs `7121` baseline) | `mapped()` stall rate: `8.45 ms/s` - Shader translation: `untranslated=1` - Visually inspected 24 captured frames (`frame-7601.png`, `frame-7625.png`, median luma `103.22`, edge energy `7.11`, `0.0%` near-black/magenta): clean daylight rendering. - Pipeline-drops note (`278.0` vs `261.0` baseline): PR #20 touches only `apps/victory/src/play.rs` and `scripts/play-foxhound.ps1`; steady-state world windows had `0 being made` / `0 repeat-waits skipped`, and 100% of drops were intentionally skipped passes (`ray-tracing structure builder, which is off`: `262`–`283`/frame + `VICTORY_LEAVE_OUT`: `2`/frame).
Androtim commented 2026-11-29 14:04:30 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-29T14:04:30Z.


Human RTX 4060 Ti 8 GB playtest & CLI check passed:

  • Verified victory.exe play --help shows --framegen-ready opt-in with --no-framegen-ready as default.
  • Verified a 13-minute live RTX 4060 Ti playtest session (victory-nvidia-play-20261129-134842-8720.log) completed with 0 crashes, 0 panics, and 0 DRED faults.
<!-- greyfinch-sync:Androtim/MiniVI:comment:7257019604 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/20#issuecomment-7257019604). Originally posted by [Androtim](https://github.com/Androtim) on 2026-11-29T14:04:30Z. --- Human RTX 4060 Ti 8 GB playtest & CLI check passed: - Verified `victory.exe play --help` shows `--framegen-ready` opt-in with `--no-framegen-ready` as default. - Verified a 13-minute live RTX 4060 Ti playtest session (`victory-nvidia-play-20261129-134842-8720.log`) completed with **0 crashes**, **0 panics**, and **0 DRED faults**.
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
Androtim/MiniVI!20
No description provided.