[Intel Arc B580] Repeated DXGI_ERROR_DEVICE_HUNG (0x887A0006) with D3D12 buffer-state errors across card-buffer and indirect-batch A/B runs #4643

Open
opened 2026-12-01 00:34:50 +00:00 by github-bot · 4 comments
Owner

@⁠gilmarcs on GitHub · 2026-12-01 00:29 UTC · original

<html>

Summary

VIctory-NVIDIA repeatedly loses the D3D12 device on an Intel Arc B580 while rendering the opening sequence or loading into the world. The final removal reason is DXGI_ERROR_DEVICE_HUNG (0x887A0006). It reproduces with relay both enabled and disabled.

The D3D12 debug layer consistently found a buffer-state defect. With card-buffer copies active, root SRVs read buffers tracked as COPY_DEST. With VICTORY_CARD_BUFFERS=0, those warnings disappeared, but CopyBufferRegion still read two buffers tracked as COPY_DEST, and the device still hung. Disabling indirect batch reuse also failed to prevent the hang. These results identify concrete state errors worth fixing. Whether either error caused any given device removal is still open.

Environment and reproduction

  • GPU: Intel Arc B580 12 GB, driver 32.0.101.9175.
  • OS: Windows 11 Pro 26H2, build 26300.9974.
  • CPU and board: Intel Xeon E5-2697 v3, Qiyida X99D4.
  • Build: Local diagnostic checkout based on 84bd61e2, with additional local instrumentation and a typed ResourceHeap fallback in the later captures. The exact executable revision of the two relay excerpts is unavailable from those excerpts.
  • Profile: Series S, DLSS off, 30 FPS cap, existing save and persistent cache. Use the same save and cache when comparing runs.
  • Observed progression: The runs reached heavy mesh rendering. Some were still in the opening cinematic or loading sequence. Entry into playable gameplay was unconfirmed in the key diagnostic captures.

Build the diagnostics executable and launch with the following settings as a starting point for the DRED comparisons. Use an existing data directory and cache.

cargo build --locked --profile diag -p victory --features diagnostics

.\target\diag\victory.exe play "<path-to-title-executable>" --series-s --dlss off --fps 30 --set "VICTORY_AMBIENT=constant:0.3"
--set "VICTORY_AMBIENT_AIR=0.8" --set "VICTORY_BVH_BUILDER=0"
--set "VICTORY_MESH_LINK=1" --set "VICTORY_TEXTURE_POOL=0"
--set "VICTORY_LIBRARY_MAP=0" --set "VICTORY_TITLE_VIEWS=1"
--set "VICTORY_RELAY=0" --set "VICTORY_D3D12_DRED=1"
--set "VICTORY_WARMUP_RESTART=0" `
--set "VICTORY_KEYS=10:Enter"

For the state-validation comparison, add --set VICTORY_D3D12_DEBUG=1, leave GPU-based validation off, and set VICTORY_CARD_ALL=0. Compare with --set VICTORY_CARD_BUFFERS=0, then repeat that variant with --set VICTORY_INDIRECT_BATCH=0. The scripted Enter reached GameInput in several captures, but input delivery alone does not establish that the title advanced.

Validation and DRED results

Times in the first column are local time in São Paulo (UTC−3), on Nov 30, 2026.

Capture Configuration Result
20:02 Relay off, DRED, typed descriptor fallback Device hung after 238.677 s. Host list 195, first incomplete command 108/190, DispatchMesh, 16 groups. Mesh/pixel f0c7efd2aceb2aaa / 7d85c9cab3c80721. Fault VA 0x80001591d000.
20:09 Debug layer + GBV, relay off, mesh filter keep:f0c7efd2aceb2aaa Three root SRV uses reported in COPY_DEST where NON_PIXEL_SHADER_RESOURCE was required. This capture has no final DRED report or reliable exit code.
20:25 Debug layer + DRED, GBV off, relay off, CARD_ALL=0 2,765 ID=538 validation messages across 554 distinct title buffers. Device hung after 114.106 s. Host list 636, first incomplete command 219/1403, DispatchMesh. Nearby command 215 used f0c7efd2aceb2aaa / 7d85c9cab3c80721. Fault VA 0x80001da60000.
20:30 Same setup plus CARD_BUFFERS=0 The repeated root SRV warnings disappeared. 116 ID=538 messages remained for CopyBufferRegion reading from COPY_DEST where COPY_SOURCE was required. Device hung after 153.636 s. Host list 56, first incomplete command 222/1013, ExecuteIndirect. Nearby command 218 used 7972997d15fd9e69 / 9f14b72117e2abec. Fault VA 0x800003c0f000.
20:36 Same setup plus INDIRECT_BATCH=0 249 ID=538 messages for the same two copy-source state mismatches. Device hung after 125.246 s. Host list 287, first incomplete command 275/1422, direct DispatchMesh. Nearby command 271 used f0c7efd2aceb2aaa / 7d85c9cab3c80721. Fault VA 0x80001dd1e000.
20:45 Same setup plus COMMIT_GROWTH=0 Device hung after about 240 s. Host list 14, first incomplete command 115/1366, ExecuteIndirect. Mesh/pixel 7972997d15fd9e69 / 9f14b72117e2abec recurred in the same command interval. Fault VA 0x80001f250000.

The submitting thread was preparing a new lot in both snapshots. The diagnostic phrase nothing of ours was running on the card describes that thread’s phase, while the separate relay counters and fence show prior submissions without recorded completion. Neither excerpt contains a DRED breadcrumb tying the two PSOs under creation to GPU execution.

The pipeline library was unmapped in both excerpts. In the second excerpt, 62 library lookups returned 0x80070057 and were followed by successful pipeline creation. A library save finished about 23 seconds before removal. The same two PSOs were being created at both failures, but the second failure occurred without either creation having run for a second.

Memory, related issues, and remaining questions

  • One DRED failure occurred with 28,791 MiB of physical RAM available and 5,461 / 11,349 MiB of local GPU memory in use. Later debug-layer runs reached 65,125 / 69,501 MiB of system commit while physical RAM available stayed above 29,232 MiB. The runs show different levels of commit pressure. They do not establish a common exhaustion trigger.
  • Windows recorded a Kernel_141 event for one DRED failure. Two earlier 0x119 triage dumps showed VidSchiSubmitPagingCommand on the video scheduler stack. Those dumps did not identify the failing paging packet or connect it to a particular resource.
  • PR #4080 / issue #3901: The reported defect there is a cross-family placed-texture CopyTextureRegion rejected by Close() with 0x80070057. Here the library returned 0x80070057 during PSO lookup, and device loss later reported 0x887A0006 while waiting for a fence. A separate VICTORY_PLACED_COPIED=0 comparison could test whether that texture path contributes. I have no matching placed-twin copy in the affected lists yet. PR #4080 · Issue #3901
  • Prior Arc report: The same adapter and driver have a separate report with incomplete ExecuteIndirect breadcrumbs. That is consistent with some of these captures. This set also includes incomplete direct mesh dispatches and reproducible buffer-state validation messages. Arc report in victory-fork · VIctory-NVIDIA Arc report

Can we trace the last CopyBufferRegion write, the barrier actually emitted, and the first read of the same host ID3D12Resource across the lists in one ExecuteCommandLists call? The most useful comparison would show whether VICTORY_COPIES_IN_PLACE=0 eliminates the remaining COPY_DEST → COPY_SOURCE validation messages. A DRED-only repeat on the same save could then test whether eliminating those messages also changes the device-loss signature.

Attachment:

</html>

victory-arc-b580-device-loss-evidence.log
device-loss-notes.md

**@⁠gilmarcs** on GitHub · 2026-12-01 00:29 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4642) <html> <body> <!--StartFragment--><h3><span>Summary</span></h3><p><span>VIctory-NVIDIA repeatedly loses the D3D12 device on an Intel Arc B580 while rendering the opening sequence or loading into the world. The final removal reason is </span><code dir="ltr">DXGI_ERROR_DEVICE_HUNG</code><span> (</span><code dir="ltr">0x887A0006</code><span>). It reproduces with relay both enabled and disabled.</span></p><p><span>The D3D12 debug layer consistently found a buffer-state defect. With card-buffer copies active, root SRVs read buffers tracked as </span><code dir="ltr">COPY_DEST</code><span>. With </span><code dir="ltr">VICTORY_CARD_BUFFERS=0</code><span>, those warnings disappeared, but </span><code dir="ltr">CopyBufferRegion</code><span> still read two buffers tracked as </span><code dir="ltr">COPY_DEST</code><span>, and the device still hung. Disabling indirect batch reuse also failed to prevent the hang. These results identify concrete state errors worth fixing. Whether either error caused any given device removal is still open.</span></p><h3><span>Environment and reproduction</span></h3><ul><li><strong><span>GPU:</span></strong><span> Intel Arc B580 12 GB, driver </span><code dir="ltr">32.0.101.9175</code><span>.</span></li><li><strong><span>OS:</span></strong><span> Windows 11 Pro 26H2, build </span><code dir="ltr">26300.9974</code><span>.</span></li><li><strong><span>CPU and board:</span></strong><span> Intel Xeon E5-2697 v3, Qiyida X99D4.</span></li><li><strong><span>Build:</span></strong><span> Local diagnostic checkout based on </span><code dir="ltr">84bd61e2</code><span>, with additional local instrumentation and a typed </span><code dir="ltr">ResourceHeap</code><span> fallback in the later captures. The exact executable revision of the two relay excerpts is unavailable from those excerpts.</span></li><li><strong><span>Profile:</span></strong><span> Series S, DLSS off, 30 FPS cap, existing save and persistent cache. Use the same save and cache when comparing runs.</span></li><li><strong><span>Observed progression:</span></strong><span> The runs reached heavy mesh rendering. Some were still in the opening cinematic or loading sequence. Entry into playable gameplay was unconfirmed in the key diagnostic captures.</span></li></ul><p><span>Build the diagnostics executable and launch with the following settings as a starting point for the DRED comparisons. Use an existing data directory and cache.</span></p><pre dir="ltr"><code>cargo build --locked --profile diag -p victory --features diagnostics .\target\diag\victory.exe play "&lt;path-to-title-executable&gt;" --series-s --dlss off --fps 30 ` --set "VICTORY_AMBIENT=constant:0.3" ` --set "VICTORY_AMBIENT_AIR=0.8" ` --set "VICTORY_BVH_BUILDER=0" ` --set "VICTORY_MESH_LINK=1" ` --set "VICTORY_TEXTURE_POOL=0" ` --set "VICTORY_LIBRARY_MAP=0" ` --set "VICTORY_TITLE_VIEWS=1" ` --set "VICTORY_RELAY=0" ` --set "VICTORY_D3D12_DRED=1" ` --set "VICTORY_WARMUP_RESTART=0" ` --set "VICTORY_KEYS=10:Enter"</code></pre><p><span>For the state-validation comparison, add </span><code dir="ltr">--set VICTORY_D3D12_DEBUG=1</code><span>, leave GPU-based validation off, and set </span><code dir="ltr">VICTORY_CARD_ALL=0</code><span>. Compare with </span><code dir="ltr">--set VICTORY_CARD_BUFFERS=0</code><span>, then repeat that variant with </span><code dir="ltr">--set VICTORY_INDIRECT_BATCH=0</code><span>. The scripted Enter reached GameInput in several captures, but input delivery alone does not establish that the title advanced.</span></p><h3><span>Validation and DRED results</span></h3><p><span>Times in the first column are local time in São Paulo (UTC−3), on Nov 30, 2026.</span></p><div><div><div> Capture | Configuration | Result -- | -- | -- 20:02 | Relay off, DRED, typed descriptor fallback | Device hung after 238.677 s. Host list 195, first incomplete command 108/190, DispatchMesh, 16 groups. Mesh/pixel f0c7efd2aceb2aaa / 7d85c9cab3c80721. Fault VA 0x80001591d000. 20:09 | Debug layer + GBV, relay off, mesh filter keep:f0c7efd2aceb2aaa | Three root SRV uses reported in COPY_DEST where NON_PIXEL_SHADER_RESOURCE was required. This capture has no final DRED report or reliable exit code. 20:25 | Debug layer + DRED, GBV off, relay off, CARD_ALL=0 | 2,765 ID=538 validation messages across 554 distinct title buffers. Device hung after 114.106 s. Host list 636, first incomplete command 219/1403, DispatchMesh. Nearby command 215 used f0c7efd2aceb2aaa / 7d85c9cab3c80721. Fault VA 0x80001da60000. 20:30 | Same setup plus CARD_BUFFERS=0 | The repeated root SRV warnings disappeared. 116 ID=538 messages remained for CopyBufferRegion reading from COPY_DEST where COPY_SOURCE was required. Device hung after 153.636 s. Host list 56, first incomplete command 222/1013, ExecuteIndirect. Nearby command 218 used 7972997d15fd9e69 / 9f14b72117e2abec. Fault VA 0x800003c0f000. 20:36 | Same setup plus INDIRECT_BATCH=0 | 249 ID=538 messages for the same two copy-source state mismatches. Device hung after 125.246 s. Host list 287, first incomplete command 275/1422, direct DispatchMesh. Nearby command 271 used f0c7efd2aceb2aaa / 7d85c9cab3c80721. Fault VA 0x80001dd1e000. 20:45 | Same setup plus COMMIT_GROWTH=0 | Device hung after about 240 s. Host list 14, first incomplete command 115/1366, ExecuteIndirect. Mesh/pixel 7972997d15fd9e69 / 9f14b72117e2abec recurred in the same command interval. Fault VA 0x80001f250000. </div></div></div><p><span>The submitting thread was preparing a new lot in both snapshots. The diagnostic phrase </span><code dir="ltr">nothing of ours was running on the card</code><span> describes that thread’s phase, while the separate relay counters and fence show prior submissions without recorded completion. Neither excerpt contains a DRED breadcrumb tying the two PSOs under creation to GPU execution.</span></p><p><span>The pipeline library was unmapped in both excerpts. In the second excerpt, 62 library lookups returned </span><code dir="ltr">0x80070057</code><span> and were followed by successful pipeline creation. A library save finished about 23 seconds before removal. The same two PSOs were being created at both failures, but the second failure occurred without either creation having run for a second.</span></p><h3><span>Memory, related issues, and remaining questions</span></h3><ul><li><span>One DRED failure occurred with </span><strong><span>28,791 MiB of physical RAM available</span></strong><span> and </span><strong><span>5,461 / 11,349 MiB</span></strong><span> of local GPU memory in use. Later debug-layer runs reached </span><strong><span>65,125 / 69,501 MiB</span></strong><span> of system commit while physical RAM available stayed above 29,232 MiB. The runs show different levels of commit pressure. They do not establish a common exhaustion trigger.</span></li><li><span>Windows recorded a </span><code dir="ltr">Kernel_141</code><span> event for one DRED failure. Two earlier </span><code dir="ltr">0x119</code><span> triage dumps showed </span><code dir="ltr">VidSchiSubmitPagingCommand</code><span> on the video scheduler stack. Those dumps did not identify the failing paging packet or connect it to a particular resource.</span></li><li><strong><span>PR #4080 / issue #3901:</span></strong><span> The reported defect there is a cross-family placed-texture </span><code dir="ltr">CopyTextureRegion</code><span> rejected by </span><code dir="ltr">Close()</code><span> with </span><code dir="ltr">0x80070057</code><span>. Here the library returned </span><code dir="ltr">0x80070057</code><span> during PSO lookup, and device loss later reported </span><code dir="ltr">0x887A0006</code><span> while waiting for a fence. A separate </span><code dir="ltr">VICTORY_PLACED_COPIED=0</code><span> comparison could test whether that texture path contributes. I have no matching placed-twin copy in the affected lists yet. </span><a href="https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4080"><span><span><span>PR #4080</span></span></span></a><span> · </span><a href="https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/3901"><span><span><span>Issue #3901</span></span></span></a></li><li><strong><span>Prior Arc report:</span></strong><span> The same adapter and driver have a separate report with incomplete </span><code dir="ltr">ExecuteIndirect</code><span> breadcrumbs. That is consistent with some of these captures. This set also includes incomplete direct mesh dispatches and reproducible buffer-state validation messages. </span><a href="https://github.com/fxceless/victory-fork/issues/969"><span><span><span>Arc report in victory-fork</span></span></span></a><span> · </span><a href="https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/2044"><span><span><span>VIctory-NVIDIA Arc report</span></span></span></a></li></ul><p><span>Can we trace the last </span><code dir="ltr">CopyBufferRegion</code><span> write, the barrier actually emitted, and the first read of the same host </span><code dir="ltr">ID3D12Resource</code><span> across the lists in one </span><code dir="ltr">ExecuteCommandLists</code><span> call? The most useful comparison would show whether </span><code dir="ltr">VICTORY_COPIES_IN_PLACE=0</code><span> eliminates the remaining </span><code dir="ltr">COPY_DEST</code><span> → </span><code dir="ltr">COPY_SOURCE</code><span> validation messages. A DRED-only repeat on the same save could then test whether eliminating those messages also changes the device-loss signature.</span></p><p><strong><span>Attachment:</span></strong><span> </span></p><!--EndFragment--> </body> </html> [victory-arc-b580-device-loss-evidence.log](https://github.com/user-attachments/files/35649132/victory-arc-b580-device-loss-evidence.log) [device-loss-notes.md](https://github.com/user-attachments/files/35649182/device-loss-notes.md)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 00:34:50 +00:00
Author
Owner

@⁠gilmarcs on GitHub · 2026-12-01 00:34 UTC · original · edited 2026-12-01 00:49 UTC

This happens in the first cutscenes, right after Lucia says "Just water", but if I skip it, when made Lucia turns back it have the same device hung error

image
**@⁠gilmarcs** on GitHub · 2026-12-01 00:34 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4642#issuecomment-7296481833) · edited 2026-12-01 00:49 UTC This happens in the first cutscenes, right after Lucia says "Just water", but if I skip it, when made Lucia turns back it have the same device hung error <img width="1898" height="1070" alt="image" src="https://github.com/user-attachments/assets/10b63503-b71a-4faf-b204-b2097616e6c4" />
Author
Owner

@⁠gilmarcs on GitHub · 2026-12-01 09:09 UTC · original

D3D12 device-loss investigation summary

We have not identified or fixed the root cause yet. The evidence now points more strongly to one recurring mesh workload, while still leaving open whether DRED identifies the operation that actually triggers the fault.

  • Recurring workload: DRED repeatedly stopped at or near ExecuteIndirect for mesh shader 7972997d15fd9e69 with pixel shader 9f14b72117e2abec. The failure recurred when f0c7efd2aceb2aaa was excluded; it also recurred with both f0c7... and 9b330a4c15bc3e97 excluded. This strengthens the association with 797..., but does not prove that dispatch caused the device loss.
  • Batching changes timing, not the outcome so far: with the default batch mode, one run failed at 797... after about 204 seconds of traced GPU work. With VICTORY_INDIRECT_BATCH=0 and both other meshes excluded, the game reached the prison scene and failed at 797... after about 722 seconds. Another batch-0 run failed earlier at mesh 9b330...; excluding that mesh let the run progress to 797....
  • Memory pressure is not established: in the 722-second run, process-private memory peaked around 27.9 GiB, system commit peaked around 56.0/69.5 GiB, and physical memory available stayed above 26.8 GiB. At failure, about 29.8 GiB physical memory was available. Dedicated GPU use peaked around 6.0/11.3 GiB. Memory use was higher than in shorter runs, but there was still substantial physical headroom.
  • One submission was pending at failure: 82,740 submissions had started and 82,739 had finished. That identifies in-flight work, not the cause.
  • Page-fault evidence remains inconclusive: the latest DRED fault address was 0x800012598000; no tracked title-memory copy lay below it, and no descriptor-heap slots were tracked as reaching it.
  • Argument readback is not working yet: the targeted helper matched 797... on host list 200, but DRED stopped on host list 161 at an unmarked ExecuteIndirect; no trustworthy X/Y/Z values were reported. I changed the instrumentation to log the first match on each host list, so the next capture can tell whether the failing list reaches the helper.
**@⁠gilmarcs** on GitHub · 2026-12-01 09:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4642#issuecomment-7306296862) # D3D12 device-loss investigation summary We have not identified or fixed the root cause yet. The evidence now points more strongly to one recurring mesh workload, while still leaving open whether DRED identifies the operation that actually triggers the fault. - Recurring workload: DRED repeatedly stopped at or near ExecuteIndirect for mesh shader 7972997d15fd9e69 with pixel shader 9f14b72117e2abec. The failure recurred when f0c7efd2aceb2aaa was excluded; it also recurred with both f0c7... and 9b330a4c15bc3e97 excluded. This strengthens the association with 797..., but does not prove that dispatch caused the device loss. - Batching changes timing, not the outcome so far: with the default batch mode, one run failed at 797... after about 204 seconds of traced GPU work. With VICTORY_INDIRECT_BATCH=0 and both other meshes excluded, the game reached the prison scene and failed at 797... after about 722 seconds. Another batch-0 run failed earlier at mesh 9b330...; excluding that mesh let the run progress to 797.... - Memory pressure is not established: in the 722-second run, process-private memory peaked around 27.9 GiB, system commit peaked around 56.0/69.5 GiB, and physical memory available stayed above 26.8 GiB. At failure, about 29.8 GiB physical memory was available. Dedicated GPU use peaked around 6.0/11.3 GiB. Memory use was higher than in shorter runs, but there was still substantial physical headroom. - One submission was pending at failure: 82,740 submissions had started and 82,739 had finished. That identifies in-flight work, not the cause. - Page-fault evidence remains inconclusive: the latest DRED fault address was 0x800012598000; no tracked title-memory copy lay below it, and no descriptor-heap slots were tracked as reaching it. - Argument readback is not working yet: the targeted helper matched 797... on host list 200, but DRED stopped on host list 161 at an unmarked ExecuteIndirect; no trustworthy X/Y/Z values were reported. I changed the instrumentation to log the first match on each host list, so the next capture can tell whether the failing list reaches the helper.
Author
Owner

@⁠gilmarcs on GitHub · 2026-12-01 15:53 UTC · original

I excluded the three candidate mesh shaders—7972997d15fd9e69, f0c7efd2aceb2aaa, and 9b330a4c15bc3e97—from being sent to the GPU. The log confirmed that all three were identified by the filter.

--set VICTORY_MESH_TEST=skip:7972997d15fd9e69,f0c7efd2aceb2aaa,9b330a4c15bc3e97

No device hang for 30+ minutes, passed all the prison cutscenes and Lucia`s failed heist, but still happening, this time in the ocean with the ExecuteIndirect of the mesh shader: 5d54808fb5099d57

**@⁠gilmarcs** on GitHub · 2026-12-01 15:53 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4642#issuecomment-7316684994) I excluded the three candidate mesh shaders—7972997d15fd9e69, f0c7efd2aceb2aaa, and 9b330a4c15bc3e97—from being sent to the GPU. The log confirmed that all three were identified by the filter. ``` --set VICTORY_MESH_TEST=skip:7972997d15fd9e69,f0c7efd2aceb2aaa,9b330a4c15bc3e97 ``` No device hang for 30+ minutes, passed all the prison cutscenes and Lucia`s failed heist, but still happening, this time in the ocean with the ExecuteIndirect of the mesh shader: 5d54808fb5099d57
Author
Owner

@⁠gilmarcs on GitHub · 2026-12-01 16:49 UTC · original

Next one is: 3ce73e45a9c34935. The five are 128-thread mesh shaders, all with triangle topology, and each one calls setMeshOutputCounts twice.

I managed to triangulate the issue. What these five have in common is the type of pass, rather than a bug in a specific shader. When one of them is skipped, the failure migrates to the next shader of the same type.

1. All of them draw only to the depth buffer, with no color render target.

Shader Pixel shader Depth target
7972 9f14 (writes to SV_Depth) R16 (format 53), 256, 768, and 1536 px: shadow cascades
f0c7 7d85 (writes to SV_Depth) R16, 256, 768, and 1536 px: the same cascades
5d54 none R16, 1280×5120, 1280×1280 viewport (shadow atlas in 4 blocks)
3ce7 none D32S8 (format 19), 1280×720 (depth pre-pass)
9b33 ? targets [], a single register with no specified format

2. The failure shifts to a different shader depending on which one you skip. Based on the capture data:

  • Skipping f0c7 causes the failure to occur in 7972 (via ExecuteIndirect)—observed in 5 captures.
  • Skipping 7972 causes the failure to occur in f0c7 (via DispatchMesh)—observed in 2 captures.
  • Skipping both 7972 and f0c7 simultaneously resulted in no crashes over a 13-minute period. - Skipping 7972, f0c7, and 9b33 (captures from 12:14 and 12:54), it hung again—this time in ExecuteIndirect, near 5d54 and 3ce7.

This points to "any depth pass using a mesh shader that happens to be running at that moment," rather than a specific faulty shader.

3. It is not an infinite loop within the shader. I counted the back-edges in the translated DXIL: 7972, f0c7, 5d54, and 3ce7 contain no loops at all. Only 9b33 has one (10 back-edges).

4. Shared data:

  • f0c7 and 3ce7 both read from the same structured buffer (1024 elements × 64 bytes = 64 KiB) via slot 0 of the u8 table.
  • 5d54 and 9b33 both read from the same 998,400-byte Placed buffer.

Commonalities among the five (based on a comparison with 726 saved mesh shaders, located at %LOCALAPPDATA%\VIctory\shaders-save): all use 128 threads, triangle topology, wave64 emulation, a fixed output size of (128,128), ResourceHeap indexing, and reads via a root SRV. Of the 726 shaders, 684 utilize root SRV reads, and 535 share the same meshlet-decoding prologue.

Inference: The likely cause is related to the mesh-shader-based depth pass on the Arc architecture (rasterizing mesh output solely for depth—including in R16 format and using SV_Depth), the buffers shared by these passes, or the platform's behavior under this specific type of workload. Analysis limitation: markers containing target and format information are only recorded near the point of failure. Consequently, I cannot determine what fraction of total mesh passes are "depth-only." Without this baseline, while "depth-only" passes appear significant in the data, they have not been definitively proven as the root cause.

**@⁠gilmarcs** on GitHub · 2026-12-01 16:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4642#issuecomment-7318300617) Next one is: 3ce73e45a9c34935. The five are 128-thread mesh shaders, all with triangle topology, and each one calls setMeshOutputCounts twice. I managed to triangulate the issue. What these five have in common is the **type of pass**, rather than a bug in a specific shader. When one of them is skipped, the failure migrates to the next shader of the same type. **1. All of them draw only to the depth buffer, with no color render target.** | Shader | Pixel shader | Depth target | |---|---|---| | `7972` | `9f14` (writes to `SV_Depth`) | R16 (format 53), 256, 768, and 1536 px: shadow cascades | | `f0c7` | `7d85` (writes to `SV_Depth`) | R16, 256, 768, and 1536 px: the same cascades | | `5d54` | none | R16, 1280×5120, 1280×1280 viewport (shadow atlas in 4 blocks) | | `3ce7` | none | D32S8 (format 19), 1280×720 (depth pre-pass) | | `9b33` | ? | `targets []`, a single register with no specified format | **2. The failure shifts to a different shader depending on which one you skip.** Based on the capture data: - Skipping `f0c7` causes the failure to occur in `7972` (via `ExecuteIndirect`)—observed in 5 captures. - Skipping `7972` causes the failure to occur in `f0c7` (via `DispatchMesh`)—observed in 2 captures. - Skipping both `7972` and `f0c7` simultaneously resulted in no crashes over a 13-minute period. - Skipping `7972`, `f0c7`, and `9b33` (captures from 12:14 and 12:54), it hung again—this time in `ExecuteIndirect`, near `5d54` and `3ce7`. This points to "any depth pass using a mesh shader that happens to be running at that moment," rather than a specific faulty shader. **3. It is not an infinite loop within the shader.** I counted the back-edges in the translated DXIL: `7972`, `f0c7`, `5d54`, and `3ce7` contain no loops at all. Only `9b33` has one (10 back-edges). **4. Shared data:** - `f0c7` and `3ce7` both read from the same structured buffer (1024 elements × 64 bytes = 64 KiB) via slot 0 of the `u8` table. - `5d54` and `9b33` both read from the same 998,400-byte `Placed` buffer. **Commonalities among the five** (based on a comparison with 726 saved mesh shaders, located at `%LOCALAPPDATA%\VIctory\shaders-save`): all use 128 threads, triangle topology, wave64 emulation, a fixed output size of (128,128), `ResourceHeap` indexing, and reads via a root SRV. Of the 726 shaders, 684 utilize root SRV reads, and 535 share the same meshlet-decoding prologue. **Inference:** The likely cause is related to the mesh-shader-based depth pass on the Arc architecture (rasterizing mesh output solely for depth—including in R16 format and using `SV_Depth`), the buffers shared by these passes, or the platform's behavior under this specific type of workload. **Analysis limitation:** markers containing target and format information are only recorded near the point of failure. Consequently, I cannot determine what fraction of total mesh passes are "depth-only." Without this baseline, while "depth-only" passes appear significant in the data, they have not been definitively proven as the root cause.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#4643
No description provided.