Intel Arc B580: DXGI_ERROR_DEVICE_HUNG ~15–30 s into the world; DRED points at ExecuteIndirect (supersedes #969) #1077
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?
Imported from fxceless/victory-fork. Originally posted by jstrdev on 2026-11-25T18:40:30Z.
This supersedes #969. It keeps what I reported there and adds targeted tests run after DRED started working.
Setup
0b0074e, Series X profile, title 1.0.2.1diagbuild (cargo build --profile diag -p victory --features diagnostics), 1280x720Symptom
The title boots and reaches the prologue, then
DXGI_ERROR_DEVICE_HUNG(0x887A0006). The submitting thread waits about 5 s for the card before device removal. In the runs below it happens 14–30 s after the first mesh pipeline is bound, in every run (5 of 5).Earlier results (from #969)
VICTORY_MESH_TEST=skip: no hang, but most geometry is missing and it runs at 0.5–1.5 FPS.VICTORY_MESH_TEST=scissor: still hangs.VICTORY_RELAY=0,VICTORY_LATE_WAIT=0,VICTORY_INPLACE=0, library map/trim off, library lock on: still hangs. Note: in the code,LATE_WAITandINPLACEare already off by default, andVICTORY_WAVE_WIDE=0turns off the 32-lane widening, which is on by default, so that earlier test was not neutral.VICTORY_SKIP_PIPELINEShad no effect, but it only works indiagbuilds and that test was on release.VICTORY_LIBRARY_MAP=0avoids that and is kept on. The0x80070057/ D3D12 ID 971 lookups are ordinary library misses.New findings
>32 KiB mesh programs (#854).
victory translate --listwithVICTORY_HOST_MAX_WAVE=32 VICTORY_MESH_OUTPUT_STRICT=1finds 71 (ped, skin, spatter, decals and mirror transforms). In my hung runs none of the 71 was ever bound (checked against every "first bind" of a mesh shader, about 200 per run). They are not the cause of this hang. The four mesh hashes I suspected in #969 fit in 32 KiB.DRED. Breadcrumbs only map to the layer's lists without
VICTORY_D3D12_DEBUG. With the debug layer every node showsNone, presumably because the layer wraps the lists; that is why #969 had no usable breadcrumbs. Run withVICTORY_D3D12_DRED=1 VICTORY_RELAY=0:CopyBufferRegion) at 785/788, the 8-bytecard_budget_outcopy at the end of a list with indirect mesh draws. It is the same position in two runs.VICTORY_INDIRECT_CARD_BUDGET=0(that copy gone): op 5,ExecuteIndirect, kind 10 (meshab86c58dfc0172fa, pixeleca43156b8340a7e).VICTORY_SHADER_LOOP_LIMIT=1024: still hangs (23 s), now at op 5,ExecuteIndirect, kind 1 (indexed draw: vertex4e35b816f2f91d68, pixel659fe9cae59dbd88).The copies look like the first command after a barrier; the work that actually stalls is an indirect execution, mesh or not. That also fits skip vs. scissor: skip drops the indirect mesh executions entirely, while scissor still runs them.
Clamp notes.
indirect mesh dispatches: …is 0 / 0 in every report on the Arc, with the budget in card memory and in mapped memory, even once indirect mesh draws are in the frame. On an RTX 5090 (same counter) it reads 279 / 14–20k groups per frame.Clamp on the card. With a test-only local patch that lets the
indirect::tests::warp_*tests use the hardware adapter, all 7 pass on the B580, including the mesh window test (largest = 519). The clamp shader and the atomics on the mapped L0 heap behave correctly in isolation.Ruled out for this hang
VICTORY_RELAY=0hangs too);VICTORY_INDIRECT_CARD_BUDGET;Current guess (not verified)
The argument records the title writes on the GPU differ on Arc. That would explain the 0 / 0 notes for mesh, and possibly oversized draw records that the 2^27 per-list budget still admits, enough to exceed the TDR on this card. The 16-lane minimum (no translated mesh or pixel shader asks for a wave size) is an untested factor.
Not run yet
Lowering the clamp's
BUDGETfrom 2^27 to 2^24 in a local patch, to see whether the hang is too much admitted work.Related: #969 (superseded), #854, #950 (another B580, different symptom: stuck at System Init).
I can run builds or switches on the B580 if that helps; logs are available. AI-assisted (Claude); no game data.
Imported from fxceless/victory-fork. Originally posted by Kirito17ln on 2026-11-27T12:00:26Z.
b580 too
Imported from fxceless/victory-fork. Originally posted by cbw2580147369-commits on 2026-11-27T12:46:47Z.
Another Arc B580: placed-UAV compute dispatches, plus what did not help
(Came from #969 before it was superseded - same hardware, additional detail.)
Replying with a second data point on the same hardware, in case it helps narrow this down.
Machine: Windows 10 22H2 19045, Ryzen 5 5600, 16 GB RAM, Arc B580 12 GB, driver 32.0.101.9175.
What my setup does
An older main tree (one that still draws the UI flow) plus
VICTORY_NO_WATCHDOG=1, a warmVICTORY_CACHE_DIRand a diagnostics build withVICTORY_D3D12_DRED=1. That combination renders the account picker, the legal/terms screens,the boot art, the Rockstar logo and both menu artworks correctly, and then reaches world
frames - up to 3540 draws/frame at 2 fps (657 ms/frame), ~20 GB private.
It still ends in
0x887A0006, and DRED gives this:And on a run that died during world load, right before removal:
So on this side every fatal breadcrumb is a compute dispatch with placed UAVs plus a root
CBV in its root signature. Hashes seen:
c1488f485ad606fb,24317e785c8688e3.Your mesh finding does not reproduce here
VICTORY_MESH_TEST=1(skip mesh draws) still ends in0x887A0006with 33 submissions ahead,so on my machine the hang is not the mesh path. What does change the outcome is skipping the
compute above: with
VICTORY_SKIP_PIPELINES=c1488f485ad606fbthe process survived 20+ minutes(peak 1729 draws/frame, 19.9 GB private) but the menu UI data never appears, so the menu stays
blank.
It is not a TDR timeout
I raised
TdrDelay/TdrDdiDelayfrom 2 s to 120 s and rebooted: the hang still happens, andthe frames immediately before it were 27 ms and 346 ms. One 1870 ms frame with nothing queued
is what originally looked like TDR, but the raised limit did not change anything.
Also tried, no effect
VICTORY_TEXTURE_BUDGET_MB=7000- hangs earlier (444 draws/frame)VICTORY_D3D12_WARP=1- 0 draws/frame,dropped 14 without a host pipeline (0 being made)Note on memory
The README's 40-46 GB private figure is real, and 16 GB cannot commit it: default commit limit
was 21.4 GB and the title died with
memory allocation of 1114128 bytes failedwhile loadingthe menu. After moving the pagefile to a second SSD (40/80 GB, commit limit 61.4 GB) the OOM
went away and the peak was ~21 GB private. If you are on 16 GB, that alone will look like a
crash.
The one thing that remains unexplained is why the same command line sometimes reaches world
frames and sometimes hangs a second into the menu - that looks like timing/queue depth rather
than a fixed translation defect.
Imported from fxceless/victory-fork. Originally posted by cbw2580147369-commits on 2026-11-27T15:03:32Z.
I got into the game screen, but the problem is that it only showed one frame and then froze. Could you take a look at my project for reference?
Imported from fxceless/victory-fork. Originally posted by jstrdev on 2026-11-27T15:32:32Z.
Of course! I'd be happy to take a look at your project. Could you share the repository link and the exact commit you're currently testing?
Since we're using the same GPU and driver, comparing our findings could be really useful.
I've also been investigating other forks and their Intel Arc compatibility. Hopefully we can work together to narrow down these issues. :)
Imported from fxceless/victory-fork. Originally posted by cbw2580147369-commits on 2026-11-27T15:38:13Z.
Thank you very much—this is my repository link. To be honest, almost all of it was made by AI:
https://github.com/cbw2580147369-commits/victory-arc-b580
Imported from fxceless/victory-fork. Originally posted by jstrdev on 2026-11-27T16:45:04Z.
0b0074ereaches gameplay on my B580 with the same driver, so our different Windows environments might be relevant.I'm currently investigating whether that indirect execution path improves stability on Intel.
Could you also share the exact commit of the older victory-fork build that reaches gameplay on your machine?
Hopefully these findings help both of us. :)
Imported from fxceless/victory-fork. Originally posted by cbw2580147369-commits on 2026-11-28T03:11:28Z.
Status change on this machine, with the 27 November base switch: the black-screen / 3-draws class of failure described above no longer happens here.
On the tree based on VIctory-NVIDIA (main as of 28 November, plus the Windows 10 Agility exports restored by hand, since main no longer carries them), an Intel Arc B580 12 GB on Windows 10 19045 now renders the title's menu UI in full at 30 fps - account picker, the first-run wizard (
UI TEXT SIZE),LEGAL NOTICES, the terms screen with its checkboxes - and then loads the world: 1540 to 4750 draws/frame at 1.6-1.7 fps, 12.4-13.6 GB private.It still does not stay: three runs ended inside
fbk_stry000_FBK_STRY000_INTRO_minatPrestream, by the title's own fatal path, with no0x887A0006and no device-removed breadcrumb in any of the three (VICTORY_D3D12_DRED=1on). That is the same ending as #1370, and it corroborates that one rather than this report: the DRED evidence here (placed UAV plus root CBV compute) described the old line, whose own tree on this machine also renders artwork only, with no UI text at all.Full numbers, screenshots and the three title crash logs are in #1370.
Imported from fxceless/victory-fork. Originally posted by cbw2580147369-commits on 2026-11-28T03:33:03Z.
Exact version that reached world frames on the Arc B580 here:
repo/branch : fxceless/victory-fork, main
commit :
310c6eb6c1(2026-11-25T03:19:10Z,"Packed textures stay in the upload queue; a texture on the card is
refreshed when the card is full", parent
c96b4f2b83)-> this was main's HEAD when the archive was pulled; the next commit
(
8dd30ab4) landed at 05:44Z, after the download.on top of it:
shader tests" (GamingRipperDoc, head
ff6649a213) -> mandatory on Win10crates/victory-loader/src/hooks.rs + lib.rs + windows.rs -> VICTORY_NO_WATCHDOG
build : cargo build --release -p victory -> target/release/victory.exe 7.5 MB
cargo build --profile diag -p victory --features diagnostics -> target/diag 8.5 MB
run : victory.exe run <game_scarlett_master.exe> --execute
env : VICTORY_NO_WATCHDOG=1
VICTORY_SKIP_PIPELINES=c1488f485ad606fb (mesh pipeline)
VICTORY_D3D12_DRED=1
VICTORY_CACHE_DIR / VICTORY_DATA_DIR -> one reused cache directory
best observed: 6787 draws/frame (release, 11-27), 4594 draws/frame (diag, 11-27),
1-2 fps, ~20 GB private, then 0x887A0006 after 15 s - 2 min.
This tree never draws the menu UI text here - only artwork; the 27 Nov base
(VIctory-NVIDIA tree) is the first one that renders the UI on this GPU.
How I verified the commit rather than trusting a note: 160 of 169 blobs in the
tree are byte-identical to
310c6eb6(git hash-object vs the GitHub tree), andthe 9 differing + 5 new files are exactly the two patch sets above plus
victory.toml - Cargo.lock equals PR #420's post-image (blob
053a84a37).Imported from fxceless/victory-fork. Originally posted by jstrdev on 2026-11-28T14:30:36Z.
Intel Arc B580 — Progress update (November 28)
I've been working on a custom experimental build with AI assistance, incorporating @gilmarcs's mesh-rest patch.
Results so far:
Unfortunately, a DEVICE_HUNG still occurs when rotating the camera. DRED identifies a GPU page fault during DispatchMesh.
I've shared my detailed findings and diagnostic logs here:
https://github.com/trustno1-coder/VIctory-NVIDIA/pull/546
I'm currently busy, but I'll continue testing when I have some free time. Hopefully, these findings will help other Intel Arc users and developers in the meantime. :)
Imported from fxceless/victory-fork. Originally posted by cbw2580147369-commits on 2026-11-28T15:12:30Z.
Thank you very much for sharing. I'll give it a try tomorrow during the day—it's too late now.
Imported from fxceless/victory-fork. Originally posted by cbw2580147369-commits on 2026-11-29T05:26:00Z.
Reproduced your draw-mode result on a third Arc B580 (Windows 10 19045, 16 GB RAM, driver 32.0.101.9175), base
959dcaf(fxceless main, 28 November) with @gilmarcs's mesh-rest patch:VICTORY_MESH_REST0x887A0006binddrawmemory.load_percent=92, 1.19 GB free, 24.7 GB privateNo device removal in either patched run, and the picture is correct where the driver is not struggling: 18-20 fps in light views, 12.7 in the intro field (3691 draws/frame), 12 on the night street (1118 draws), 7-9 in the heaviest views.
So your two numbers reproduce, with one correction worth making explicit in the thread: 9 minutes on 16 GB, 10 min 35 s on your machine at 25 GB of private bytes - the wall is RAM, not the patch. Whatever the mesh-rest mode, the session ends when the title's own supervisor sees
memory.load_percentin the nineties.What I could not reproduce: your
DispatchMeshpage fault on camera rotation. There is no keyboard mapping for the analogue sticks, so the camera never moves on this setup. That leaves your DRED trace (f0c7efd2aceb2aaa, host list 1546, command 141/377) as the only evidence of it, and a gamepad as the missing piece of test equipment rather than of code.Also relevant to your "custom experimental build with AI assistance": I took the furthest public stack apart today - kelvaroq, pinned at
f85101bwith 64 patches - and reproduced it exactly (64/64 patches, its own render crate, builds clean). It dies atvictory-image-*.dll+0xb5a5f8 (read 0x68)before drawing a frame, because that base predates the fix that made the 28 November tree work. Its ten most valuable patches (mesh launch, copy plain, async present, ReBAR copies) are rejected bygit apply --3way,-C1and-C0against the newer base, so they cannot be lifted either. If your experimental build is on the older line, that is a wall you will hit too.Field report with the numbers, samples and screenshots: https://github.com/cbw2580147369-commits/victory-arc-b580
Imported from fxceless/victory-fork. Originally posted by InakiMB on 2026-11-29T14:44:54Z.
[Arc B580] GTA VI opening cinematic intermittently hangs in
ExecuteIndirecton Windows 11On my Arc B580, VIctory can reach playable movement in the prison prologue, but the opening cinematic often ends in D3D12 device removal. DRED stopped at
ExecuteIndirectwith the same mesh/pixel shader pair in two configurations. A third configuration hit the same kind of GPU fault with a different shader pair.Test setup
32.0.101.9175262001.0.2.1, Series S profile at 1280×720 internal resolution, 30 FPS cap, with ray tracing, DLSS and frame generation disabledfxceless/victory-forkcommit368967f8fea2a982cea134c5a051b2afe7d9fc8f, with mesh-rest and local pipeline-cache persistence and DRED reporting changes. A and B use the same experimental executable with independently selectable ArcLab changes. The baseline uses the prior executable from the same local source tree. Mesh-rest PR #546 · ArcLab commit5a54cfeCommon settings were
VICTORY_MESH_REST=draw,VICTORY_LIBRARY_MAP=0,VICTORY_D3D12_DRED=light,VICTORY_TEXTURE_ROOM_PERCENT=60,VICTORY_AMBIENT=constant:0.3andVICTORY_AMBIENT_AIR=0.8. Relay was enabled. Each variant had its own pipeline library, initialized from the same shader and pipeline catalogs.How to reproduce
Results from November 29, 2026
0.Times are from process launch to exit. The log confirms that each ArcLab change took effect in its respective run before the result above. The first A run showed 4.8–18.9 FPS across sampled cinematic shots and 7.8–9.1 FPS in the captured prison gameplay. Those are on-screen readings. A vertical seam remained in both cinematics and gameplay. In several shots the left quarter was brighter and showed more detail, along with pronounced block artifacts. Some outdoor cinematic shots also showed characters with very little surface detail.
DRED excerpts
All three failed runs exited with
DXGI_ERROR_DEVICE_REMOVED(0x887A0005).GetDeviceRemovedReasonreportedDXGI_ERROR_DEVICE_HUNG(0x887A0006), and DRED recorded a GPU page fault. The stalled operation in each case wasExecuteIndirect(DRED op5). The surrounding log entries showindirect kind 10 max 1in all three cases.1367,200/26836df114c7b568e5f2bb018e0410c9e360xffff800014a2e000129,920/27467972997d15fd9e699f14b72117e2abec0xffff8000155380001132,458/18317972997d15fd9e699f14b72117e2abec0xffff80001901c000The last samples before those exits showed 7.2–7.8 GiB of system RAM available and 7.3–7.8 GiB of dedicated GPU memory in use by the process. The shader pair from the baseline and second A run also appeared in the first A run that reached gameplay. The underlying cause and the effect of reusing the pipeline library remain undetermined.
Would a short capture with full DRED markers around the shadow pass help narrow this down? I can also repeat the same scene with only mesh shader
7972997d15fd9e69skipped to see whether the failure moves to another operation. This may be related to the B580ExecuteIndirectfailures already reported. Related issue #1079