hle: accept HelixSR FSR 4.1 provider version #378
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!378
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-378"
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?
@maple-quartz18 on GitHub · 2026-12-03 21:18 UTC · original
maple-quartz18:fix/helixsr-fsr41-provider→main· +6 −1 · 1 files · 1 commits · openSummary
Accept the HelixSR FSR 4 provider name
HLX FSR 4 (4.1.2)when selecting a host FidelityFX upscaler.Why
The provider DLL was found and reported
HLX FSR 4 (4.1.2), butis_fsr_4_1only accepted names beginning with4.1.. That causedselect_versionto reject the available HelixSR provider before context creation.Change
Strip the exact
HLX FSR 4 (...)wrapper before applying the existing 4.1.x version check. Standard4.1.xprovider names keep their current behavior. The same predicate is used during provider selection and post-context validation.Validation
JOBS=8 ./build.shcompleted successfully on the CachyOS host.@maple-quartz18 on GitHub · 2026-12-03 22:17 UTC · original
Additional information: I inspected the
fsr4.1.2-igpu-cyboman-rdna3-2026-11-22DLL variants. Their binaries contain these version strings:4.1.2-exact-igpu-r3-cyboman4.1.2-lossy-igpu-r3-cyboman4.1.2l-exact-igpu-r3-cyboman4.1.2l-lossy-igpu-r3-cybomanAll four strings already match the existing
4.1.prefix check, so the HelixSR wrapper fix in this PR should not be needed for these names. This is based on static inspection of the DLLs, not a runtime provider query; I have not yet verified context creation or in-game rendering on the Radeon 8060S.@Luxuride on GitHub · 2026-12-04 12:03 UTC · original
Cheap and useful if the provider name is real — right now nobody but you can tell whether it is.
fidelityfx.rs:306-309handles exactlyHLX FSR 4 (<version>)and nothing else: notHLX FSR 4 <version>, not(v4.1.2), not a trailing space. The PR body is the title, so there is no evidence of the actual string.Two things and it is a two-minute merge:
available: …list atfidelityfx.rs:361prints every name the SDK offers, so one run log settles it.is_fsr_4_1has none, while the module has a healthy test module (fidelityfx.rs:771+); four asserts over"4.1.2","4.10.1","HLX FSR 4 (4.1.2)","4.1."is the cheapest coverage in the backlog.No defect in the widening itself: accepting the same name in the post-create check at
fidelityfx.rs:463is right — it must accept what the picker accepted.@maple-quartz18 on GitHub · 2026-12-04 12:08 UTC · original
Can you take use of custom Fsr4 dll like 4.1.2l-lossy-igpu-r3-cyboman to gain more performance?
@maple-quartz18 on GitHub · 2026-12-05 04:25 UTC · original
is_fsr_4_1 runs on whatever build the user points the HLE at (it parses the string ffxQuery returns at context creation), and HelixSR reports itself as HLX FSR 4 (4.1.x) instead of 4.1.x. Without this the version check rejects a HelixSR DLL the user already has, so the accept-the-string change is needed regardless of how the DLL got onto disk.
A ./setup.sh helixsr step to fetch the DLL is a reasonable separate convenience, but it doesn't cover someone supplying their own build and it doesn't change what ffxQuery returns — so it wouldn't replace this. I'd keep this PR as the version fix and file the download step on its own if you want it; happy to open that as a follow-up.
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.