Warn when the FSR 4K preset overrides resolution settings #520

Open
github-bot wants to merge 1 commit from github-bot/gh-520 into a-publier AGit
Owner

@⁠JohannFaust666 on GitHub · 2026-11-27 08:12 UTC · original
JohannFaust666:codex/fsr-4k-resolution-warning → a-publier · +22 −0 · 3 files · 1 commits · open

Closes #516.

With -Fsr4K quality and VICTORY_OUTPUT=1920x1080, the title still outputs 3840×2160. The startup log now explains why:

VICTORY_OUTPUT ignored: VICTORY_FSR_4K=quality sets the output size, render scale and upscaler

The same warning names each explicitly set render-scale or upscaler override. The README documents the precedence alongside the preset sizes.

Verified with Rust 1.98.1:

  • cargo check --locked -p victory --target x86_64-pc-windows-msvc --features blake3/pure from Linux.
  • cargo test --locked -p xtask (9 passed).
  • A standalone smoke test using the production preset parser, warning method and logger checked all 16 subsets of the four overrides with each preset, with FSR disabled, and with it unset. All 80 combinations produced the expected warnings.

No in-game GPU run.

**@⁠JohannFaust666** on GitHub · 2026-11-27 08:12 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/520) `JohannFaust666:codex/fsr-4k-resolution-warning` → `a-publier` · +22 −0 · 3 files · 1 commits · open Closes #516. With `-Fsr4K quality` and `VICTORY_OUTPUT=1920x1080`, the title still outputs 3840×2160. The startup log now explains why: ```text VICTORY_OUTPUT ignored: VICTORY_FSR_4K=quality sets the output size, render scale and upscaler ``` The same warning names each explicitly set render-scale or upscaler override. The README documents the precedence alongside the preset sizes. Verified with Rust 1.98.1: - `cargo check --locked -p victory --target x86_64-pc-windows-msvc --features blake3/pure` from Linux. - `cargo test --locked -p xtask` (9 passed). - A standalone smoke test using the production preset parser, warning method and logger checked all 16 subsets of the four overrides with each preset, with FSR disabled, and with it unset. All 80 combinations produced the expected warnings. No in-game GPU run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 08:15:30 +00:00
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-27 11:40 UTC · original

Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At 957b6da: victory bins 25 passed, 0 failed.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-27 11:40 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/520#issuecomment-7217343518) Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At `957b6da`: `victory` bins 25 passed, 0 failed. AI-assisted (Claude Code); no game data.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/520/head:github-bot/gh-520'
git switch 'github-bot/gh-520'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-520'
git switch 'github-bot/gh-520'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-520'
git switch 'github-bot/gh-520'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-520'
git switch 'a-publier'
git merge --squash 'github-bot/gh-520'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-520'
git switch 'a-publier'
git merge 'github-bot/gh-520'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.