Regular crash on Nvidia RTX 5090 #358
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/gamingwithhomie--larp#358
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?
@bovali on GitHub · 2026-12-05 23:31 UTC · original
Hey all,
The log is in the attachment. Any help is appreciated.
Thanks!
play.log
@wujueke on GitHub · 2026-12-06 02:15 UTC · original
RTX 5090 (Blackwell): deterministic
0x887A0006device hung on world entry — reproduced with shader replacements off, FSR on/off, and drivers 621.40 / 621.47Summary
On an RTX 5090, v1.1.6 reaches world entry and then the device is removed with
DXGI_ERROR_DEVICE_REMOVED (0x887A0005), reasonDXGI_ERROR_DEVICE_HUNG (0x887A0006).The crash is deterministic: it happens ~9–11 s after the log line
pipelines: the title's render phases are built, it was held until every queued pipeline was made.I ran four controlled variations. All four crash at the same point, which rules out
the replacement shaders, the upscaler, and the D3D12 runtime as causes.
Separately — and possibly related — DLSS never initialises on this machine:
NGX init refused (0xbad00001). This reproduced identically on drivers 621.40 and621.47, which matches the
0xbad00001reported in #168 on a 5060 Ti + 621.47.System
ConfiguredClockSpeed= 6000)c048b3a(larp 0.1.0), built from source locallyb99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93series-x.cmd—--console series-x --stream-budget 8000, 2560x1440 borderless, 60 fps capnv-profile --mb 2048applied (0x80000000)bin\D3D12\D3D12Core.dll= 1.620.2.0 (verified viaVS_FIXEDFILEINFO)Note on the local build
The binary is built from
v1.1.6(c048b3a) with one local patch applied, because itis not in v1.1.6 nor in
main:This came from a PR-branch commit (
pr77) I was previously running. If you want a cleanreproduction on an unpatched binary I can rebuild without it — but note that run #2 below
(
LARP_SHADER_REPLACE=0) behaves identically, and the crash happens with 60 000+ pipelinesalready built, so this patch is almost certainly unrelated. Flagging it for transparency.
Reproduction
series-x.cmd.pipelines: the title's render phases are built ....Steady state before the crash is healthy: 60.0 fps, 16.7 ms/frame, 0 frames over 50 ms,
preparing0.0–0.4 ms. The crash is not a stall or a slow frame.The four runs
LARP_SHADER_REPLACErender phases built0x887A00060(disabled)0x887A00060x887A00060x887A0006LARP_D3D12_DRED=1andLARP_STACKS_AT_KILL=1were set for all four runs.Each run started from a deleted
Larp\cacheso no stale DXIL/pipeline blobs were reused.What this rules out:
LARP_SHADER_REPLACE=0(every shader translated) andcrashes at exactly the same moment, in the same way.
context; the crash is identical.
What the removal report says
All four runs log the same shape:
LARP_D3D12_DRED=1the log saysdevice-removed data on (LARP_D3D12_DRED): breadcrumbs and page faults, but the removal report contains no breadcrumb / stopped-commanddetail and no page fault address — unlike the AMD reports where DRED names the faulting
command. It reads like the GPU hung internally rather than the CPU having sent a bad command.
That matches your own read in #168: "the submission in flight is a normal-looking compute batch".
The
render phases are builtline reportsqueued_at_its_start=11359/ms=12476(run 4),i.e. ~12–22 s of pipeline work completed successfully right before the crash. 60 629 pipelines
were created in run #1 (
created_without_blob=58532,loaded_with_blob=86,skipped_with_blob=2007).DLSS never initialises (
0xbad00001)Independently of the crash, DLSS is unavailable on this machine on both drivers:
nvmdi.inf_amd64_c2fb3de5b6db4d58\_nvngx.dllnvmdi.inf_amd64_76ea542a708ef59e\_nvngx.dllBoth report file version
35649.0.36172.5201. larp passesNGX_VERSION_API = 0x15(
crates/larp-gpu/src/dlss.rs). The registry NGX path is correct(
HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm\Parameters\NGXCore\NGXPath).0xbad00001isNGX_STATUS_INVALID_PARAMETER. My read is that the NGX core shipped with the621.4x driver line does not accept API version
0x15, soNGX_Initrefuses. This is thesame error #168 saw on a 5060 Ti with driver 621.47, which supports "the whole 621.4x line".
I have not confirmed whether a newer driver branch (622+ / Studio) fixes it — I can test if
that would be useful.
FSR is fine and works:
FidelityFX 3.1.6, context made withmax_render=1280x720 max_upscale=2560x1440, and FSR frame generation 2x reports available. (Note:bin\fsr\frommy earlier install was empty; I restored the full
bin\fsrfrom the officiallarp-v1.1.6-windows-nvidia-FULL.zip, sha25605085673fa30bb66be41a47a4c8bc010a8966e5ff83d64bdae4064233a4ffb20.The official
bin\dlssalso containsnvngx_dlssd.dll, which my install lacked; I restored that too.)Related
0x887A0004/0x887A0006(same signature, same0xbad00001)0x887A0006What I would try next, in order
LARP_AGILITY=0— run on Windows' own D3D12 rather than the bundled 1.620 Agility SDK.Costs byte-offset buffer views (they fall back to by-element), but would separate
"Agility SDK 1.620 on Blackwell" from "the layer's own translation". I have not run this yet
because of the byte-view loss; tell me if you want the result before anything else.
0x15question and the DEVICE_HUNG together.LARP_D3D12_DEBUG=1(needs the Graphics Toolsoptional feature) for full debug-layer messages, or bisect with
LARP_BYTE_VIEWS=0.Happy to run any of these and paste the full
zip-logsoutput — the run takes ~2 minutes,so iteration is cheap on my side.
Logs
Sanitized bundle attached (generated with
bin\larp.exe zip-logs, Windows username stripped) —from run #4 (driver 621.47):
larp-logs-1796523121.zipI also have the four full console logs and the equivalent
zip-logsbundle from each run ifyou want the A/B pairs individually.
larp-logs-1796523121.zip