Intel Arc B580: device removed / GPU hang while loading, missing barrier with card buffers, memory growth with CARD_BUFFERS=0 #4544
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4544
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?
@marcelloveyugioh-wq on GitHub · 2026-11-30 22:13 UTC · original
System
84bd61e/e1251c3, via VILauncher), Whiplash 1.1.0 +engines/amddiag build (SHA-25635c5bc678064ca729c22d6cb1c1fabc06bd05e7a853dc0e1a197b1727752a249), AnyXboxX 66b92fbSummary
On the Intel Arc B580, every run ends in
device removed(0x887A0006 / 0x887A0004 / 0x887A0005). It happens with every VIctory-based build I tried. With the D3D12 debug layer I found two separate problems. Working around the first one only exposes the second, which is a reproducible GPU hang.Issue 1: missing resource barrier (card buffers)
Debug layer output (
VICTORY_D3D12_DEBUG=1), crash after ~4 min:This looks like the card-copy hash pass in
victory-gpu/src/host.rs(around theSetComputeRootShaderResourceView(1, shadow.buffer…)calls afterCopyBufferRegion). TheCOPY_DEST → NON_PIXEL_SHADER_RESOURCEtransition is only pushed whenown.is_none() && before.is_some() && !ranges.is_empty(), so some path seems to skip it. AMD and NVIDIA tolerate this, but the Intel driver removes the device.Workaround:
VICTORY_CARD_BUFFERS=0makes this error go away, but process commit then grows very fast (see below).Issue 2: GPU hang (TDR) at a fixed point while loading
With
VICTORY_CARD_BUFFERS=0, the game reaches the first cutscene and then the loading screen. It then fails at the same point in loading.DXGI_ERROR_DEVICE_HUNG … TDR … The current Device Context was executing commands when the hang occurred.TdrDelay=10: crash at 533 s. The log saysthe submitting thread was preparing a submission (nothing of ours was running on the card), of 39 lists, for 11528.3 ms.TdrDelay=60: crash again at 533 s (identical). After ~80 s of no output, the title itself crashes:unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0). So this is a real hang, not just slow work.shader does not translate; its pipelines' draws are dropped stage="compute" hash=8b437ab61d8008fe.+0x23cf683 (write 0x0)after ~8 min.VIctory-NVIDIA results
CARD_BUFFERS=0+LIBRARY_MAP=0, TdrDelay 60: reached the main menu once and ran 45 min, but process commit grows without bound (~32 GB → 85 GB in 5 min while loading). Windows logged "virtual memory insufficient … victory.exe 85,519,826,944 bytes". Another run hit 96.5 GB in ~13 min.LIBRARY_MAP=0(card buffers on): device removed after ~3 min (relay: the device was lost before fence value 90178 was reached … 0x887A0006). The pipeline-library serialise had been running for 11.2 s at that moment.CARD_BUFFERS=0+LIBRARY_MAP=0, TdrDelay 10: device removed after ~3 min while the library serialise had been running for 14.3 s.CARD_BUFFERS=0+LIBRARY_MAP=0, TdrDelay 60, ~144 GB commit limit: device removed after ~8 min (0x887A0005) with commit at only 44/144 GB, right after process memory jumped from ~10 GB to ~29 GB at the same loading point.Other observations (Intel-specific)
pipeline library: made [compute …] (the library did not load it: Falscher Parameter. (0x80070057))(E_INVALIDARG). Some compute pipelines are refused with the same error.host-pipelines.bingot corrupted while mapped:46 of the 62811 pages … read as zeros now: the library's contents were lost thereafterthis run replaced the file under the mapping 8 times.FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBE.VICTORY_UPSCALER=6makes the title assert (0x80000003) within 30 s–3.5 min.Logs are available on request.
@Deadliestbridge on GitHub · 2026-12-01 00:26 UTC · original
Same issue on my wife's B570 card, the intro works up until the cops show up.
victory-nvidia-play-20261201-002024-8712.log
victory-nvidia-play-20261201-001836-17196.log
victory-nvidia-play-20261201-001610-18256.log
victory-nvidia-play-20261201-001533-17180.log
victory-nvidia-play-20261201-000112-21484.log