GPU crash 0x887A0004 / 0x887A0006 on Nvidia Ampere (RTX 3050) at 3D cutscene transition #822

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

@⁠TheoSan05 on GitHub · 2026-11-24 11:36 UTC · original

Environment:

OS: Windows 10/11 x64

GPU: NVIDIA GeForce RTX 3050 8GB

Build: VIctory (commit matching post-Nov 24 waterfall loop changes), compiled with cargo build --profile diag -p victory --features diagnostics

Target: GTA 6 Xbox Scarlett (game_scarlett_master.exe)

Problem Summary:
The game launches, plays introductory videos, and completes the map loading screen without issues. However, the application consistently crashes silently at the exact moment of transitioning into the real-time 3D cutscene of the first mission.

Symptoms & Diagnostics:

Error Codes: crashes.log consistently reports 0x887A0004 (unsupported feature/interface) followed immediately by 0x887A0006 (device removed).

Command Limit: The crash occurs after submitting a specific batch of command lists (varying between 8 and 30 lists depending on background VRAM availability).

Diagnostics Failure: Despite running with VICTORY_D3D12_DEBUG=1 on a diagnostics build, the log outputs no breadcrumbs, preventing identification of the exact failing D3D12X API call.

VRAM Observation: Freeing up VRAM (closing background applications like Opera) allows the engine to render initial 2D overlay elements (developer credits) slightly further before triggering the fatal GPU detachment.

Expected Behavior:
The D3D12X translation layer should provide fallbacks for console-specific hardware instructions (such as proprietary mesh shaders or sampler feedback) to prevent total device removal on Nvidia Ampere architecture.

**@⁠TheoSan05** on GitHub · 2026-11-24 11:36 UTC · [original](https://github.com/Marvisak/VIctory/issues/822) Environment: OS: Windows 10/11 x64 GPU: NVIDIA GeForce RTX 3050 8GB Build: VIctory (commit matching post-Nov 24 waterfall loop changes), compiled with cargo build --profile diag -p victory --features diagnostics Target: GTA 6 Xbox Scarlett (game_scarlett_master.exe) Problem Summary: The game launches, plays introductory videos, and completes the map loading screen without issues. However, the application consistently crashes silently at the exact moment of transitioning into the real-time 3D cutscene of the first mission. Symptoms & Diagnostics: Error Codes: crashes.log consistently reports 0x887A0004 (unsupported feature/interface) followed immediately by 0x887A0006 (device removed). Command Limit: The crash occurs after submitting a specific batch of command lists (varying between 8 and 30 lists depending on background VRAM availability). Diagnostics Failure: Despite running with VICTORY_D3D12_DEBUG=1 on a diagnostics build, the log outputs no breadcrumbs, preventing identification of the exact failing D3D12X API call. VRAM Observation: Freeing up VRAM (closing background applications like Opera) allows the engine to render initial 2D overlay elements (developer credits) slightly further before triggering the fatal GPU detachment. Expected Behavior: The D3D12X translation layer should provide fallbacks for console-specific hardware instructions (such as proprietary mesh shaders or sampler feedback) to prevent total device removal on Nvidia Ampere architecture.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:14:01 +00:00
Author
Owner

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

One thing to split apart here: 0x887A0004 is not a D3D12X translation failure. In this tree that value is DXGI_ERROR_UNSUPPORTED, which is what ID3D12DeviceRemovedExtendedData::GetAutoBreadcrumbsOutput() returns when DRED auto-breadcrumbs are not enabled; VIctory prints it as no breadcrumbs (... 0x887A0004) in the device-removal report. The actual device removal is 0x887A0006.

Also, VICTORY_D3D12_DEBUG=1 enables the D3D12 debug layer/info queue; it does not enable DRED. Breadcrumbs and page-fault data are gated behind VICTORY_D3D12_DRED=1 in a diagnostics build (dred_on() in host.rs). That explains why you get “no breadcrumbs” with only DEBUG set. If startup also logs no D3D12 debug layer ... 0x887A002D, DRED settings can fail too, because they are obtained through D3D12GetDebugInterface.

Could you rerun with both:

$env:VICTORY_D3D12_DEBUG=1
$env:VICTORY_D3D12_DRED=1
**@⁠Zilumz1** on GitHub · 2026-11-24 13:03 UTC · [original](https://github.com/Marvisak/VIctory/issues/822#issuecomment-7132284893) One thing to split apart here: `0x887A0004` is not a D3D12X translation failure. In this tree that value is `DXGI_ERROR_UNSUPPORTED`, which is what `ID3D12DeviceRemovedExtendedData::GetAutoBreadcrumbsOutput()` returns when DRED auto-breadcrumbs are not enabled; VIctory prints it as `no breadcrumbs (... 0x887A0004)` in the device-removal report. The actual device removal is `0x887A0006`. Also, `VICTORY_D3D12_DEBUG=1` enables the D3D12 debug layer/info queue; it does not enable DRED. Breadcrumbs and page-fault data are gated behind `VICTORY_D3D12_DRED=1` in a diagnostics build (`dred_on()` in `host.rs`). That explains why you get “no breadcrumbs” with only `DEBUG` set. If startup also logs `no D3D12 debug layer ... 0x887A002D`, DRED settings can fail too, because they are obtained through `D3D12GetDebugInterface`. Could you rerun with both: ```powershell $env:VICTORY_D3D12_DEBUG=1 $env:VICTORY_D3D12_DRED=1
Author
Owner

@⁠requiemsnkrp on GitHub · 2026-11-24 14:26 UTC · original

Same stop on another Ampere card, with an Nsight Aftermath dump that names it: a page fault in a translated mesh shader, not a hang.

Setup: NVIDIA GeForce RTX 3060 12 GB (GA106, driver 621.24), Ryzen 5 5600X, 16 GB RAM, Windows 11 Pro 26200. VIctory ffe310e, cargo build --release -p victory (no diagnostics build), no VICTORY_* variables, victory run …\game_scarlett_master.exe --execute. The title loaded into the world and ran at about 1 fps, then the device was lost.

crashes.log: the same line as above: host GPU device removed after a submission of 32 lists; no breadcrumbs (0x887A0004); device removed: … (0x887A0006).

Aftermath (driver-side global mode, via Nsight Graphics 2026.4's nv-aftermath-control --mode Global --debuginfo=1 --resource-tracking=1; the app is not instrumented), decoded with nv-aftermath-format -j:

  • Device state: Error_DMA_PageFault, Engine reset occurred: true, Adapter reset occurred: false.
  • Page fault: Access Type: Read, Client: Graphics Processing Cluster, Engine: Graphics, Fault Type: Failed to translate the virtual address, GPU virtual address: 0x5BFBE9000.
  • Shader: Shader type: Mesh, Shader name: mesh_01, Shader size: 21504, Aftermath shader hash 0x5775541DBBE7F10C.
  • Faulted warp: MMU Fault Error ("a shader instruction caused an MMU fault when accessing memory"), Shader GPU PC Address: mesh_01 @ 0x00002a20, Shader mapping: dxil:571.

So on this card the 0x887A0006 is a mesh shader reading an unmapped address. A buffer address or offset out of range would fit (#542, #584 and #587 are close to that), but I have not matched the program: running GFSDK_Aftermath_GetShaderHash over the shader cache would name it. I can do that and post the cache entry's name if useful. The dump is not attached: it holds translated shader code.

Not tested: a diagnostics build with VICTORY_D3D12_DRED=1; more than one run.

AI use: Claude Code (Claude Opus 5.5) set up Aftermath, decoded the dump and wrote this comment; the run was made by hand on my PC.

**@⁠requiemsnkrp** on GitHub · 2026-11-24 14:26 UTC · [original](https://github.com/Marvisak/VIctory/issues/822#issuecomment-7134375037) Same stop on another Ampere card, with an **Nsight Aftermath dump that names it: a page fault in a translated mesh shader**, not a hang. **Setup:** NVIDIA GeForce RTX 3060 12 GB (GA106, driver 621.24), Ryzen 5 5600X, 16 GB RAM, Windows 11 Pro 26200. VIctory `ffe310e`, `cargo build --release -p victory` (no diagnostics build), no `VICTORY_*` variables, `victory run …\game_scarlett_master.exe --execute`. The title loaded into the world and ran at about 1 fps, then the device was lost. **`crashes.log`:** the same line as above: `host GPU device removed after a submission of 32 lists; no breadcrumbs (0x887A0004); device removed: … (0x887A0006)`. **Aftermath** (driver-side global mode, via Nsight Graphics 2026.4's `nv-aftermath-control --mode Global --debuginfo=1 --resource-tracking=1`; the app is not instrumented), decoded with `nv-aftermath-format -j`: - `Device state: Error_DMA_PageFault`, `Engine reset occurred: true`, `Adapter reset occurred: false`. - Page fault: `Access Type: Read`, `Client: Graphics Processing Cluster`, `Engine: Graphics`, `Fault Type: Failed to translate the virtual address`, `GPU virtual address: 0x5BFBE9000`. - Shader: `Shader type: Mesh`, `Shader name: mesh_01`, `Shader size: 21504`, Aftermath shader hash `0x5775541DBBE7F10C`. - Faulted warp: `MMU Fault Error` ("a shader instruction caused an MMU fault when accessing memory"), `Shader GPU PC Address: mesh_01 @ 0x00002a20`, `Shader mapping: dxil:571`. So on this card the `0x887A0006` is a mesh shader reading an unmapped address. A buffer address or offset out of range would fit (#542, #584 and #587 are close to that), but I have not matched the program: running `GFSDK_Aftermath_GetShaderHash` over the shader cache would name it. I can do that and post the cache entry's name if useful. The dump is not attached: it holds translated shader code. **Not tested:** a diagnostics build with `VICTORY_D3D12_DRED=1`; more than one run. AI use: Claude Code (Claude Opus 5.5) set up Aftermath, decoded the dump and wrote this comment; the run was made by hand on my PC.
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-24 16:37 UTC · original

A data point from another Ampere RTX 3050, where the title got to its own stop instead of a device
removal.

Setup

  • NVIDIA GeForce RTX 3050 6 GB Laptop (GA107, driver 32.0.16.2124), i7-13700H, 16 GB RAM, Windows 11
    26300.
  • VIctory main ffe310e, cargo build --profile diag -p victory --features diagnostics.
  • One local change, not in any PR: the game's device is created on the high-performance adapter. On this
    laptop D3D12CreateDevice(None) otherwise picks the Intel iGPU (#94 / #208 fix this properly).
  • No other VICTORY_* settings besides the data folders, VICTORY_KEYS for the menus and
    VICTORY_CAPTURE. Title 1.0.2.1, Series X profile.

What happened

  • Menus and first-run setup: 22–30 fps at 1920x1080.
  • After the legal screen, the story load at 0.2–0.4 fps:
    • about 2,650 draws per frame, with 4,370 dropped for having no host pipeline yet (1,068 being made);
    • 93 shaders that don't translate, and 68 host pipelines refused with E_INVALIDARG.
  • About 110 s into the load:
    unhandled exception 0xc0000005 at victory-image-….dll+0x23cf683 (write 0x0: nothing mapped there).
    There was no device removal, and the Breakpad upload was blocked by modules::net.
  • The title's crash context (crash.log under the data folder's temp) puts the stop in the story
    intro:
    • Current SRL Name: fbk_stry000_FBK_STRY000_INTRO, Current SRL State: Prestream;
    • mission 0x98c85f2a, AnimScene 0xe9f5cf99;
    • Streaming Requests: 819, TileHeap used 4,173 of 6,236 MB;
    • the player spawned (54 peds, 59 vehicles).
  • xcl (#640, two runs on the same laptop) stops at the same +0x23cf683, with the same SRL, state,
    mission and AnimScene, and 511–611 streaming requests pending. So on this card the stop looks like the
    title's watchdog during the intro's prestream, in either runtime, rather than something VIctory-specific.

Not tested: without the adapter change (it would run on the iGPU), more than one run, the release
profile.

AI use: Claude Code (Claude Opus 5.5) ran the title and drafted this note; results are from the run described.

A longer layer-by-layer follow-up on this card is in #1232.

**@⁠AgneyaK** on GitHub · 2026-11-24 16:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/822#issuecomment-7137948511) A data point from another Ampere RTX 3050, where the title got to its own stop instead of a device removal. **Setup** - NVIDIA GeForce RTX 3050 6 GB Laptop (GA107, driver 32.0.16.2124), i7-13700H, 16 GB RAM, Windows 11 26300. - VIctory `main` `ffe310e`, `cargo build --profile diag -p victory --features diagnostics`. - One local change, not in any PR: the game's device is created on the high-performance adapter. On this laptop `D3D12CreateDevice(None)` otherwise picks the Intel iGPU (#94 / #208 fix this properly). - No other `VICTORY_*` settings besides the data folders, `VICTORY_KEYS` for the menus and `VICTORY_CAPTURE`. Title 1.0.2.1, Series X profile. **What happened** - Menus and first-run setup: 22–30 fps at 1920x1080. - After the legal screen, the story load at 0.2–0.4 fps: - about 2,650 draws per frame, with 4,370 dropped for having no host pipeline yet (1,068 being made); - 93 shaders that don't translate, and 68 host pipelines refused with `E_INVALIDARG`. - About 110 s into the load: `unhandled exception 0xc0000005 at victory-image-….dll+0x23cf683 (write 0x0: nothing mapped there)`. There was **no device removal**, and the Breakpad upload was blocked by `modules::net`. - The title's crash context (`crash.log` under the data folder's `temp`) puts the stop in the story intro: - `Current SRL Name: fbk_stry000_FBK_STRY000_INTRO`, `Current SRL State: Prestream`; - mission `0x98c85f2a`, AnimScene `0xe9f5cf99`; - `Streaming Requests: 819`, TileHeap used 4,173 of 6,236 MB; - the player spawned (54 peds, 59 vehicles). - xcl (#640, two runs on the same laptop) stops at the same `+0x23cf683`, with the same SRL, state, mission and AnimScene, and 511–611 streaming requests pending. So on this card the stop looks like the title's watchdog during the intro's prestream, in either runtime, rather than something VIctory-specific. **Not tested:** without the adapter change (it would run on the iGPU), more than one run, the release profile. AI use: Claude Code (Claude Opus 5.5) ran the title and drafted this note; results are from the run described. A longer layer-by-layer follow-up on this card is in #1232.
Author
Owner

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

Automated triage for the maintainers. 0x887A0004 here is not a failed console call. In crates/victory-gpu/src/host.rs the device-removal report prints it as no breadcrumbs (...) when DRED data is unavailable. The removal itself is 0x887A0006. Breadcrumbs need a diagnostics build with VICTORY_D3D12_DRED=1 (dred_on()); VICTORY_D3D12_DEBUG=1 alone does not enable them.

@⁠TheoSan05, please add:

  • the VIctory commit (git rev-parse --short HEAD),
  • the GPU driver version,
  • the exact Windows build,
  • the full host GPU device removed ... line from a run with VICTORY_D3D12_DRED=1.

The NVIDIA world-load device removal is tracked in #71. The RTX 3060 comment (page fault in a translated mesh shader) fits there. The RTX 3050 Laptop comment is a different stop (+0x23cf683), followed up in #1232.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/822#issuecomment-7152260085) <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-24T16:37:11Z at=2026-11-25T03:48:29Z --> Automated triage for the maintainers. `0x887A0004` here is not a failed console call. In `crates/victory-gpu/src/host.rs` the device-removal report prints it as `no breadcrumbs (...)` when DRED data is unavailable. The removal itself is `0x887A0006`. Breadcrumbs need a diagnostics build with `VICTORY_D3D12_DRED=1` (`dred_on()`); `VICTORY_D3D12_DEBUG=1` alone does not enable them. @⁠TheoSan05, please add: - the VIctory commit (`git rev-parse --short HEAD`), - the GPU driver version, - the exact Windows build, - the full `host GPU device removed ...` line from a run with `VICTORY_D3D12_DRED=1`. The NVIDIA world-load device removal is tracked in #71. The RTX 3060 comment (page fault in a translated mesh shader) fits there. The RTX 3050 Laptop comment is a different stop (`+0x23cf683`), followed up in #1232. --- _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#822
No description provided.