run: honor VICTORY_FSR_HOST on Series S and allow FrameGen with it #384
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!384
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-384"
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?
@MikeSouza1 on GitHub · 2026-12-03 22:46 UTC · original
MikeSouza1:fix/series-s-fsr-host-and-framegen→main· +76 −14 · 3 files · 5 commits · openFixes #403
Problem
374850871("run: Series S defaults to the title's upscaler") setsVICTORY_UPSCALER=6onConsole::SeriesSwheneverVICTORY_UPSCALERis unset, without checking whetherVICTORY_FSR_HOST=1is actively serving FidelityFX on the host. Even though the comment above it notesVICTORY_FSR_HOST=1 serves FidelityFX on the host instead, host FSR on Series S was bypassed unlessVICTORY_UPSCALER=7was also set manually.VICTORY_FSR_HOST=1branch,victory_hle::modules::fidelityfx::use_frame_generation(dir)was not called whenVICTORY_FIDELITYFX_FRAMEGEN=1is set, even thoughvictory_gpu::framegenis console-agnostic and consumes the host upscaler's recorded depth/motion inputs directly.Fix
victory_hle::modules::fidelityfx::serving()puband gate the Series SVICTORY_UPSCALER=6fallback onserving()(which only becomes true once a live host FidelityFX upscaler provider is loaded and selected), keeping the safeVICTORY_UPSCALER=6fallback wheneverVICTORY_FSR_HOSTis off, unset, or fails to select a provider.maybe_use_frame_generation(dir)helper inapps/victory/src/run.rsused by bothVICTORY_FSR_4KandVICTORY_FSR_HOST=1whenVICTORY_FIDELITYFX_FRAMEGEN=1is set. Note: this also enables AMD frame generation on Series X when usingVICTORY_FSR_HOST=1+VICTORY_FIDELITYFX_FRAMEGEN=1(shared depth/motion dispatch path).docs/SETTINGS.mdforVICTORY_FSR_HOSTandVICTORY_FIDELITYFX_FRAMEGEN, and add unit tests inseries_s_output_tests.Verification
PKG=victory ./build.sh check(0 warnings),PKG=victory ./build.sh test -- series_s_output_tests(5 passed; 0 failed).CONSOLE=series-s,VICTORY_OUTPUT=1920x1080,VICTORY_BVH_BUILDER=1):VICTORY_FSR_HOST=1:FidelityFX: upscaler context on the host provider="3.1.6" render=[1280, 720] output=[1920, 1080]activates cleanly on Series S (no black screen); steady-state in-world frame time improved from63.3 ms(17.7 fps,min 3.7) to51.8 ms(19.6 fps,min 16.0) with zero texture/pipeline warnings.VICTORY_FSR_HOST=1+VICTORY_FIDELITYFX_FRAMEGEN=1(re-verified on3b84f58, logs + screenshot in the comments below): proxy3.1.7and generator3.1.6initialize, compose the interface plane separately, and generate interpolated frames over a normal 3D outdoor scene (generated frames frame=3801 rendered=3 generated=3 presents=4).@maple-quartz18 on GitHub · 2026-12-03 23:53 UTC · original
agreed
@Mylloon on GitHub · 2026-12-04 01:30 UTC · original
Just tested the PR, works great!
github-bot referenced this pull request2026-12-04 01:44:00 +00:00
@Kal0s-design on GitHub · 2026-12-04 07:36 UTC · original
Read through this at
1230388and built it natively on Windows (MSVC, not Wine).cargo test -p victory --binspasses 25/25, and clippy has nothing new in run.rs.What changes, as far as I can tell from the code:
VICTORY_FSR_HOSTunset or=0: same as main.host_fsr_servingstays false and theVICTORY_UPSCALER=6default still applies (run.rs:258-263).VICTORY_FSR_HOST=1but no FidelityFX dir: only the menu warning,host_fsr_servingstays false, still forced to 6. That's the safe fallback.VICTORY_FSR_HOST=1and the DLL loaded: the picker is left alone, so the title's FidelityFX goes to the host provider. An explicitVICTORY_UPSCALERstill wins.VICTORY_FSR_HOST=1andVICTORY_FIDELITYFX_FRAMEGEN=1also gets frame gen now. That seems fine to me, since the depth/motion handoff sits in the shared dispatch path (crates/victory-hle/src/modules/fidelityfx.rs:721) and runs for both branches. Might be worth adding one line about it to the PR description.I don't see a guard being dropped.
b76f277only wired frame gen into theVICTORY_FSR_4Kbranch and nothing in it explains why the host branch was left out.3748508already says in its comment thatVICTORY_FSR_HOST=1serves FidelityFX instead (run.rs:256), so the code just didn't match that comment before. The Series S output cap from #66 is enforced elsewhere and this doesn't touch it.The env reads match what's already there. The new frame gen check is a copy of the one at run.rs:170, and
VICTORY_FSR_HOSTis still read the same way at run.rs:186 (trimmed, "1") and crates/victory-gpu/src/host/panel.rs:756 (trimmed and lowercased, "1"), so=0means off in both places.Two small nits, neither blocking. The frame gen block now exists twice (run.rs:170 and :200) and could be pulled into a small helper. docs/SETTINGS.md:27 could also mention that on Series S,
VICTORY_FSR_HOST=1replaces the default upscaler 6.Couldn't test it in game here, so this is code reading plus the unit tests.
AI-assisted: yes
@Luxuride on GitHub · 2026-12-04 12:04 UTC · original
The logic reads right and the guard is narrowly scoped, but this is a nine-line change that undoes a documented crash-class workaround for one console profile, so it should not be merged on reasoning alone — attach one Series S run with
VICTORY_FSR_HOST=1(andVICTORY_FIDELITYFX_FRAMEGEN=1): the log lines plus a screenshot of a non-black scene.The comment you edit (
run.rs:245-250) records that the Series S picker choosing the console FidelityFX left "the interface draws but the 3D scene stays black". If the title still picks 7 and the host dispatch fails, the black screen is back with no guard, so keep the forced 6 until a live provider is actually reported.Two nits while you are there:
host_fsr_servingis a false friend: it is set whenuse_host_dir(dir)returnsOk(run.rs:199), which proves the DLL loaded, not that a provider exists or is serving. Call ithost_fsr_loaded, or gate onfidelityfx::serving()(fidelityfx.rs:251).run.rs:200-205vsrun.rs:169-173) and both copies test only== "1", so the fourth ML mode will silently not work on this path. One helper, same accepted values in both places.And one doc sentence:
docs/SETTINGS.md:27still describesVICTORY_FSR_HOSTas only "FSR 4 for the title's own upscaling"; on Series S it now also suppresses the forced upscaler override.@MikeSouza1 on GitHub · 2026-12-04 17:08 UTC · original
Thanks @Luxuride and @Kal0s-design for the thorough review! Addressed all code/doc feedback in
3b84f58:victory_hle::modules::fidelityfx::serving()aspuband gated the Series SVICTORY_UPSCALER=6fallback onserving()instead of the rawVICTORY_FSR_HOSTflag, so if the host DLL/provider is missing or fails to select, Series S still falls back to upscaler6.maybe_use_frame_generation(dir)helper inapps/victory/src/run.rs(deduplicating theVICTORY_FSR_4KandVICTORY_FSR_HOSTbranches).docs/SETTINGS.mdforVICTORY_FSR_HOSTandVICTORY_FIDELITYFX_FRAMEGEN, updated the PR description to note Series X +VICTORY_FSR_HOST=1also gains FrameGen, and expandedseries_s_output_tests(PKG=victory ./build.sh checkwith 0 warnings,PKG=victory ./build.sh test -- series_s_output_tests5 passed; 0 failed).Series S verification run on
3b84f58(CONSOLE=series-s VICTORY_FSR_HOST=1 VICTORY_FIDELITYFX_FRAMEGEN=1)Relevant log lines from the run (RX 6750 XT 12 GB, RADV NAVI22, Fedora Linux):
Screenshot of the live 3D scene from that run (

VIctory 3b84f58 | 1280x720 -> 1920x1080 [FSR 3] | FG:ON):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.