hle, gpu: fall back to FSR 3.1 upscaler when FSR 4.1 is unavailable #324
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!324
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-324"
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?
@EzequielGhR on GitHub · 2026-12-03 14:12 UTC · original
feat/framegen_fsr3.1_fallback_rdna2→main· +49 −15 · 5 files · 1 commits · merged 2026-12-03 16:26 UTCCloses #160
Summary
Allows RDNA 2 / RDNA 3 GPUs (where
amd_fidelityfx_upscaler_dx12.dllexposes3.1.xinstead of4.1.xunder Wine/vkd3d-proton) to use host FidelityFX upscaling, presets (VICTORY_PRESET), and FSR 3.1 frame generation (VICTORY_FIDELITYFX_FRAMEGEN=1).I don't have access to an llm to walk me through the whole repo so if there are tests I didn't see or something please let me know and I'll fix things as soon as I am able.
Changes
victory-hle(fidelityfx.rs):3.1.xupscaler provider inselect_versionand post-creation version validation when no4.1.xprovider is exposed by the adapter.null()instead of the guest Xboxmemoryallocator pointer into hostffxCreateContextandffxDestroyContextso the3.1.xprovider uses host memory allocation instead of jumping to unmapped guest callbacks (0xc0000005).victory-gpu.victory-gpu(external.rs,host/panel.rs):FSR 3(FSR3 Q/B/P) in the F3 performance panel when a3.xhost upscaler is active, while keepingFSR 4(FSR4 Q/B/P) when4.xis active.Testing
26.3.1and AMD FidelityFX SDK2.4.0(3.1.6upscaler + frame generation).VICTORY_FSR_4K=balanced,VICTORY_FIDELITYFX_FRAMEGEN=1,VICTORY_UI_PLANE=1920x1080VICTORY_OUTPUT=1920X1080, and the F3 performance panel readout.Current run.conf