Frame generation: hand DLSS-G its constants after any upscale, not only a DLSS one #16
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/trustno1-coder--VIctory-NVIDIA!16
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-16"
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?
@pepezin-ai on GitHub · 2026-11-27 03:51 UTC · original
pepezin-ai:fg-constants-fix→main· +87 −4 · 3 files · 1 commits · closed without mergingWhat was wrong
With frame generation on (
VICTORY_FRAME_GEN=4), DLSS-G never generated a frame: Streamline loggeddlfgPresent.cpp:2251 ... missing common constants - Frame Generation will be disabled for the frameon every present (about 2,900 times in 5 minutes), and every fg state line saidtagged=false.Cause:
slSetConstants/slSetTagForFrameonly ran infg::present_startwhenfg::LATESTheld a frame, andLATESTwas only filled byfg::tagfromdlss::record, i.e. after a DLSS evaluation that worked. But with frame generation on, Streamline starts NGX first, NGX (one per process) scans for features only in Streamline's folder, which has nonvngx_dlss.dll, so the later DLSS init getsSuperSampling.Available = 0("DLSS: super sampling is not available on this card or driver"), every upscale falls back to the stretch, and no present ever carries constants.The change (3 files, +87 / -4)
VICTORY_FG_ANY_UPSCALE(default on,0= the old behaviour):list::upscale_nowhands the title's upscale numbers, depth and motion vectors tofg::from_upscaleafter any recorded upscale, DLSS or stretch. Only the frame-generation path changes;fg::from_upscaledoes nothing without Streamline.VICTORY_DLSS_BEFORE_SL=1(default off, untested): starts NGX for DLSS super resolution before Streamline does, so NGX's single feature scan sees the DLSS folder. Meant to get DLSS SR and frame generation working together; left off until someone measures it.Measured
Ryzen 7 5700X 8C/16T, 32 GB RAM, RTX 5070 12 GB, Windows 11, driver Smooth Motion off.
scripts\play-nvidia.ps1 -Log -More @{VICTORY_FRAME_GEN='4'}, Series S, same open-world save.b190242)missing common constantswarningstagged=falsestatus 0 = working ... presented=4 per=411 fps (frame gen 44 fps)(driving the boat)Not checked: whether
VICTORY_DLSS_BEFORE_SL=1really brings DLSS SR back alongside FG; the motion-vector / jitter signs for the generated frames (the picture gets the usual frame-gen smear at a ~5-11 fps base).cargo test -p victory-gpudoes not compile onb190242itself (descriptor.rs:1730, a test with one argument too many), so no unit tests ran for this crate.DLSS frame generation dropped every frame ("missing common constants - Frame Generation will be disabled for the frame", dlfgPresent.cpp:2251, run t1-dlssperf-fg4): slSetConstants and slSetTagForFrame were only called in fg::present_start when fg::LATEST held a frame, and LATEST was only filled by fg::tag from dlss::record after a DLSS evaluation that worked. With frame generation on, Streamline starts NGX first, and NGX (one per process) looks for its features only in Streamline's folder, which has no nvngx_dlss.dll: the later DLSS init got SuperSampling.Available = 0 ("DLSS: super sampling is not available on this card or driver"), every upscale fell back to the stretch, fg::tag never ran (tagged=false in every state line) and no present ever carried constants. - VICTORY_FG_ANY_UPSCALE (default on, 0 = the old way): list::upscale_now hands the title's upscale numbers, depth and motion vectors to fg::from_upscale after any recorded upscale, DLSS or stretch. Only the frame-generation path changes (fg::from_upscale does nothing without Streamline). - VICTORY_DLSS_BEFORE_SL=1 (default off, untested): NGX is started for DLSS super resolution before Streamline starts it, so that NGX's one feature scan sees the DLSS folder. Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>Pull request closed