[Crash / TDR] Host GPU device removed (0x887A0006) ~55s after Mission 1 title card on RX 9070 XT #304

Open
opened 2026-11-26 03:58:34 +00:00 by github-bot · 12 comments
Owner

@⁠belttroll-lab on GitHub · 2026-11-24 02:11 UTC · original

System Specifications

  • GPU: AMD Radeon RX 9070 XT (16 GB VRAM)
  • CPU: Intel Core i5-14600K
  • RAM: 32 GB (2x16 GB) DDR4 @ 3300 MHz
  • OS: Windows 11 (64-bit)
  • Branch: main (latest release build)

Steps to Reproduce / Observed Behavior

  1. Launch via victory.exe run <exe_path> --execute.
  2. Intro video begins playing cleanly with synchronized audio at 30 FPS.
  3. Important: From the start, I held A on the gamepad 3 to 4 times to consecutively skip intros/disclaimers. Hold-to-skip input registers smoothly.
  4. Game transitions to world loading, and the first mission's title card successfully renders on screen.
  5. Immediately after the title card, the 3D scene remains dark/black, rendering extremely slowly at ~0.5 to 1.8 seconds per frame (SPF).
  6. After roughly 50–55 seconds of trying to present frames, the Windows display driver encounters a TDR fault and resets (screen flickers black, process terminates).

Relevant crashes.log

  • Happy to provide trace with VICTORY_D3D12_DEBUG=1 if command list breakdown is needed.

VIctory_crashes_cleaned.txt

**@⁠belttroll-lab** on GitHub · 2026-11-24 02:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/304) ### System Specifications - **GPU:** AMD Radeon RX 9070 XT (16 GB VRAM) - **CPU:** Intel Core i5-14600K - **RAM:** 32 GB (2x16 GB) DDR4 @ 3300 MHz - **OS:** Windows 11 (64-bit) - **Branch:** `main` (latest release build) ### Steps to Reproduce / Observed Behavior 1. Launch via `victory.exe run <exe_path> --execute`. 2. Intro video begins playing cleanly with synchronized audio at 30 FPS. 3. **Important:** From the start, I held **A** on the gamepad 3 to 4 times to consecutively skip intros/disclaimers. Hold-to-skip input registers smoothly. 4. Game transitions to world loading, and the first mission's title card successfully renders on screen. 5. Immediately after the title card, the 3D scene remains dark/black, rendering extremely slowly at ~0.5 to 1.8 seconds per frame (SPF). 6. After roughly 50–55 seconds of trying to present frames, the Windows display driver encounters a TDR fault and resets (screen flickers black, process terminates). ### Relevant `crashes.log` - Happy to provide trace with `VICTORY_D3D12_DEBUG=1` if command list breakdown is needed. [VIctory_crashes_cleaned.txt](https://github.com/user-attachments/files/35307677/VIctory_crashes_cleaned.txt)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:58:34 +00:00
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-24 03:00 UTC · original

Reproduced on another RX 9070 XT, this time on Windows 10 with the Agility SDK runtime (#175) instead of Windows 11's in-box one. Same failure, and it fits hashdev512's texture-descriptor-read-as-buffer reading on #59, with one more detail below.

Setup: Windows 10 22H2 19045.7846, RX 9070 XT (driver 32.0.32015.7029), Ryzen 9 9900X. main d2a4bae + #175 (19aec59, D3D12Core 1.620.2), diag build, VICTORY_D3D12_DRED=1, Series X mode, played with an Xbox pad through the first-boot screens and the profile prompt into the first mission.

What happened: menus at 30 fps, 0 draws dropped. The world started about 70 s in (host mesh shader support mesh=true); it ran at about 1.3 fps (766 ms/frame, ~1,300 draws/frame, ~1,370 dropped while their pipelines were still being made). About 38 s into the world:

host GPU device removed after a submission of 32 lists; page fault at 0x2527000; no title memory copy below it; the nearest above: 0x2d380000+0xae00000 …
a list stopped at command 1027 of 2353 (op 5) …
command 1027 (op 5): indirect kind 10 max 1 … [mesh d9abe24ad7bfe920, pixel 264ae8d58e78b62d]
  | d9abe24ad7bfe920: … u13=0x0 [heap 0: Shader(0, Some([42, 2, 5768, 0, 0, 0, 0, 0, 0, 0]))] …

No reboot was needed.

How this lines up with #59:

  • Same shape: an indirect mesh draw (ExecuteIndirect kind 10, op 5) with u13=0x0, and a fault address with nothing there. 0x2527000 sits next to hashdev512's RGD capture 0x25a2000, in the low range they describe.
  • What u13=0x0 points at. The log resolves it to heap slot 0, and slot 0's recorded view is the title's own CreateShaderResourceView(null, desc). Its first words [42, 2, 5768] are DXGI_FORMAT_R32_UINT, D3D12_SRV_DIMENSION_TEXTURE1D and the default mapping 0x1688. So the mesh draw on the GPU at the fault reads slot 0 through u13, and slot 0 is a null 1D texture view, not a buffer (the same draw's u9 is a [42, 1, …] buffer view, as expected). That matches the GPU-based-validation message on #59 (SRV Dimension Expected: TEXTURE2D, In Descriptor: TEXTURE1D on heap slot 0) and the reading that a buffer load through a texture descriptor produces these addresses.
  • In this dump 7 of the 35 indirect mesh draws listed have u13=0x0, all resolving to that slot. So it's a correlation: I have not shown that the faulting wave went through u13.

The question this raises (not checked): is u13 = 0 a value the title really means (slot 0, never written as a buffer), or user data that should have been set for these indirect draws, for example by the command signature's arguments, and is left at 0?

So the runtime doesn't matter here: Agility 1.620 on Windows 10 faults the same way as the in-box runtime on Windows 11. Full crashes.log entry (103 KB, VIctory's own output, no game data) available on request.

No game data in this comment; shader hashes, host addresses and descriptor words are VIctory's own output.

AI-assisted (Claude Code); I played the run, and the log was read and decoded with the model (the meaning of the descriptor words from crates/victory-gpu/src/descriptor.rs, which records the D3D12 view description as is).

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 03:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7120678060) Reproduced on another RX 9070 XT, this time on **Windows 10 with the Agility SDK runtime (#175)** instead of Windows 11's in-box one. Same failure, and it fits hashdev512's texture-descriptor-read-as-buffer reading on #59, with one more detail below. **Setup:** Windows 10 22H2 19045.7846, RX 9070 XT (driver 32.0.32015.7029), Ryzen 9 9900X. `main` `d2a4bae` + #175 (`19aec59`, D3D12Core 1.620.2), diag build, `VICTORY_D3D12_DRED=1`, Series X mode, played with an Xbox pad through the first-boot screens and the profile prompt into the first mission. **What happened:** menus at 30 fps, 0 draws dropped. The world started about 70 s in (`host mesh shader support mesh=true`); it ran at about 1.3 fps (766 ms/frame, ~1,300 draws/frame, ~1,370 dropped while their pipelines were still being made). About 38 s into the world: ``` host GPU device removed after a submission of 32 lists; page fault at 0x2527000; no title memory copy below it; the nearest above: 0x2d380000+0xae00000 … a list stopped at command 1027 of 2353 (op 5) … command 1027 (op 5): indirect kind 10 max 1 … [mesh d9abe24ad7bfe920, pixel 264ae8d58e78b62d] | d9abe24ad7bfe920: … u13=0x0 [heap 0: Shader(0, Some([42, 2, 5768, 0, 0, 0, 0, 0, 0, 0]))] … ``` No reboot was needed. How this lines up with #59: - **Same shape:** an indirect mesh draw (`ExecuteIndirect` kind 10, op 5) with `u13=0x0`, and a fault address with nothing there. `0x2527000` sits next to hashdev512's RGD capture `0x25a2000`, in the low range they describe. - **What `u13=0x0` points at.** The log resolves it to heap slot 0, and slot 0's recorded view is the title's own `CreateShaderResourceView(null, desc)`. Its first words `[42, 2, 5768]` are `DXGI_FORMAT_R32_UINT`, `D3D12_SRV_DIMENSION_TEXTURE1D` and the default mapping `0x1688`. So the mesh draw on the GPU at the fault reads slot 0 through `u13`, and slot 0 is a **null 1D texture view**, not a buffer (the same draw's `u9` is a `[42, 1, …]` buffer view, as expected). That matches the GPU-based-validation message on #59 (`SRV Dimension Expected: TEXTURE2D, In Descriptor: TEXTURE1D` on heap slot 0) and the reading that a buffer load through a texture descriptor produces these addresses. - In this dump 7 of the 35 indirect mesh draws listed have `u13=0x0`, all resolving to that slot. So it's a correlation: I have not shown that the faulting wave went through `u13`. The question this raises (not checked): is `u13 = 0` a value the title really means (slot 0, never written as a buffer), or user data that should have been set for these indirect draws, for example by the command signature's arguments, and is left at 0? So the runtime doesn't matter here: Agility 1.620 on Windows 10 faults the same way as the in-box runtime on Windows 11. Full `crashes.log` entry (103 KB, VIctory's own output, no game data) available on request. No game data in this comment; shader hashes, host addresses and descriptor words are VIctory's own output. AI-assisted (Claude Code); I played the run, and the log was read and decoded with the model (the meaning of the descriptor words from `crates/victory-gpu/src/descriptor.rs`, which records the D3D12 view description as is).
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-24 03:06 UTC · original

Correction to my comment above, plus a second run.

The u13 point was too strong. The device-removed report (op_text in crates/victory-gpu/src/draw.rs) prints [heap N: …] after every user-data value it can read as a heap index, whatever the shader does with that value. So u13=0x0 [heap 0: … TEXTURE1D …] only says what heap slot 0 holds. It shows that the draw reads slot 0 only if u13 is a descriptor-table offset (RootType::Table), not a plain constant, and I have not checked which it is. Slot 0 is still a null R32_UINT TEXTURE1D view, matching the GPU-based-validation message on #59, but the link from this draw to it is unproven.

Second run, same machine and build (d2a4bae + #175), cold shader cache again (hits=0 misses=499, since the rebuilt executable changes the cache key):

  • world reached about 65 s in (saved profile), ~5 fps there with 456 draws per second dropped while pipelines were made; device removed about 10 s into the world
  • page fault at 0x7000037a5000; DRED stopped at command 433 of 827, op 42 (DispatchMesh, direct), on mesh 37f363f0a5dcd806, pixel 4a45195a99ac14f7 (the rigid MS_VS_TransformD program from #71), again with u13=0x0

One observation from this dump, for what it's worth. The fault's low 32 bits, 0x037a5000, fall inside a buffer view every mesh pipeline in the dump binds at s0+688: title address 0x3400000, 182,452,224 bytes (offset 0x3a5000), and that range (0x3400000–0xe200000) covers the whole 0x37xx_x000–0x3cax_x000 cluster from #59. That would fit a shader using a console address from that buffer as is, with junk in the high half. But it doesn't hold for my first run: there s0+688 was at 0x2d380000, and nothing in the dump covers 0x2527000. So one run of two; I'm noting it, not proposing it.

No game data used. AI-assisted (Claude Code); I ran both runs.

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 03:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7120781534) **Correction to my comment above, plus a second run.** **The `u13` point was too strong.** The device-removed report (`op_text` in `crates/victory-gpu/src/draw.rs`) prints `[heap N: …]` after *every* user-data value it can read as a heap index, whatever the shader does with that value. So `u13=0x0 [heap 0: … TEXTURE1D …]` only says what heap slot 0 holds. It shows that the draw reads slot 0 only if `u13` is a descriptor-table offset (`RootType::Table`), not a plain constant, and I have not checked which it is. Slot 0 is still a null `R32_UINT` `TEXTURE1D` view, matching the GPU-based-validation message on #59, but the link from this draw to it is unproven. **Second run**, same machine and build (`d2a4bae` + #175), cold shader cache again (`hits=0 misses=499`, since the rebuilt executable changes the cache key): - world reached about 65 s in (saved profile), ~5 fps there with 456 draws per second dropped while pipelines were made; device removed about **10 s** into the world - `page fault at 0x7000037a5000`; DRED stopped at command 433 of 827, **op 42 (`DispatchMesh`, direct)**, on `mesh 37f363f0a5dcd806, pixel 4a45195a99ac14f7` (the rigid `MS_VS_TransformD` program from #71), again with `u13=0x0` **One observation from this dump, for what it's worth.** The fault's low 32 bits, `0x037a5000`, fall inside a buffer view every mesh pipeline in the dump binds at `s0+688`: title address `0x3400000`, 182,452,224 bytes (offset `0x3a5000`), and that range (`0x3400000`–`0xe200000`) covers the whole `0x37xx_x000`–`0x3cax_x000` cluster from #59. That would fit a shader using a console address from that buffer as is, with junk in the high half. But it doesn't hold for my first run: there `s0+688` was at `0x2d380000`, and nothing in the dump covers `0x2527000`. So one run of two; I'm noting it, not proposing it. No game data used. AI-assisted (Claude Code); I ran both runs.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-24 03:11 UTC · original

Settled: u13 is a constant, so the slot-0 lead from my first comment is ruled out.

I added two local diagnostics: the shader translated line now lists each user-data index with its RootType, and the device-removed report prints the type after each value. A third run on the same machine (Windows 10 + #175, RX 9070 XT) gave:

  • 37f363f0a5dcd806 (mesh, MS_VS_TransformD): [(8, Table), (9, Table), (10, Table), (13, Constants), (14, Constants)]
  • d9abe24ad7bfe920 (the mesh program from my first crash): [(8, Table), (9, Table), (13, Constants)]
  • all 144 shaders translated in that run that use u13 (135 mesh, 6 pixel, 3 vertex): (13, Constants), every one
  • in the crash report: u13=0x59b48633(Constants), u13=0x79b486ad(Constants), …

So u13=0x0 was just the constant 0, and the [heap 0: … TEXTURE1D …] printed after it says nothing about these draws. (A side note for whoever reads these reports: op_text annotates every user-data value with a heap slot, constants included, which is easy to misread. Marking the type, as here, or annotating only Table values would avoid that.)

Third crash: about 8 s into the world, page fault at 0x7000037a7000, DRED stopped at command 176 of 270, op 5 (indirect kind 10 max 1) on mesh c5ffa556ab926155, pixel c4a269f4eeba3cac. That's 2 KB from my second run's 0x7000037a5000: same high half, same place in #59's cluster. The s0+688 buffer from my second run is not in this dump, so that observation stays at one run of three.

Both diagnostics are two lines; I can open a PR for them if they're wanted.

No game data used. AI-assisted (Claude Code); I ran all three runs.

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 03:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7120855057) **Settled: `u13` is a constant, so the slot-0 lead from my first comment is ruled out.** I added two local diagnostics: the `shader translated` line now lists each user-data index with its `RootType`, and the device-removed report prints the type after each value. A third run on the same machine (Windows 10 + #175, RX 9070 XT) gave: - `37f363f0a5dcd806` (mesh, `MS_VS_TransformD`): `[(8, Table), (9, Table), (10, Table), (13, Constants), (14, Constants)]` - `d9abe24ad7bfe920` (the mesh program from my first crash): `[(8, Table), (9, Table), (13, Constants)]` - all 144 shaders translated in that run that use `u13` (135 mesh, 6 pixel, 3 vertex): `(13, Constants)`, every one - in the crash report: `u13=0x59b48633(Constants)`, `u13=0x79b486ad(Constants)`, … So `u13=0x0` was just the constant 0, and the `[heap 0: … TEXTURE1D …]` printed after it says nothing about these draws. (A side note for whoever reads these reports: `op_text` annotates every user-data value with a heap slot, constants included, which is easy to misread. Marking the type, as here, or annotating only `Table` values would avoid that.) **Third crash:** about 8 s into the world, `page fault at 0x7000037a7000`, DRED stopped at command 176 of 270, op 5 (`indirect kind 10 max 1`) on `mesh c5ffa556ab926155, pixel c4a269f4eeba3cac`. That's 2 KB from my second run's `0x7000037a5000`: same high half, same place in #59's cluster. The `s0+688` buffer from my second run is not in this dump, so that observation stays at one run of three. Both diagnostics are two lines; I can open a PR for them if they're wanted. No game data used. AI-assisted (Claude Code); I ran all three runs.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 03:55 UTC · original

Confirmed on another RX 9070 XT at main d2a4bae (9800X3D, Windows 11 build 26300, driver 32.0.32029.2010, package verified byte-exact): same timeline — title card renders, dark scene at 0.5–1.8 s/frame, TDR ~55 s after. The diag build adds a DRED page fault at 0x8000037d1000 in the kind-10 indirect mesh-draw list (full data in my comment on #59). Two runs on this box stopped at different commands (1 list in flight vs 23) but in the same fault family — points at a computed address rather than one fixed resource.

**@⁠KingKaom** on GitHub · 2026-11-24 03:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7121540115) Confirmed on another RX 9070 XT at `main d2a4bae` (9800X3D, Windows 11 build 26300, driver 32.0.32029.2010, package verified byte-exact): same timeline — title card renders, dark scene at 0.5–1.8 s/frame, TDR ~55 s after. The diag build adds a DRED page fault at `0x8000037d1000` in the kind-10 indirect mesh-draw list (full data in my comment on #59). Two runs on this box stopped at different commands (1 list in flight vs 23) but in the same fault family — points at a computed address rather than one fixed resource.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-24 04:17 UTC · original

How far the first mission gets with #336 (RX 9070 XT, Windows 10, d2a4bae + #175 + #336, plus #294/#464/#440/#436/#305 in the longest run). Text only, no captures posted.

  • With #336 the world now lasts 70–175 s here instead of 8–38 s, at about 1 fps, before the same freed-texture device removal reported on #336.
  • In that time the opening cutscene keeps running: its audio and subtitles continue, and in the longest run (~174 s in the world) it reached the opening-credits sequence. Its 2D overlays render with their textures.
  • The 3D scene never renders at any point. I saved every 5th frame in the world (VICTORY_CAPTURE_FRAMES) and checked the pixels: apart from the overlays, every frame is uniformly black or a flat dark grey (brightness spread of 0–2 out of 255). That fits the per-frame drops in the log: about 1,400 compute dispatches and 700 mesh draws dropped for shaders that don't translate yet, about 370–400 distinct shaders refused per run.
  • With #336 alone, one capture run lasted only 23 s in the world, so how far it gets varies a lot from run to run.

So with #336, the title's own logic, audio and UI get well into the first cutscene on this machine; what's missing is the 3D scene, which comes down to the shaders that don't translate yet. I can repeat this capture check when shader PRs land, to see whether anything 3D appears.

No game data in this comment.

AI-assisted (Claude Code); I played the runs.

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 04:17 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7121890861) **How far the first mission gets with #336** (RX 9070 XT, Windows 10, `d2a4bae` + #175 + #336, plus #294/#464/#440/#436/#305 in the longest run). Text only, no captures posted. - With #336 the world now lasts **70–175 s** here instead of 8–38 s, at about 1 fps, before the same freed-texture device removal reported on #336. - In that time the opening cutscene keeps running: its audio and subtitles continue, and in the longest run (~174 s in the world) it reached the **opening-credits sequence**. Its 2D overlays render with their textures. - **The 3D scene never renders** at any point. I saved every 5th frame in the world (`VICTORY_CAPTURE_FRAMES`) and checked the pixels: apart from the overlays, every frame is uniformly black or a flat dark grey (brightness spread of 0–2 out of 255). That fits the per-frame drops in the log: about 1,400 compute dispatches and 700 mesh draws dropped for shaders that don't translate yet, about 370–400 distinct shaders refused per run. - With #336 alone, one capture run lasted only 23 s in the world, so how far it gets varies a lot from run to run. So with #336, the title's own logic, audio and UI get well into the first cutscene on this machine; what's missing is the 3D scene, which comes down to the shaders that don't translate yet. I can repeat this capture check when shader PRs land, to see whether anything 3D appears. No game data in this comment. AI-assisted (Claude Code); I played the runs.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 04:19 UTC · original

Follow-up on the same RX 9070 XT box (main d2a4bae): tried to localize the world-entry fault with the existing knobs. Negative results, but they narrow it:

  • VICTORY_SKIP_PIPELINES with the two suspect world meshes: crash persists, and the next death names a completely different in-flight set (04b9be3756e8f41c, 38d7a05a71b688dd, 674baed2c9ef9873, 97356b4fcf9fbb3f, c5ffa556ab926155).
  • Skipping all nine hashes ever observed in flight: still crashes, on the first world frames (1 list in flight).
  • VICTORY_SHADER_LOOP_LIMIT=256: still crashes — not a runaway loop on this machine.
  • VICTORY_GPU_TIMING=1 (diag): 28 lists in flight at death, no slow list logged before it.
  • VICTORY_D3D12_WARP=1: menus render fine (over a thousand frames), then the device goes away in the first world-entry first-bind burst (8ded0d53f8c51e1f mesh first bound in the same millisecond as the death), this time with 0x887A0005 device suspended rather than a TDR hang. So on this box the failure reproduces with no AMD driver in the loop at all.

Net: the fault is location-independent — it follows whatever work is in flight entering the world — which fits the bad-descriptor-read theory in #59 better than one bad shader. Happy to run further knob combos here.

**@⁠KingKaom** on GitHub · 2026-11-24 04:19 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7121906857) Follow-up on the same RX 9070 XT box (`main d2a4bae`): tried to localize the world-entry fault with the existing knobs. Negative results, but they narrow it: - `VICTORY_SKIP_PIPELINES` with the two suspect world meshes: crash persists, and the next death names a completely different in-flight set (`04b9be3756e8f41c`, `38d7a05a71b688dd`, `674baed2c9ef9873`, `97356b4fcf9fbb3f`, `c5ffa556ab926155`). - Skipping all nine hashes ever observed in flight: still crashes, on the first world frames (1 list in flight). - `VICTORY_SHADER_LOOP_LIMIT=256`: still crashes — not a runaway loop on this machine. - `VICTORY_GPU_TIMING=1` (diag): 28 lists in flight at death, no slow list logged before it. - `VICTORY_D3D12_WARP=1`: menus render fine (over a thousand frames), then the device goes away in the first world-entry first-bind burst (`8ded0d53f8c51e1f` mesh first bound in the same millisecond as the death), this time with `0x887A0005` device suspended rather than a TDR hang. So on this box the failure reproduces with no AMD driver in the loop at all. Net: the fault is location-independent — it follows whatever work is in flight entering the world — which fits the bad-descriptor-read theory in #59 better than one bad shader. Happy to run further knob combos here.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-24 04:26 UTC · original

@⁠KingKaom "Location-independent" matches what #336 found. On my RX 9070 XT, all three of my world-entry faults on d2a4bae (+ #175) logged no free dynamic descriptor slots: a table is not made about 1 s before the device was removed, and with #336 that warning disappears and the world lasts about 70–175 s instead of 8–38 s (details on #336). When dynamic slots run out, whatever draw comes next reads stale descriptors, so the faulting pipeline changes every time and skipping some just moves it, as you saw.

Worth checking whether that warning shows in your log before the removal (grep "no free dynamic descriptor slots"), and trying #336. With it, the later removal I get is a different one (page fault in a freed texture, ~1–3 min in).

AI-assisted (Claude Code).

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 04:26 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7122027565) @⁠KingKaom "Location-independent" matches what #336 found. On my RX 9070 XT, all three of my world-entry faults on `d2a4bae` (+ #175) logged `no free dynamic descriptor slots: a table is not made` about 1 s before the device was removed, and with #336 that warning disappears and the world lasts about 70–175 s instead of 8–38 s (details on #336). When dynamic slots run out, whatever draw comes next reads stale descriptors, so the faulting pipeline changes every time and skipping some just moves it, as you saw. Worth checking whether that warning shows in your log before the removal (`grep "no free dynamic descriptor slots"`), and trying #336. With it, the later removal I get is a different one (page fault in a freed texture, ~1–3 min in). AI-assisted (Claude Code).
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 04:32 UTC · original

@⁠GamingRipperDoc confirmed on all counts, and thanks — this closes the loop on my "location-independent" observation.

  • The signature warning no free dynamic descriptor slots: a table is not made is present exactly once in all four of my device-removal runs (main d2a4bae diag+DRED ×2, and pr458 ×2), seconds before each removal. My earlier runs predate checking for it — matching your ~1 s pattern.
  • pr336 alone on this RX 9070 XT: warning gone entirely; world now lasts ~46 s instead of ~10–15 s, then dies exactly where you said the next layer is: page fault at 0x3a5f76000; inside freed ["texture 1024x1024 f98 ..."].
  • Local merge pr458+pr336 (81eeaf3): world ~33 s, page fault ... inside freed ["title memory 0xb58000000+0x400000", ...] — reads of unmapped title-memory copies this time, single-digit survival difference within run noise, same freed-memory family. So #336's fix holds and freed-resource lifetime is the remaining blocker on this box too.

One knob pitfall to save someone an hour: VICTORY_SKIP_PIPELINES cannot suppress the faulting work in this class — the kills ride inside ExecuteIndirect, and skipped pipelines only drop direct draws/dispatches (my skip run showed dropped 0 all the way to the fault).

My near-constant fault VA on main (0x8000037c3000/0x8000037d1000 across runs) fits your mechanism too: with pool exhaustion, the same table slot reads the same stale slot range every run.

**@⁠KingKaom** on GitHub · 2026-11-24 04:32 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7122110810) @⁠GamingRipperDoc confirmed on all counts, and thanks — this closes the loop on my "location-independent" observation. - The signature warning `no free dynamic descriptor slots: a table is not made` is present exactly once in **all four** of my device-removal runs (`main d2a4bae` diag+DRED ×2, and `pr458` ×2), seconds before each removal. My earlier runs predate checking for it — matching your ~1 s pattern. - `pr336` alone on this RX 9070 XT: warning gone entirely; world now lasts ~46 s instead of ~10–15 s, then dies exactly where you said the next layer is: `page fault at 0x3a5f76000; inside freed ["texture 1024x1024 f98 ..."]`. - Local merge `pr458`+`pr336` (81eeaf3): world ~33 s, `page fault ... inside freed ["title memory 0xb58000000+0x400000", ...]` — reads of unmapped title-memory copies this time, single-digit survival difference within run noise, same freed-memory family. So #336's fix holds and freed-resource lifetime is the remaining blocker on this box too. One knob pitfall to save someone an hour: `VICTORY_SKIP_PIPELINES` cannot suppress the faulting work in this class — the kills ride inside `ExecuteIndirect`, and skipped pipelines only drop *direct* draws/dispatches (my skip run showed `dropped 0` all the way to the fault). My near-constant fault VA on `main` (`0x8000037c3000`/`0x8000037d1000` across runs) fits your mechanism too: with pool exhaustion, the same table slot reads the same stale slot range every run.
Author
Owner

@⁠colehammond65 on GitHub · 2026-11-24 06:58 UTC · original

Cross-vendor RTX 4080 data point. Four runs on Windows 10 build 26300 survived 132.7–194.1 s in total, then exited with 0x887A0005 and reported 0x887A0006. None had a page fault or freed allocation; DRED stopped in indirect execution or mesh dispatch. PR #334 did not prevent the removal. Full report: #334

AI-assisted test report.

**@⁠colehammond65** on GitHub · 2026-11-24 06:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7124483308) **Cross-vendor RTX 4080 data point.** Four runs on Windows 10 build 26300 survived 132.7–194.1 s in total, then exited with `0x887A0005` and reported `0x887A0006`. None had a page fault or freed allocation; DRED stopped in indirect execution or mesh dispatch. PR #334 did not prevent the removal. Full report: https://git.gtahub.st/github/Marvisak--VIctory/pulls/334 AI-assisted test report.
Author
Owner

@⁠whilowcx on GitHub · 2026-11-24 06:54 UTC · original · edited 2026-11-24 07:36 UTC

Rewritten. The first version of this comment was written before I had read
the whole thread, and most of it duplicated work already here. What it actually
is: a third machine corroborating @⁠GamingRipperDoc's and @⁠KingKaom's
dynamic-descriptor-slot finding.

Setup: Windows 11 Pro 26200, Ryzen 7 3700X, 32 GB, RX 9070 XT 16 GB, driver
32.0.32029.2010 (Adrenalin 26.11.2) — the same driver as #29 and @⁠KingKaom's
box. main at d2a4bae, no PRs applied, diag build, Rust 1.98.1, Series X
mode, v1.0.2.1, VICTORY_D3D12_DRED=1. Two world runs, both
DXGI_ERROR_DEVICE_HUNG (0x887A0006), display driver reset, no reboot.

The descriptor-slot warning, on a third machine. no free dynamic descriptor slots: a table is not made appears exactly once per run, shortly before the
removal:

warning device removed gap
run 1 06:31:39.758 06:31:41.315 1.56 s
run 2 06:40:32.363 06:40:34.432 2.07 s

That matches @⁠GamingRipperDoc's "about 1 s before" across three faults and
@⁠KingKaom's "exactly once in all four" runs. A WARP run of the same build has the
warning absent and dies differently — DXGI_ERROR_UNSUPPORTED with the whole
stack inside d3d10warp.dll, 18 s into the world — which fits the warning being
tied to this path rather than to world entry as such.

On the rest, this is corroboration, not a new finding. @⁠KingKaom posted
0x8000037d1000 three hours before my original comment: same 0x8000 high half
and same low cluster as my run 2's 0x8000037ba000. The "different high half"
point was already made, and it is theirs.

DRED, for the record:

in world page fault DRED stopped at program
run 1 42 s 0x2d7f000 command 1026 of 1214, op 5, indirect kind 2 compute c9da71da40af2e28
run 2 26 s 0x8000037ba000 command 951 of 967, op 6, dispatch 1x1x1 compute 186de5778eb555c8

One detail that may differ from the reports above: both faults here are on a
compute program — an indirect dispatch and a direct dispatch 1x1x1 — where
the lists named in this issue, #59 and @⁠KingKaom's runs are mesh draws (kind 10, op 42). 186de5778eb555c8 translates and has a host pipeline. Either way
it is consistent with "a computed address rather than one fixed resource".

Not a timeout here either, corroborating @⁠KingKaom's VICTORY_GPU_TIMING
result: slow host submission fires above 250 ms, and run 1 never logged it at
all while run 2's worst was 544 ms — against the roughly 2 s the host allows.

Next from here: #336, to see whether the warning disappears and the world lasts
longer on this box too.

Counts, addresses and shader hashes only; VIctory's own output, no game data.

AI-assisted (Claude Code).

**@⁠whilowcx** on GitHub · 2026-11-24 06:54 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7124416329) · edited 2026-11-24 07:36 UTC **Rewritten.** The first version of this comment was written before I had read the whole thread, and most of it duplicated work already here. What it actually is: a third machine corroborating @⁠GamingRipperDoc's and @⁠KingKaom's dynamic-descriptor-slot finding. **Setup:** Windows 11 Pro 26200, Ryzen 7 3700X, 32 GB, RX 9070 XT 16 GB, driver 32.0.32029.2010 (Adrenalin 26.11.2) — the same driver as #29 and @⁠KingKaom's box. `main` at `d2a4bae`, **no PRs applied**, diag build, Rust 1.98.1, Series X mode, v1.0.2.1, `VICTORY_D3D12_DRED=1`. Two world runs, both `DXGI_ERROR_DEVICE_HUNG` (0x887A0006), display driver reset, no reboot. **The descriptor-slot warning, on a third machine.** `no free dynamic descriptor slots: a table is not made` appears **exactly once per run**, shortly before the removal: | | warning | device removed | gap | |---|---|---|---| | run 1 | 06:31:39.758 | 06:31:41.315 | **1.56 s** | | run 2 | 06:40:32.363 | 06:40:34.432 | **2.07 s** | That matches @⁠GamingRipperDoc's "about 1 s before" across three faults and @⁠KingKaom's "exactly once in all four" runs. A WARP run of the same build has the warning **absent** and dies differently — `DXGI_ERROR_UNSUPPORTED` with the whole stack inside `d3d10warp.dll`, 18 s into the world — which fits the warning being tied to this path rather than to world entry as such. **On the rest, this is corroboration, not a new finding.** @⁠KingKaom posted `0x8000037d1000` three hours before my original comment: same `0x8000` high half and same low cluster as my run 2's `0x8000037ba000`. The "different high half" point was already made, and it is theirs. DRED, for the record: | | in world | page fault | DRED stopped at | program | |---|---|---|---|---| | run 1 | 42 s | `0x2d7f000` | command 1026 of 1214, op 5, `indirect kind 2` | compute `c9da71da40af2e28` | | run 2 | 26 s | `0x8000037ba000` | command 951 of 967, op 6, `dispatch 1x1x1` | compute `186de5778eb555c8` | One detail that may differ from the reports above: both faults here are on a **compute** program — an indirect dispatch and a direct `dispatch 1x1x1` — where the lists named in this issue, #59 and @⁠KingKaom's runs are mesh draws (`kind 10`, `op 42`). `186de5778eb555c8` translates and has a host pipeline. Either way it is consistent with "a computed address rather than one fixed resource". Not a timeout here either, corroborating @⁠KingKaom's `VICTORY_GPU_TIMING` result: `slow host submission` fires above 250 ms, and run 1 never logged it at all while run 2's worst was 544 ms — against the roughly 2 s the host allows. Next from here: #336, to see whether the warning disappears and the world lasts longer on this box too. Counts, addresses and shader hashes only; VIctory's own output, no game data. AI-assisted (Claude Code).
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-24 08:32 UTC · original · edited 2026-11-24 12:31 UTC

Same host and symptom here: RX 9070 XT 16 GB (RDNA4), Adrenalin 26.11.2 (32.0.32029.2010), Windows 11 26300.

Menus render at 30 fps, world entry reaches ~1000-2400 draws/frame at 0.3-2.9 fps, then no free dynamic descriptor slots: a table is not made n=133/135/178 and the host device is removed (0x887A0004 / 0x887A0006) before the first cutscene. DRED points at the view/sampler heaps and a stopped command list.

#550, #562 and the descriptor-demand diagnostics on aycow:gpu/descriptor-allocation-demand @⁠82e4aa6 were all tested on this card; counters and the full write-up are in #597

No game data, paths or hashes of game content: driver version, counters and error strings only.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and observations; the hardware, the dump and the runs are mine.

**@⁠rpmaster2** on GitHub · 2026-11-24 08:32 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7126256553) · edited 2026-11-24 12:31 UTC Same host and symptom here: RX 9070 XT 16 GB (RDNA4), Adrenalin 26.11.2 (32.0.32029.2010), Windows 11 26300. Menus render at 30 fps, world entry reaches ~1000-2400 draws/frame at 0.3-2.9 fps, then `no free dynamic descriptor slots: a table is not made n=133/135/178` and the host device is removed (0x887A0004 / 0x887A0006) before the first cutscene. DRED points at the view/sampler heaps and a stopped command list. `#550`, `#562` and the descriptor-demand diagnostics on `aycow:gpu/descriptor-allocation-demand` @⁠82e4aa6 were all tested on this card; counters and the full write-up are in https://git.gtahub.st/github/Marvisak--VIctory/issues/597 No game data, paths or hashes of game content: driver version, counters and error strings only. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and observations; the hardware, the dump and the runs are mine.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:48 UTC · original

Automated triage for the maintainers.

  • The same world-entry device removal (0x887A0006 after a GPU page fault) on RDNA4 is discussed in #59. Several runs in this thread show the warning no free dynamic descriptor slots: a table is not made (crates/victory-gpu/src/descriptor/host.rs) about 1-2 s before the removal.
  • #336, which addresses that exhaustion, was merged after this report (edf64e2). It was followed by c1c3281 (wraparound scan) and 683ad7a (table constants read in place, so tables need no dynamic slots). Testers here saw the world last much longer with #336, until a later removal in freed memory.
  • @⁠belttroll-lab: please retry on current main and post the VIctory commit (git rev-parse HEAD), the AMD driver version, the Windows build number, and the crashes.log lines of the device removal. The attachment named in the body did not come through as crashes.log text in the issue, so the lines themselves would help.

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/304#issuecomment-7149975495) <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-24T08:32:19Z at=2026-11-25T01:48:05Z --> Automated triage for the maintainers. - The same world-entry device removal (`0x887A0006` after a GPU page fault) on RDNA4 is discussed in #59. Several runs in this thread show the warning `no free dynamic descriptor slots: a table is not made` (`crates/victory-gpu/src/descriptor/host.rs`) about 1-2 s before the removal. - #336, which addresses that exhaustion, was merged after this report (`edf64e2`). It was followed by `c1c3281` (wraparound scan) and `683ad7a` (table constants read in place, so tables need no dynamic slots). Testers here saw the world last much longer with #336, until a later removal in freed memory. - @⁠belttroll-lab: please retry on current `main` and post the VIctory commit (`git rev-parse HEAD`), the AMD driver version, the Windows build number, and the `crashes.log` lines of the device removal. The attachment named in the body did not come through as `crashes.log` text in the issue, so the lines themselves would help. --- _Generated by [Claude Code](https://claude.ai/code)_
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#304
No description provided.