d3d12: -SeriesS -Dlss performance (render scale 0.5) crashes the title when the first scene loads — "Shipping FSR4 configuration mismatch ... received 960x540" #3013
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 lerapeurdu62280-debug on 2026-12-01T23:37:36Z.
What happens
With
-SeriesS -Dlss performance, the launcher setsLEONIDA_UPSCALE=dlssandLEONIDA_RENDER_SCALE=0.5(play-nvidia.ps1,$dlssScale). The title logs this a few seconds after it starts:Menus and loading run (about 58 fps), then the title crashes when the first scene loads, about 86 s after the start (frame ~4636, right after a burst of
first bind pipelinelines). The only trace is the title's own crash reporter, blocked by the runtime; the runtime exits normally (code 0):Reproduced twice in a row on the same PC (same frame range, same message). The same PC plays with
-SeriesSand DLSS quality (no render scale set on Series S) without crashing: 16.6 real fps in the world, median frame 47.6 ms.So on Series S the title seems to accept only 1280x720 or 1920x1080 as its maximum render size. If that holds,
-Dlss balanced(0.6, 1152x648) and-Dlss ultra(0.3333, 640x360) would hit the same check. I did not test them; I only sawperformancefail.Commit
maincloned on 2026-12-01 by an installer (I don't have the exact commit from the player's report). Prebuilttarget\diagbuild.System
Windows 11 Pro 26300, NVIDIA GeForce RTX 3050 8 GB (driver 621.40, Resizable BAR on), AMD Ryzen 7 5800X, 32 GB RAM, game on a SATA SSD.
Where
d3d12/scripts/play-nvidia.ps1, the-Dlssbranch: on Series S, any mode other thanqualitysetsLEONIDA_RENDER_SCALEfrom$dlssScale(0.6 / 0.5 / 0.3333).Command and steps
Start the game, load a save, wait for the first scene.
Settings line excerpt:
LEONIDA_RENDER_SCALE=0.5 ... LEONIDA_UPSCALE=dlss ... LEONIDA_MENU_CONSOLE=series-sWhat would help
Two options:
-Dlssrefuse the modes other thanquality, or warn about them (the title's 1280x720 is already 2/3).In our launcher (Leonida Nights), we now offer only DLSS quality on Series S. The other modes stay on Series X, where performance renders 1920x1080 of 2160.
Thanks for mandy!
EI S.O.S INFO LUDO
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-12-01T23:56:32Z.
Thanks, this is a clear report. The cause is already known and claimed in the coordination issue as
D3D12-FFX-CONTEXT-ANY-PAIR(https://github.com/ProjectLeonida/mandy/issues/2570, @ajussak, 30 November):performance,balancedorultra, the title asks its upscaler for a context from 960x540 (or smaller) to 1920x1080.main,d3d12/crates/leonida-hle/src/modules/ffx.rsstands in the shipped sizes only for the Series X case (sizes_to_stand_in([960, 540], [1920, 1080])is stillNonein its test), so Series S is not covered yet.Until that fix lands,
-SeriesS -Dlss quality(or no-Dlssmode) avoids it, as you found. I'll reproduce it on an RTX 4070 Laptop and add the result here.AI-assisted: Claude Code (oreofr-agent).
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-12-02T00:05:02Z.
Reproduced on main
2705632c5: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Windows 11,-SeriesS -Dlss performance(settings line:LEONIDA_RENDER_SCALE=0.5,LEONIDA_UPSCALE=dlss,LEONIDA_MENU_CONSOLE=series-s).upscale context render=[960, 540] upscale=[1920, 1080]with no stand-in sizes (nomade_for), so the context is made at 960x540.unhandled exception 0xc0000094(integer divide by zero) atleonida-image-…dll+0x28f03e8. That is the exact address and code @ajussak describes for D3D12-FFX-CONTEXT-ANY-PAIR in #2570, so this issue is that item.ffx.rswhenever the title asks for another (render, upscale) pair.AI-assisted: Claude Code (oreofr-agent).
Imported from ubiquitarianism/leonida. Originally posted by TheStonedGamer on 2026-12-02T08:23:51Z.
@ajussak, are you still on
D3D12-FFX-CONTEXT-ANY-PAIR? I hit this on Series S with the picture at 960x540 and 640x360 (RTX 3060 12 GB, driver 621.40) and have a small fix if it helps.It is one condition in
d3d12/crates/leonida-hle/src/modules/ffx.rs:sizes_to_stand_instands in the shipped sizes only when the upscale size differs from 1920x1080, so a Series S context of 960x540 (or 640x360) to 1920x1080 is passed to the DLL as it is and refused. With(render, upscale) != SHIPPEDit is made with 1280x720 to 1920x1080 as the Series X contexts already are; the context only answers the jitter queries and the upscale stays DLSS's. The unit testa_context_of_other_sizes_is_made_with_the_shipped_onesnow expectsSome(SHIPPED)for[960, 540]and[640, 360](it fails without the change).Commit:
github.com/TheStonedGamer/mandy-fork@e660fa6e9(branchffx-any-render-size). Not run in the game yet.If you would rather take it over or already have something, I'll leave it; otherwise I can open a pull request referencing your claim. Claude Opus-assisted.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T21:27:49Z.
Open PR #3022 stands in the shipped 1280x720 context for a 960x540 render size, which is what the coordination item D3D12-FFX-CONTEXT-ANY-PAIR (#2570) describes. AI-assisted (Claude Code).