fix(upscaler): fall back Series S mode 7 to TAA2 and auto-detect fsr/dlss dirs (#281) #444
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/gamingwithhomie--larp!444
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-444"
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?
@ZerefDragnee1l on GitHub · 2026-12-06 00:58 UTC · original
ZerefDragnee1l:fix/series-s-upscaler-fallback-and-autodetect→main· +108 −15 · 4 files · 2 commits · openFixes #281 cleanly on current
main(split out from #408).Summary
apps/larp/src/hooks.rs,apps/larp/src/run.rs):map_upscaler_mode(picked, caps, pc_upscaler_answers)helper used byupscaler_mode_picked().7) falls back to TAA2 (6) so the console's un-translatable FSR4 shaders are not invoked. When a PC upscaler is answering andcaps & 0x40 != 0, native pick6still maps to7.upscaler_mode_pick_onlywhen external upscalers are disabled/unavailable soframe_upscaler_pick_modeis still hooked for Series S safety.crates/larp-gpu/src/ffx.rs,crates/larp-gpu/src/dlss.rs):<exe>/bin/fsr,<exe>/fsr,<exe>/../../bin/fsr(and matchingdlss/ngxdirectories) when env vars are unset so external upscalers work out-of-the-box without wrapper scripts.Verification
git diff --check-> cleancargo check -p larp-> exited 0cargo test -p larp --bin larp map_upscaler_mode->1 passed; 0 failed; 15 filtered out(hooks::tests::map_upscaler_mode_handles_series_s_fallback_and_pc_upscaler)@Heliumrich on GitHub · 2026-12-06 01:21 UTC · original · edited 2026-12-06 01:53 UTC
Kinda unrelated, but could you please make a PR to bypass the game TAA/FSR when the user is using DLSS/FSR/XeSS or whatever ?
As of right now, if you enable DLSS, you get two temporal anti-aliasing/upscaling passes, and it looks really bad, the game is way blurrier.
Disabling the game TAA (Series X) and using DLSS performance or quality, it looks way sharper, and there are no artifacts like checkerboard looking shadows or edges (this can happen when you disable a game TAA, look at r/FuckTAA on reddit. But here no, looks like DLSS/FSR handle the noise well and/or the game doesn't rely on TAA that much to denoise).
No graphical issues.
Yes, you can disable it manually, but I bet most users won't try and they will get a way worse experience without knowing
@vanya890 on GitHub · 2026-12-06 01:26 UTC · original
Could you add a focused regression test for the new Series S mode mapping: native pick
7should become6when no PC upscaler answers, while a ready PC upscaler with the Series S capability bit should still map6to7? The change inupscaler_mode_picked()is the critical correctness branch, and the current verification only reportscargo check; a pure test around the mapping would protect both directions without requiring a GPU.@ZerefDragnee1l on GitHub · 2026-12-06 01:35 UTC · original
Added the focused unit test covering
upscaler_mode_picked()via puremap_upscaler_mode(picked, caps, pc_upscaler_answers):hooks::tests::map_upscaler_mode_handles_series_s_fallback_and_pc_upscaler:7falls back to6whenpc_upscaler_answers == false(with bothcaps = 0x40and0x00), while6stays6.pc_upscaler_answers == true) maps6 -> 7whencaps & 0x40 != 0, keeps6 -> 6without0x40, keeps7 -> 7, and leaves unrelated modes untouched.Verified with
cargo check -p larp(exited 0) andcargo test -p larp --bin larp map_upscaler_mode(1 passed; 0 failed; 15 filtered out).@eipastel on GitHub · 2026-12-06 03:10 UTC · original
Tested this PR (
e72ba3b) on an RTX 5060 8 GB (driver 621.01), Windows 11 build 26300,--console series-s, no upscaler configured (noLARP_UPSCALER, nodlss\/fsr\beside the exe), street save, settings all default.main459db13: black window, luma mean 0.3/255 in all 4 samples over 60 s, 16-21 dispatches dropped per frame (dispatch: dropped, no host pipeline), the title's FSR 4 passes all failDeserializeComputePipelineStateX.amd_fidelityfx_upscaler_xbox.dllis not loaded and no FSR 4 deserialize failure is logged.One run each, luma from a screen capture of the window every 15 s (no image kept). Details and logs in #81. I did not test the
fsr/dlssfolder auto-detection part of this PR.Written with AI assistance (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.