Upscaling (DLSS Super Resolution, FSR, XeSS): where the title's inputs can be reached, and in which order to land it #730
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#730
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
Players with an NVIDIA card ask for DLSS, and players with other cards for FSR or XeSS, to raise image quality or to render at a lower internal resolution. The fork does not control the title's shaders or render passes, so the question is where an upscaler can be fed real inputs (colour, depth, motion vectors, jitter, exposure) and where it cannot. This issue is the feasibility analysis and a staged plan. Frame generation is a separate issue because its constraints differ.
The user also named "DLSS 5". That version is not verified: nothing in this repository or in the upstream tracker mentions it, and no source was consulted for it. This issue does not assume it exists. The DLSS work cited below targets the public Streamline 2.x SDK (2.14.16 in the reports).
Related work (checked 2026-11-25; searches: dlss, fsr, streamline, upscal, xess, motion vectors)
In this repository:
VICTORY_FFX_DIR= SDKsignedbin), a port of Marvisak/VIctory#1284. Reported working in the title on RTX 4060 Ti with #32 (see its comments).crates/victory-hle/src/modules/ffx.rs,apps/victory/src/run.rs.Upstream (Marvisak/VIctory, outside this repository):
Nothing here should be implemented twice. DLSS Super Resolution already has a candidate implementation upstream; this issue's value is deciding what the fork takes, in which order, and what it measures.
What the fork can and cannot control
Where the inputs come from. In the Series S profile the title itself calls a FidelityFX upscale (
ffxDispatch, upscale type, public FidelityFX API layout) with its internal 1280x720 colour and a 1920x1080 target (#188, #616, upstream #1704). The dispatch description carries, by that public layout, the colour and depth textures, the motion vectors and their scale, the exposure, the jitter offset, the render and upscale sizes, the frame time and the camera near/far/fov; which of those the title actually fills correctly is not verified here beyond what upstream #1704 maps. That dispatch is a seam the fork already intercepts (#188, #86): the colour, depth and vectors arrive from the title's own passes, with the title's own jitter. We never author those passes, so we cannot fix a bad vector or a missing reactive mask; we can only pass them on.What that implies, in order of certainty:
Pass order, jitter, vectors: all belong to the title's renderer. The fork can verify them in a run (read back the vectors after a dispatch, check their magnitude against the camera motion) but cannot change them.
Proposal, in phases
VICTORY_DLSS_DIR, no binaries in the tree, off by default). Port as a PR here after #86/#188/#32 are in, or stack on them; do not open a competing implementation. Add the phase 0 measurements to its description.Risks and licences
nvngx_dlss.dll) and Streamline binaries are NVIDIA's and are redistributed under NVIDIA's terms; the fork must load them from a user-supplied folder and not commit them. Whether the Streamline headers are MIT is stated in upstream #1704; not re-verified here. DLSS needs an NVIDIA RTX GPU.signedbin) are AMD-signed; same user-folder rule as #86. Licence of the SDK not verified in this issue.Acceptance criteria (measurable)
VICTORY_DLSS_DIRset on an RTX card in Series S mode, the log shows the context created at the title's render/output size and at least 1,000 upscale dispatches in a 5 minute world run with no Streamline error and no device removal; with it unset the build and behaviour match main.cargo test --workspace --lockedstays green; the new code has a test that skips cleanly when the SDK folder is missing.Not verified
Next step
No code is proposed before phase 0. A small PR for the logging switch can follow; the DLSS port should be coordinated with the owner of #86/#188 so the three land in a workable order.
@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.