You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
amd-dev: GPU page fault at an unallocated VA (cs d79af1d04922a49b) during world loading on RX 6800, after the #2582 fix #2619
Game and package version
GTA VI (Xbox Series X|S package), 1.0.2.1
What happens
On amd-dev, with the #2582 fix in (e4b66e5), the title gets past the old +0x501eb50 crash point, but the GPU now faults a few minutes into world loading: device removed 0x887a0006, about 6–9 min after launch, once the title records 3 500–7 400 draws per 2 s. 6 of 6 runs on 6a0bb5b and b5c0275.
With XCL_DRED=1 (run 28, b5c0275), DRED reports a page fault:
D3D12 device removed: 0x887a0006 The GPU will not respond to more commands, ...
DRED page fault at GPU VA 0x15f209000; allocations there: []; recently freed: []
DRED: list 0x13fae64dc0 on queue 0x38f5a1e0: 0 of 5 operations done, around: >46 0 6; bound after it: cs d79af1d04922a49b
DRED: list 0x0 on queue 0x38f5a1e0: 0 of 10 operations done, around: >46 0 15; bound after it: cs d79af1d04922a49b, pipeline 0x134bd51dc0 (a stand-in, or not translated)
No allocation was ever at 0x15f209000 and nothing was freed there, and it is outside the UMA windows (the log adds no = window N).
The only queue with a pipeline at the fault is 0x38f5a1e0, and the pipeline is the compute shader d79af1d04922a49b (a 5 284 B xbox-native CS).
The removal does not depend on these switches; each run had one of them changed and every run removed the device at the same point:
XCL_PSO_FRAME_BUDGET_MS=off (no pipeline skips logged)
XCL_SPLIT_MIDLIST_WAIT=0 (no splits logged)
XCL_INDIRECT_PRELUDE=0 (no prelude batches logged)
Same fault on a 12 GB RDNA2 card with 16 GB of RAM, amd-devb5c0275f: 5 of 5 warm runs that reached the world removed the device the same way. Three more switches don't change it, and the shader's raw memory paths look clean, which leaves its texture reads.
Setup: RX 6750 XT 12 GB (RDNA2), driver 32.0.21045.29003, Ryzen 7 5700X, 16 GB RAM, Windows 11 Pro 26300, release. Retail title 1.0.2.1, Series X profile. Env for every run: XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PSO_PRELOAD=0 XCL_DXC_THREADS=4 XCL_SPLIT_MIDLIST_WAIT=0 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PAGE_ALIAS=1 XCL_COHERENT_HEAPS=0 XCL_COHERENT_MB=512, scripted A presses. Shader and driver caches warm. Tree: b5c0275f plus local log lines only (a counter and the diagnostic below, no behaviour change).
run
extra switch
device removed
DRED
1
–
~470 s
(DRED off)
2
XCL_SPLIT_INDIRECT_ROUNDS=2
~315 s
(DRED off)
3
XCL_DRED=1
~327 s
page fault at 0x1f01c0000, allocations there: []; recently freed: [], list 0 of 13 operations done, around: >46 0 6, bound cs d79af1d04922a49b
4
XCL_DRED=1 XCL_AMBIENT=0
~504 s
same: 0x11a8cd000, >46 0 6, cs d79af1d04922a49b
5
XCL_DRED=1 XCL_VRAM_IO=0
~300 s
same: 0x1d304d000, >46 0 6, cs d79af1d04922a49b
The faulting list is always a fresh one: BEGIN_COMMAND_LIST, a marker, and the first Dispatch with this CS bound.
Not the ambient stand-in. In runs 1–3 the device goes a few log lines after the second ambient: applied TemporalResolve/ReflectionHistory stand-in. With XCL_AMBIENT=0 (run 4: no stand-in applied at all), the fault is the same.
Not the VRAM io slots (XCL_VRAM_IO=0, run 5).
XCL_SPLIT_INDIRECT_ROUNDS=2 only made it come sooner, with more draws skipped (7,621 against 2,018).
Memory at the removal, for context: process commit 19.5–19.7 GB, local video memory 10.3 GB on the 12 GB card, non-local 1.3 GB.
Where the shader can fault. From its translated HLSL (xcl shaders shaders.rpf --export-hlsl … --record-hash d79af1d04922a49b):
Its only io accesses are 57 io.Load(<constant>); it never touches res.
Every buffer access goes through XCL_MW, the heap windows, each a raw UAV with a size. An address outside them takes the null view at MEM_HEAP_NULL, which set_window_views writes.
That leaves its 8 image_load_mip reads: ResourceDescriptorHeap[NonUniformResourceIndex(s12)], with s12 taken from the T# the title gives, behind t_ok = ((s15 >> 28) >= 8u) && ((s13 & 0xFF) == 0u) && (s12 < 999999u). A slot below 999,999 that holds a descriptor of a resource freed long ago (outside DRED's recently-freed list), or that was never written, would fault exactly like this. I have not proven which slot it is: that needs the slot index read on the GPU, which I haven't done.
AI use: Claude Code (Claude Opus 5.5) ran the runs on this machine, read the logs and code, and wrote this; I checked it before posting.
Update from the same machine (RX 6800, driver 32.0.21045.29003, Ryzen 5 5600X3D, 64 GB, Windows 11 Pro 26200, release builds).
This fault no longer shows up on amd-devc32c91a3. Five of five runs (unmodified build) passed the first world frame with no 0x887a0006 and no device removal. On b5c0275 it ended more than half of the runs at that frame.
Env for every run: XCL_DRED=1 XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=8 XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_FRAME_DUMP=4 (the fifth with XCL_FRAME_DUMP=1 XCL_FRAME_DUMP_FROM=2250), after xcl shaders … --precompile --only cs --pipelines --used-only (699 compiled, 0 errors, 699 pipelines made).
Correction to the breadcrumbs in the report. Op 6 is Dispatch (26 is WriteBufferImmediate), so the first list not done on b5c0275 was three dispatches with cs d79af1d04922a49b bound, then a barrier, one immediate write and a barrier. That shader is DistantObjects:CS_DistanceWindowEmissivesCulling; its translation reads only its parameter block, res and the memory windows, no textures. On b5c0275 the fault address was in no buffer XCL or the title ever made (the lowest buffer address was 0x319580000, the faults were at 0x13b…–0x1fc…).
What ends the runs on c32c91a3 now: access violations in the title's own code, 11–25 activity lines into the world (up to ~18 000 draws and ~11 000 dispatches per 2 s), at a different place each run:
Run
Time
Exception
175
547 s
game_scarlett_master.exe+0x4e9138e, read at 0x0 (two threads)
176
503 s
+0x5188d35, read at 0x60 (two threads)
177
236 s
+0x590cda, read at 0xffffffffffffffff; +0x5188d39, read at 0xe4
178
226 s
+0x22c463, read at 0x138; +0x4eeaa22, read at 0x0
179
158 s
execute at address 0x0 (return address +0x4ea3b88)
Local video memory at the end was 13.3–14.3 GB, process commit 31–33 GB.
Two runs on 5399542 (eight commits earlier, before the sparse readback queue changes), same settings:
one ended the same way (+0x4e40a35, read at 0x38, 284 s), so the access violations did not come in with the last eight commits;
one ended in a device removal with a different signature from this issue, 409 s in and 20 frames after the world started: DRED page fault at GPU VA 0xa2d730000; allocations there: []; recently freed: [type 40 ×5, type 34 ×2], with several lists of 33 operations not done on three queues (cs b0c0fed0cdf7fd9c, a135386c84abceb0, 2e0055c25f49848a, 6e148dbd563de205).
Both of those drew the night sky, clouds and the city lights on the horizon after the title card; the foreground stayed black.
Separate finding: a pipeline library saved just before a device removal can break every later start. After one of the b5c0275 removals, every run crashed about 13 s after launch in amdxc64.dll+0x176cd5, until I moved pso-library\956559c929c41833\gen-00000386.plib out of %LOCALAPPDATA%\xcl\dxil. An empty XCL_DXIL_CACHE also started normally. I kept the file (3.2 MB) and can attach it.
Not tested: other GPUs, main, runs longer than the crashes allow. I have the full logs of every run named here.
Runs and write-up by Claude Code (Claude Fable 5.2).
Same fault on a 12 GB RDNA2 card, and on c32c91a3 it does not go away here, even with the recipe from the comment above. Video memory is full at the loss.
Setup: RX 6700 XT 12 GB (RDNA2), driver 32.0.21030.2001, Ryzen 5 5600X, 48 GB RAM, Windows 11. Retail 1.0.2.1, Series X profile, XCL_NETWORK=0 XCL_ACTIVITY=1, warm caches. Every run below lost the device (0x887a0006) seconds after world entry.
same + XCL_COHERENT_MB=512 XCL_TEXTURE_LEVEL_PAGES=1
11.9 GB local + 1.2 GB non-local
One more data point from b5c0275f, in case it helps whoever takes this. A local switch that leaves out the draws of the two-pass ExecuteIndirect(DispatchMesh) path only (direct DispatchMesh still drawn) runs 8–10 min in the world with no loss. The world is black then. With that path on, 25 of 26 launches lost the device.
At the loss, MARKER_OUT step marks around every two-pass indirect call showed all lists had finished their last call, so the fault comes after it. The shader caught midway once was meshlet_culling:CS_BatchCullMeshlets_ParaboloidShadows. These did not help:
skipping that shader;
zeroing commands over 65 535 groups;
capping commands at 512 groups;
per-list record buffers;
a 256 MiB guard after record buffers;
never reusing scratch/record/io memory.
Has anyone with a 12 GB card got past the first world frame on c32c91a3? The 5/5 above is a 16 GB RX 6800. Logs are available.
Correction to the pipeline library note in my last comment, and one more data point. Same machine (RX 6800, driver 32.0.21045.29003), unmodified c32c91a3 release build apart from local logging.
The amdxc64.dll+0x176cd5 startup crash is not explained by "saved just before a device removal". It came back twice today with no removal in between:
Runs with XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=8 started normally with the library gen-000000fc.
The next two runs without those two variables (default layout, 1 coherent window) crashed 13 s after launch in amdxc64.dll+0x176cd5, right after opened memory-mapped pipeline library gen-000000fc.
Two runs in the default layout with XCL_PSO_LIBRARY=0 started normally.
Going back to XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=8 with the library on (now gen-000000ff) crashed the same way at 14 s.
So what I can say is: a library written under one memory-window layout crashed the driver when a run with the other layout opened it, in both directions. I did not test whether that is the cause or a coincidence of which pipelines were stored. I have both files.
Default layout, XCL_PSO_LIBRARY=0, otherwise as before (XCL_DRED=1, precompiled compute):
Run
Time
World activity lines
End
194
1101 s
114
0x887a0006, DRED page fault at GPU VA 0x0, 16.7 GB local video memory
195
264 s
33
0x887a0006, DRED page fault at GPU VA 0x0, 15.5 GB local; 35 of 78 operations done at cs c36e926ce10fe675
Neither ended in a title access violation; the eight-window runs mostly did (9 of 12). Run 194 is the longest I have had and the first with a daytime frame: sky, clouds and a dark flat ground plane to the horizon, no objects on it. Both ended with local video memory at the 16 GB card's limit, which matches @ArtuArtaza's 12 GB result above.
Not tested: why the layouts differ in the access violations (two runs is too few to say they do), other GPUs.
Runs and write-up by Claude Code (Claude Fable 5.2).
Correction to my two comments above about the startup crash in amdxc64.dll+0x176cd5: it is not caused by a device removal before the save, and not by the memory-window layout either. Both readings were wrong.
The driver reads a dword at blob + length in CreatePipelineLibrary (cmp dword ptr [r14], eax, r14 = the mapped view's address + the file's length). XCL gives it a file mapping, which ends with the file's last page, so a library file that ends less than 4 bytes before a page boundary has that dword in the unmapped page after it. Both libraries that crashed here are 4094 mod 4096 bytes long (1933310 and 3252222), and in 3 of 3 crashing starts the faulting address was the first byte after the view. The layout correlation was a coincidence: the run before the switch happened to save a file of such a length.
Fix with a test in #2859 (draft, base amd-dev). With it, the 1933310-byte file that crashed 3 starts opens and serves pipelines (checked on c32c91a3 plus local logging, RX 6800, driver 32.0.21045.29003).
Until then, anyone who gets this crash at every start on AMD can delete %LOCALAPPDATA%\xcl\dxil\pso-library\ or set XCL_PSO_LIBRARY=0.
Written with Claude Code (Claude Fable 5.2) from runs on my machine.
Same fault on an RX 6750 XT (RDNA2 12 GB, driver 32.0.21045.29003, 16 GB RAM, Windows 11 26200).amd-devf84a949 with 287a931b reverted, warm shader cache, XCL_PREPARE=0, no input.
With XCL_DRED=1, at 221.8 s:
D3D12 device removed: 0x887a0006
DRED page fault at GPU VA 0x0; allocations there: []; recently freed: []
DRED: list … on queue …: 2 of 3 operations done, around: 46 0 >6; pipeline bound there: cs c36e926ce10fe675
The cs is the same as in your run 195. Without DRED, 3 of 4 runs ended the same way at 183-269 s: the first thing to notice it was title texture: upload failed: texture copy: D3D12 device removed (0x887a0006). All were in the world load with ~300k draws and 0.02-0.3 % skipped. Free RAM was 0.1-0.2 GB and VRAM 11.1/12 GB, so memory is tight here, but the fault is a null VA, not an out-of-memory error.
AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
Narrowing on RX 6750 XT: three skip paths ruled out. Series S (device_type = "lockhart") reaches the fault fast and almost at the same second every time.
Setup: amd-dev7c795f5, warm shader cache, XCL_PREPARE=0, XCL_DRED=1, A pressed every 10 s from 40 s. RX 6750 XT, driver 32.0.21045.29003, 16 GB RAM. As Series S, memory stays within the budgets: VRAM ~10.9 of ~10.7-11.5 GB, non-local ~4.4 of 7.4 GB. Every run ends in DRED page fault at GPU VA 0x0; allocations there: [] at 215-224 s (0x887a0007, 0x887a0020 once).
run
what was not skipped
fault
XCL_ASYNC_HEAVY_COMPUTE=0
0 "ExecuteIndirect with a pipeline that is still being built skipped", 0 image-only programs left out, 0 dispatches put off
215 s
XCL_BVH_BUILDER=1
0 BVH builder passes left out
216 s
full 4 GB coherent window
0 two-pass ExecuteIndirect skipped for arguments outside unified memory
224 s
So on this card it is none of those skips. Two other kinds of skip still happen at ~136 s, each a handful of times:
ExecuteIndirect dispatch with a pipeline that has no translated console shader (…) skipped;
Dispatch with a pipeline that has no translated console shader (…) skipped.
I have not mapped those PSOs to record hashes yet.
AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
A lead for the 0x0 fault: the RT gate. Same setup as my comment above (RX 6750 XT, Series S, DRED).
With the default XCL_RT_GATE=hold, the log shows RT-gated compute PSO … held back without compiling past 1024 by 13 s. These are exactly the pipelines whose dispatches later appear as Dispatch / ExecuteIndirect dispatch with a pipeline that has no translated console shader … skipped (~136 s). Every one of those runs ends at the VA 0x0 fault at 215-224 s.
With XCL_RT_GATE=miss (one run): 0 RT PSOs held back, 0 "no translated console shader" skips, no DRED page fault. Not conclusive, though: the title then waited on driver compiles of the ~1 MB RT programs, presented nothing after 138 s, and available RAM reached 0. It never got to the point where the others fault.
So a skipped RT pass leaving a table or address unwritten for a later pass fits the evidence. A machine with the RT programs prebuilt (XCL_RT_GATE=0 with --precompile --pipelines), or with more RAM, could check miss past 230 s.
AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
RT programs precompiled with XCL_RT_GATE=miss: the 138 s stall is gone, but the VA 0x0 fault is still there at 258 s. The held RT passes do not cause it.
RX 6750 XT 12 GB, 16 GB RAM, driver 32.0.21045.29003, amd-dev7c795f5 + local changes, Series S (lockhart), XCL_DRED=1, XCL_PREPARE=0, A pressed automatically.
Offline pass:xcl shaders <pack> --precompile --only cs --pipelines with XCL_RT_GATE=miss built 9,835 pipelines in 26 min. No program went over the 8 MB DXIL cap, because the 819 big programs were split into 7,966 pieces.
In game: the run got past the 138 s RT compile stall (556k draws, only 2 dispatches skipped, nothing held by the RT gate). It still ended with DRED page fault at GPU VA 0x0; allocations there: [] at 258 s, inside the 215-312 s window I see in every Series S run.
What was still left out in that run: about 4 % of draws (mostly graphics pipelines still being built, since XCL_PREPARE=0), 16 BVH builder passes, 8 two-pass ExecuteIndirect calls with arguments outside the coherent window, 4 ExecuteIndirect calls with a pipeline still being built, and 19 image-only compute programs still being built. Next, I will run with as few skips as I can (XCL_PREPARE on, XCL_BVH_BUILDER=1, RT miss) and report back.
AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
Follow-up: the run with as few skips as I can get also ends at 318 s. This time it is a device reset (0x887a0007) with no DRED page fault.
Same setup as above (Series S, RT programs precompiled, XCL_RT_GATE=miss, the driver-crashing record skipped), plus XCL_PREPARE on and XCL_BVH_BUILDER=1.
Preparation was warm: 623 graphics pipelines in 2 s.
524k draws, 540k dispatches (2 skipped), 2.2 GB of free RAM on average, 5.2 GB of shared memory at the peak.
About 3.7 % of draws were still skipped: graphics pipelines first seen mid-run, which are not in the recorded set yet. Also left out: 20 image-only compute programs that were still being built, 8 two-pass ExecuteIndirect calls with arguments outside the coherent window, and 4 ExecuteIndirect calls with a pipeline still being built.
At 317.8 s: D3D12 device removed: 0x887a0007, and DRED reported no page fault. The title then hit a breakpoint (0x80000003 at +0x2474606).
Across all my Series S runs, turning off the RT gate, the BVH skip, the async ExecuteIndirect skip or the coherent cap moves the end around within 215-318 s, but none of them removes it. The leftover skips are small. So I now think the cause is something the world does in that stretch, not a skipped pass. Turning on the BVH builder may also have traded the VA 0x0 fault for a hang.
AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
Activity
qnfn commentedon Nov 26, 2026
Same fault on a 12 GB RDNA2 card with 16 GB of RAM,
amd-devb5c0275f: 5 of 5 warm runs that reached the world removed the device the same way. Three more switches don't change it, and the shader's raw memory paths look clean, which leaves its texture reads.Setup: RX 6750 XT 12 GB (RDNA2), driver 32.0.21045.29003, Ryzen 7 5700X, 16 GB RAM, Windows 11 Pro 26300, release. Retail title 1.0.2.1, Series X profile. Env for every run:
XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PSO_PRELOAD=0 XCL_DXC_THREADS=4 XCL_SPLIT_MIDLIST_WAIT=0 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PAGE_ALIAS=1 XCL_COHERENT_HEAPS=0 XCL_COHERENT_MB=512, scripted A presses. Shader and driver caches warm. Tree:b5c0275fplus local log lines only (a counter and the diagnostic below, no behaviour change).XCL_SPLIT_INDIRECT_ROUNDS=2XCL_DRED=10x1f01c0000,allocations there: []; recently freed: [], list0 of 13 operations done, around: >46 0 6, boundcs d79af1d04922a49bXCL_DRED=1 XCL_AMBIENT=00x11a8cd000,>46 0 6,cs d79af1d04922a49bXCL_DRED=1 XCL_VRAM_IO=00x1d304d000,>46 0 6,cs d79af1d04922a49bBEGIN_COMMAND_LIST, a marker, and the firstDispatchwith this CS bound.ambient: applied TemporalResolve/ReflectionHistory stand-in. WithXCL_AMBIENT=0(run 4: no stand-in applied at all), the fault is the same.ioslots (XCL_VRAM_IO=0, run 5).XCL_SPLIT_INDIRECT_ROUNDS=2only made it come sooner, with more draws skipped (7,621 against 2,018).Where the shader can fault. From its translated HLSL (
xcl shaders shaders.rpf --export-hlsl … --record-hash d79af1d04922a49b):ioaccesses are 57io.Load(<constant>); it never touchesres.XCL_MW, the heap windows, each a raw UAV with a size. An address outside them takes the null view atMEM_HEAP_NULL, whichset_window_viewswrites.io/resin one upload block (0x689000xxx) and windows at0x320140000,0x420180000,0x5201c0000,0x300100000. All five fault addresses (amd-dev: GPU page fault at an unallocated VA (cs d79af1d04922a49b) during world loading on RX 6800, after the #2582 fix #2619's0x15f209000and the four above) lie below the windows and in no allocation.image_load_mipreads:ResourceDescriptorHeap[NonUniformResourceIndex(s12)], withs12taken from the T# the title gives, behindt_ok = ((s15 >> 28) >= 8u) && ((s13 & 0xFF) == 0u) && (s12 < 999999u). A slot below 999,999 that holds a descriptor of a resource freed long ago (outside DRED's recently-freed list), or that was never written, would fault exactly like this. I have not proven which slot it is: that needs the slot index read on the GPU, which I haven't done.AI use: Claude Code (Claude Opus 5.5) ran the runs on this machine, read the logs and code, and wrote this; I checked it before posting.
bobosneefdev commentedon Nov 26, 2026
Update from the same machine (RX 6800, driver 32.0.21045.29003, Ryzen 5 5600X3D, 64 GB, Windows 11 Pro 26200, release builds).
This fault no longer shows up on
amd-devc32c91a3. Five of five runs (unmodified build) passed the first world frame with no0x887a0006and no device removal. Onb5c0275it ended more than half of the runs at that frame.Env for every run:
XCL_DRED=1 XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=8 XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_FRAME_DUMP=4(the fifth withXCL_FRAME_DUMP=1 XCL_FRAME_DUMP_FROM=2250), afterxcl shaders … --precompile --only cs --pipelines --used-only(699 compiled, 0 errors, 699 pipelines made).Correction to the breadcrumbs in the report. Op 6 is
Dispatch(26 isWriteBufferImmediate), so the first list not done onb5c0275was three dispatches withcs d79af1d04922a49bbound, then a barrier, one immediate write and a barrier. That shader isDistantObjects:CS_DistanceWindowEmissivesCulling; its translation reads only its parameter block,resand the memory windows, no textures. Onb5c0275the fault address was in no buffer XCL or the title ever made (the lowest buffer address was0x319580000, the faults were at0x13b…–0x1fc…).What ends the runs on
c32c91a3now: access violations in the title's own code, 11–25 activity lines into the world (up to ~18 000 draws and ~11 000 dispatches per 2 s), at a different place each run:game_scarlett_master.exe+0x4e9138e, read at 0x0 (two threads)+0x5188d35, read at 0x60 (two threads)+0x590cda, read at 0xffffffffffffffff;+0x5188d39, read at 0xe4+0x22c463, read at 0x138;+0x4eeaa22, read at 0x0+0x4ea3b88)Local video memory at the end was 13.3–14.3 GB, process commit 31–33 GB.
Two runs on
5399542(eight commits earlier, before the sparse readback queue changes), same settings:+0x4e40a35, read at 0x38, 284 s), so the access violations did not come in with the last eight commits;DRED page fault at GPU VA 0xa2d730000; allocations there: []; recently freed: [type 40 ×5, type 34 ×2], with several lists of 33 operations not done on three queues (cs b0c0fed0cdf7fd9c, a135386c84abceb0, 2e0055c25f49848a, 6e148dbd563de205).Both of those drew the night sky, clouds and the city lights on the horizon after the title card; the foreground stayed black.
Separate finding: a pipeline library saved just before a device removal can break every later start. After one of the
b5c0275removals, every run crashed about 13 s after launch inamdxc64.dll+0x176cd5, until I movedpso-library\956559c929c41833\gen-00000386.plibout of%LOCALAPPDATA%\xcl\dxil. An emptyXCL_DXIL_CACHEalso started normally. I kept the file (3.2 MB) and can attach it.Not tested: other GPUs,
main, runs longer than the crashes allow. I have the full logs of every run named here.Runs and write-up by Claude Code (Claude Fable 5.2).
ArtuArtaza commentedon Nov 26, 2026
Same fault on a 12 GB RDNA2 card, and on
c32c91a3it does not go away here, even with the recipe from the comment above. Video memory is full at the loss.Setup: RX 6700 XT 12 GB (RDNA2), driver 32.0.21030.2001, Ryzen 5 5600X, 48 GB RAM, Windows 11. Retail 1.0.2.1, Series X profile,
XCL_NETWORK=0 XCL_ACTIVITY=1, warm caches. Every run below lost the device (0x887a0006) seconds after world entry.One more data point from
b5c0275f, in case it helps whoever takes this. A local switch that leaves out the draws of the two-passExecuteIndirect(DispatchMesh)path only (directDispatchMeshstill drawn) runs 8–10 min in the world with no loss. The world is black then. With that path on, 25 of 26 launches lost the device.At the loss, MARKER_OUT step marks around every two-pass indirect call showed all lists had finished their last call, so the fault comes after it. The shader caught midway once was
meshlet_culling:CS_BatchCullMeshlets_ParaboloidShadows. These did not help:Has anyone with a 12 GB card got past the first world frame on
c32c91a3? The 5/5 above is a 16 GB RX 6800. Logs are available.bobosneefdev commentedon Nov 26, 2026
Correction to the pipeline library note in my last comment, and one more data point. Same machine (RX 6800, driver 32.0.21045.29003), unmodified
c32c91a3release build apart from local logging.The
amdxc64.dll+0x176cd5startup crash is not explained by "saved just before a device removal". It came back twice today with no removal in between:XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=8started normally with the librarygen-000000fc.1 coherent window) crashed 13 s after launch inamdxc64.dll+0x176cd5, right afteropened memory-mapped pipeline library gen-000000fc.XCL_PSO_LIBRARY=0started normally.XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=8with the library on (nowgen-000000ff) crashed the same way at 14 s.So what I can say is: a library written under one memory-window layout crashed the driver when a run with the other layout opened it, in both directions. I did not test whether that is the cause or a coincidence of which pipelines were stored. I have both files.
Default layout,
XCL_PSO_LIBRARY=0, otherwise as before (XCL_DRED=1, precompiled compute):0x887a0006,DRED page fault at GPU VA 0x0, 16.7 GB local video memory0x887a0006,DRED page fault at GPU VA 0x0, 15.5 GB local; 35 of 78 operations done atcs c36e926ce10fe675Neither ended in a title access violation; the eight-window runs mostly did (9 of 12). Run 194 is the longest I have had and the first with a daytime frame: sky, clouds and a dark flat ground plane to the horizon, no objects on it. Both ended with local video memory at the 16 GB card's limit, which matches @ArtuArtaza's 12 GB result above.
Not tested: why the layouts differ in the access violations (two runs is too few to say they do), other GPUs.
Runs and write-up by Claude Code (Claude Fable 5.2).
bobosneefdev commentedon Nov 26, 2026
Correction to my two comments above about the startup crash in
amdxc64.dll+0x176cd5: it is not caused by a device removal before the save, and not by the memory-window layout either. Both readings were wrong.The driver reads a dword at blob + length in
CreatePipelineLibrary(cmp dword ptr [r14], eax,r14= the mapped view's address + the file's length). XCL gives it a file mapping, which ends with the file's last page, so a library file that ends less than 4 bytes before a page boundary has that dword in the unmapped page after it. Both libraries that crashed here are 4094 mod 4096 bytes long (1933310 and 3252222), and in 3 of 3 crashing starts the faulting address was the first byte after the view. The layout correlation was a coincidence: the run before the switch happened to save a file of such a length.Fix with a test in #2859 (draft, base
amd-dev). With it, the 1933310-byte file that crashed 3 starts opens and serves pipelines (checked onc32c91a3plus local logging, RX 6800, driver 32.0.21045.29003).Until then, anyone who gets this crash at every start on AMD can delete
%LOCALAPPDATA%\xcl\dxil\pso-library\or setXCL_PSO_LIBRARY=0.Written with Claude Code (Claude Fable 5.2) from runs on my machine.
RodrigoTorreao commentedon Nov 27, 2026
Same fault on an RX 6750 XT (RDNA2 12 GB, driver 32.0.21045.29003, 16 GB RAM, Windows 11 26200).
amd-devf84a949 with287a931breverted, warm shader cache,XCL_PREPARE=0, no input.With
XCL_DRED=1, at 221.8 s:The cs is the same as in your run 195. Without DRED, 3 of 4 runs ended the same way at 183-269 s: the first thing to notice it was
title texture: upload failed: texture copy: D3D12 device removed (0x887a0006). All were in the world load with ~300k draws and 0.02-0.3 % skipped. Free RAM was 0.1-0.2 GB and VRAM 11.1/12 GB, so memory is tight here, but the fault is a null VA, not an out-of-memory error.AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
RodrigoTorreao commentedon Nov 27, 2026
Narrowing on RX 6750 XT: three skip paths ruled out. Series S (
device_type = "lockhart") reaches the fault fast and almost at the same second every time.Setup:
amd-dev7c795f5, warm shader cache,XCL_PREPARE=0,XCL_DRED=1, A pressed every 10 s from 40 s. RX 6750 XT, driver 32.0.21045.29003, 16 GB RAM. As Series S, memory stays within the budgets: VRAM ~10.9 of ~10.7-11.5 GB, non-local ~4.4 of 7.4 GB. Every run ends inDRED page fault at GPU VA 0x0; allocations there: []at 215-224 s (0x887a0007, 0x887a0020 once).XCL_ASYNC_HEAVY_COMPUTE=0XCL_BVH_BUILDER=1So on this card it is none of those skips. Two other kinds of skip still happen at ~136 s, each a handful of times:
ExecuteIndirect dispatch with a pipeline that has no translated console shader (…) skipped;Dispatch with a pipeline that has no translated console shader (…) skipped.I have not mapped those PSOs to record hashes yet.
AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
RodrigoTorreao commentedon Nov 27, 2026
A lead for the 0x0 fault: the RT gate. Same setup as my comment above (RX 6750 XT, Series S, DRED).
XCL_RT_GATE=hold, the log showsRT-gated compute PSO … held back without compilingpast 1024 by 13 s. These are exactly the pipelines whose dispatches later appear asDispatch/ExecuteIndirect dispatch with a pipeline that has no translated console shader … skipped(~136 s). Every one of those runs ends at the VA 0x0 fault at 215-224 s.XCL_RT_GATE=miss(one run): 0 RT PSOs held back, 0 "no translated console shader" skips, no DRED page fault. Not conclusive, though: the title then waited on driver compiles of the ~1 MB RT programs, presented nothing after 138 s, and available RAM reached 0. It never got to the point where the others fault.So a skipped RT pass leaving a table or address unwritten for a later pass fits the evidence. A machine with the RT programs prebuilt (
XCL_RT_GATE=0with--precompile --pipelines), or with more RAM, could checkmisspast 230 s.AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
RodrigoTorreao commentedon Nov 27, 2026
RT programs precompiled with
XCL_RT_GATE=miss: the 138 s stall is gone, but the VA 0x0 fault is still there at 258 s. The held RT passes do not cause it.RX 6750 XT 12 GB, 16 GB RAM, driver 32.0.21045.29003,
amd-dev7c795f5 + local changes, Series S (lockhart),XCL_DRED=1,XCL_PREPARE=0, A pressed automatically.xcl shaders <pack> --precompile --only cs --pipelineswithXCL_RT_GATE=missbuilt 9,835 pipelines in 26 min. No program went over the 8 MB DXIL cap, because the 819 big programs were split into 7,966 pieces.e65ae75db85e9485, atamdxc64.dll+0x792466(access violation, 4 out of 4 tries). I found it by compiling one pipeline at a time withXCL_PSO_TRACE=1. It is not the amd-dev f84a949: AMD driver crashes (amdxc64.dll+0xd2a411) compiling the title's native DXIL compute shader ca7beffb8d3a8f28 (RX 6750 XT) #2874 offset. I kept it out withXCL_PSO_SKIP_FILE, which I made the offline pass honor as well (local change).DRED page fault at GPU VA 0x0; allocations there: []at 258 s, inside the 215-312 s window I see in every Series S run.What was still left out in that run: about 4 % of draws (mostly graphics pipelines still being built, since
XCL_PREPARE=0), 16 BVH builder passes, 8 two-pass ExecuteIndirect calls with arguments outside the coherent window, 4 ExecuteIndirect calls with a pipeline still being built, and 19 image-only compute programs still being built. Next, I will run with as few skips as I can (XCL_PREPAREon,XCL_BVH_BUILDER=1, RT miss) and report back.AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.
RodrigoTorreao commentedon Nov 27, 2026
Follow-up: the run with as few skips as I can get also ends at 318 s. This time it is a device reset (
0x887a0007) with no DRED page fault.Same setup as above (Series S, RT programs precompiled,
XCL_RT_GATE=miss, the driver-crashing record skipped), plusXCL_PREPAREon andXCL_BVH_BUILDER=1.D3D12 device removed: 0x887a0007, and DRED reported no page fault. The title then hit a breakpoint (0x80000003at+0x2474606).Across all my Series S runs, turning off the RT gate, the BVH skip, the async ExecuteIndirect skip or the coherent cap moves the end around within 215-318 s, but none of them removes it. The leftover skips are small. So I now think the cause is something the world does in that stretch, not a skipped pass. Turning on the BVH builder may also have traded the VA 0x0 fault for a hang.
AI-assisted (Claude Code with Claude Opus 5.5); run by me on the hardware above.