Skip AMD SDK setup when FSR frame generation is disabled #2687

Open
github-bot wants to merge 1 commit from github-bot/gh-2687 into main AGit
Owner

@⁠Yoruiopz on GitHub · 2026-11-29 16:03 UTC · original
Yoruiopz:skip-amd-sdk-when-fsr-disabled → main · +35 −1 · 1 files · 1 commits · open

Change

The launcher uses the runtime’s accepted VICTORY_FSR_FRAMEGEN values (1 and 4) to decide whether to locate or offer the AMD SDK. An explicit 0 skips AMD SDK setup. Ready-but-off mode still requests FSR with a frame multiplier of zero, and the PC FSR path still checks for its SDK.

Verification

  • Focused launcher regression test and locked offline release build passed.
  • Ran stock and patched launchers without the AMD SDK, using a synthetic invalid executable and redirected input. Stock printed the missing-SDK message for both 0 and 1. The patch printed it only for 1. All runs reached the expected invalid-image error after launcher setup.
  • The staged asset-policy check passed for apps/victory/src/play.rs.
**@⁠Yoruiopz** on GitHub · 2026-11-29 16:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2687) `Yoruiopz:skip-amd-sdk-when-fsr-disabled` → `main` · +35 −1 · 1 files · 1 commits · open ## Change The launcher uses the runtime’s accepted `VICTORY_FSR_FRAMEGEN` values (`1` and `4`) to decide whether to locate or offer the AMD SDK. An explicit `0` skips AMD SDK setup. Ready-but-off mode still requests FSR with a frame multiplier of zero, and the PC FSR path still checks for its SDK. ## Verification - Focused launcher regression test and locked offline release build passed. - Ran stock and patched launchers without the AMD SDK, using a synthetic invalid executable and redirected input. Stock printed the missing-SDK message for both `0` and `1`. The patch printed it only for `1`. All runs reached the expected invalid-image error after launcher setup. - The staged asset-policy check passed for `apps/victory/src/play.rs`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 16:04:16 +00:00
This pull request has changes conflicting with the target branch.
  • apps/victory/src/play.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2687'
git switch 'github-bot/gh-2687'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2687'
git switch 'github-bot/gh-2687'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2687'
git switch 'main'
git merge --squash 'github-bot/gh-2687'
git switch 'main'
git merge --ff-only 'github-bot/gh-2687'
git switch 'main'
git merge 'github-bot/gh-2687'
git push origin 'main'
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!2687
No description provided.