feat(recomplauncher): AMD FSR 4 ticks for the setup step, on Windows and Linux #2488
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2488
Loading…
Reference in a new issue
No description provided.
Delete branch "mrdev023/Longshot:feat/recomplauncher-fsr4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
RecompLauncher's setup step had no way to turn on AMD FSR 4: a player had to build with
--fsrby hand. This adds it torecomplauncher.json, on both systems. It is the FSR 4 part of #354 (its DLSS tick is already onmain). See #354.fsr4, AMD GPUs) builds with--fsr --fetch-fsr-runtime --accept-amd-license.It shows AMD's FidelityFX SDK license first, at the commit
scripts/fetch.pypins (FSR_COMMIT).--fetch-fsr-runtimeonly prints a message there. So the Linux tick(
fsr4_linux) only builds with--fsr, with no license to accept. An optional input (fsr4_library, roledlc,.soonly) lets the player pick a Vulkan FSR 4 library. The launcher places it before each start in the game folder
(
into: "Longshot") asamd_fidelityfx_upscaler_vk.so, the namegpu/vk/vk_fsr4.cpploads (kLoader), whateverthe picked file is called.
Read first:
recomplauncher.json(inputs,prepare.options), then the new test intests/test_recomplauncher_json.py.Testing
Tested:
recomplauncher.json: the setup screen showed the AMD FSR 4 tick (no license) and the.sorow under Add-ons. With aVulkan FSR 4 library picked (under another folder), the build ran with
--fsr(the game folder has.longshot_fsr),the launcher placed it as
Longshot/amd_fidelityfx_upscaler_vk.so(a hard link to the picked file), and in the gameFSR 4 ran:
fsr4.logselected4.1.1 Vulkan FP8on the RX 9070 XT.python -I tests/test_recomplauncher_json.pypasses (14 tests, with the newtest_fsr4_on_windows_and_linux), and the file validates against RecompLauncher'sdocs/recomplauncher.schema.jsonand its input rules (
src-tauri/src/inputs.rsvalidate).Still to test:
the game folder and FSR 4 offered in the Upscaler row (by hand)
Measurements
Nothing to measure: a setup manifest and a test, no change to what the game runs.
Risks
.sorow also shows on Windows: RecompLauncher's inputs have noosfilter. Its label says Linux only; a.sopicked there is never loaded.
.solater does not replace the one already placed: the launcher leaves a file it finds there alone.Deleting
Longshot/amd_fidelityfx_upscaler_vk.solets the new one in.GPUs. Dropping
"gpu": "amd"would show them everywhere.--fsr; a revert is enough.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named):tests/run_all.py --stricton this PCgives 313 passed, 649 failed, 18 skipped, the same 649 as on
main@9046a8d7(none fails only here). Each of them is--strictrefusing a tool this NixOS PC lacks (a C++ compiler, the Vulkan and SPIR-V headers,spirv-val,glslang, PIL);tests/test_recomplauncher_json.pypasses.main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
feat(recomplauncher): AMD FSR 4 ticks for the setup step, on Windows and Linuxto WIP: feat(recomplauncher): AMD FSR 4 ticks for the setup step, on Windows and LinuxWIP: feat(recomplauncher): AMD FSR 4 ticks for the setup step, on Windows and Linuxto feat(recomplauncher): AMD FSR 4 ticks for the setup step, on Windows and Linux80116c5636e15eea72bc7a9ef06b873b01b3d38fView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.