TDR on DGXI_ERROR_DEVICE_HUNG in loading cinematic (iGPU AMD, FL 12_2); present in both ffe310e and 67e8ae1; not fixed by SKIP_PIPELINES or SHADER_LOOP_LIMIT #2661

Open
opened 2026-11-26 05:11:27 +00:00 by github-bot · 4 comments
Owner

@⁠cblfkrckst on GitHub · 2026-11-25 17:43 UTC · original

Summary

Running a D3D12 game (translated from Xbox) under VIctory with VICTORY_D3D12_DEBUG=1 and VICTORY_D3D12_DRED=1 on an AMD Ryzen 5 5500X3D (iGPU, FL 12_2), Windows 10.0.26300, the game consistently hits DXGI_ERROR_DEVICE_HUNG (TDR) during the loading cinematic and never reaches the actual world render.

This is present in both 67e8ae1 (current) and ffe310e (previous). It is therefore not the same regression as #2653. #2653 reports an immediate crash (0x887A0004 / 0x887A0001) on an RTX 4060 that does not occur on ffe310e; on my setup, ffe310e and 67e8ae1 both reach the cinematic and both hang on DXGI_ERROR_DEVICE_HUNG.

I also applied local patches for the B4G4R4A4 render-target and B5G5R5A1 typed-UAV validation failures. After that, no more format validation errors appear, but the TDRs continue. The format issue is resolved; the remaining hangs are the subject of this report.

Behavior

In both commits (ffe310e and 67e8ae1), with VICTORY_D3D12_DEBUG=1 and VICTORY_D3D12_DRED=1:

  1. Profile selector: OK.
  2. Intro: 30 FPS stable, ~33.3 ms per frame.
  3. Loading screen: 30 FPS stable, with a single 1-second dip to ~6 FPS.
  4. Cinematic audio plays for ~5 seconds.
  5. Screen goes gray.
  6. Game crashes with DXGI_ERROR_DEVICE_HUNG (TDR, 0x887A0006).

The behavior is identical in both commits. There is no regression between ffe310e and 67e8ae1 on this setup.

Primary finding: TDR in compute ExecuteIndirect, independent of 00167d58cc5a78d7

Two runs with the README workarounds, each in a separate configuration:

Run Commit Config List / cmd Command device removed
unix 1795627685, process 7080 67e8ae1 VICTORY_SHADER_LOOP_LIMIT=1000 list 21/26, cmd 92/122 indirect kind 2 max 1 [compute f607780aa8e502d0] 0x887A0006 (HUNG)
unix 1795627360, process 10736 67e8ae1 VICTORY_SKIP_PIPELINES=00167d58cc5a78d7 list 21/26, cmd 97/127 indirect kind 2 max 1 [compute f607780aa8e502d0] 0x887A0006 (HUNG)
unix 1795628336, process 12084 ffe310e (no workarounds) list 17/32, cmd 127/130 dispatch 16x16x16 [compute 00167d58cc5a78d7] 0x887A0006 (HUNG)

Both workarounds end in DXGI_ERROR_DEVICE_HUNG. Neither workaround changes the hang point on 67e8ae1: the same shader (f607780aa8e502d0) is dispatched through the same command type (indirect kind 2), and the device is removed at the same logical location. The only difference is the exact command index (92 vs 97), which is expected because the loop-limit changes shader cache/compilation and slightly reorders emission.

On ffe310e, the hang is at dispatch 16x16x16 [compute 00167d58cc5a78d7], which is the original hang, not a regression.

This rules out two hypotheses:

  • It is not a regression introduced by 67e8ae1 on this setup.
  • It is not a shader loop: capping loops at 1000 iterations does not change the hang point on 67e8ae1, and the hang exists on ffe310e as well.

Other hangs observed in the same session (possibly the same underlying bug)

Three additional TDRs occurred in earlier runs on 67e8ae1. They may share a root cause with the primary hang.

Hang A — unix 1795612305, process 7736 (commit 67e8ae1)

  • List 17/32, command 162/164.
  • dispatch 16x16x16 [compute 00167d58cc5a78d7].
  • The shader writes two 64x64 UAVs (f10, f61) that are recycled between lists with stale initial content (words [...] is garbage).
  • DXGI_ERROR_DEVICE_HUNG.

Hang B — unix 1795626521, process 7536 (commit 67e8ae1)

  • List 25/26, after barrier groups [(2, 12)].
  • In list 21 there are indirect kind 0 max 1 draws consuming Srv s0+584: buffer None (a null descriptor slot) from the pixel shader.
  • In list 23 there is Srv s0+168: buffer Some((57477562192, 16)) = [1.0, 1.0, 8.0, 0.125], a 16-byte buffer read as float4.
  • DXGI_ERROR_DEVICE_HUNG.

Hang C — unix 1795627360, process 10736 (commit 67e8ae1, skip run)

  • List 23/26, many consecutive indexed 36x1 [vertex 861bd1a467a31f9b, pixel e63bdd53a9b47da8] draws.
  • targets ["0x1544334ffa0 mem 0xd5a3d0000"], depth 0x15443350bd0 mem 0xfa2400000.
  • The same resource 0xfa2400000 is used as depth in list 23 and as an SRV (Srv s0+432: 2560x1440 f19 ... mem 0xfa2400000) in list 21. This looks like a missing state-transition barrier between incompatible uses of the same resource.

Hypotheses

  1. ExecuteIndirect is mistranslated, or the argument buffer is read before the compute that fills it has completed. The hang in indirect kind 2 [compute f607780aa8e502d0] happens regardless of whether the individual shader is skipped, which points at the indirect path rather than at the shader itself.
  2. Missing state-transition barriers between incompatible uses of the same resource (SRV → depth, UAV → SRV). Hang C is the clearest evidence for this: 0xfa2400000 is a depth target in one list and an SRV in another, with no visible barrier between the two.
  3. Null descriptors consumed by shaders without a null check. Hang B shows Srv s0+584: buffer None being used by a pixel shader. If the translated shader dereferences it unconditionally, that alone can cause a hang or a GPU fault.

Environment

  • GPU: AMD Ryzen 5 5500X3D (integrated GPU), Feature Level 12_2
  • OS: Windows 10.0.26300
  • VIctory build: cargo build --profile diag -p victory --features diagnostics --locked
  • Env: VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1

Attached logs

Four crashes.log files, each containing the full DRED breadcrumbs for the corresponding run:

  • hang1-compute-00167d.log — unix 1795612305, process 7736 (list 17, dispatch 00167d58cc5a78d7)
  • hang-lista25.log — unix 1795626521, process 7536 (list 25, barrier (2,12), null s0+584)
  • hang3-skip-00167d.log — unix 1795627360, process 10736 (list 21, indirect kind 2, f607780aa8e502d0)
  • hang4-looplimit.log — unix 1795627685, process 7080 (list 21, indirect kind 2, f607780aa8e502d0)
  • hang5-ffe310e.log — unix 1795628336, process 12084 (commit ffe310e, list 17, dispatch 00167d58cc5a78d7)

What I have already ruled out

  • Format validation: patched locally (B4G4R4A4 as render target, B5G5R5A1 as typed UAV); no longer appears in logs.
  • VICTORY_SKIP_PIPELINES=00167d58cc5a78d7: moves the hang from dispatch to indirect kind 2, but does not remove it.
  • VICTORY_SHADER_LOOP_LIMIT=1000: no effect on the hang point.
  • A single faulty shader: the hang moves to a different shader when the first one is skipped, which points at a systemic issue in the indirect/barrier path rather than at one shader.
  • Regression from 67e8ae1: the hang exists in ffe310e as well.

Cross-reference

  • See #2653 for an immediate crash (0x887A0004 / 0x887A0001) on an RTX 4060 that does not occur on ffe310e. The issues may share a root cause in ExecuteIndirect translation or barrier insertion, but the symptoms and the commits are different.

Request

Given the evidence above, the most useful next step would be a fix (or a debug knob) for the ExecuteIndirect translation and/or for state-transition barriers between incompatible resource uses. If there's an existing flag to force serialization of indirect dispatches, or to insert conservative barriers between lists, I'd be happy to test it and report back.

**@⁠cblfkrckst** on GitHub · 2026-11-25 17:43 UTC · [original](https://github.com/Marvisak/VIctory/issues/2661) ## Summary Running a D3D12 game (translated from Xbox) under VIctory with `VICTORY_D3D12_DEBUG=1` and `VICTORY_D3D12_DRED=1` on an **AMD Ryzen 5 5500X3D (iGPU, FL 12_2)**, Windows 10.0.26300, the game consistently hits `DXGI_ERROR_DEVICE_HUNG` (TDR) during the loading cinematic and never reaches the actual world render. **This is present in both `67e8ae1` (current) and `ffe310e` (previous).** It is therefore **not** the same regression as #2653. #2653 reports an immediate crash (`0x887A0004` / `0x887A0001`) on an RTX 4060 that does not occur on `ffe310e`; on my setup, `ffe310e` and `67e8ae1` both reach the cinematic and both hang on `DXGI_ERROR_DEVICE_HUNG`. I also applied local patches for the `B4G4R4A4` render-target and `B5G5R5A1` typed-UAV validation failures. After that, **no more format validation errors appear**, but the TDRs continue. The format issue is resolved; the remaining hangs are the subject of this report. ## Behavior In both commits (`ffe310e` and `67e8ae1`), with `VICTORY_D3D12_DEBUG=1` and `VICTORY_D3D12_DRED=1`: 1. Profile selector: OK. 2. Intro: 30 FPS stable, ~33.3 ms per frame. 3. Loading screen: 30 FPS stable, with a single 1-second dip to ~6 FPS. 4. Cinematic audio plays for ~5 seconds. 5. Screen goes gray. 6. Game crashes with `DXGI_ERROR_DEVICE_HUNG` (TDR, `0x887A0006`). The behavior is identical in both commits. There is no regression between `ffe310e` and `67e8ae1` on this setup. ## Primary finding: TDR in compute ExecuteIndirect, independent of `00167d58cc5a78d7` Two runs with the README workarounds, each in a separate configuration: | Run | Commit | Config | List / cmd | Command | device removed | |---|---|---|---|---|---| | `unix 1795627685`, process 7080 | `67e8ae1` | `VICTORY_SHADER_LOOP_LIMIT=1000` | list 21/26, cmd 92/122 | `indirect kind 2 max 1 [compute f607780aa8e502d0]` | `0x887A0006` (HUNG) | | `unix 1795627360`, process 10736 | `67e8ae1` | `VICTORY_SKIP_PIPELINES=00167d58cc5a78d7` | list 21/26, cmd 97/127 | `indirect kind 2 max 1 [compute f607780aa8e502d0]` | `0x887A0006` (HUNG) | | `unix 1795628336`, process 12084 | `ffe310e` | (no workarounds) | list 17/32, cmd 127/130 | `dispatch 16x16x16 [compute 00167d58cc5a78d7]` | `0x887A0006` (HUNG) | Both workarounds end in `DXGI_ERROR_DEVICE_HUNG`. **Neither workaround changes the hang point on `67e8ae1`**: the same shader (`f607780aa8e502d0`) is dispatched through the same command type (`indirect kind 2`), and the device is removed at the same logical location. The only difference is the exact command index (92 vs 97), which is expected because the loop-limit changes shader cache/compilation and slightly reorders emission. On `ffe310e`, the hang is at `dispatch 16x16x16 [compute 00167d58cc5a78d7]`, which is the original hang, not a regression. This rules out two hypotheses: - **It is not a regression introduced by `67e8ae1`** on this setup. - **It is not a shader loop**: capping loops at 1000 iterations does not change the hang point on `67e8ae1`, and the hang exists on `ffe310e` as well. ## Other hangs observed in the same session (possibly the same underlying bug) Three additional TDRs occurred in earlier runs on `67e8ae1`. They may share a root cause with the primary hang. ### Hang A — `unix 1795612305`, process 7736 (commit `67e8ae1`) - List 17/32, command 162/164. - `dispatch 16x16x16 [compute 00167d58cc5a78d7]`. - The shader writes two 64x64 UAVs (`f10`, `f61`) that are recycled between lists with stale initial content (`words [...]` is garbage). - `DXGI_ERROR_DEVICE_HUNG`. ### Hang B — `unix 1795626521`, process 7536 (commit `67e8ae1`) - List 25/26, after `barrier groups [(2, 12)]`. - In list 21 there are `indirect kind 0 max 1` draws consuming `Srv s0+584: buffer None` (a null descriptor slot) from the pixel shader. - In list 23 there is `Srv s0+168: buffer Some((57477562192, 16)) = [1.0, 1.0, 8.0, 0.125]`, a 16-byte buffer read as `float4`. - `DXGI_ERROR_DEVICE_HUNG`. ### Hang C — `unix 1795627360`, process 10736 (commit `67e8ae1`, skip run) - List 23/26, many consecutive `indexed 36x1 [vertex 861bd1a467a31f9b, pixel e63bdd53a9b47da8]` draws. - `targets ["0x1544334ffa0 mem 0xd5a3d0000"]`, `depth 0x15443350bd0 mem 0xfa2400000`. - **The same resource `0xfa2400000` is used as depth in list 23 and as an SRV (`Srv s0+432: 2560x1440 f19 ... mem 0xfa2400000`) in list 21.** This looks like a missing state-transition barrier between incompatible uses of the same resource. ## Hypotheses 1. **`ExecuteIndirect` is mistranslated, or the argument buffer is read before the compute that fills it has completed.** The hang in `indirect kind 2 [compute f607780aa8e502d0]` happens regardless of whether the individual shader is skipped, which points at the indirect path rather than at the shader itself. 2. **Missing state-transition barriers between incompatible uses of the same resource** (SRV → depth, UAV → SRV). Hang C is the clearest evidence for this: `0xfa2400000` is a depth target in one list and an SRV in another, with no visible barrier between the two. 3. **Null descriptors consumed by shaders without a null check.** Hang B shows `Srv s0+584: buffer None` being used by a pixel shader. If the translated shader dereferences it unconditionally, that alone can cause a hang or a GPU fault. ## Environment - GPU: AMD Ryzen 5 5500X3D (integrated GPU), Feature Level 12_2 - OS: Windows 10.0.26300 - VIctory build: `cargo build --profile diag -p victory --features diagnostics --locked` - Env: `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1` ## Attached logs Four `crashes.log` files, each containing the full DRED breadcrumbs for the corresponding run: - `hang1-compute-00167d.log` — `unix 1795612305`, process 7736 (list 17, `dispatch 00167d58cc5a78d7`) - `hang-lista25.log` — `unix 1795626521`, process 7536 (list 25, barrier `(2,12)`, null `s0+584`) - `hang3-skip-00167d.log` — `unix 1795627360`, process 10736 (list 21, `indirect kind 2`, `f607780aa8e502d0`) - `hang4-looplimit.log` — `unix 1795627685`, process 7080 (list 21, `indirect kind 2`, `f607780aa8e502d0`) - `hang5-ffe310e.log` — `unix 1795628336`, process 12084 (commit `ffe310e`, list 17, `dispatch 00167d58cc5a78d7`) ## What I have already ruled out - Format validation: patched locally (`B4G4R4A4` as render target, `B5G5R5A1` as typed UAV); no longer appears in logs. - `VICTORY_SKIP_PIPELINES=00167d58cc5a78d7`: moves the hang from `dispatch` to `indirect kind 2`, but does not remove it. - `VICTORY_SHADER_LOOP_LIMIT=1000`: no effect on the hang point. - A single faulty shader: the hang moves to a different shader when the first one is skipped, which points at a systemic issue in the indirect/barrier path rather than at one shader. - Regression from `67e8ae1`: the hang exists in `ffe310e` as well. ## Cross-reference - See #2653 for an immediate crash (`0x887A0004` / `0x887A0001`) on an RTX 4060 that does not occur on `ffe310e`. The issues may share a root cause in `ExecuteIndirect` translation or barrier insertion, but the symptoms and the commits are different. ## Request Given the evidence above, the most useful next step would be a fix (or a debug knob) for the `ExecuteIndirect` translation and/or for state-transition barriers between incompatible resource uses. If there's an existing flag to force serialization of indirect dispatches, or to insert conservative barriers between lists, I'd be happy to test it and report back.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:11:27 +00:00
Author
Owner

@⁠pes7 on GitHub · 2026-11-25 18:08 UTC · original

Same removal on an NVIDIA machine, and the debug layer names the reason: DXGI_ERROR_DEVICE_HUNG (TDR), 0x887A0006 - exactly what you see, and not the 0x887A0004 the queue reports afterwards. So your report and mine are the same failure.

Two measurements from this side that narrow it, in case they help you:

It is one command, not a long submission. On this machine it happens in the menu, at 30 fps, three frames of 33 ms (2.8 ms on the GPU) in a row, and then the device goes. So the frames around the hang are cheap and the submission that dies contains a single command that never finishes. That also explains why TdrDelay=60 changed nothing for you: the removal is not the frame being long, it is one dispatch.

The last two lines before it are two compute pipelines first bound in the same frame, and it is the same frame and the same pipeline hash every run:

first bind pipeline=... frame=286 stage="compute" size=2012 hash=...
ERROR host GPU device removed after a submission of 1 lists
first bind pipeline=... frame=286 stage="compute" size=2168 hash=...

Neither of your workarounds can fix it, and one of the reasons is a real bug: translated shaders clamped heap indices below HEAP_VIEWS = 1 << 21, but no D3D12 host can make a heap larger than 1 000 000 descriptors, so an index at a computed heap slot could land past the heap - and a descriptor read 32 MB out of bounds is a plausible "the GPU hung" on both vendors. #2683 makes the clamp the largest heap a host may make, and makes the two null buffer views fit inside the capped heap (before, no room for the null buffer views meant they were never made). Worth a try before bisecting shaders: it removes one candidate rather than working around it.

For the other candidate - one heavy compute launch - VICTORY_SHADER_LOOP_LIMIT should have caught a runaway loop, and it did not, which points at a shader that loops a bounded number of times per thread but over a huge count read from memory (your dispatch 16x16x16 with 4 096 groups is not that by itself). Victory has no per-dispatch GPU timing, so that guess cannot be confirmed from the log yet; if a diagnostics-build timer around compute dispatches is acceptable, it would name the launch in one run.

Also worth having in your report: the depth twins in crate::twin are not the cause - an A/B with them switched off removed the three unordered view of a depth texture ... twin lines and the removal was identical.

**@⁠pes7** on GitHub · 2026-11-25 18:08 UTC · [original](https://github.com/Marvisak/VIctory/issues/2661#issuecomment-7170499961) Same removal on an NVIDIA machine, and the debug layer names the reason: `DXGI_ERROR_DEVICE_HUNG` (TDR), `0x887A0006` - exactly what you see, and not the `0x887A0004` the queue reports afterwards. So your report and mine are the same failure. Two measurements from this side that narrow it, in case they help you: **It is one command, not a long submission.** On this machine it happens in the menu, at 30 fps, three frames of 33 ms (2.8 ms on the GPU) in a row, and then the device goes. So the frames around the hang are cheap and the submission that dies contains a single command that never finishes. That also explains why `TdrDelay=60` changed nothing for you: the removal is not the frame being long, it is one dispatch. **The last two lines before it are two compute pipelines first bound in the same frame**, and it is the same frame and the same pipeline hash every run: ``` first bind pipeline=... frame=286 stage="compute" size=2012 hash=... ERROR host GPU device removed after a submission of 1 lists first bind pipeline=... frame=286 stage="compute" size=2168 hash=... ``` **Neither of your workarounds can fix it, and one of the reasons is a real bug**: translated shaders clamped heap indices below `HEAP_VIEWS = 1 << 21`, but no D3D12 host can make a heap larger than 1 000 000 descriptors, so an index at a computed heap slot could land *past the heap* - and a descriptor read 32 MB out of bounds is a plausible "the GPU hung" on both vendors. #2683 makes the clamp the largest heap a host may make, and makes the two null buffer views fit inside the capped heap (before, `no room for the null buffer views` meant they were never made). Worth a try before bisecting shaders: it removes one candidate rather than working around it. For the other candidate - one heavy compute launch - `VICTORY_SHADER_LOOP_LIMIT` should have caught a runaway loop, and it did not, which points at a shader that loops a bounded number of times per thread but over a *huge* count read from memory (your `dispatch 16x16x16` with 4 096 groups is not that by itself). Victory has no per-dispatch GPU timing, so that guess cannot be confirmed from the log yet; if a diagnostics-build timer around compute dispatches is acceptable, it would name the launch in one run. Also worth having in your report: the depth twins in `crate::twin` are **not** the cause - an A/B with them switched off removed the three `unordered view of a depth texture ... twin` lines and the removal was identical.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 18:47 UTC · original · edited 2026-11-26 00:51 UTC

Automated triage for the maintainers.

Run report: NVIDIA GeForce RTX 4060 8 GB, driver 32.0.16.2124, Windows 11 build 26300, 16 GB RAM plus a 32 GB paging file.

The hang. Earlier runs ended in DXGI_ERROR_DEVICE_HUNG (0x887A0006) at one of two places:

  • dispatch 16x16x16 [compute 00167d58cc5a78d7] ("W"), on plain ffe310e;
  • indirect kind 2 max 1 [compute f607780aa8e502d0] ("A"), on 67e8ae1.

These are the two programs narrowed down in #1968, the oldest complete report of this hang, and the hang as a whole is tracked in #71. The fix for A, #1906, has since landed on main as 2bba792: HostHeap::view_addresses in crates/victory-gpu/src/descriptor/host.rs now has an entry for every dynamic slot too. Your latest run on main (22:43 UTC) with nothing skipped had no hang, which fits that fix. W's slowness on NVIDIA (structured views read raw) is still open in #2178 / #2885.

The new failure. The title now stops on its own before the cinematic, while Windows reports 95 % memory in use. The log doesn't show the cause, so the claim that the console memory pool is mapped wrongly isn't established yet. The README says a run in the world takes about 33 GB of Windows commit and about 10 GB of video memory, so a 16 GB machine with an 8 GB card is below what was tested. To place it, please add:

  • the exact VIctory commit of that run, and whether any local patches were still applied;
  • Committed (Task Manager → Performance → Memory) just before the stop, and whether crashes.log or the log mentions Windows error 1455 or E_OUTOFMEMORY;
  • the last lines of the VIctory log before the stop (the exception code and offset if one is logged).

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 18:47 UTC · [original](https://github.com/Marvisak/VIctory/issues/2661#issuecomment-7171409200) · edited 2026-11-26 00:51 UTC <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-25T22:50:55Z at=2026-11-26T00:56:00Z --> Automated triage for the maintainers. Run report: NVIDIA GeForce RTX 4060 8 GB, driver 32.0.16.2124, Windows 11 build 26300, 16 GB RAM plus a 32 GB paging file. **The hang.** Earlier runs ended in `DXGI_ERROR_DEVICE_HUNG` (`0x887A0006`) at one of two places: - `dispatch 16x16x16 [compute 00167d58cc5a78d7]` ("W"), on plain `ffe310e`; - `indirect kind 2 max 1 [compute f607780aa8e502d0]` ("A"), on `67e8ae1`. These are the two programs narrowed down in #1968, the oldest complete report of this hang, and the hang as a whole is tracked in #71. The fix for A, #1906, has since landed on main as `2bba792`: `HostHeap::view_addresses` in `crates/victory-gpu/src/descriptor/host.rs` now has an entry for every dynamic slot too. Your latest run on main (22:43 UTC) with nothing skipped had no hang, which fits that fix. W's slowness on NVIDIA (structured views read raw) is still open in #2178 / #2885. **The new failure.** The title now stops on its own before the cinematic, while Windows reports 95 % memory in use. The log doesn't show the cause, so the claim that the console memory pool is mapped wrongly isn't established yet. The README says a run in the world takes about 33 GB of Windows commit and about 10 GB of video memory, so a 16 GB machine with an 8 GB card is below what was tested. To place it, please add: - the exact VIctory commit of that run, and whether any local patches were still applied; - **Committed** (Task Manager → Performance → Memory) just before the stop, and whether `crashes.log` or the log mentions Windows error 1455 or `E_OUTOFMEMORY`; - the last lines of the VIctory log before the stop (the exception code and offset if one is logged). --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠cblfkrckst on GitHub · 2026-11-25 19:10 UTC · original

Hi Marvisak, thanks for the triage. Here is the missing information:

1. GPU and driver version:

  • Adapter name: NVIDIA GeForce RTX 4060 (8GB)
  • Driver version: 32.0.16.2124
  • CPU: AMD Ryzen 5 5500X3D 6-Core Processor
  • OS: Windows 11 (build 26300)
  • RAM: 16 GB

2. Inline breadcrumbs from the crashes.log:

Hang 1 (ffe310e, vanilla, no local patches, dispatch):
unix time 1795628336, process 12084
a list stopped at command 127 of 130 (op 6)
command 127 (op 6): dispatch 16x16x16 [compute 00167d58cc5a78d7]
device removed: 0x887A0006

Hang 2 (67e8ae1 + format patches, indirect kind 2):
unix time 1795627360, process 10736
a list stopped at command 97 of 127 (op 5)
command 97 (op 5): indirect kind 2 max 1 [compute f607780aa8e502d0]
device removed: 0x887A0006

Hang 3 (main + format patches, list 17):
unix time 1795629112, process 5148
a list stopped at command 127 of 130 (op 6)
command 127 (op 6): dispatch 16x16x16 [compute 00167d58cc5a78d7]
device removed: 0x887A0006

3. Regarding the local patches:
Yes, the runs on 67e8ae1 and main had local patches applied for B4G4R4A4 and B5G5R5A1 to bypass the format validation errors. However, the run on ffe310e (Hang 1) was vanilla, without those patches.

4. Regarding PR #2683:
I have not tested #2683 yet.

**@⁠cblfkrckst** on GitHub · 2026-11-25 19:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/2661#issuecomment-7171923660) Hi Marvisak, thanks for the triage. Here is the missing information: **1. GPU and driver version:** - Adapter name: NVIDIA GeForce RTX 4060 (8GB) - Driver version: 32.0.16.2124 - CPU: AMD Ryzen 5 5500X3D 6-Core Processor - OS: Windows 11 (build 26300) - RAM: 16 GB **2. Inline breadcrumbs from the crashes.log:** *Hang 1 (ffe310e, vanilla, no local patches, dispatch):* `unix time 1795628336, process 12084` `a list stopped at command 127 of 130 (op 6)` `command 127 (op 6): dispatch 16x16x16 [compute 00167d58cc5a78d7]` `device removed: 0x887A0006` *Hang 2 (67e8ae1 + format patches, indirect kind 2):* `unix time 1795627360, process 10736` `a list stopped at command 97 of 127 (op 5)` `command 97 (op 5): indirect kind 2 max 1 [compute f607780aa8e502d0]` `device removed: 0x887A0006` *Hang 3 (main + format patches, list 17):* `unix time 1795629112, process 5148` `a list stopped at command 127 of 130 (op 6)` `command 127 (op 6): dispatch 16x16x16 [compute 00167d58cc5a78d7]` `device removed: 0x887A0006` **3. Regarding the local patches:** Yes, the runs on 67e8ae1 and main had local patches applied for `B4G4R4A4` and `B5G5R5A1` to bypass the format validation errors. However, the run on `ffe310e` (Hang 1) was vanilla, without those patches. **4. Regarding PR #2683:** I have not tested #2683 yet.
Author
Owner

@⁠cblfkrckst on GitHub · 2026-11-25 22:50 UTC · original

Last update 11/25/2026 (22:43 UTC, latest main):

Hardware context:

  • CPU: AMD Ryzen 5 5500X3D
  • GPU: NVIDIA RTX 4060 8GB (driver 32.0.16.2124)
  • RAM: 16 GB physical (2x8 GB DDR4 3200MHz) + 32 GB pagefile
  • OS: Windows 11 (build 26300)

I ran one last clean test with VICTORY_SKIP_PIPELINES removed. The results are consistent:

  • The TDR (GPU hang) is completely gone. The GPU is stable.
  • The game still crashes internally (BacktraceBreakpad) right before the cinematic.
  • The crash happens at exactly 95% memory usage (system.memory.free: ~690 MB).

This confirms that the emulated Xbox's memory pool is not being mapped/allocated correctly by VIctory, and the title runs out of the memory it expects. The crashes.log is empty (no GPU removal), so this is purely a memory allocation issue in the host VM.

**@⁠cblfkrckst** on GitHub · 2026-11-25 22:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/2661#issuecomment-7176857370) Last update 11/25/2026 (22:43 UTC, latest `main`): **Hardware context:** - CPU: AMD Ryzen 5 5500X3D - GPU: NVIDIA RTX 4060 8GB (driver 32.0.16.2124) - RAM: 16 GB physical (2x8 GB DDR4 3200MHz) + 32 GB pagefile - OS: Windows 11 (build 26300) I ran one last clean test with `VICTORY_SKIP_PIPELINES` removed. The results are consistent: - The TDR (GPU hang) is **completely gone**. The GPU is stable. - The game still crashes internally (`BacktraceBreakpad`) right before the cinematic. - The crash happens at exactly **95% memory usage** (`system.memory.free: ~690 MB`). This confirms that the emulated Xbox's memory pool is not being mapped/allocated correctly by VIctory, and the title runs out of the memory it expects. The `crashes.log` is empty (no GPU removal), so this is purely a memory allocation issue in the host VM.
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#2661
No description provided.