Crash on NVIDIA RTX 3080 / GE-Proton / Linux — 0xC0000005 at d3d12core.dll+0x1d7135, ~15–24s after launch (v1.1.2) #250
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#250
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?
@lesourcil on GitHub · 2026-12-05 22:10 UTC · original
Setup
What happens
The game launches fine, builds its D3D12 device, and renders at 60 fps at 4K with DLSS upscaling and ray tracing on. Then, ~15–24 seconds in (frame 365–627, still in initial load / front-end, no gameplay yet), it crashes:
A null-pointer read (read 0x8, rax = 0, rdi = 0) inside the Agility SDK D3D12Core, called from larp.exe.
Deterministic
6 runs, same fault address and same backtrace every time. The game was rendering clean 60 fps (303 frames, 16.7 ms/frame, 21 draws/frame) right up to the crash.
What I already tried — all same crash
--console series-s) — smaller heaps, still same crash, so not heap pressureNot the known issues
amdxc64.dllcrash (#208) — this is NVIDIA, fault is ind3d12core.dll0x887A0005) — exit code here is0xC0000005, and Series S (smaller heaps) crashes identically+0x3de6d94) — this is ~15–24 s in, offset+0x1d7135Attachments
Logs bundle attached:
larp-crash-report-2026-12-05.zip— containsplay.log,crashes.log, all 6game_scarlett_master-*.crash.logfiles,settings.ini,options.ini.larp-crash-report-2026-12-05.zip
@acedogblast on GitHub · 2026-12-05 22:40 UTC · original
I also get this crash but with a different d3d12.core.dll address:
This is with RTX 3090 driver 620.70.06
@chefxgamer on GitHub · 2026-12-05 23:42 UTC · original
(This issue is AI written, I read it and it sounds reasonable to me)
Reproduces on v1.1.2 and v1.1.3, on a clean Proton prefix, and in my own
source build of v1.1.3. Details below; the last section is the part I think is
worth a look, because it names the work happening immediately before the fault.
Setup
protonscript;
WINEDLLPATHset to Proton's own vkd3d-proton (no Bottles, noumu-launcher— it is not installed here)930.048.020, TitleID7952987A; launched asrun <game> --execute --console series-s --stream-budget 2500 -- -skipToIISd3dcompiler_47.dll(4,410,168 B) in the prefix withHKCU\Software\Wine\DllOverrides\d3dcompiler_47=nativeTitleID: 7952987a,device.model: Xbox Series S,TileHeap: used 271Mb - total 2500Mb)Symptom
Deterministic
0xc0000005,read 0x8(rax/rdinear 0) insided3d12core.dll, ~5–18 s in, in the front end, no gameplay yet. The game renderscleanly up to that point (30–60 fps,
0.1 ms preparing,copies 0.0 ms 0.0 MB).For v1.1.2 the
larp.exehalf of the stack is identical to acedogblast's on theRTX 3090 (
+0x4cf627, +0x3c6f9b, +0x4c7fa3, +0x43b38f, +0x4363d7, +0x427e59, +0x432f5e, +0x462989, +0x438946, +0x923687); only thed3d12coreoffsets differ.So this is the same code path on at least three cards. Full blocks in the
attached
250-stacks.txt.Ruled out here (each one isolated)
LARP_SHADER_REPLACE=0LARP_SKIP_PIPELINESLARP_BYTE_VIEWS=0rt::ready()to returnNoneprobe_view_limit()to try 1,507,328 slotsend=606782That last line may be useful: on this driver the ~1,000,000 shader-visible view
heap looks like a hard ceiling, so
title slots past 606782 read a null slotisnot avoidable by asking for more.
What vkd3d is doing immediately before the fault
With
VKD3D_DEBUG=warn, the frames before the crash are a storm of these, overand over, right up to the fault (attached
250-vkd3d-warn.txt):The
GetResourceAllocationInfo3call iscastable_info()incrates/larp-gpu/src/poolheap.rs: it copies the title's resource desc into aD3D12_RESOURCE_DESC1(keepingAlignment: desc.Alignment, i.e.0x1000) andasks for size/alignment of the texture cast to other formats. vkd3d rejects the
desc, and the code guards the result with
SizeInBytes != u64::MAX && Alignment != 0— so my guess is the null is on thefallback path after that rejection rather than in the call itself, but you know
that code far better than I do.
Questions: is that alignment storm expected in the front end, and can you
symbolize the offsets above against your v1.1.3 PDB? I have a source build of
v1.1.3 here and can symbolize or instrument anything you want tested.
250-stacks.txt
250-vkd3d-warn.txt
larp-logs-250.zip
@lesourcil on GitHub · 2026-12-06 00:20 UTC · original
Update: I found the likely mechanism in play.log — it's present in every run (1.0.7 and v1.1.2).
Right at startup, the log shows:
The title reads ~1.2M descriptor slots past the end of the heap LARP provides (606,782 slots), and LARP clamps those out-of-bounds reads to the null slot. The crash itself is a null-pointer read (read 0x8, rax=0, rdi=0) in d3d12core.dll, called from larp.exe — consistent with the title later using one of those null descriptors in a D3D12 call and D3D12Core dereferencing it.
That also fits the varying timing: one run died during startup with zero frames rendered, others ran 15–24s at 60fps first — it just depends on when the title first uses one of those null descriptors. Same fault address (d3d12core.dll+0x1d7135) every time, 6+ runs.
So the root cause looks like a descriptor-heap sizing/emulation gap: the title's indices are valid on real Xbox Series X hardware, but they fall off the end of the heap LARP provides. Happy to provide more logs if useful.
@chefxgamer on GitHub · 2026-12-06 03:24 UTC · original
TLDR: building vkd3d-proton 3.2 from source and using its dlls fixed the problem for me.
Long answer:
The crash comes from the vkd3d-proton build that Proton 11.0 ships. larp needs no
changes, and PR #447 does not fix it.
Tested on an RTX 3060 Ti, NVIDIA 620.73.4, Wine from Proton 11.0-3.
The fault
Runs die 5 to 60 seconds in, during pipeline prewarm, always at the same place:
Symbolised against a larp build with a PDB, the caller is the prewarm path
(
pipeline/host.rs:778->blobs.rs:520->HostPipeline::new->make.rs:129->
blobs.rs:316->Pending::make->workers), so a worker sits inID3D12Device::CreateComputePipelineState. The faulting instruction reads a{pointer, length}struct at address zero (movq 0x8(%rbx)) while assembling ashader value name.
What works
Installing a from-source build of vkd3d-proton
v3.2(16ff748, 2026-12-04) overthe prefix's
d3d12.dllandd3d12core.dlllets the game start and run. Proton11.0's tree is
b5cecb2(2026-08-25, perfiles/lib/wine/vkd3d-proton/version).I have not bisected it and the two lines have diverged, so I claim no fixing
commit.
Installing it
WINEDLLPATHandWINEDLLOVERRIDES='d3d12=n,Z:\path\d3d12.dll'are both ignoredfor these DLLs. Only
drive_c/windows/system32works, and deleting them fromthere fails with
0xc06d007eatkernelbase.dll+0xd947.D3D12\D3D12Core.dllbesidelarp.exeis no use:agility_version()wants aVS_FIXEDFILEINFOof1.620.x, vkd3d-proton ships none.PR #447
Built at
db7bfbbagainst Proton 11.0'sd3d12core.dll, it fails at the sameoffset with
rbx=0, about 10 seconds in. It removes theGetResourceAllocationInfo3alignment warning storm and hardens the nullGetCachedBlob()path. Neither reaches this fault.Also checked
Null compute bytecode and
pRootSignature(guards never fired), a stale blobcache (3 GB moved aside, rebuilt), prewarm races (
LARP_PRELOAD_THREADS=1), raytracing (
LARP_NO_RT),LARP_SHADER_REPLACE=0,LARP_BYTE_VIEWS=0(crashesearlier, frame 45 against 423).
The
title slots past 606782warning is real but does not fault. The title asksfor 1,507,328 shader-visible views, NVIDIA refuses that and 2,097,152, so the
portable 1,000,000-slot heap is used.
Logs and the symbolised backtrace on request.