Test report: AMD Radeon RX 6600 (RDNA2) — world GPU hang (0x887A0006), IASetVertexBuffers state mismatch, DRED breadcrumbs & loop-limit test #1442
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1442
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?
@SomePlebb on GitHub · 2026-11-24 18:01 UTC · original
The README lists one tested machine (RX 6700 XT, RDNA2). This is a live run on an RX 6600 (RDNA2, GFX10.3) using the diagnostics build, covering the menus, world load, D3D12 debug layer, DRED breadcrumbs, and shader loop-limit testing.
Environment
Result
Menus boot and run at 30 fps, and the title loads into the world (observed on frames 1533-1537 and 7699-7724). Once in the world, host submissions slow to 3.3-3.7 seconds and trigger DXGI_ERROR_DEVICE_HUNG (0x887A0006).
Shader loop-limit test
Running with VICTORY_SHADER_LOOP_LIMIT=1000 did not prevent the hang. The 33-list submission still took 3384 ms and ended in 0x887A0006, which suggests runaway translated shader loops (>1000 iterations) are not the primary cause of the TDR.
D3D12 Debug Layer
Running with VICTORY_D3D12_DEBUG=1 reported a resource state mismatch on IASetVertexBuffers:
DRED Breadcrumbs
Running with VICTORY_D3D12_DRED=1 stopped at command 403 of 1288 (op 5) in a 16-list submission. Lists and pipelines in flight included:
Why this report may be useful
This adds a second RDNA2 data point (RX 6600) alongside the RX 6700 XT, confirms the IASetVertexBuffers UAV-to-vertex-buffer state mismatch under the D3D12 debug layer, and rules out shader loop counts above 1000 as the cause of the world TDR.
@MichaelSmithAI on GitHub · 2026-11-24 18:04 UTC · original
The RX 6600 warning gives us a specific comparison for #334. Its buffer-state tracker handles a UAV write in an earlier command followed by a vertex-buffer read. A draw that binds the same backing for both uses is a distinct case.
If your existing capture includes them, could you share the command-list name and nearest marker for breadcrumb 403/1288, and any debug-layer lines showing which command last used the affected vertex buffer as a UAV? Those details would help distinguish the two cases. The 16-list DRED capture and the 33-list loop-limit run ended under different conditions, so we're tracking the state warning and the hang separately.
@SomePlebb on GitHub · 2026-11-24 18:23 UTC · original
I re-ran with
VICTORY_D3D12_DEBUG=1andVICTORY_D3D12_DRED=1logged to a file on the latest build.Breadcrumb details (both runs)
403/1288 Nonein the earlier 16-list capture;403/1303 Nonein this 33-list capture), and'Unnamed ID3D12GraphicsCommandList Object'in the debug-layer messages.a list stopped at command 403 of 1303 (op 5), commands 402..404 between its barriers:; command 403 (op 5): no marker;D3D12 debug-layer sequence for the affected buffer (
title buffer 0x21c10000+0xae00000,0x000001DE56BA0A40)There were no earlier debug-layer lines naming a specific UAV write command, but there are repeated
ResourceBarrier(id=527) mismatches on the same buffer right before and after theIASetVertexBuffers(id=538) warnings, across different command lists:18:18:17.180Z (id=527, cmdlist 0x000001DDD8FAF700):
ResourceBarrier Before state (0x8: UNORDERED_ACCESS) does not match current resource state (0x1: VERTEX_AND_CONSTANT_BUFFER) (assumed at first use).
18:18:21.497Z (id=538, cmdlist 0x000001DDD53CEB80):
IASetVertexBuffers: Actual State 0x8 (UNORDERED_ACCESS), Expected 0x1 (VERTEX_AND_CONSTANT_BUFFER).
18:18:21.497Z (id=527, cmdlist 0x000001DDE1549340):
ResourceBarrier Before state (0x8: UNORDERED_ACCESS) does not match state (0x1: VERTEX_AND_CONSTANT_BUFFER) specified in preceding ResourceBarrier or as InitialState.
18:18:23.865Z (id=527, cmdlist 0x000001DDDB990770):
ResourceBarrier Before state (0x8: UNORDERED_ACCESS) does not match current resource state (0x1: VERTEX_AND_CONSTANT_BUFFER) (assumed at first use).
18:18:27.244Z (id=538, cmdlist 0x000001DD83426700):
IASetVertexBuffers: Actual State 0x8 (UNORDERED_ACCESS), Expected 0x1 (VERTEX_AND_CONSTANT_BUFFER).
18:18:27.245Z (id=527, cmdlist 0x000001DDFBF5A690):
ResourceBarrier Before state (0x8: UNORDERED_ACCESS) does not match state (0x1: VERTEX_AND_CONSTANT_BUFFER) specified in preceding ResourceBarrier or as InitialState.
18:18:27.245Z (id=232):
RemoveDevice (DXGI_ERROR_DEVICE_HUNG) on the 33-list submission (slow host submission ms=3269).
In the DRED dump for the 33-list submission,
0x21c10000(182452224x1) is also bound asSrv s0+672(uav=false) in lists 15 and 20 (mesh 38d7a05a71b688dd/pixel 5277115a95efdb8d).@pickles976 on GitHub · 2026-11-24 18:24 UTC · original
The "runaway translated shader loops" hypothesis has a known upstream producer worth ruling out before any loop-hunting: wave-mode legalization without lane remapping. RDNA2 advertises 32-lane waves; if the build ran the default
recommended_wave64_mode(native Wave32, no emulate), cross-lane reductions return values from lanes that do not exist on the console semantics the shader was written against — and a loop whose exit condition consumes one of those values is not "sometimes wrong", it is structurally free-spinning: >1000-iteration guard trips, GPU resets,0x887A0006arrives exactly as reported, and the log shows a healthy machine right up to the hang. The one-run screen (identical setup, addVICTORY_WAVE64_EMULATE=emulate): if the world-stage hang moves or changes shape, this class produced it and the report becomes a data point for the default-policy debate; if it hangs identically, the loop hypothesis stands alone and the loop bisection is worth doing. (TdrLevel intake line applies here too, per #1054.)@SomePlebb on GitHub · 2026-11-24 18:31 UTC · original
Tested with VICTORY_WAVE64_EMULATE=emulate on the RX 6600 (Ryzen 5 9600X, Windows 11):
The world-stage hang did not move or change shape. It still hit a ~3.66s slow host submission (
slow host submission ms=3657 lists=34) and terminated with0x887A0006(host GPU device removed after a submission of 34 lists).Since emulating Wave64 produced the same behavior, wave-mode legalization without lane remapping doesn't appear to explain this hang.
@Marvisak on GitHub · 2026-11-25 10:18 UTC · original · edited 2026-11-25 18:52 UTC
Automated triage for the maintainers.
Thanks for the retest (RX 6600, Adrenalin 26.11.2, Windows 11 26200,
mainat67e8ae1). The worldDXGI_ERROR_DEVICE_HUNGthis issue reported no longer happens there: no device removal, no DRED fault, and the run reaches the prison scene. Slow submissions are down to about 0.5 s. This matches what other AMD testers saw in #59 after the bounded root views and the delayed release of host objects reachedmain. The clamping of root views is incrates/victory-gpu/src/draw.rs, and indirect arguments are bounded incrates/victory-gpu/src/indirect.rs.What is left:
IASetVertexBuffersstate mismatch on title buffers is tracked in #199, which already lists this report.Proposed close: the reported hang no longer occurs on current
main, as confirmed by the reporter. This issue will be closed in 48 hours unless the reporter replies or a maintainer removes thetriage: proposed closelabel.Generated by Claude Code
@SomePlebb on GitHub · 2026-11-25 17:57 UTC · original
Thanks for the pointers—here are the missing system/driver details from the earlier run along with a fresh re-test on current
main(VICTORY_D3D12_DRED=1,VICTORY_LOG=warn,target\diag\victory.exe):System & Driver Details
26200(10.0.26200)26.11.2(Driver Store32.0.21045.29003)Re-test on
main(67e8ae1) — RX 66000x1f51d0000view-heap fault, no0x887A0006device removal, and no DRED fault output.WARN victory_gpu::host: slow host submission ms=473 lists=33 ...).