[crash] [RAYTRACING][shaders][NVIDIA] Hardware RT: device lost after 1-9 min; Aftermath shows a mesh shader "Shader Instruction Error" (RTX 4070) #84
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?
What happened
With hardware ray tracing on, the game always crashes with a device removal within about 1 to 9 minutes. It happens fastest while driving or turning quickly through new areas. I had 10 runs with ray tracing on (F1 RAY TRACING = HARDWARE, or SOFTWARE, which turns into DXR on this card), and all 10 crashed. With ray tracing off, play is mostly stable; I had a few rarer device removals there, but have no dumps for them.
What I saw
Nine runs reported
DXGI_ERROR_DEVICE_REMOVED (0x887A0005). The run with the Aftermath monitor reportedDXGI_ERROR_DEVICE_HUNG (0x887A0006).DRED page faults were on, and DRED reported no page fault. With
DARNER_D3D12_DRED=light, the breadcrumb list was empty ([]) every time, even when work was still on the card (for example, "the device was lost before fence value 134078 was reached").I ran the diagnostics build with
DARNER_D3D12_DEBUG=1. The only message at the loss was id 234 (DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT). There were no errors before it, apart from id 926 aliasing warnings.Windows logged nothing: no Display 4101 event, no nvlddmkm event, and no LiveKernelReports.
Bisecting with settings only (all of these still crashed):
DARNER_HW_RT_TLAS_INSTANCES=0(every TLAS empty)DARNER_HW_RT_BLAS=0(no BLAS built or refitted)I then used the Nsight Aftermath GPU Crash Dump Monitor from Nsight Graphics 2026.4.1, in global mode with no SDK integration. The run used the last row above plus
DARNER_D3D12_DRED=0. The game crashed about 65 s after starting, with only 8 TLAS builds and 37 BLASes so far, and the card at 6.2 of 11.2 GB. The decoded dump says:What I think (not confirmed)
CS_RaytracingResolve, because new resolve programs were often first bound a few milliseconds before a loss. One run broke that pattern, and the dump points at a mesh shader instead.0xc43ad96c52d44542to the console shader hash. Aftermath hashes the translated DXIL, so runningGFSDK_Aftermath_GetShaderHashover the cached containers should find it. After that, DXIL instruction 1275 shows what faulted.GPU and driver
NVIDIA GeForce RTX 4070 12 GB (AD103-A in the dump), driver 621.47
CPU, RAM and Windows version
Intel Core i7-14700KF, 32 GB DDR5-6400 (2 sticks), Windows 11 build 26320
Darner release or commit
v2026.12.02.03-test
Settings
DARNER_HW_RT_TLAS_INSTANCES=0,DARNER_HW_RT_BLAS=0andDARNER_D3D12_DRED=0.Logs
darner-play-hwrt-aftermath-redacted.log: the Aftermath run, with the user name removed.aftermath-dump-decoded.txt: the output ofnv-aftermath-formatfor the dump..nv-gpudmpor.nvdbgfiles, because they may contain translated game shader code.Are you working on a fix?
No
RTX 4090: Aftermath's "Additional Shader Error Reporting" faults a start-up pixel shader; with it off, the usual
0x887A0005loss wrote no dumpI repeated your Aftermath capture on an RTX 4090, since this PC loses the device 37–180 s after the first TLAS build in every hardware RT run (eight runs today, in #4). Nsight Graphics 2026.4.1, monitor in Global mode, no SDK integration. Darner main
1a5286a(v2026.12.02.02-293), Series X, hardware RT, DLAA, frame generation off,DARNER_D3D12_DRED=0.System: Intel Core i9-13900K · 32 GB DDR5-6400 (2 sticks) · NVIDIA GeForce RTX 4090 24 GB, driver 621.40 · Windows 11 Pro build 26300
nvlddmkmevents0x887A0006at frame 5–6, about 5 s after start, before any game content0x887A0005457 s after the first TLAS buildRuns A and B (strict reporting on). The dump names a pixel shader, not a mesh shader:
edc1cad8ffb79bc9(with vertex58d926085fca4999, frame 3) and76cf21306691cd0c(with vertex8652ce3974dde3c4, frame 3-4); the loss came at frame 5-6. I haven't mapped the Aftermath hash to either, and the layer's own passes are not in that list. Both are bound at every start, and no other run today lost the device there.Graphics SM Warp Exception on (GPC n, TPC n, SM n): Invalid Constant Address LDCandGraphics SM Global Exception ...: Multiple Warp Errors. So that shader seems to load a constant from an address the card rejects when strict reporting is on.Run C (strict reporting off). The monitor was still running in Global mode. Pipeline library loads took about 10 s each at the start (normally milliseconds), so the driver was treating the process differently. The loss was the usual one:
0x887A0005, the relay reporting "device lost before publishing queued GPU work". No.nv-gpudmpappeared and Windows logged nonvlddmkmevent.What I think (not confirmed)
0x887A0006with "Shader Instruction Error", like my runs A and B, while your other nine runs ended in0x887A0005. If your monitor had Additional Shader Error Reporting on, the mesh shader fault may be an error the card normally tolerates, made fatal by that option, and not the cause of the common loss. Do you remember whether it was on?Like you, I'm not attaching the
.nv-gpudmpor.nvdbgfiles. Log excerpts as text (user name and paths removed):Log reading and this write-up were done with AI assistance.
Run B (start-up loss, strict reporting on)
Run C (usual loss, strict reporting off, no dump)
Decoded dump, run B (GPC/TPC state list and adapter LUID left out)
A removal on this machine names itself as a plug-and-play stop, with breadcrumbs kept and empty.
With
DARNER_D3D12_DEBUG=1andDARNER_D3D12_DRED=1reachable, the same hardware-RT shell that diesat 1-9 minutes reports:
The breadcrumb list is empty, so no title command was under it - which is why Aftermath's mesh
shader attribution in this issue may be the last thing drawn rather than the thing that died. The
runs:
pin-b1b, world 20:30:34, removed 20:31:16, dwell 41.5 s, 2 frame lines of ~76.pin-b1c,same shell plus the instrument, 12 lines of ~76, 4.3-6.4 fps, card 31.1 % busy, 43.7 W. Two other
configs on the same build ran their windows: RT in shaders 420 s (69 lines), the title's builder
off 404 s (59 lines).
The question I cannot answer from here: is "Plug-and-play stop has been exercised on this
adapter" what the driver reports for its own reset in this shape, or does it mean something outside
the title stopped the adapter? The System log has zero events since 20:25, so nothing corroborates
an external stop and nothing rules one out.
And the switches that would have named it cannot be reached through
play:DARNER_D3D12_DEBUG,DARNER_D3D12_DREDandDARNER_D3D12_GBVare absent fromKEPT, andplayclears every otherDARNER_*, so a build that says "a diagnostics build withDARNER_D3D12_DEBUG=1names the command"cannot be asked for it. Five lines in
KEPT(ours) make it reachable and produce the removal above.