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

Merged
cloph-dsp merged 1 commit from upstream-pr/679 into main 2026-11-29 08:16:58 +00:00
cloph-dsp commented 2026-11-28 03:27:57 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cloph-dsp on 2026-11-28T03:27:57Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5536229387 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/679). Originally posted by [cloph-dsp](https://github.com/cloph-dsp) on 2026-11-28T03:27:57Z. --- 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.
Aniseto commented 2026-11-28 07:15:52 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Aniseto on 2026-11-28T07:15:52Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7235821956 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/679#issuecomment-7235821956). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-11-28T07:15:52Z. --- 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.
vibryxcx commented 2026-11-28 15:26:30 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by vibryxcx on 2026-11-28T15:26:30Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7241468674 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/679#issuecomment-7241468674). Originally posted by [vibryxcx](https://github.com/vibryxcx) on 2026-11-28T15:26:30Z. --- 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.
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!679
No description provided.