RX 6650 XT (RDNA 2): Isolated second page-fault crash to compute shader 3e28ebd6128bd351 — fixed by NonUniformResourceIndex=true #13
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/iceboerg00--larp-amd#13
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?
@TrinityForever15 on GitHub · 2026-12-05 21:39 UTC · original
Summary
On an AMD Radeon RX 6650 XT (RDNA 2), even with
heap_first_lane=true(rdna2-test3/amd-4/amd-4.2) andquad_live=false(amd-4), the game deterministically hit a GPU page fault (0x887A0006) ~20 seconds into the opening cutscene — matching the "some RX 6000 cards still crash later (15 s up to 20 min, often in a cutscene)" known issue.Using
LARP_SKIP_PIPELINESbinary search + DXIL disassembly, we isolated the fault to a single compute shader (3e28ebd6128bd351) and verified a real fix: emittingNonUniformResourceIndex = true(instead ofWaveReadLaneFirst+nonuniform = false) on its dynamiccreateHandleFromHeapcalls completely eliminates the crash with zero skipped shaders.Hardware & Setup
32.0.21045.290031920x1080,stream_budget = 2500,LARP_FSR_VERSION=3(FSR3.1.6),heap_first_lane = default(true),bvh_fences = true,rdna2 = truev2026.12.05-amd-rdna2-test3(f6954fc),v2026.12.05-amd-4(d444d19), andv2026.12.05-amd-4.2(257438a)Diagnostic Findings
Confirmed View Heap fault:
view heapat0x1006b5000+0x1e84800):page fault at 0x1eb033000(offset0xEA97E000, slot122,994,432).LARP_D3D12_DEBUG=1(view heapshifted by+0x280000to0x100935000):page fault at 0x1eb2b3000— shifted by the exact same+0x280000(identical offset0xEA97E000, slot122,994,432).LARP_RT_WHOLE=1,mesh_counts = exact, andquad_live = false: none fixed it.DRED breadcrumbs were misleading (async fault from an earlier in-flight submission):
338/338, ending inmesh 9aff566ca0fa7c98/mesh c0f0db84d228f441) at0/66(BEGIN_COMMAND_LIST) of the next submission.338/338dropped to4/4) still crashed identically.landing at the removal(a 39-shader compute list) narrowed it down80 -> 39 -> 20 -> 10 -> 5 -> 2 -> 1tocompute 3e28ebd6128bd351.3e28ebd6128bd351passed the opening cutscene cleanly into first gameplay.DXIL Inspection & Working Fix:
3e28ebd6128bd351(NumThreads=(64,1,1)) showed that all dynamiccreateHandleFromHeapcalls (ByteAddressBuffer,RWByteAddressBuffer,CBuffer, and 12Texture2Dloads/samples inside divergent branches) were emitted as:3e28ebd6128bd351withnonuniform = true(createHandleFromHeap(UMin(%idx, 999999), i1 false, i1 true), withoutwaveReadLaneFirston the heap handle) incrates/larp-shader/src/emit/shader.rs(Shader::heap_handle), signing withdxil.dll, and loading it viabin\shader-replace\3e28ebd6128bd351.compute.dxil(confirmed applied inplay.log, zero skipped pipelines):Possible Next Step for
larp-amdSince
heap_first_lane(WaveReadLaneFirst+nonuniform = false) fixes pixel shaders on RDNA 2, while compute shaders like3e28ebd6128bd351with per-lane dynamic heap indices still fault withWaveReadLaneFirstand work cleanly withNonUniformResourceIndex = true, it may be worth testingnonuniform = truefor dynamicheap_handle()calls in compute shaders on RDNA 2 (or via a switch/test build) to see if it also resolves the remaining "15 s to 20 min / shooting" RX 6000 crashes.Happy to test any follow-up builds or provide full logs if helpful!
@justr4mzi on GitHub · 2026-12-05 22:30 UTC · original
RX 6700 XT / same AMD driver: two late
DXGI_ERROR_DEVICE_HUNGcrashes on Fix 4.2, with3e28ebd6128bd351in flight.v2026.12.05-amd-4.2, enginef6954fc), RX 6700 XT 12 GiB, driver32.0.21045.29003, Windows 11 build 26200.rdna2=true,heap_first_lane=true,bvh_fences=true, host wave64, 1,000,000 view descriptors.Presentreturned0x887A0005about 6m11s after the first sample above 3,000 draws/frame. Removal reason0x887A0006; 3 submissions ahead of 96 lists.Presentreturned0x887A0005about 51s after the first sample above 3,000 draws/frame. Removal reason0x887A0006; 1 submission ahead of 32 lists. The last sample was18.2 fps, 54.8 ms/frame,7879 draws/frame, with0 without a host pipeline (0 being made).[compute 3e28ebd6128bd351]among pipelines in thelanding at the removalandin the line at the removalentries. No DRED breadcrumbs were available in either run, and the shader being in flight alone does not establish that it caused either hang. Both runs were on the unmodified Fix 4.2 shader. This is a follow-up to the earlier Fix 4 report.