Frame generation: FSR 3 without DLSS through the PC FidelityFX upscaler, where NVIDIA's files are not #3519

Closed
chosenundeadsz wants to merge 1 commit from upstream-pr/3519 into main
chosenundeadsz commented 2026-11-30 00:25:07 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by chosenundeadsz on 2026-11-30T00:25:07Z.


Fixes #1153

What it changes

FSR 3 frame generation needs a host upscaler in front of it: with the title's own FidelityFX upscaler running beside it, the title stops at +0x2219650 (#331, #663). Only DLSS filled that role, so on a PC without NVIDIA's files FSR 3 chosen in F1 stayed off (#1445). main already has a host upscaler that is not DLSS, the PC FidelityFX path (VICTORY_PC_FSR=1) of the experimental FSR 4 choice. This lets FSR 3 use it as well.

  • play.rs: FSR 3 chosen with no Streamline folder takes the PC FidelityFX path, as FSR 4 does, with VICTORY_FSR_FRAMEGEN=1. With NVIDIA's files there nothing changes: DLSS keeps the upscaling. On that path the "FRAME GEN OFF: DLSS IS OFF" note is not given.
  • run.rs: with the PC upscaler and FSR frame generation both ready, the title renders through its FidelityFX path (upscaler_mode) on Series S too; before, only Series X with the PC upscaler (pc_mode) did, so on Series S frame generation never had inputs. FSR frame generation is loaded for FSR 3 as for FSR 4 (enable_host_fsr_framegen, was enable_host_fsr4).
  • streamline.rs: the start notice says the PC upscaler takes DLSS's place, and with VICTORY_PC_FSR=1 the "needs DLSS" guard is not applied, so missing AMD files are named as such.
  • docs/linux-proton.md: the run below.

How it was tested

  • GPU and profile: Radeon RX 9060 XT 16 GB (RADV, Mesa 26.3.1), Ryzen 5 3600, Linux, Proton Experimental 11.0-20261123b through Heroic. Series S, 1920x1080 output, 1280x720 scene (quality), FSR 3 frame generation 2x, no ray tracing, no NVIDIA files.
  • Before: FSR 3 frame generation stayed off, 12 to 15 fps in open water.
  • After: PC FidelityFX upscaler created render=[1280, 720] output=[1920, 1080] and FidelityFX's frame interpolation swap chain in the log; 13 to 15 frames rendered and 26 to 30 shown in open water, with small artefacts at the edges of the picture; no stop at +0x2219650. With AMD's files taken away the notice reads FRAME GEN OFF: AMD FSR 3 FILES NOT FOUND.
  • Not tested: Windows, and an NVIDIA card without NVIDIA's files (a GTX, or an RTX with no Streamline folder), which now takes this path too.
  • For shader changes, the wave sizes tested: not a shader change.
  • cargo test passed for the crates it touches: yes, victory and the streamline tests of victory-gpu, cross-built with cargo-xwin and run under Wine. Two victory tests fail there, on main as well, because they check for Windows (windows_is_not_wine, a_copy_of_windows_own_direct3d_12_is_set_aside_for_system32s). New test: fsr_chosen_without_nvidia_files_uses_pc_upscaling.
  • CI: on main at 41adb551 clippy already stops in victory-shader and victory-loader, and cargo xtask policy flags crates/victory-loader/src/heap_sites/frame_users.rs. Neither is touched here, and clippy reports nothing in the lines this changes.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #1236, #3011, #3248
    • #1236 aims at the same with a new FSR upscaler (fsr_upscale.rs, VICTORY_FSR_UPSCALE). This reuses the PC FidelityFX path already on main, in about 60 lines.
    • #3011 makes the PC upscaler count like DLSS on Series X and adds its DLL to the download; it touches the same upscaler_mode line in run.rs. A fresh install needs amd_fidelityfx_upscaler_dx12.dll, which #3011 or #3520 fetches.
    • #3248 changes the same "FRAME GEN OFF" note in play.rs.

Written with an AI assistant, reviewed and tested before submission.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5556791202 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3519). Originally posted by [chosenundeadsz](https://github.com/chosenundeadsz) on 2026-11-30T00:25:07Z. --- Fixes #1153 ## What it changes FSR 3 frame generation needs a host upscaler in front of it: with the title's own FidelityFX upscaler running beside it, the title stops at +0x2219650 (#331, #663). Only DLSS filled that role, so on a PC without NVIDIA's files FSR 3 chosen in F1 stayed off (#1445). `main` already has a host upscaler that is not DLSS, the PC FidelityFX path (`VICTORY_PC_FSR=1`) of the experimental FSR 4 choice. This lets FSR 3 use it as well. - `play.rs`: FSR 3 chosen with no Streamline folder takes the PC FidelityFX path, as FSR 4 does, with `VICTORY_FSR_FRAMEGEN=1`. With NVIDIA's files there nothing changes: DLSS keeps the upscaling. On that path the "FRAME GEN OFF: DLSS IS OFF" note is not given. - `run.rs`: with the PC upscaler and FSR frame generation both ready, the title renders through its FidelityFX path (`upscaler_mode`) on Series S too; before, only Series X with the PC upscaler (`pc_mode`) did, so on Series S frame generation never had inputs. FSR frame generation is loaded for FSR 3 as for FSR 4 (`enable_host_fsr_framegen`, was `enable_host_fsr4`). - `streamline.rs`: the start notice says the PC upscaler takes DLSS's place, and with `VICTORY_PC_FSR=1` the "needs DLSS" guard is not applied, so missing AMD files are named as such. - `docs/linux-proton.md`: the run below. ## How it was tested - GPU and profile: Radeon RX 9060 XT 16 GB (RADV, Mesa 26.3.1), Ryzen 5 3600, Linux, Proton Experimental 11.0-20261123b through Heroic. Series S, 1920x1080 output, 1280x720 scene (quality), FSR 3 frame generation 2x, no ray tracing, no NVIDIA files. - Before: FSR 3 frame generation stayed off, 12 to 15 fps in open water. - After: `PC FidelityFX upscaler created render=[1280, 720] output=[1920, 1080]` and FidelityFX's frame interpolation swap chain in the log; 13 to 15 frames rendered and 26 to 30 shown in open water, with small artefacts at the edges of the picture; no stop at +0x2219650. With AMD's files taken away the notice reads `FRAME GEN OFF: AMD FSR 3 FILES NOT FOUND`. - Not tested: Windows, and an NVIDIA card without NVIDIA's files (a GTX, or an RTX with no Streamline folder), which now takes this path too. - For shader changes, the wave sizes tested: not a shader change. - `cargo test` passed for the crates it touches: yes, `victory` and the `streamline` tests of `victory-gpu`, cross-built with cargo-xwin and run under Wine. Two `victory` tests fail there, on `main` as well, because they check for Windows (`windows_is_not_wine`, `a_copy_of_windows_own_direct3d_12_is_set_aside_for_system32s`). New test: `fsr_chosen_without_nvidia_files_uses_pc_upscaling`. - CI: on `main` at 41adb551 clippy already stops in `victory-shader` and `victory-loader`, and `cargo xtask policy` flags `crates/victory-loader/src/heap_sites/frame_users.rs`. Neither is touched here, and clippy reports nothing in the lines this changes. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #1236, #3011, #3248 - #1236 aims at the same with a new FSR upscaler (`fsr_upscale.rs`, `VICTORY_FSR_UPSCALE`). This reuses the PC FidelityFX path already on `main`, in about 60 lines. - #3011 makes the PC upscaler count like DLSS on Series X and adds its DLL to the download; it touches the same `upscaler_mode` line in `run.rs`. A fresh install needs `amd_fidelityfx_upscaler_dx12.dll`, which #3011 or #3520 fetches. - #3248 changes the same "FRAME GEN OFF" note in `play.rs`. Written with an AI assistant, reviewed and tested before submission. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
RustyTheDalek commented 2026-11-30 18:22:03 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by RustyTheDalek on 2026-11-30T18:22:03Z.


Tested the same gap on Windows and RDNA 4, with FSR 4 rather than FSR 3: Radeon RX 9070 XT 16 GB, Ryzen 9 5900X, Windows 11, Series S (1280x720 scene, 1920x1080 output), FSR 4 chosen in F1 (VICTORY_PC_FSR=1, VICTORY_FSR_FRAMEGEN=4), frame generation 2x, ray tracing off.

Without a change like this one (a build of main c71899d9 with #3859 and a few changes that do not touch this path), 8 minutes in the world:

PC FidelityFX upscaling available count=3 dll=...\amd_fidelityfx_upscaler_dx12.dll
FidelityFX frame generation: signed SDK libraries loaded ... ml=true
FSR 4 frame generation: FidelityFX confirmed swap-chain provider 4.0.0
FSR 4 frame generation: 0 presents with it on (0 with the colour without the interface), 233 off, 0 prepare dispatches failed

No PC upscaler was ever made and no frame was generated. The start also said FRAME GEN OFF: DLSS IS OFF (FSR 3 NEEDS DLSS'S UPSCALING), as you describe.

With the same one-condition change in run.rs locally (the PC upscaler wanting the title's FidelityFX path on Series S):

PC FidelityFX upscaler created render=[1280, 720] output=[1920, 1080] provider="4.1.2"
FSR 4: first submitted upscale reached the presenter pose=true view_space_to_meters=0.0
FSR 3 frame generation: its context was made display=[1920, 1080] max_render=[1280, 720] format=28 hudless_format=28 flags=0x8
FSR 4 frame generation: 152 presents with it on (152 with the colour without the interface), 0 off, 0 prepare dispatches failed

Switching frame generation off and on again in F1 worked during play, and there was no stop at +0x2219650. In a heavy part of the city it rendered 13 to 18 frames a second with frame generation on, against 20 to 22 in earlier runs of that build without the PC upscaler, so the generated frames cost a good share of the card here.

Two things that may help the review:

  • FSR 4 frame generation is there on RDNA 4. With SDK v2.4.0 (amd_fidelityfx_framegeneration_dx12.dll 4.0.2.4555) this card offers the 4.0.2 generator and 4.0.0 swap chain that #3857 found missing on an RX 7900 XTX, so the ML path ran here.
  • The upscaler alone also needs the path. Here it is wanted with the PC upscaler ready (pc_fsr), not only with frame generation ready (pc_fg). With FSR 4 chosen and frame generation off, nothing else asks for the path on Series S, so the PC upscaler is never made there and the FSR 4 choice only changes the start's message. With pc_fsr in the condition, the upscaler ran at 1280x720 into 1920x1080, the sizes upscaler_mode keeps for Series S without DLSS.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7287745389 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3519#issuecomment-7287745389). Originally posted by [RustyTheDalek](https://github.com/RustyTheDalek) on 2026-11-30T18:22:03Z. --- Tested the same gap on Windows and RDNA 4, with FSR 4 rather than FSR 3: Radeon RX 9070 XT 16 GB, Ryzen 9 5900X, Windows 11, Series S (1280x720 scene, 1920x1080 output), FSR 4 chosen in F1 (`VICTORY_PC_FSR=1`, `VICTORY_FSR_FRAMEGEN=4`), frame generation 2x, ray tracing off. **Without a change like this one** (a build of main c71899d9 with #3859 and a few changes that do not touch this path), 8 minutes in the world: ``` PC FidelityFX upscaling available count=3 dll=...\amd_fidelityfx_upscaler_dx12.dll FidelityFX frame generation: signed SDK libraries loaded ... ml=true FSR 4 frame generation: FidelityFX confirmed swap-chain provider 4.0.0 FSR 4 frame generation: 0 presents with it on (0 with the colour without the interface), 233 off, 0 prepare dispatches failed ``` No PC upscaler was ever made and no frame was generated. The start also said `FRAME GEN OFF: DLSS IS OFF (FSR 3 NEEDS DLSS'S UPSCALING)`, as you describe. **With the same one-condition change in `run.rs` locally** (the PC upscaler wanting the title's FidelityFX path on Series S): ``` PC FidelityFX upscaler created render=[1280, 720] output=[1920, 1080] provider="4.1.2" FSR 4: first submitted upscale reached the presenter pose=true view_space_to_meters=0.0 FSR 3 frame generation: its context was made display=[1920, 1080] max_render=[1280, 720] format=28 hudless_format=28 flags=0x8 FSR 4 frame generation: 152 presents with it on (152 with the colour without the interface), 0 off, 0 prepare dispatches failed ``` Switching frame generation off and on again in F1 worked during play, and there was no stop at +0x2219650. In a heavy part of the city it rendered 13 to 18 frames a second with frame generation on, against 20 to 22 in earlier runs of that build without the PC upscaler, so the generated frames cost a good share of the card here. Two things that may help the review: - **FSR 4 frame generation is there on RDNA 4.** With SDK v2.4.0 (`amd_fidelityfx_framegeneration_dx12.dll` 4.0.2.4555) this card offers the 4.0.2 generator and 4.0.0 swap chain that #3857 found missing on an RX 7900 XTX, so the ML path ran here. - **The upscaler alone also needs the path.** Here it is wanted with the PC upscaler ready (`pc_fsr`), not only with frame generation ready (`pc_fg`). With FSR 4 chosen and frame generation off, nothing else asks for the path on Series S, so the PC upscaler is never made there and the FSR 4 choice only changes the start's message. With `pc_fsr` in the condition, the upscaler ran at 1280x720 into 1920x1080, the sizes `upscaler_mode` keeps for Series S without DLSS.
trustno1-coder commented 2026-12-01 18:51:29 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:51:29Z.


Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7321684801 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3519#issuecomment-7321684801). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-12-01T18:51:29Z. --- Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

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!3519
No description provided.