fidelityfx: VICTORY_FSR_PROVIDER=3.1 prefers the FSR 3.1 upscaler over 4.1 #526

Manually merged
github merged 1 commit from github-bot/gh-526 into main 2026-12-05 17:30:39 +00:00 AGit
Owner

@⁠Xough on GitHub · 2026-12-04 22:04 UTC · original
Xough:fsr-provider-switch → main · +17 −1 · 2 files · 1 commits · merged 2026-12-05 17:26 UTC

What

VICTORY_FSR_PROVIDER=3.1 makes the host upscaler selection take the FSR 3.1 version first, even where the SDK also offers 4.1. Unset, nothing changes.

Why

On RDNA 2/3, select_version returns 4.1 as soon as it is listed, and only falls back to 3.1 when 4.1 is missing. On a card with no matrix units (RX 6700 XT) the 4.1 network is the heavier upscaler. A user who prefers the frame rate has no way to choose 3.1.

Change

  • fidelityfx.rs: with the setting on, a 4.1 entry is held rather than returned; a 3.1 entry is chosen if one is offered, and 4.1 stays the last resort (with a warning), so the setting never turns an upscaler into an error.
  • docs/SETTINGS.md: the setting, in the FSR table.

Checked

RX 6700 XT 12 GB, Ryzen 9 7900X, CachyOS, ray tracing off, Series X profile, FSR from a 1706x480 render to 5120x1440, no frame generation. Built-in benchmark, 3 min each, three runs per side, alternating:

avg fps (3 runs) 1% low
default (FSR 4.1.2) 23.4 / 23.4 / 23.5 13.2 to 14.1
VICTORY_FSR_PROVIDER=3.1 (3.1.6) 25.1 / 25.1 / 25.2 13.3 to 15.1

About +7% average fps, with the 1% low unchanged within noise. The 3.1 image is softer; the setting is off by default for that reason.

Not covered: no run on RDNA 3 or on NVIDIA; I only measured frame rates, not image quality objectively. rustfmt --check passes on the file. The Windows-target release build passes on the same code rebased on current main.

**@⁠Xough** on GitHub · 2026-12-04 22:04 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/526) `Xough:fsr-provider-switch` → `main` · +17 −1 · 2 files · 1 commits · merged 2026-12-05 17:26 UTC ## What `VICTORY_FSR_PROVIDER=3.1` makes the host upscaler selection take the FSR 3.1 version first, even where the SDK also offers 4.1. Unset, nothing changes. ## Why On RDNA 2/3, `select_version` returns 4.1 as soon as it is listed, and only falls back to 3.1 when 4.1 is missing. On a card with no matrix units (RX 6700 XT) the 4.1 network is the heavier upscaler. A user who prefers the frame rate has no way to choose 3.1. ## Change - `fidelityfx.rs`: with the setting on, a 4.1 entry is held rather than returned; a 3.1 entry is chosen if one is offered, and 4.1 stays the last resort (with a warning), so the setting never turns an upscaler into an error. - `docs/SETTINGS.md`: the setting, in the FSR table. ## Checked RX 6700 XT 12 GB, Ryzen 9 7900X, CachyOS, ray tracing off, Series X profile, FSR from a 1706x480 render to 5120x1440, no frame generation. Built-in benchmark, 3 min each, three runs per side, alternating: | | avg fps (3 runs) | 1% low | |---|---|---| | default (FSR 4.1.2) | 23.4 / 23.4 / 23.5 | 13.2 to 14.1 | | `VICTORY_FSR_PROVIDER=3.1` (3.1.6) | 25.1 / 25.1 / 25.2 | 13.3 to 15.1 | About +7% average fps, with the 1% low unchanged within noise. The 3.1 image is softer; the setting is off by default for that reason. Not covered: no run on RDNA 3 or on NVIDIA; I only measured frame rates, not image quality objectively. `rustfmt --check` passes on the file. The Windows-target release build passes on the same code rebased on current main.
The SDK offers both versions on an RDNA 2/3 card and select_version took 4.1
whenever it was listed, using 3.1 only when 4.1 was missing. Setting
VICTORY_FSR_PROVIDER=3.1 keeps 4.1 as the last resort but takes 3.1 first.
Unset, nothing changes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 22:08:36 +00:00
github manually merged commit bfc0cb0c33 into main 2026-12-05 17:30:39 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.