victory-gpu: FSR 3 framegen needs DLSS upscaling, not DLAA (#663) #679

Manually merged
github merged 1 commit from github-bot/gh-679 into main 2026-11-29 08:22:21 +00:00 AGit
Owner

@⁠cloph-dsp on GitHub · 2026-11-28 03:27 UTC · original
cloph-dsp:fix/fsr-framegen-dlaa-guard → main · +24 −2 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC

Depends on: #663

Problem

DLAA + FSR 3 frame generation breaks at victory-image+0x2219650. The guard in
crates/victory-gpu/src/streamline.rs was asked.fsr_framegen && !available.dlss:
it treats any loaded DLSS as valid upscaling. DLAA is DLSS at scale 1.0 —
anti-aliasing, not upscaling — so frame generation was left on with no real
upscaling to consume its output, and the title stopped at the start.

Change

  • Extracted a pure helper fsr_needs_dlss(fsr_framegen, mode, available_dlss)
    that counts DLAA as "no DLSS upscaling": fsr_framegen && (!available_dlss || mode == Mode::Dlaa).
  • The init guard now calls the helper.
  • Added synthetic test streamline::failing_tests::fsr_framegen_needs_dlss_upscaling_not_dlaa
    covering DLAA, real upscaling modes, absent request and absent DLSS.

One file, +24/-2. No behaviour change except the DLAA + framegen case.

Validation

Windows, Rust 1.100.0/MSVC, cargo test --locked, per-worktree CARGO_TARGET_DIR, entries synthetic:

  • cargo test --locked -p victory-gpu --lib -- streamline::failing_tests::fsr_framegen_needs_dlss_upscaling_not_dlaa --exact --test-threads=1 --quiet → 1 passed, 0 failed, 488 filtered.
  • cargo test --locked -p victory-gpu --lib -- streamline::failing_tests --test-threads=1 --quiet → 2 passed, 0 failed (no regression in the existing dlss_failing test).
  • git diff --check clean; git grep -F confirmed the new test name absent on origin/main (8fc2254).

Full workspace suite and clippy were not run locally (no clippy component on this toolchain). Only the named unit tests were replayed.

AI-assisted (Hy4 flash). GPU/driver: N/A (pure helper unit test, no DXIL/GPU path). No game data, assets, extracted shaders, DRM or decrypt involved.

**@⁠cloph-dsp** on GitHub · 2026-11-28 03:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/679) `cloph-dsp:fix/fsr-framegen-dlaa-guard` → `main` · +24 −2 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC Depends on: #663 ## Problem DLAA + FSR 3 frame generation breaks at `victory-image+0x2219650`. The guard in `crates/victory-gpu/src/streamline.rs` was `asked.fsr_framegen && !available.dlss`: it treats *any* loaded DLSS as valid upscaling. DLAA is DLSS at scale 1.0 — anti-aliasing, not upscaling — so frame generation was left on with no real upscaling to consume its output, and the title stopped at the start. ## Change - Extracted a pure helper `fsr_needs_dlss(fsr_framegen, mode, available_dlss)` that counts DLAA as "no DLSS upscaling": `fsr_framegen && (!available_dlss || mode == Mode::Dlaa)`. - The init guard now calls the helper. - Added synthetic test `streamline::failing_tests::fsr_framegen_needs_dlss_upscaling_not_dlaa` covering DLAA, real upscaling modes, absent request and absent DLSS. One file, +24/-2. No behaviour change except the DLAA + framegen case. ## Validation Windows, Rust 1.100.0/MSVC, `cargo test --locked`, per-worktree `CARGO_TARGET_DIR`, entries synthetic: - `cargo test --locked -p victory-gpu --lib -- streamline::failing_tests::fsr_framegen_needs_dlss_upscaling_not_dlaa --exact --test-threads=1 --quiet` → 1 passed, 0 failed, 488 filtered. - `cargo test --locked -p victory-gpu --lib -- streamline::failing_tests --test-threads=1 --quiet` → 2 passed, 0 failed (no regression in the existing `dlss_failing` test). - `git diff --check` clean; `git grep -F` confirmed the new test name absent on `origin/main` (8fc2254). Full workspace suite and clippy were not run locally (no clippy component on this toolchain). Only the named unit tests were replayed. AI-assisted (Hy4 flash). GPU/driver: N/A (pure helper unit test, no DXIL/GPU path). No game data, assets, extracted shaders, DRM or decrypt involved.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 03:31:42 +00:00
Author
Owner

@⁠Aniseto on GitHub · 2026-11-28 07:15 UTC · original

Ran the FSR frame-generation guard tests at 2c28b27 on an NVIDIA Blackwell desktop part:

Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, Rust 1.98.1 (pinned by rust-toolchain.toml), MSVC 14.44.35207, DXC 1.9.2609.5 (shared env), debug build.

cargo test --locked -p victory-gpu --lib -- streamline::failing_tests --test-threads=1
2 passed; 0 failed; 0 ignored; 0 measured; 487 filtered out      (exit 0)

Both tests pass: the new fsr_framegen_needs_dlss_upscaling_not_dlaa and the existing dlss_failing test. They are pure helper unit tests with no DXIL/GPU path, so no adapter capability was involved. The PR has no comments yet; this adds a Windows MSVC run on an RTX 5070 Ti to the author's run.

Not tested: an actual DLAA + FSR 3 frame generation session, the full workspace suite, clippy, a paired smoke run, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.

**@⁠Aniseto** on GitHub · 2026-11-28 07:15 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/679#issuecomment-7235821956) Ran the FSR frame-generation guard tests at `2c28b27` on an NVIDIA Blackwell desktop part: Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, Rust 1.98.1 (pinned by `rust-toolchain.toml`), MSVC 14.44.35207, DXC 1.9.2609.5 (shared env), debug build. ``` cargo test --locked -p victory-gpu --lib -- streamline::failing_tests --test-threads=1 2 passed; 0 failed; 0 ignored; 0 measured; 487 filtered out (exit 0) ``` Both tests pass: the new `fsr_framegen_needs_dlss_upscaling_not_dlaa` and the existing `dlss_failing` test. They are pure helper unit tests with no DXIL/GPU path, so no adapter capability was involved. The PR has no comments yet; this adds a Windows MSVC run on an RTX 5070 Ti to the author's run. Not tested: an actual DLAA + FSR 3 frame generation session, the full workspace suite, clippy, a paired smoke run, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash Free** - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.
Author
Owner

@⁠vibryxcx on GitHub · 2026-11-28 15:26 UTC · original

FSR 3 frame generation runs on an AMD card here, with a 2-line change and the Series S profile.

Setup: RX 6800 16 GB, i5-10600KF, 32 GB, Windows 11; main at 63b902f plus the commit below, --profile diag --features diagnostics; GTA6 own dump, --console series-s, AMD's DLLs from victory get-fsr.

Change (vibryxcx/VIctory-NVIDIA@330b440): VICTORY_FSR_WITHOUT_DLSS=1 skips the "FSR 3 needs DLSS" guard in streamline::init.

Findings

  • With only the guard skipped, the scene runs at DLAA (the default when frame generation is asked without DLSS) and the title stops with 0x80000003 at +0x2219650, the crash from #331/#459.
  • Adding VICTORY_FSR_PATH=1 + VICTORY_DLSS_MODE=quality (the title's own FidelityFX upscales at 0.667): no crash in 3-min runs (repeated about 25 times), and the log shows FSR 3 frame generation: 125 presents with it on (125 with the colour without the interface), 0 off per 10 s in the opening cutscene.
  • Also needed: VICTORY_ASYNC_SUBMIT=1 (or THIN) and VICTORY_FIDELITYFX_DIR pointing at the get-fsr folder.

Numbers (opening cutscene, median of 1-s medians): 12.4 rendered fps → ~25 shown. Best tuned: 13.4 rendered (HELPER_PRIORITY=0;TEXSPK_PASS_MS=4;LAND_THREADS=4;PROCESS_PRIORITY=1;UNDER_THREADS=4;STORE_BESIDE=1).

Not tested: the image quality of the generated frames (looked at only through the log), Series X, RDNA 3/4, gameplay outside the cutscene.

AI use: Claude Code (Claude Opus 5.5) made the change, ran the benchmarks and wrote this comment from the logs.

**@⁠vibryxcx** on GitHub · 2026-11-28 15:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/679#issuecomment-7241468674) FSR 3 frame generation runs on an AMD card here, with a 2-line change and the Series S profile. **Setup:** RX 6800 16 GB, i5-10600KF, 32 GB, Windows 11; main at `63b902f` plus the commit below, `--profile diag --features diagnostics`; GTA6 own dump, `--console series-s`, AMD's DLLs from `victory get-fsr`. **Change** ([vibryxcx/VIctory-NVIDIA@330b440](https://github.com/vibryxcx/VIctory-NVIDIA/commit/330b440)): `VICTORY_FSR_WITHOUT_DLSS=1` skips the "FSR 3 needs DLSS" guard in `streamline::init`. **Findings** - With only the guard skipped, the scene runs at DLAA (the default when frame generation is asked without DLSS) and the title stops with `0x80000003 at +0x2219650`, the crash from #331/#459. - Adding `VICTORY_FSR_PATH=1` + `VICTORY_DLSS_MODE=quality` (the title's own FidelityFX upscales at 0.667): no crash in 3-min runs (repeated about 25 times), and the log shows `FSR 3 frame generation: 125 presents with it on (125 with the colour without the interface), 0 off` per 10 s in the opening cutscene. - Also needed: `VICTORY_ASYNC_SUBMIT=1` (or THIN) and `VICTORY_FIDELITYFX_DIR` pointing at the `get-fsr` folder. **Numbers** (opening cutscene, median of 1-s medians): 12.4 rendered fps → ~25 shown. Best tuned: 13.4 rendered (`HELPER_PRIORITY=0;TEXSPK_PASS_MS=4;LAND_THREADS=4;PROCESS_PRIORITY=1;UNDER_THREADS=4;STORE_BESIDE=1`). **Not tested:** the image quality of the generated frames (looked at only through the log), Series X, RDNA 3/4, gameplay outside the cutscene. AI use: Claude Code (Claude Opus 5.5) made the change, ran the benchmarks and wrote this comment from the logs.
github manually merged commit 35c8573452 into main 2026-11-29 08:22:20 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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