frame generation never starts on the Series X profile: 2208 'missing common constants' and every frame drawn at 35.7 ms #3137
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?
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T13:34:13Z.
Frame generation never starts on the Series X profile with the launcher's settings: a five-minute run on an RTX 4090 logged 2208
missing common constantsand drew every frame without it.The run
play-nvidia.ps1 -SeriesX -Resolution 1440on an RTX 4090, driver 621.24 - the profile the launcher's own help describes.LEONIDA_FRAME_GEN=2was in the resolved settings, the DLSS files were fetched, and the layer made its device on the card (host wave lanes min=32 max=32).What the log says
2208 times, all from Streamline's frame-generation present:
And the frame times say the same from the other side (
host::frametime, 46 windows of about five seconds):LEONIDA_FG_LIMIT_FPS=28was set, and every rendered frame was 35.7 ms: not one generated frame was presented - with 2x generation the presented rate would have been 56, not 28.Where it comes from, read in the code
d3d12/crates/leonida-gpu/src/fg.rs:1076-1085:sl.set_constantsis only reached insideand
foundisNonewhenever a copy of the title's depth or motion texture cannot be looked up (fg.rs:1054-1065,crate::resource::made_copy(this)?). A present with no constants is exactly what Streamline then reports asmissing common constants. So on this pathfoundwasNonefor all 2208 presents, and nothing else in the frame generation path runs - no tags, no generation.The requirement is documented in
streamline.rs:106, which names this very message: "the index on the present markers ... must match the one used forslSetConstants(otherwise 'common constants cannot be found for frame N')".What I cannot say
-Dlss quality, Series S, or withoutLEONIDA_OWN_UPSCALER=1): one run, one profile. The launcher's profile setsLEONIDA_OWN_UPSCALER=1andLEONIDA_FG_LIMIT_FPS=28, and those are my first two suspects for why the depth and motion copies are not found.?inlook()failed - the depth copy or the motion one.LEONIDA_FG_RESET_STALE's log line ("frame generation: a present told ...") never appeared either (fg.rs:1082), which says the branch was never entered rather than resets firing.A log with
LEONIDA_FG_*and one run per profile would settle both, and I can do that as soon as I can run the title again.Why it matters beyond one machine
#2907 reports the same shape from an RTX 4060 ("stuttering even when the fps are above 20 with frame generation on and dlss is not even working"), and #3109 measures the Series X profile at 28 rendered frames a second - the same 35.7 ms this run shows. If the generated frames are not arriving anywhere, the profile's "frame generation 2x" is a promise the launcher makes and the layer does not keep, and every frame-rate measurement taken with it is 28, not 56.
AI-assisted: yes - DeepSeek v4.1 (flash), from the log of a run on the machine above.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-12-02T14:40:06Z.
finding: reproduced the exact Series X
-Resolution 1440settings (LEONIDA_OUTPUT=2560x1440,LEONIDA_RENDER_SCALE=1,LEONIDA_OWN_UPSCALER=1,LEONIDA_FRAME_GEN=2,LEONIDA_FG_LIMIT_FPS=28) live onmain(69cd4106c, RTX 5070, Windows 10) -- the G-buffer FG path does latch in-world, and themissing common constantsburst +35.7 ms -> 71.4 mstransition match the menu/loading phase followed by 2x FG underLEONIDA_FG_LIMIT_FPS=28:1. Live Series X 1440p log on
main(69cd4106c)1..3326(startup logos, menus, loading -- 128 s):3,326occurrences ofdlfgPresent.cpp:2251 Warning: missing common constants - Frame Generation will be disabled for the frame,tagged=false, Reflexstart_gap_median_ms=35.7(28.0 fps).600:WARN leonida_gpu::fg: frame generation: neither an upscale nor a G-buffer pass has handed over depth and motion vectors in 600 presents, and no frame is generated until one does (menus and loading screens have neither).3327(first in-world frame,+135.2 s):INFO leonida_gpu::fg: frame generation: depth and motion vectors are the G-buffer pass's from now on ... size=[2560, 1440]INFO leonida_gpu::fg: frame generation: a present told as a reset (no frame made before it) n=1 index=3327 fresh=true was_fresh=false swapped=falseINFO leonida_gpu::fg: frame generation: the picture without the interface is tagged (kBufferTypeHUDLessColor; first present) index=3327 width=2560 height=14403327..4200+(61 s in-world, ~870 presents):missing common constantswarnings after present3326.frame generation: state ... index=3600 tagged=true status=0andindex=4200 tagged=true status=0(note: our automated run ran minimized/unfocused so Streamline reportspresented=1 per=1while unfocused, as noted infg.rs:1174-1176; zeroconstants or tags refused).2. Why your log showed
2208warnings,35.7 ms, and then71.4 ms2208missing common constantswarnings come from menus and loading screens before the first G-buffer pass:fg.rs:993turnsDLSSGMode::eOnat present1, beforeLATESTis ever populated by a G-buffer pass (fg.rs:859-909). While menus/loading run,foundisNone(no G-buffer pass has executed yet) so Streamline logs onemissing common constantswarning per present (~73 s * 28 fps + loading frames ≈ 2208).35.7 ms->71.4 msis actually the signature of 2x FG turning ON underLEONIDA_FG_LIMIT_FPS=28:Per
d3d12/crates/leonida-gpu/src/fg.rs:82-85andd3d12/scripts/play-nvidia.ps1:432-442,LEONIDA_FG_LIMIT_FPS=28caps shown frames (including generated ones) at 28 fps:22:02:37-22:03:50), Reflex paces rendered frames to28.0 fps(35.7 ms).22:07:08-22:07:41), Reflex counts the generated frame toward the 28 fps limit and holds rendered frames to14.0 fps(71.4 ms), yielding28shown fps -- not56.-More @{LEONIDA_FG_LIMIT_FPS='0'}(or a higher limit like'60') removes that 28-shown-fps cap.3. Suggested follow-up checks / small cleanup opportunity
missing common constantsline in your RTX 4090 log (and search fordepth and motion vectors are the G-buffer pass'sandframe generation: state), you can confirm whether the warnings stopped right at22:07:08when71.4 msbegan. (Ifmissing common constantscontinued past22:07:08during71.4 msin-world frames, posting theleonida_gpu::fglines from that window would pinpoint whethermade_copy()actually returnedNoneon that run.)DLSSGMode::eOffinfg.rs:993untilLATESThas been populated once (instead of enabling DLSS-G on present1during menus/loading) would eliminate the 2,000-3,300 misleadingmissing common constantswarnings during startup/menus.AI-assisted: yes (Antigravity).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T18:02:45Z.
finding: #3186 is #3137 with a crash on top, and that changes its priority. #3186's log ends with
Streamline is disabling Frame Generation during presentation (dlfgPresent.cpp:2251) because common constants are m[issing]and the run dies at the loading screen; #3137 is that same line 2,208 times in one log with the run continuing without generated frames. Same signature, one of them fatal.What I can say about the code without a run: in
d3d12/crates/leonida-gpu/src/fg.rs,set_constantsis only called insideif let Some((..)) = found(around L1076-1085), andfoundisNonewhencrate::resource::made_copy(this)?fails - so when the lookup fails, the frame generation keeps running with whatever constants were already there and the SDK disables itself at present. That is where I would look for the 5070's crash.The test that separates the two:
-NoFrameGenwith everything else the same. In the world -> the crash is in the FG path; still dying -> FG is a passenger.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T21:27:02Z.
Open PR #3216 keeps DLSS-G off until the first upscale or G-buffer inputs arrive, which removes the menu and loading warning burst this issue describes. AI-assisted (Claude Code).