FSR 3 frame generation: make the swap chain with FidelityFX SDK 2.3.0's DLLs too (API 3.1.7) #3728
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!3728
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3728"
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?
@kc01-8 on GitHub · 2026-11-30 05:12 UTC · original
kc01-8:kc/fsr-swap-chain-2.3→main· +17 −1 · 1 files · 1 commits · openCI: the
checkjob is red onmainitself (84bd61e2c) with four clippy errors:loop_capsnever read (victory-shader/src/emit/lower.rs),copystat::mbandShadow::rangednever used, and a manual.is_multiple_of()inhost.rs. This PR adds no clippy error and no failing test: I checked by running the workflow's steps on this PR merged intomainand onmainitself. Under Wine, two tests fail now and then onmainas well (xmem::a_title_thread_goes_on_using_the_rest_of_a_view,crash::concurrent_crash_records_stay_together).What: FSR 3 frame generation now also starts with FidelityFX SDK 2.3.0's DLLs. Today it doesn't.
Why:
fsr.rsasks FidelityFX's frame interpolation swap chain for API 4.0.0, SDK 2.4.0's version.ERROR_PARAMETERbefore it makes anything (Fsr3FrameGenerationSwapChainParseVersionin the SDK's source).fidelityfxfolder (orVICTORY_FIDELITYFX_DIR) holds 2.3.0 DLLs gets no frame generation, just the "FidelityFX did not make the swap chain" warning.The change: when the swap chain refuses with
ERROR_PARAMETER, it is asked once more with 3.1.7. The structures we fill in are identical between the two SDK versions. The 2.4.0 path is unchanged, and so is FSR 4's: its provider ships only in 2.4.0, so it still asks for 4.0.0 only.Tested on an RTX 3080 Ti under Proton Experimental 11.0-20261123b, with SDK 2.3.0's signed DLLs (loader 2.3.0.2740, frame generation 4.0.1.2740).
fsr.rsdoes:ERROR_PARAMETER, and nothing is made.cargo clippy -p victory-gpuclean, and thestreamline::unit tests pass under Wine.Context: this came out of getting the title running at speed on an RTX 30 card under Linux/Proton, https://github.com/kc01-8/VIctoryNVIDIALINUX (branch
kc/foxhound). There the patched wineserver (ValveSoftware/wine#384) took the opening's slow minutes from 1–4 fps to 9–16. With DLSS performance and FSR 3 frame generation, play renders at 16.7–18.3 fps and shows about twice that.🤖 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.