AMD FSR files: the PC upscaler is fetched too, and scripts/get-amd-fsr.sh fetches them under Wine and Proton #3520
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by chosenundeadsz on 2026-11-30T00:25:11Z.
What 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
Checkout
From your project repository, check out a new branch and test the changes.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.