RX 6750 XT on Windows 10 22H2 #746

Open
opened 2026-11-26 04:13:55 +00:00 by github-bot · 4 comments
Owner

@⁠b4ssem on GitHub · 2026-11-24 09:27 UTC · original

RX 6750 XT on Windows 10 22H2: SM 6.6 root signatures refused by the inbox D3D12 runtime (fixed with Agility SDK), then GPU hang ~2 min into the intro

Setup

  • GPU: AMD Radeon RX 6750 XT (RDNA2), driver 32.0.21045.29003 (2026-11-17)
  • CPU: Intel Core i7-9700K · RAM: [XX] GB
  • OS: Windows 10 Pro 22H2 (19045), inbox d3d12.dll 10.0.19041.5794
  • Build: main @ [commit hash, git rev-parse --short HEAD], plain release profile (cargo build --release -p victory), no extra PRs
  • Language: French (Game Locale EU / SKU ROW)

1. Crash at boot on main (Windows 10 only)

On plain main, the title crashes about 5 s after launch, right after XUserAddAsync: the offline local user, before the menus.

Just before the crash, several menu pipelines are refused:

root signature: Unsupported bit-flag set (root signature flags c01).
host root signature refused error=Paramètre incorrect. (0x80070057)

Then two threads fault at the same place:

unhandled exception 0xc0000005 at victory-image-….dll+0xb5a5f8 (read 0x68: nothing mapped there)

Frames before the crash show drawn=0.

Cause: flags 0x400 | 0x800 (CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED, SAMPLER_HEAP_DIRECTLY_INDEXED) need SM 6.6 binding. The Windows 10 inbox runtime does not support them, and the README tests only Windows 11.

Workaround (local patch): export the Agility SDK markers from victory.exe and put D3D12Core.dll (Agility SDK 1.620.2) in target\release\D3D12\:

#[unsafe(no_mangle)] #[used] pub static D3D12SDKVersion: u32 = 620;
#[unsafe(no_mangle)] #[used] pub static D3D12SDKPath: SdkPath = SdkPath(b".\\D3D12\\\0".as_ptr());

plus a build.rs with /EXPORT:D3D12SDKVersion,DATA and /EXPORT:D3D12SDKPath,DATA.

With this patch, no root signature is refused, every queued draw is executed (drawn=3328), and the menus run at 30 fps. Happy to open a PR if this approach is wanted. The DLL would not be committed, per the asset policy.

2. World: intro then GPU hang

With the patch, the title loads the world and plays the story intro: credit titles, French subtitles, the crocodile title art. It runs at about 1 fps (1,000–1,500 ms/frame, 1,100–2,800 draws/frame). The 3D scene is missing or dark. Subtitles and credits overlap, probably crossfades caught at 1 fps.

After about 2 minutes in the world, the device is removed:

host GPU device removed after a submission of 11 lists; no breadcrumbs (0x887A0004);
device removed: … (0x887A0006)

Just before it, these shaders fail to translate:

Reason Shaders
a scalar memory read as data pixel 73644c6a0b7b5b35, mesh d6c491e1d17d60cb
a descriptor read only as data compute cdfefd6c8bb5dddd, 3a59b63b97ad1abd
a lane mask holding lanes elsewhere read as data compute 5f8cf29b763648eb

3. DRED (diag build, local-perf: main + #693 #388 #69 #617 #357 #151 #298, per-list submission from #458)

Every run ends in a device removal ~2 min into the world, at a DispatchMesh whose user data points at unpopulated heap slots:

  • Run 1: list stopped at command 422/606, command 419 mesh 1 [mesh a56a584996afb040, pixel 5630e9f88a7bf24d]: u9=0x1356240 [heap 633618: null], u10=0x13560c0 [heap 633606: null]. That list took 2,371 ms.
  • Run 2 (VICTORY_SKIP_PIPELINES=a56a584996afb040): list stopped at command 397/505, command 396 mesh 1 [mesh ba8d52f4ea1a1bac, pixel b37565055f2f7d3b]: u8 [heap 333792: null], u9 [heap 395855: null], u10 [heap 395843: null].

Skipping one pipeline moves the fault to the next mesh draw that reads null slots, which looks like the same class of fault as #743.

Happy to test a branch or a set of variables on this machine. No title data attached, per the asset policy.

**@⁠b4ssem** on GitHub · 2026-11-24 09:27 UTC · [original](https://github.com/Marvisak/VIctory/issues/746) ### RX 6750 XT on Windows 10 22H2: SM 6.6 root signatures refused by the inbox D3D12 runtime (fixed with Agility SDK), then GPU hang ~2 min into the intro ## Setup - GPU: AMD Radeon RX 6750 XT (RDNA2), driver 32.0.21045.29003 (2026-11-17) - CPU: Intel Core i7-9700K · RAM: [XX] GB - OS: **Windows 10 Pro 22H2 (19045)**, inbox `d3d12.dll` 10.0.19041.5794 - Build: `main` @ [commit hash, `git rev-parse --short HEAD`], plain release profile (`cargo build --release -p victory`), no extra PRs - Language: French (Game Locale EU / SKU ROW) ## 1. Crash at boot on main (Windows 10 only) On plain `main`, the title crashes about 5 s after launch, right after `XUserAddAsync: the offline local user`, before the menus. Just before the crash, several menu pipelines are refused: ``` root signature: Unsupported bit-flag set (root signature flags c01). host root signature refused error=Paramètre incorrect. (0x80070057) ``` Then two threads fault at the same place: ``` unhandled exception 0xc0000005 at victory-image-….dll+0xb5a5f8 (read 0x68: nothing mapped there) ``` Frames before the crash show `drawn=0`. **Cause:** flags `0x400 | 0x800` (`CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED`, `SAMPLER_HEAP_DIRECTLY_INDEXED`) need SM 6.6 binding. The Windows 10 inbox runtime does not support them, and the README tests only Windows 11. **Workaround (local patch):** export the Agility SDK markers from `victory.exe` and put `D3D12Core.dll` (Agility SDK 1.620.2) in `target\release\D3D12\`: ```rust #[unsafe(no_mangle)] #[used] pub static D3D12SDKVersion: u32 = 620; #[unsafe(no_mangle)] #[used] pub static D3D12SDKPath: SdkPath = SdkPath(b".\\D3D12\\\0".as_ptr()); ``` plus a `build.rs` with `/EXPORT:D3D12SDKVersion,DATA` and `/EXPORT:D3D12SDKPath,DATA`. With this patch, no root signature is refused, every queued draw is executed (`drawn=3328`), and the menus run at 30 fps. Happy to open a PR if this approach is wanted. The DLL would not be committed, per the asset policy. ## 2. World: intro then GPU hang With the patch, the title loads the world and plays the story intro: credit titles, French subtitles, the crocodile title art. It runs at about 1 fps (1,000–1,500 ms/frame, 1,100–2,800 draws/frame). The 3D scene is missing or dark. Subtitles and credits overlap, probably crossfades caught at 1 fps. After about 2 minutes in the world, the device is removed: ``` host GPU device removed after a submission of 11 lists; no breadcrumbs (0x887A0004); device removed: … (0x887A0006) ``` Just before it, these shaders fail to translate: | Reason | Shaders | |---|---| | a scalar memory read as data | pixel `73644c6a0b7b5b35`, mesh `d6c491e1d17d60cb` | | a descriptor read only as data | compute `cdfefd6c8bb5dddd`, `3a59b63b97ad1abd` | | a lane mask holding lanes elsewhere read as data | compute `5f8cf29b763648eb` | ## 3. DRED (diag build, local-perf: main + #693 #388 #69 #617 #357 #151 #298, per-list submission from #458) Every run ends in a device removal ~2 min into the world, at a DispatchMesh whose user data points at unpopulated heap slots: - Run 1: list stopped at command 422/606, command 419 `mesh 1 [mesh a56a584996afb040, pixel 5630e9f88a7bf24d]`: `u9=0x1356240 [heap 633618: null]`, `u10=0x13560c0 [heap 633606: null]`. That list took 2,371 ms. - Run 2 (`VICTORY_SKIP_PIPELINES=a56a584996afb040`): list stopped at command 397/505, command 396 `mesh 1 [mesh ba8d52f4ea1a1bac, pixel b37565055f2f7d3b]`: `u8 [heap 333792: null]`, `u9 [heap 395855: null]`, `u10 [heap 395843: null]`. Skipping one pipeline moves the fault to the next mesh draw that reads null slots, which looks like the same class of fault as #743. Happy to test a branch or a set of variables on this machine. No title data attached, per the asset policy.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:55 +00:00
Author
Owner

@⁠titilyonnais on GitHub · 2026-11-24 20:56 UTC · original

Same mesh draw on an RX 9070 XT: ba8d52f4ea1a1bac reading null heap slots, ~136 ms per dispatch

Setup: Windows 11 (build 26300), AMD RX 9070 XT (driver 32.0.32029.2010), retail dump 1.0.2.1. Build: main at ffe310e with #1632 and #1418 merged on top (no conflicts), cargo build --profile diag -p victory --features diagnostics. Run with VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1 VICTORY_GPU_TIMING=1, up to the intro mission in the world.

Without VICTORY_GPU_TIMING, this build ended with DXGI_ERROR_DEVICE_HUNG (0x887A0006) about 4 minutes in, around host frame 1,650, and the AMD driver reported a timeout. Plain main also ended with DEVICE_HUNG when entering the world. With it, each list runs on its own, so no single wait reaches the 2 s TDR delay and the device survives. Instead, the title stops on its own at host frame 1,673 (title frame 929), with an int3 (0x80000003) in its own code. Its crash context reports Unsignaled CrossQueueBarrier: 82d9447, which looks like the title's watchdog giving up on the GPU.

What the timing shows over that run:

  • 29 slow host submissions, 27 of them over 2,000 ms, the longest 4,610 ms.
  • Almost all of it is one mesh pipeline, [mesh ba8d52f4ea1a1bac, pixel b37565055f2f7d3b]: 159 slow DispatchMesh commands, 21.6 s in total, up to 469.9 ms for a single mesh 1. 155 of those 159 have at least one null slot in their user data, the same ones as in your run 2: u8 [heap 334056: null], u9 [heap …: null], u10 [heap …: null].
  • The next ones are far behind, and they read null slots too: 87836f07b3b98e3d (11 commands, 1.0 s, 11 with a null slot), fdd457cb5a6f39a8 (3, 0.26 s, 3), 70c4f59493d78540 (2, 0.19 s, 2). 649aa1b64998a5f2 (2, 0.18 s) is the only slow one here with no null slot.
  • The debug layer reports nothing that would explain a hang: 1,259 messages, almost all ID3D12PipelineLibrary name and desc mismatches, plus a few PSO/RTV mismatches and four ResourceBarrier / IASetVertexBuffers state warnings.

So on RDNA4 too, it looks like the cost is the mesh draws that read heap slots the title has not populated yet, rather than an invalid command. That fits your observation that skipping one pipeline only moves the fault to the next mesh draw that reads null slots, and the same class of fault as #743.

Not checked: plain main with the same diagnostics (only the combined build above), and VICTORY_SHADER_LOOP_LIMIT. I can run either on this card if that helps.

**@⁠titilyonnais** on GitHub · 2026-11-24 20:56 UTC · [original](https://github.com/Marvisak/VIctory/issues/746#issuecomment-7144257613) **Same mesh draw on an RX 9070 XT: `ba8d52f4ea1a1bac` reading null heap slots, ~136 ms per dispatch** Setup: Windows 11 (build 26300), AMD RX 9070 XT (driver 32.0.32029.2010), retail dump 1.0.2.1. Build: `main` at ffe310e with #1632 and #1418 merged on top (no conflicts), `cargo build --profile diag -p victory --features diagnostics`. Run with `VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1 VICTORY_GPU_TIMING=1`, up to the intro mission in the world. Without `VICTORY_GPU_TIMING`, this build ended with `DXGI_ERROR_DEVICE_HUNG` (0x887A0006) about 4 minutes in, around host frame 1,650, and the AMD driver reported a timeout. Plain `main` also ended with `DEVICE_HUNG` when entering the world. With it, each list runs on its own, so no single wait reaches the 2 s TDR delay and the device survives. Instead, the title stops on its own at host frame 1,673 (title frame 929), with an `int3` (0x80000003) in its own code. Its crash context reports `Unsignaled CrossQueueBarrier: 82d9447`, which looks like the title's watchdog giving up on the GPU. What the timing shows over that run: - 29 slow host submissions, 27 of them over 2,000 ms, the longest 4,610 ms. - Almost all of it is one mesh pipeline, `[mesh ba8d52f4ea1a1bac, pixel b37565055f2f7d3b]`: 159 slow `DispatchMesh` commands, 21.6 s in total, up to 469.9 ms for a single `mesh 1`. 155 of those 159 have at least one null slot in their user data, the same ones as in your run 2: `u8 [heap 334056: null]`, `u9 [heap …: null]`, `u10 [heap …: null]`. - The next ones are far behind, and they read null slots too: `87836f07b3b98e3d` (11 commands, 1.0 s, 11 with a null slot), `fdd457cb5a6f39a8` (3, 0.26 s, 3), `70c4f59493d78540` (2, 0.19 s, 2). `649aa1b64998a5f2` (2, 0.18 s) is the only slow one here with no null slot. - The debug layer reports nothing that would explain a hang: 1,259 messages, almost all `ID3D12PipelineLibrary` name and desc mismatches, plus a few PSO/RTV mismatches and four `ResourceBarrier` / `IASetVertexBuffers` state warnings. So on RDNA4 too, it looks like the cost is the mesh draws that read heap slots the title has not populated yet, rather than an invalid command. That fits your observation that skipping one pipeline only moves the fault to the next mesh draw that reads null slots, and the same class of fault as #743. Not checked: plain `main` with the same diagnostics (only the combined build above), and `VICTORY_SHADER_LOOP_LIMIT`. I can run either on this card if that helps.
Author
Owner

@⁠titilyonnais on GitHub · 2026-11-24 21:15 UTC · original

Correction to my comment above: the null slots are not shown to be what the shader reads

I read the report too quickly. In op_text (crates/victory-gpu/src/draw.rs), the [heap N: …] after a table's user-data value describes only the slot at that value, i.e. the table's first descriptor (value / 32). The descriptors the shader actually reads, at their table offsets, are listed separately in the tables [...] part of the report. In my log, the slow-command lines for ba8d52f4ea1a1bac were cut before that part, so I cannot say what it read. In the device-removed reports of later runs, other mesh draws show null in their user data, while their tables list real placed SRVs.

So "the slow draws read null heap slots" is not established. What stands is the timing: ba8d52f4ea1a1bac took 21.6 s over 159 dispatches, up to 470 ms for a single mesh 1.

Two more things I found since:

  • On plain main (ffe310e), this pipeline does not run at all: its pixel shader b37565055f2f7d3b does not translate (a lane-mask join of an untracked mask, the case #385 addresses), so its draws are dropped. It only ran in my build because #1632 and #1418 were merged on top.
  • With the same diagnostics on main alone, there are no submissions over 2 s, and the run ends about 77 s into the world with a page fault just past the end of a title memory copy. With #1544 on top, it lasted 223 s and ended with a page fault inside freed placed textures (one run each, details on #1544).
**@⁠titilyonnais** on GitHub · 2026-11-24 21:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/746#issuecomment-7144681267) **Correction to my comment above: the `null` slots are not shown to be what the shader reads** I read the report too quickly. In `op_text` (`crates/victory-gpu/src/draw.rs`), the `[heap N: …]` after a table's user-data value describes only the slot at that value, i.e. the table's first descriptor (`value / 32`). The descriptors the shader actually reads, at their table offsets, are listed separately in the `tables [...]` part of the report. In my log, the slow-command lines for `ba8d52f4ea1a1bac` were cut before that part, so I cannot say what it read. In the device-removed reports of later runs, other mesh draws show `null` in their user data, while their `tables` list real placed SRVs. So "the slow draws read null heap slots" is not established. What stands is the timing: `ba8d52f4ea1a1bac` took 21.6 s over 159 dispatches, up to 470 ms for a single `mesh 1`. Two more things I found since: - On plain `main` (ffe310e), this pipeline does not run at all: its pixel shader `b37565055f2f7d3b` does not translate (`a lane-mask join of an untracked mask`, the case #385 addresses), so its draws are dropped. It only ran in my build because #1632 and #1418 were merged on top. - With the same diagnostics on `main` alone, there are no submissions over 2 s, and the run ends about 77 s into the world with a page fault just past the end of a title memory copy. With #1544 on top, it lasted 223 s and ended with a page fault inside freed placed textures (one run each, details on #1544).
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:49 UTC · original · edited 2026-11-25 12:45 UTC

Automated triage for the maintainers.

Thanks for the rerun (RX 6750 XT, Windows 10 19045, original run on c7a5f49, rerun on main 940d32f + #463 with Agility SDK 1.614.1).

  • Part 1 (root signature flags c01 refused on the Windows 10 in-box runtime): tracked in #84. Your rerun is a useful data point for open PR #463: with it, Windows 10 opts into Agility SDK 614, no root signature is refused and the menus run at 30 fps.
  • Part 2 (world): with #463 on current main the host device is no longer removed. The world runs at 0.7-1 fps, and about a minute in the title faults at +0x8f92a reading 0xffffffffffffffff (rax 0xff80000000000000). I found no other open run report with this fault address, so this issue is where it is tracked for now. The lower frames (+0x2215eca, +0x2215c35) are the title's thread start and its own abort path; they appear in other reports (#1118, #1464) and do not by themselves mean the same cause. The shutdown fault (+0x2215c35, write 0x0, right after window closed: suspending the title) looks like that abort path too.

Nothing more is needed from you for now. If others hit the same +0x8f92a fault, please add your run here.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:49 UTC · [original](https://github.com/Marvisak/VIctory/issues/746#issuecomment-7152282613) · edited 2026-11-25 12:45 UTC <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T10:45:21Z at=2026-11-25T12:44:24Z --> Automated triage for the maintainers. Thanks for the rerun (RX 6750 XT, Windows 10 19045, original run on `c7a5f49`, rerun on `main` 940d32f + #463 with Agility SDK 1.614.1). - **Part 1 (root signature flags `c01` refused on the Windows 10 in-box runtime):** tracked in **#84**. Your rerun is a useful data point for open PR **#463**: with it, Windows 10 opts into Agility SDK 614, no root signature is refused and the menus run at 30 fps. - **Part 2 (world):** with #463 on current `main` the host device is no longer removed. The world runs at 0.7-1 fps, and about a minute in the title faults at `+0x8f92a` reading `0xffffffffffffffff` (rax `0xff80000000000000`). I found no other open run report with this fault address, so this issue is where it is tracked for now. The lower frames (`+0x2215eca`, `+0x2215c35`) are the title's thread start and its own abort path; they appear in other reports (#1118, #1464) and do not by themselves mean the same cause. The shutdown fault (`+0x2215c35`, write `0x0`, right after `window closed: suspending the title`) looks like that abort path too. Nothing more is needed from you for now. If others hit the same `+0x8f92a` fault, please add your run here. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠b4ssem on GitHub · 2026-11-25 10:45 UTC · original

Placeholder: the original plain-main run was on c7a5f49.

Rerun on current main 940d32f (includes d71c388) with #463 merged on top (README conflict resolved to main's), Agility SDK 1.614.1 in target\release\D3D12\. Plain release build, no other PRs, no VICTORY_* switches. Windows 10 19045, RX 6750 XT, i7-9700K, 16 GB RAM.

#463 works on Windows 10: the build script picks the runtime up (opting the host D3D12 runtime into Agility SDK 614), no root signature is refused, menus at 30 fps.

World: loads in about 60 s and runs at 0.7-1 fps (~1,370 ms/frame, ~9,000 draws/dispatches per frame). No host GPU device removal anymore. Instead, about a minute into the world, the title itself faults:

VIctory: unhandled exception 0xc0000005 at victory-image-….dll+0x8f92a (read 0xffffffffffffffff: outside the address space)
  rax 0xff80000000000000 rbx 0xdfd4ff0e0 rcx 0x0 rdx 0x1 rsi 0xd34b6b320 rdi 0xd38ac5530 rsp 0x686a5ff1f0 rbp 0x0
  r8 0x14 r9 0x1 r10 0x35b51b7c r11 0x11 r12 0x0 r13 0x80400000000 r14 0x283 r15 0xffff
  #0  +0x8f92a
  #1  +0x4eeb7b2
  #2  +0x4eead0e
  #3  +0x4eeaa82
  #4  +0x4eeaa41
  #5  +0x2677819
  #6  +0x256fb83
  #7  +0x221c29c
  #8  +0x2215eca

Last host stats before it: 0.7 fps, 1369.2 ms/frame (782.7 preparing: copies 476.2 ms 220.3 MB; 89.0 on the GPU; 237.8 copying back), host textures: 3441 (8782 MB, 2266 MB of them used by lists).

In an earlier run of the same build, where I closed the window after ~2 min in the world, the title faulted on shutdown instead: 0xc0000005 at +0x2215c35 (write 0x0), stack +0x2215c35, +0x2215eca, right after window closed: suspending the title.

**@⁠b4ssem** on GitHub · 2026-11-25 10:45 UTC · [original](https://github.com/Marvisak/VIctory/issues/746#issuecomment-7160128927) Placeholder: the original plain-main run was on **c7a5f49**. Rerun on current main **940d32f** (includes d71c388) with **#463** merged on top (README conflict resolved to main's), Agility SDK **1.614.1** in `target\release\D3D12\`. Plain release build, no other PRs, no `VICTORY_*` switches. Windows 10 19045, RX 6750 XT, i7-9700K, 16 GB RAM. **#463 works on Windows 10:** the build script picks the runtime up (`opting the host D3D12 runtime into Agility SDK 614`), no root signature is refused, menus at 30 fps. **World:** loads in about 60 s and runs at 0.7-1 fps (~1,370 ms/frame, ~9,000 draws/dispatches per frame). **No host GPU device removal anymore.** Instead, about a minute into the world, the title itself faults: ``` VIctory: unhandled exception 0xc0000005 at victory-image-….dll+0x8f92a (read 0xffffffffffffffff: outside the address space) rax 0xff80000000000000 rbx 0xdfd4ff0e0 rcx 0x0 rdx 0x1 rsi 0xd34b6b320 rdi 0xd38ac5530 rsp 0x686a5ff1f0 rbp 0x0 r8 0x14 r9 0x1 r10 0x35b51b7c r11 0x11 r12 0x0 r13 0x80400000000 r14 0x283 r15 0xffff #0 +0x8f92a #1 +0x4eeb7b2 #2 +0x4eead0e #3 +0x4eeaa82 #4 +0x4eeaa41 #5 +0x2677819 #6 +0x256fb83 #7 +0x221c29c #8 +0x2215eca ``` Last host stats before it: `0.7 fps, 1369.2 ms/frame (782.7 preparing: copies 476.2 ms 220.3 MB; 89.0 on the GPU; 237.8 copying back)`, `host textures: 3441 (8782 MB, 2266 MB of them used by lists)`. In an earlier run of the same build, where I closed the window after ~2 min in the world, the title faulted on shutdown instead: `0xc0000005 at +0x2215c35 (write 0x0)`, stack `+0x2215c35, +0x2215eca`, right after `window closed: suspending the title`.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#746
No description provided.