Frame generation (DLSS-G, FSR): go/no-go depends on the base frame rate; what upstream has and what is unverified #731
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/fxceless--victory-fork#731
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Revens2 on GitHub · 2026-11-25 05:48 UTC · original
Problem
Frame generation (DLSS Frame Generation, AMD FSR frame generation, and similar) is asked for as a way to raise displayed frame rate. It is a different problem from upscaling: it inserts frames between rendered ones from motion vectors, depth and colour, it needs its own swap chain integration and, for the NVIDIA version, latency markers. This issue records what is known, what the fork can and cannot do, and the one condition that decides whether it is worth anything here. Super Resolution is in the upscaling issue; Reflex is in its own issue.
The user also named "DLSS 5". That is not verified (no source found or consulted); it is written down as asked and not assumed to exist. The frame-generation work cited below uses DLSS-G through the public Streamline 2.x SDK and FSR frame generation from AMD's FidelityFX SDK.
Related work (checked 2026-11-25; searches: frame generation, framegen, dlss, fsr, streamline)
In this repository: no issue or PR on frame generation. Context only: #86 (PC FSR), #188 (second plane and stretch), #616 (DLSS and FSR measured in Series S; the upscaler was not what a frame costs).
Upstream (Marvisak/VIctory, outside this repository):
VICTORY_DLSS_FG=<n>adds n frames. Depth and motion vectors are tagged from the title's own upscale dispatch; each present gets PCL markers and Reflex sleep (required by DLSS-G); generation is switched on only for frames that had an upscale (menus, videos, loading excluded). Needs an RTX 40 or newer and hardware-accelerated GPU scheduling per its description. Its own test is reported flaky (about one run in five generates nothing while reporting no failure; cause unconfirmed).VICTORY_FIDELITYFX_FRAMEGEN=1), FidelityFX proxy swap chain, FSR 3 interpolation API fed with depth and motion from the existing upscale. Verified: proxy swap chain at 4K. Unverified, by its own table: generated frames in the world, pacing, quality, overhead. HUD-less colour is unavailable, so the UI is included in interpolation.The condition that decides it
Frame generation multiplies the frames the game renders; it does not make a slow frame faster. This repository's reports measure world frames of about 200 to 800 ms (0.4 to 5 fps; #616, #696, #535, #418, #612). Generating 1 to 3 frames between frames that are a quarter second apart produces an image that moves with the old input latency and a long visible stall between real frames. The vendors document a minimum base frame rate for frame generation to behave; the numbers were not consulted here and are therefore not stated. Until the world runs at a rate where the base frames are short, frame generation has no useful application in the world. It could apply earlier only where the title renders at a steady rate (some menus, if the title upscales them: upstream #1715 excludes them by design).
Therefore the first deliverable is not code: it is a measured go/no-go that needs the world frame time to come down first. That work is tracked elsewhere (texture preparation, copy-back, relay, shader translation).
What the fork can and cannot control
crates/victory-gpu/src/host.rs(Presenter,CreateSwapChainForHwnd, flip-discard, 2 buffers) and copies the title's texture into the back buffer each present. Frame generation changes that: presents are produced by the vendor layer,Present's blocking behaviour changes, and the overlay/menu (#717 and the settings issue) have to draw on the final image, not before it.crates/victory-gpu/src/frame.rs) and #457'sbefore_presentinteract with it; not tested.Proposal, in phases (all conditional on the go/no-go)
scripts/bench.ps1figures). Record the base frame rate at which the project decides frame generation is worth trying. No code.ResizeBufferswith the vendor swap chain; capture tooling (the fork's frame capture reads back the title's texture, not the generated frames).Risks and licences
Present; a bug there is hard to debug and affects every presentation (menus, videos).Acceptance criteria (measurable)
cargo test --workspace --lockedstays green; tests that need the SDK skip cleanly without it.Not verified
Next step
None until phase 0 has a number. No PR is planned from this issue yet.
@Revens2 on GitHub · 2026-11-25 05:48 UTC · original
Sibling issues opened together: #727 (settings/menu), #728 (frame pacing and latency), #729 (Reflex), #730 (upscaling), #731 (frame generation). Overlaps are named in each body; this set should stay split by subject.