World: host GPU device removed on NVIDIA RTX 5080 (0x887A0006) #1670
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#1670
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?
@JurajSimicevic on GitHub · 2026-11-24 20:36 UTC · original
Hardware / software
ffe310e, release buildWhat happens
Boot, menus and loading work. In the world, VIctory runs for ~1,200 frames at ~1.3 fps (766 ms/frame: 380 ms preparing, incl. 250 MB of copies; 263 ms on the GPU; 2,764 draws/frame, 1,196 dropped without a host pipeline, 3,698 indirect). Dialogue and subtitles play. Then a 3.8 s submission (29 lists) is followed by device removal (0x887A0006), and VIctory exits. Audio stutters during that stall.
Also logged in the world:
a draw or dispatch dropped: no dynamic slots for its tables dropped=8192.With the debug layer (diag build,
VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1, same GPU)The world runs at ~1 fps until a hang (
DXGI_ERROR_DEVICE_HUNG, TDR) after a 3.3 s submission of 28 lists. Starting about 25 s before the hang, the debug layer reports the same resource-state mismatch 73 times, always on one buffer:title buffer 0x1e820000+0xae00000(182,452,224 bytes; mesh and compute pipelines bind it as an SRV at0x1e820000):The state tracking for that buffer looks out of sync between lists: it's used as a vertex buffer while in UAV state, then a barrier expects UAV while it has been promoted to VERTEX_AND_CONSTANT_BUFFER.
DRED breadcrumbs: 480 lists complete; one stopped at 3/70, and the four after it never started (0/1, 0/2, 0/2, 0/339). The mesh and compute work in flight (lists 24 and 27 of 28) binds that buffer. I can reproduce and run other diagnostics on request (full log not attached, per the no-game-data rule).
Before the world, the debug build also logs
no host texture error=The parameter is incorrect. (0x80070057)for 2560x1440 textures (DXGI formats 86 and 115).github-bot referenced this issue2026-11-26 04:41:43 +00:00
@Elensito on GitHub · 2026-11-24 20:47 UTC · original
I traced the host shadow-buffer state handling and opened #1691 with cross-list and in-list transitions plus synthetic regression coverage. The reported RTX 5080 case still needs confirmation on that hardware.
@JurajSimicevic on GitHub · 2026-11-24 21:03 UTC · original
Tested #1691 (
667e7dc) on the RTX 5080 from this issue (driver 32.0.16.1742, Windows 11 26200), diag build withVICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1, same route into the world as the original report.The state mismatch is fixed. The debug layer reports no resource-state errors at all now: 0 messages on that title buffer (it was 73 before), and no
ExecuteCommandListsorResourceBarriervalidation errors of any kind. The newshadow::tests::buffer_states_follow_submission_order_and_combine_readspasses.The hang remains, so it has a second cause. After ~20 frames in the world at ~0.9-1.5 fps, a 3.3 s submission ends in
DXGI_ERROR_DEVICE_HUNG(TDR) again, with no validation error before it. DRED: 419 lists complete; one stopped at 654/1424, and the lists after it never started. Without a validation message, it looks like GPU work that runs past the TDR timeout (or loops) rather than an invalid command.Also from the debug layer on this GPU: 116 compute shaders are refused at creation with "Shader wants wave lane count of 64 but maximum wave lane count is 32", which matches the README's note about programs that need 64-lane waves.
Happy to run more diagnostics on this machine (for example with
VICTORY_D3D12_GBV=1, or skipping pipelines) if that helps narrow down the hang.AI-assisted.
@JurajSimicevic on GitHub · 2026-11-24 21:24 UTC · original
For anyone landing here: this report duplicates earlier ones.
More results from the same RTX 5080, diag build with
VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1, browser closed:DEVICE_HUNGDEVICE_HUNG, no validation errorDEVICE_HUNGNeither #587 nor #1076 avoids the hang here. One earlier #1691 + #587 run with a browser playing video beside it stalled for 21 s and reset the whole display, so background GPU load makes it much worse.
AI-assisted.
@Luislariosss on GitHub · 2026-11-24 22:25 UTC · original
Same signature on an AMD card (RX 9060 XT, RDNA4) — and here the breadcrumb is not missing: the faulting address lies inside a host texture the runtime had already released.
ffe310e, diag build withVICTORY_D3D12_DRED=1.VICTORY_KEYSpressing A through the first-boot screens (account picker, legal terms), nothing else. Menus and loading are clean; about three minutes into the run a submission of 11 lists (993 ms, flagged as a slow host submission) is followed by device removal0x887A0006:VICTORY_SHADER_LOOP_LIMIT=16changes nothing — same crash, same timing — so it does not look like a runaway shader loop.In flight here: the
VICTORY_D3D12_DEBUG=1run (to name the last command), and the same route on #1691's head to see whether the state fix already covers it. I can run other diagnostics on request; the full log stays local.AI use: opencode — HY4 Flash Free set up and ran the runs; Sonnet reviewed this report. Nothing from the game appears here.
@Luislariosss on GitHub · 2026-11-24 22:58 UTC · original
Follow-up from the AMD RDNA4 machine: two curves, two outcomes. Same route as before (A through the first-boot screens, then the world), diag build,
VICTORY_D3D12_DRED=1andVICTORY_GPU_TIMING=1, nothing skipped.Series X mode — crashes as reported. The process was sampled every 8 s: private commit climbs from 12.3 GB at boot to 23.9 GB at the crash (about 2.5 GB/min in the world). This machine's commit limit is 30.3 GB (15.2 GB visible RAM, 15.5 GB pagefile), and the pagefile peaked at 6 GB during the runs. The removal lands after 3m25s-4m33s across runs; the failing command differs every time, and the frame count at death varies (1,665-5,298) — so neither a fixed frame nor a fixed elapsed time explains it, while the commit pressure does.
Series S mode (
--console series-s) — no crash in 7 minutes (the window of that run; the process was still healthy at the end, 22-30 fps). Private commit stays flat at 8.5-8.7 GB the whole time. Halving the title-memory footprint removes the failure, which is what a memory-pressure-dependent lifetime or residency bug looks like: the GPU time per frame was 250-450 ms in the world and 2-3 ms on the blank loop, far below any plausible timeout, and the debug layer'sDEVICE_HUNGis the removal reason, not a budget verdict.Two more notes from this side:
page fault at ...; inside freed ["texture 1024x1024 ..."]is direct evidence of a resource released while a submission still referenced it. Under host commit pressure, texture lifetime or residency is where I would look first.Ask for the NVIDIA side: does the RTX 5080 run show commit growing the same way before the removal? If it does, this is one bug across vendors — and Series S mode is a cheap way to confirm it without changing anything else.
AI use: opencode — HY4 Flash Free ran the runs and the sampler; Sonnet and an Opus review shaped the reading. Nothing from the game appears here.
@Luislariosss on GitHub · 2026-11-25 00:06 UTC · original
On today's main (
70564ae) the hang is gone on this AMD machine — what ends the run now is host memory.Same route and machine as above (RX 9060 XT 16 GB RDNA4, 16 GB RAM, commit limit 30.3 GB), diag build,
VICTORY_D3D12_DRED=1andVICTORY_GPU_TIMING=1, nothing skipped:0x887A0006and no device removal in the log. So the freed-texture / state work in13bbd6f,bacb06a,c75fdbaandd71c388looks like it fixed the hang I reported onffe310e.E_OUTOFMEMORYinside the host GPU layer: the log fills withno shared buffer error=Not enough memory resources are available to complete this operation. (0x8007000E) size=4194304, and the process then exits0xc0000005. Private commit peaked at 26.9 GB against the 30.3 GB commit limit while the allocations failed;crashes.logstays empty (the title's own reporter triedsubmit.backtrace.io:443, blocked by design).Series S mode on
70564aeis running now (onffe310eit stayed flat at 8.5 GB and never crashed, but drew nothing). I will follow up with its result either way.AI use: opencode — HY4 Flash Free ran the runs and the sampler; the classification came from an Opus review. Nothing from the game appears here.
@Marvisak on GitHub · 2026-11-25 12:52 UTC · original
Automated triage for the maintainers.
Complete run report (RTX 5080, driver 32.0.16.1742, Windows 11 build 26200,
ffe310e, world reached,0x887A0006after a 3.8 s submission), with useful follow-ups. Where each part is tracked:IASetVertexBufferson a title buffer still inUNORDERED_ACCESS: #199, the oldest complete report. Open PR #1691 fixes it per the RTX 5080 test above (0 state errors, down from 73).ffe310ematches #557 (freed texture read). On70564aethat run no longer hung but ran out of host commit (no shared buffer … 0x8007000E, 26.9 GB of a 30.3 GB limit); Series S mode keeps commit flat at about 8.5 GB.The two 2560×1440 textures (formats 86 and 115) refused before the world are tracked in #1600. A retry of the RTX 5080 on current
mainwith #1691 would show whether the hang is unchanged.Generated by Claude Code