Frame generation: hand DLSS-G its constants after any upscale, not only a DLSS one #16
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by pepezin-ai on 2026-11-27T03:51:45Z.
What 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.Pull request closed