Fg crash game #3186

Closed
opened 2026-12-02 17:22:00 +00:00 by 3lnuu · 4 comments
3lnuu commented 2026-12-02 17:22:00 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by 3lnuu on 2026-12-02T17:22:00Z.


What happens

when i load up the game whit fg,dlss,fullscreen,seriesx it crashes on loading screen just when it finishes loading

Commit

downloaded today

System

w11 r7 7800 x3d rtx5070 1tb 32gb ddr5

Where

Finding the game (--find)

Command and steps

Captura de pantalla 2026-12-02 173922

Output

Streamline is disabling Frame Generation during presentation (dlfgPresent.cpp:2251) because common constants are missing (missing common constants - Frame Generation will be disabled for the frame), while your latest log also shows leonida_gpu::object: method not implemented object="command queue" slot=0xb8 and tight free physical memory (77 MB free at one point). Because leonida is a custom D3D12/Xbox Series runtime in active development and slot=0xb8 is an unimplemented command-queue method alongside missing Streamline common constants, Frame Generation (FrameGen = 3) may not be completely supported or stable yet in this build—so keeping NoFrameGen = $true is currently the most reliable way to play with Series X + DLSS Quality + Fullscreen.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6750696291 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3186). Originally posted by [3lnuu](https://github.com/3lnuu) on 2026-12-02T17:22:00Z. --- ### What happens when i load up the game whit fg,dlss,fullscreen,seriesx it crashes on loading screen just when it finishes loading ### Commit downloaded today ### System w11 r7 7800 x3d rtx5070 1tb 32gb ddr5 ### Where Finding the game (--find) ### Command and steps <img width="743" height="362" alt="Captura de pantalla 2026-12-02 173922" src="https://github.com/user-attachments/assets/c3da80b0-19f3-4d88-83ab-3fe9457d14bd" /> ### Output ```text Streamline is disabling Frame Generation during presentation (dlfgPresent.cpp:2251) because common constants are missing (missing common constants - Frame Generation will be disabled for the frame), while your latest log also shows leonida_gpu::object: method not implemented object="command queue" slot=0xb8 and tight free physical memory (77 MB free at one point). Because leonida is a custom D3D12/Xbox Series runtime in active development and slot=0xb8 is an unimplemented command-queue method alongside missing Streamline common constants, Frame Generation (FrameGen = 3) may not be completely supported or stable yet in this build—so keeping NoFrameGen = $true is currently the most reliable way to play with Series X + DLSS Quality + Fullscreen. ```
fiestorra commented 2026-12-02 18:02:42 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T18:02:42Z.


That last line is the whole report, and it is the same one another thread has without the crash: Streamline is disabling Frame Generation during presentation at dlfgPresent.cpp:2251 because the frame generation common constants were not found. #3137 is that line 2,208 times in one log - yours adds the part that makes it worse: the run dies at the loading screen instead of carrying on without generated frames.

The one test that tells us which it is

Run the same profile with -NoFrameGen (everything else the same: -SeriesX -Resolution 1440 -Log):

  • If it gets into the world, the crash is in the frame generation path, and the cause is what fg.rs does when the constants are missing - the constants are set inside if let Some(...), so when the lookup fails the frame generation stays set up with whatever was there before. That is guessable from the code but it needs confirming, and your crash confirms or kills it.
  • If it still crashes, then FG is a passenger and the loading-screen crash is something else - and the log will name it.

What to send

%LOCALAPPDATA%\Leonida\logs\play-*.log with -Log on, the last 40 lines before it dies - not the window, which shows one line of a hundred. In particular, whether the log has device removed or out of memory near the end: an RTX 5070 has the memory for this, but the pipeline warm-up and frame generation both ask for more at exactly that moment.

No screenshot of the game needed - the log is the evidence and the screenshots cannot be shared.

And one thing that is already known: whatever the answer, the common constants path needs a fix on its own - generating frames from frames cannot silently keep being switched off 2,208 times a run - and a crash in that path makes it the priority it was not.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7353889249 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3186#issuecomment-7353889249). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-02T18:02:42Z. --- **That last line is the whole report, and it is the same one another thread has without the crash**: **Streamline is disabling Frame Generation during presentation at `dlfgPresent.cpp:2251` because the frame generation *common constants* were not found.** **#3137 is that line 2,208 times in one log** - **yours adds the part that makes it worse: the run dies at the loading screen instead of carrying on without generated frames.** ## The one test that tells us which it is **Run the same profile with `-NoFrameGen`** (everything else the same: `-SeriesX -Resolution 1440 -Log`): - **If it gets into the world**, the crash is in the frame generation path, **and the cause is what `fg.rs` does when the constants are missing** - **the constants are set inside `if let Some(...)`, so when the lookup fails the frame generation stays set up with whatever was there before.** That is guessable from the code but it needs confirming, and **your crash confirms or kills it.** - **If it still crashes**, then FG is a passenger and the loading-screen crash is something else - **and the log will name it.** ## What to send `%LOCALAPPDATA%\Leonida\logs\play-*.log` with `-Log` on, **the last 40 lines before it dies** - **not the window, which shows one line of a hundred.** **In particular**, whether the log has **`device removed`** or **`out of memory`** near the end: an RTX 5070 has the memory for this, but the pipeline warm-up and frame generation both ask for more at exactly that moment. **No screenshot of the game needed** - the log is the evidence and the screenshots cannot be shared. **And one thing that is already known**: **whatever the answer, the `common constants` path needs a fix on its own** - **generating frames from frames cannot silently keep being switched off 2,208 times a run** - **and a crash in that path makes it the priority it was not.**
lixonik commented 2026-12-02 19:37:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-12-02T19:37:06Z.


finding: tested the exact Series X + DLSS + Frame Gen 2x + Fullscreen combination on an RTX 5070 (12 GB, driver 595.79, Windows 10) on main (f1a559851, LEONIDA_UPSCALE=dlss, LEONIDA_FSR_UPSCALER=1, LEONIDA_FRAME_GEN=2, LEONIDA_FULLSCREEN=1):

  1. No crash on loading-screen exit here: the run entered the world at +168.6 s and stayed up for 45 s in-world (max_draws=4796, 0 ERROR / 0 device lost / 0 panics).
  2. missing common constants is a benign menu/loading-screen warning, not the crash cause: Streamline logged 3,230 dlfgPresent.cpp:2251 Warning: missing common constants - Frame Generation will be disabled for the frame lines during menus and loading, and they stopped completely at 155.5 s the instant the first world frame rendered (tagged=true status=0 in-world). Because FG is turned on at present #1 before any G-buffer/upscale exists, that warning is almost always the last log line if a run dies during loading.
  3. Likely cause + workaround on a 12 GB RTX 5070:
    • First, Series X + -Dlss is marked experimental in d3d12/scripts/play-nvidia.ps1:701 ("Series X with DLSS: experimental, the world is not lit on this path yet (leave -Dlss out for the picture)") and runs at full 4K (3840x2160) output + DLSS + DLSS-G.
    • In this run on a 12 GB RTX 5070, VRAM jumped from 2,236 MB during menus to 9,447 MB of 10,764 MB local budget plus 9,697 MB shared RAM right as the world loaded -- leaving very little headroom if other apps (browser, Discord, overlays) are using VRAM on Windows 11.
    • Try launching without -Dlss on Series X (-SeriesX -Resolution 1440, which uses the title's own 1440p upscaler + FG 2x and ~1.5 GB less VRAM), or use the Series S profile for DLSS. If it still exits at the end of loading, running with -Log and posting the last ~30 lines (or any host GPU failure / device-went / crash log) plus trying -NoFrameGen will isolate whether VRAM/driver or Streamline is crashing.

AI-assisted: yes (Antigravity).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7356457454 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3186#issuecomment-7356457454). Originally posted by [lixonik](https://github.com/lixonik) on 2026-12-02T19:37:06Z. --- finding: tested the exact `Series X + DLSS + Frame Gen 2x + Fullscreen` combination on an RTX 5070 (12 GB, driver 595.79, Windows 10) on `main` (`f1a559851`, `LEONIDA_UPSCALE=dlss`, `LEONIDA_FSR_UPSCALER=1`, `LEONIDA_FRAME_GEN=2`, `LEONIDA_FULLSCREEN=1`): 1. **No crash on loading-screen exit here:** the run entered the world at `+168.6 s` and stayed up for 45 s in-world (`max_draws=4796`, 0 `ERROR` / 0 device lost / 0 panics). 2. **`missing common constants` is a benign menu/loading-screen warning, not the crash cause:** Streamline logged **3,230** `dlfgPresent.cpp:2251 Warning: missing common constants - Frame Generation will be disabled for the frame` lines during menus and loading, and they stopped completely at `155.5 s` the instant the first world frame rendered (`tagged=true status=0` in-world). Because FG is turned on at present #1 before any G-buffer/upscale exists, that warning is almost always the last log line if a run dies during loading. 3. **Likely cause + workaround on a 12 GB RTX 5070:** - First, `Series X + -Dlss` is marked experimental in `d3d12/scripts/play-nvidia.ps1:701` (*"Series X with DLSS: experimental, the world is not lit on this path yet (leave -Dlss out for the picture)"*) and runs at full 4K (`3840x2160`) output + DLSS + DLSS-G. - In this run on a 12 GB RTX 5070, VRAM jumped from `2,236 MB` during menus to **`9,447 MB` of `10,764 MB` local budget** plus **`9,697 MB` shared RAM** right as the world loaded -- leaving very little headroom if other apps (browser, Discord, overlays) are using VRAM on Windows 11. - Try launching **without `-Dlss`** on Series X (`-SeriesX -Resolution 1440`, which uses the title's own 1440p upscaler + FG 2x and ~1.5 GB less VRAM), or use the **Series S** profile for DLSS. If it still exits at the end of loading, running with `-Log` and posting the last ~30 lines (or any `host GPU failure` / `device-went` / crash log) plus trying `-NoFrameGen` will isolate whether VRAM/driver or Streamline is crashing. AI-assisted: yes (Antigravity).
MoonEyes commented 2026-12-02 21:38:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T21:38:29Z.


Open PR #3216 covers only the 'missing common constants' warning burst at menus and loading, by keeping frame generation off until the first upscale or G-buffer inputs exist. It does not claim to fix the loading-screen crash itself, so this stays open until the -NoFrameGen test and the last log lines are in. AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7359568916 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3186#issuecomment-7359568916). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T21:38:29Z. --- Open PR #3216 covers only the 'missing common constants' warning burst at menus and loading, by keeping frame generation off until the first upscale or G-buffer inputs exist. It does not claim to fix the loading-screen crash itself, so this stays open until the -NoFrameGen test and the last log lines are in. AI-assisted (Claude Code).
MoonEyes commented 2026-12-03 16:27:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T16:27:34Z.


This was generated by AI during triage.

Triage Notes

What we've established so far:

  • This report is a loading-screen crash with Frame Generation enabled. A follow-up reproduced the warning burst on a different RTX 5070 without a crash and says the warnings stop at the first in-world frame.
  • Open PR #3216 addresses only that menu/loading warning burst; it does not claim to fix this crash.
  • The existing triage request for a same-profile -NoFrameGen run and the last lines of the file log has not received a result.

What we still need from you (@3lnuu):

  • Please run the same profile once with -NoFrameGen and file logging enabled, then post whether it reaches the world and the final 40 lines of %LOCALAPPDATA%\Leonida\logs\play-*.log. That will distinguish a frame-generation failure from an unrelated loading crash.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7384874121 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3186#issuecomment-7384874121). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T16:27:34Z. --- > *This was generated by AI during triage.* ## Triage Notes **What we've established so far:** - This report is a loading-screen crash with Frame Generation enabled. A follow-up reproduced the warning burst on a different RTX 5070 without a crash and says the warnings stop at the first in-world frame. - Open PR #3216 addresses only that menu/loading warning burst; it does not claim to fix this crash. - The existing triage request for a same-profile `-NoFrameGen` run and the last lines of the file log has not received a result. **What we still need from you (@3lnuu):** - Please run the same profile once with `-NoFrameGen` and file logging enabled, then post whether it reaches the world and the final 40 lines of `%LOCALAPPDATA%\Leonida\logs\play-*.log`. That will distinguish a frame-generation failure from an unrelated loading crash.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy#3186
No description provided.