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

Open
Yoruiopz wants to merge 1 commit from upstream-pr/2687 into main
Yoruiopz commented 2026-11-29 16:03:50 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoruiopz on 2026-11-29T16:03:50Z.


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.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5552495240 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2687). Originally posted by [Yoruiopz](https://github.com/Yoruiopz) on 2026-11-29T16:03:50Z. --- ## 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`.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2687:upstream-pr/2687'
git switch 'upstream-pr/2687'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2687'
git switch 'upstream-pr/2687'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2687'
git switch 'upstream-pr/2687'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2687'
git switch 'main'
git merge --squash 'upstream-pr/2687'
git switch 'main'
git merge --ff-only 'upstream-pr/2687'
git switch 'main'
git merge 'upstream-pr/2687'
git push origin 'main'
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!2687
No description provided.