AMD FSR files: the PC upscaler is fetched too, and scripts/get-amd-fsr.sh fetches them under Wine and Proton #3520
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3520
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3520"
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?
@chosenundeadsz on GitHub · 2026-11-30 00:25 UTC · original
chosenundeadsz:amd-fsr-files→main· +114 −12 · 5 files · 1 commits · openWhat it changes
The PC FidelityFX path (
VICTORY_PC_FSR=1) loadsamd_fidelityfx_upscaler_dx12.dll, whichvictory get-fsrdid not fetch. And the fetcher runs Windows PowerShell, which a Proton prefix does not have, asdocs/linux-proton.mdalready says of NVIDIA's.get-amd-fsr.ps1,Get-AMD-FSR.cmd,play.rs: the upscaler is fetched with the other two (SDK v2.4.0, its SHA-256 checked against AMD's copy). These are the same lines as #3011, so either can land first. With the PC upscaler asked, a folder without it is not taken for AMD's files.play.rs: under Wine and Proton the question is still asked; a yes namesscripts/get-amd-fsr.shinstead of starting PowerShell.scripts/get-amd-fsr.sh: the Linux stand-in, in the form ofget-nvidia-dlss.shandget-mfg-unlocker.sh. It needs curl, fetches the three files with the same SHA-256 values and AMD's licence into the prefix's%LOCALAPPDATA%\victory\amd-fidelityfx, wherevictory.exelooks, and--tonames another folder, as the PowerShell script's-Todoes.docs/linux-proton.md: how to run it.How it was tested
victory get-fsrunder Wine, names the script. The script fetched the three files into a Heroic prefix and into a folder besidevictory.exe, fetched nothing on a second run, fetched a changed file again, and with one SHA-256 altered in a copy of it did not keep the file; shellcheck reports nothing. The files are the same, by SHA-256, as those #3519 ran with.cargo testpassed for the crates it touches: yes,victory, cross-built with cargo-xwin and run under Wine. Two tests fail there, onmainas well, because they check for Windows (windows_is_not_wine,a_copy_of_windows_own_direct3d_12_is_set_aside_for_system32s).mainat41adb551clippy already stops invictory-shaderandvictory-loader, andcargo xtask policyflagscrates/victory-loader/src/heap_sites/frame_users.rs. Neither is touched here.Checked for overlap
play-foxhound.ps1 -FgType fsr4parts, which are not here.get-amd-fsr.ps1checks the files; #2687 changes whenplay.rssets the AMD files up.Written with an AI assistant, reviewed and tested before submission.
🤖 Generated with Claude Code
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.Merge
Merge the changes and update on Forgejo.