Intel Arc B580 (Battlemage): DXGI_ERROR_DEVICE_HUNG – Mesh shader issues and detailed diagnostics #969
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#969
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?
@jstrdev on GitHub · 2026-11-25 14:01 UTC · original
<html>Intel Arc B580 (Xe2 Battlemage): reproducible GPU hangs, mesh shader rendering issues and severe performance degradation
Hi! I've been testing VIctory on an Intel Arc B580 and investigating a reproducible GPU hang. I wanted to share my findings in case they help improve Intel GPU compatibility in future releases.
1. System specifications
GPU: Intel Arc B580 12 GB (Xe2 Battlemage)
GPU driver: 32.0.101.9175
CPU: AMD Ryzen 5 7600X
OS: Windows
Project: fxceless/victory-fork
Commit:
0b0074e0b2765e574c622e9a3de566f20f04135bConsole profile: Xbox Series X
Title: GTA VI
Reported host wave lane range: 16–32
Tested both regular release and diagnostics builds.
2. Description of the issue
The title successfully boots, displays graphics and begins the prologue. However, after progressing for a while, the GPU consistently hangs and VIctory terminates with:
DXGI_ERROR_DEVICE_HUNG (0x887A0006)The exact point of failure varies between runs, but the GPU submission usually stalls for approximately 5–6 seconds before device removal.
3. Troubleshooting performed
I tested the following changes:
Disabled relay submission.
Disabled late waits.
Disabled wide wave operations.
Disabled in-place operations.
Disabled pipeline library memory mapping.
Disabled pipeline library trimming.
Enabled pipeline library locking.
Adjusted pipeline wait time to 24 ms.
Tested a 1280x720 reported display mode instead of 3840x2160.
Tested skipping an individual shader pipeline.
Tested mesh shader scissor mode.
Tested skipping all mesh draws.
Compiled VIctory with diagnostics enabled.
Installed Windows DirectX Graphics Tools and enabled the D3D12 debug layer.
None of these changes resolved the GPU hang while normal mesh draws remained enabled.
4. Mesh shader experiments — most significant finding
Normal mesh rendering
The title renders geometry but eventually encounters a GPU hang.
VICTORY_MESH_TEST=scissorThe GPU still hangs even when mesh draws execute their shaders but rasterize only one pixel.
This suggests that the issue may not be caused solely by the amount of rasterized geometry or pixel coverage.
VICTORY_MESH_TEST=skipThis produced a significantly different result:
The title continued progressing beyond the previous crash point.
No GPU hang occurred during this test.
Most geometry was missing.
Hair, wigs and scattered objects remained visible.
Characters and environments were largely invisible.
Performance was extremely low, approximately 0.5–1.5 FPS.
I manually closed the application rather than experiencing a crash.
This was the only tested configuration that allowed the title to continue beyond the previous failure point.
Mesh pipelines were still being translated and created, but mesh draws were skipped.
5. Individual pipeline skipping
I also tested:
VICTORY_SKIP_PIPELINES=244ca58c13650317Skipping this individual shader pipeline did not prevent the GPU hang.
6. Environment variables
The following configuration was used during the later tests:
VICTORY_MESH_TESTwas separately tested withskip,scissorand unset.For the diagnostics runs:
7. Pipeline library observations
An earlier crash reported that portions of the memory-mapped pipeline library had become zero-filled:
Library size: 82,068,092 bytes.
14 out of 20,037 inspected pages read as zeros.
The library file had been replaced four times while mapped.
Disabling pipeline library mapping did not resolve the GPU hang.
Several pipeline library lookups also returned:
E_INVALIDARG (0x80070057)The runtime subsequently created those pipelines.
GPU hangs occurred both while pipeline creation was in progress and when no pipeline library call was running. Therefore, concurrent pipeline creation does not appear to be a necessary condition for the crash.
8. Performance and texture observations
During the mesh-skip test, the logs showed:
Approximately 0.5–1.5 FPS.
A texture queue containing 25,085 slots.
Approximately 9,326 MB of cumulative texture uploads.
Repeated messages indicating that the card had no room for additional textures.
CPU frame preparation occasionally exceeding 1,000 ms.
Example:
These observations may indicate an additional texture management or resource pressure issue on Intel hardware, although I cannot confirm whether physical VRAM exhaustion is involved.
9. GPU hang comparison
Test | Last logged frame | Submission wait | Command lists -- | -- | -- | -- Earlier release test | 2680 | 4902 ms | 23 Mesh scissor test | 2391 | 5957 ms | 21 Diagnostics build | 2159 | 5173 ms | 21 Diagnostics with Graphics Tools | 3656 | 5076 ms | 21All four runs ended with
DXGI_ERROR_DEVICE_HUNG.Frame numbers are internal counters reported by VIctory, not necessarily the number of frames presented.
10. D3D12 diagnostics
I compiled the diagnostics build using:
I also installed Windows Graphics Tools and enabled the D3D12 debug layer.
The final run confirmed that Windows triggered TDR (Timeout Detection and Recovery).
D3D12 message ID: 232
Device removal reason:
Additional diagnostic information:
DRED breadcrumbs were unavailable:
The debug layer also reported message ID 971 for a missing cached pipeline.
At the time of the final GPU hang, the pipeline library was creating compute shader:
This operation had been running for approximately 4877 ms. However, another diagnostics run crashed without an active pipeline library call, so this shader cannot be identified as the cause based on the available evidence.
11. Possible areas for investigation
Based on these tests, the following areas may be worth investigating for Intel Arc/Battlemage compatibility:
Mesh shader execution and translation.
Mesh shader output handling.
GPU resource synchronization.
Intel-specific wave/subgroup behavior.
Texture residency and resource management.
Pipeline library and Intel driver interactions.
These are hypotheses rather than confirmed root causes.
The strongest finding is that skipping mesh draws prevented the observed GPU hang, whereas restricting their rasterization to one pixel did not.
12. Additional testing
I have retained the diagnostic logs and can provide sanitized excerpts or perform additional targeted tests if needed.
It would be great to see improved Intel Arc support in the future, especially for Battlemage GPUs.
Thank you for all your work on this project!
</html>System Initand presents 100% black frames with 3 draws/frame #950@jstrdev on GitHub · 2026-11-25 18:39 UTC · original
Update after targeted tests (DRED now working): the hang is in
ExecuteIndirect, not in the >32 KiB mesh programsSame setup as above: Arc B580 12 GB (ReBAR on), driver 32.0.101.9175, Ryzen 5 7600X, commit
0b0074e, Series X profile,diagbuild, 1280x720. VIctory reports waves of 16–32 lanes.Correction to my original report: the mesh shaders are not the whole story. In every run (5 of 5) the device hangs 14–30 s after the first mesh pipeline is bound. Once DRED worked, it pointed at indirect executions, mesh and non-mesh.
What I checked:
>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). But 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.DRED. Breadcrumbs only map to our lists without
VICTORY_D3D12_DEBUG. With the debug layer every node showsNone, presumably because the layer wraps the lists; that is why I had no usable breadcrumbs before. The results: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), the stall is op 5,ExecuteIndirect, kind 10 (meshab86c58dfc0172fa, pixeleca43156b8340a7e).VICTORY_SHADER_LOOP_LIMIT=1024, it still hangs (23 s), now at op 5,ExecuteIndirect, kind 1 (indexed draw: vertex4e35b816f2f91d68, pixel659fe9cae59dbd88).My reading is that the copies were only the first command after a barrier. The work that actually stalls is an indirect execution, mesh or not.
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 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). So the clamp shader and the atomics on the mapped L0 heap behave correctly in isolation.Ruled out for this hang:
VICTORY_RELAY=0too);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
@cbw2580147369-commits on GitHub · 2026-11-26 06:36 UTC · original
I also have an Intel B580. I used this project and managed to get to the menu: https://github.com/avatarmanz/VIctory-7900XTX, but I still couldn’t get into the game—it crashed right after the menu.