GPU crash 0x887A0004 / 0x887A0006 on Nvidia Ampere (RTX 3050) at 3D cutscene transition #822
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#822
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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.
@Zilumz1 on GitHub · 2026-11-24 13:03 UTC · original
One thing to split apart here:
0x887A0004is not a D3D12X translation failure. In this tree that value isDXGI_ERROR_UNSUPPORTED, which is whatID3D12DeviceRemovedExtendedData::GetAutoBreadcrumbsOutput()returns when DRED auto-breadcrumbs are not enabled; VIctory prints it asno breadcrumbs (... 0x887A0004)in the device-removal report. The actual device removal is0x887A0006.Also,
VICTORY_D3D12_DEBUG=1enables the D3D12 debug layer/info queue; it does not enable DRED. Breadcrumbs and page-fault data are gated behindVICTORY_D3D12_DRED=1in a diagnostics build (dred_on()inhost.rs). That explains why you get “no breadcrumbs” with onlyDEBUGset. If startup also logsno D3D12 debug layer ... 0x887A002D, DRED settings can fail too, because they are obtained throughD3D12GetDebugInterface.Could you rerun with both:
@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), noVICTORY_*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 withnv-aftermath-format -j:Device state: Error_DMA_PageFault,Engine reset occurred: true,Adapter reset occurred: false.Access Type: Read,Client: Graphics Processing Cluster,Engine: Graphics,Fault Type: Failed to translate the virtual address,GPU virtual address: 0x5BFBE9000.Shader type: Mesh,Shader name: mesh_01,Shader size: 21504, Aftermath shader hash0x5775541DBBE7F10C.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
0x887A0006is 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: runningGFSDK_Aftermath_GetShaderHashover 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.
@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
26300.
mainffe310e,cargo build --profile diag -p victory --features diagnostics.laptop
D3D12CreateDevice(None)otherwise picks the Intel iGPU (#94 / #208 fix this properly).VICTORY_*settings besides the data folders,VICTORY_KEYSfor the menus andVICTORY_CAPTURE. Title 1.0.2.1, Series X profile.What happened
E_INVALIDARG.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.crash.logunder the data folder'stemp) puts the stop in the storyintro:
Current SRL Name: fbk_stry000_FBK_STRY000_INTRO,Current SRL State: Prestream;0x98c85f2a, AnimScene0xe9f5cf99;Streaming Requests: 819, TileHeap used 4,173 of 6,236 MB;+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.
@Marvisak on GitHub · 2026-11-25 03:48 UTC · original
Automated triage for the maintainers.
0x887A0004here is not a failed console call. Incrates/victory-gpu/src/host.rsthe device-removal report prints it asno breadcrumbs (...)when DRED data is unavailable. The removal itself is0x887A0006. Breadcrumbs need a diagnostics build withVICTORY_D3D12_DRED=1(dred_on());VICTORY_D3D12_DEBUG=1alone does not enable them.@TheoSan05, please add:
git rev-parse --short HEAD),host GPU device removed ...line from a run withVICTORY_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