FSR 3 frame generation from the title's own upscaler, without DLSS (VICTORY_FG_OWN=1) #4790
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!4790
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4789"
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?
@AvocadroBro on GitHub · 2026-12-01 08:26 UTC · original
AvocadroBro:fg-own→main· +115 −5 · 4 files · 1 commits · closed without mergingRefs #1445
What it changes
With DLSS off, FSR 3 frame generation stays off ("FSR 3 frame generation stays off: it needs DLSS for the upscaling"): it is fed by the upscalings DLSS takes, and the title's FidelityFX path at DLAA's scale stops the title. This adds an opt-in way to run it with no DLSS and no host upscaler:
VICTORY_FG_OWN=1(off by default, nothing changes without it) keeps the title's own upscaler and gives frame generation the title's own render-size targets.streamline.rs:own_texture_madenotes the title's depth target (R32G8X24, depth flag) and motion-vector target (R16G16_FLOAT, render target + UAV) host copies.own_inputspicks the largest same-size pair of the output's aspect once per title frame (Series S: 1280x720; the 1024x1024 and 3840x2160 ones are other targets). The camera is what the title's FidelityFX path gives on this build: inverted depth, near 10000, far 0.15, no jitter, motion vectors in render pixels.fsr_needs_dlssdoes not hold FSR 3 back whenVICTORY_FG_OWN=1, and FSR 3 frame generation initialises without DLSS then.fsr.rs:before_presentfalls back toown_inputswhen no upscaling gave fresh inputs.run.rs: withVICTORY_FG_OWN=1and FSR 3 alone, the title keeps its own upscaler (upscaler_modeis not asked for the FidelityFX path).Known limit: the vertical field of view is not available without the FidelityFX path, so it is fixed at 0.866 rad (
VICTORY_FG_OWN_FOVto change). Generated frames can be less accurate where the game's real field of view differs (driving camera, cutscenes).How it was tested
-FrameGen -FgType fsr -Dlss offlogs the "stays off: it needs DLSS" warning and frame generation never runs (seen on41adb55; the same guard is on5fabb46e).5fabb46ewith this change, in a build that also carried two unrelated local patches (an opt-in watch.rs lock change, enabled for the run, and an inactive engine-settings port). The log showsits depth and motion vectors taken (first time) width=1280 height=720; in steady play 118 to 136 of about 160 presents per 10 s had frame generation on, 0 prepare dispatches failed; about 15 minutes in the open world, no crash. Over the whole session, loading and movies included: 9,247 presents on, 7,790 off.cargo test -p victory-gpu -p victory --lockedon7b43774a: victory 94 passed; victory-gpu 1094 passed, 1 failed (host::packed_present_tests::packed_float_single_planes_are_presented, which fails the same way on5fabb46ewithout this change).cargo clippy -p victory-gpu -p victory --all-targets --locked -- -D warnings, default and--all-features: no findings in the changed code.mainitself has 5 findings inhost/font.rs,host/menu.rsandhost/panel.rs(from #4635), not touched here.Checked for overlap
FSR 3 frame generation from the title's own upscaler, without DLSS (VICTORY_FG_OWN=1)Frame generation: FSR 3 from the title's own upscaler, no DLSS (VICTO…to FSR 3 frame generation from the title's own upscaler, without DLSS (VICTORY_FG_OWN=1)@trustno1-coder on GitHub · 2026-12-01 18:32 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed