NVIDIA RTX 4070: new build crashes seconds after launch, before the start screen (0x887A0001, "title slot past the host heap ... count=934464"); previous build reached the world #1851
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#1851
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?
@BenjewminNetenyahoo on GitHub · 2026-11-24 23:28 UTC · original
Summary
On an RTX 4070,
70564aecrashes a few seconds after launch, before the "Press A" start screen, with0x887A0001(invalid call). The crash comes after thousands oftitle slot past the host heapwarnings. The previous build,d2a4bae, got through the menus and into the first mission's intro cutscene on the same PC.70564aeon the same PC's AMD integrated GPU also gets through the menus and loading (it then runs out of memory, which is expected for an iGPU), so the regression looks NVIDIA- or driver-specific.System
VICTORY_LOG=infoconsole output. Each is the tail of the run (the start was cut off by the console scrollback)Builds
d2a4bae(run 2026-11-23)70564ae(pulled 2026-11-24)1.
70564ae, RTX 4070: crashes seconds after launch, before the start screen (regression)Log:
nvidia-rtx4070-new-build.txttitle slot past the host heap index=… count=934464 for_draw=false, indices 1,240,733 to 1,245,183no room for the null buffer views: computed indices of slots without a buffer view read what is there count=0 total=65536the host refuses castable formats→no host texture error=The parameter is incorrect. (0x80070057)forResourceDesc { dimension: 3, width: 2560, height: 1440, mip_levels: 1, format: 115, flags: 1 }host GPU device removed after a submission of 1 lists; no breadcrumbs (0x887A0004); device removed: The application made a call that is invalid ... (0x887A0001). The last frame logged is around frame 128.2.
70564ae, AMD integrated GPU: gets through the menus and loadingLog:
amd-igpu-new-build.txttitle slot past the host heapwarnings. Start screen and menus work, and it loads until the loading screen ends, the same point whered2a4baeentered the world on the 4070.no shared buffer ... (0x8007000E) size=4194304, 209 ×no host texture ... (0x8007000E), thena host command list did not close (0x8007000E)3.
d2a4bae, RTX 4070: reaches the first mission's intro (for reference)Log:
nvidia-rtx4070-previous-build.txt0.5 fps, 2166.5 ms/frame (1489.5 preparing: copies 1311.2 ms 597.8 MB ...; 119.4 on the GPU ...)shader does not translate(304 compute, 44 pixel, 25 mesh, 4 vertex). Most common: select on an untracked mask (92), lane mask holding lanes elsewhere read as data (80), address in an SGPR that is no root parameter (35), scalar memory read as data (29), structured buffer of unknown stride (26)slow host submission ms=4102 lists=32(mesh+pixel pipelines), thendevice removed ... (0x887A0006). The System event log has 5 ×nvlddmkmEvent ID 153 (TDR) at the same second.I'm happy to run a diagnostics build with
VICTORY_D3D12_DEBUG=1if you tell me the build command.nvidia-rtx4070-previous-build.txt
amd-igpu-new-build.txt
nvidia-rtx4070-new-build.txt
@FelipeMenuOFC on GitHub · 2026-11-25 00:57 UTC · original
The 5070 Ti reaches the same point on
d2a4baeand then crashes with 0x887A0006 when entering the cutscene (while on70564ae, it crashes earlier with 0x887A0001). This confirms that the issue is not exclusive to the 4070.@FelipeMenuOFC on GitHub · 2026-11-25 01:17 UTC · original · edited 2026-11-25 01:23 UTC
Same crash on an RTX 5070 Ti (Windows 11, desktop).
d2a4baereaches the first cutscene at ~1 fps (black screen) and then the GPUis removed (0x887A0006 after 11 lists; 0x887A0004 / 0x887A0001 on
70564ae).70564aefails earlier with the "castable formats" warning for a 2560x1440format 115 texture, then 0x887A0001.
I built
d2a4baewith --profile diag --features diagnostics and ran it withVICTORY_D3D12_DEBUG=1 and VICTORY_D3D12_DRED=1. The debug layer reports:
ID3D12CommandQueue1::ExecuteCommandLists: Using IASetVertexBuffers on Command
List (...): Resource state (0x8: D3D12_RESOURCE_STATE_UNORDERED_ACCESS) of
resource ('title buffer 0x188f0000+0xae00000') (subresource: 0) is invalid for
use as a vertex buffer. Expected State Bits (all): 0x1:
D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER, Actual State: 0x8:
D3D12_RESOURCE_STATE_UNORDERED_ACCESS, Missing State: 0x1.
It was in "list 20 of 23", mesh + pixel pipelines
(mesh 8c8f0165ddd5199d / pixel 4cde906781d9b043, and
mesh 3b408d7e675fddc5 / pixel c5d4ff74b695d1f2). The buffer is the 182452224-byte
one at 0x188f0000 that is bound as an SRV in most of the tables.
So it looks like a missing transition from UAV to vertex-buffer/SRV state for
that buffer, which NVIDIA does not tolerate.
@Jim2op on GitHub · 2026-11-25 11:50 UTC · original
Same regression on an RTX 4060 Laptop, but here it ends in the Windows commit limit (os error 1455), not a device removal.
Setup
Comparison
ffe310e940d32f(main)title slot past the host heapwarnings40393.7 preparing)The
940d32frun, in order:ffe310ealso logshost view heap capped at 1000000 ... count=1245184, but none of the slot warnings. It keeps running at 11.2 GB.So on this machine, the heap-cap path on main seems to do something per slot past the cap (one warning, maybe one allocation, each). That costs 40 s and enough memory to exhaust commit on a 16 GB machine. It looks related to #1808, #1760 and #2138. I didn't bisect. Happy to try a branch, or bisect between
ffe310eand940d32f, if that helps.Five of the title's 108 files still fail their 1.0.2.1 hash here (none of them
packs.rpf). Both builds used the same files, andffe310eboots to the menus with them.Counts, addresses and log lines only; nothing of the title's content.
AI-assisted (Claude Code).
@Marvisak on GitHub · 2026-11-25 12:49 UTC · original
Automated triage for the maintainers.
Thanks for the side-by-side runs (RTX 4070, driver 32.0.16.2101, Windows 11 26200,
d2a4baevs70564ae; plus an RTX 5070 Ti and an RTX 4060 Laptop on940d32f). The failures here are tracked in these places:70564ae(0x887A0004/0x887A0001around frame 128, after the refused 2560x1440 format-115 texture): the NVIDIA invalid-call removal tracked in #1753 (typed views on formats NVIDIA cannot store to; open PR #1763).host view heap capped at 1000000,no room for the null buffer views,title slot past the host heapfor indices from 934,464): expected onmainwhen the driver refuses the full heap (HostHeap::newincrates/victory-gpu/src/descriptor/host.rs); tracked in #747. The RTX 4060 Laptop comment, where940d32flogs 310,720 such warnings, a 40 s frame and then runs out of commit whileffe310elogs none, is a useful data point there.d2a4baein the cutscene: the debug layer's vertex buffer left inUNORDERED_ACCESSstate is tracked in #199/#548, and the TDR (0x887A0006,nvlddmkmevent 153) in the NVIDIA world-hang thread #71.Many GPU fixes landed on 2026-11-25; a run of current
mainwith #1763 merged locally would show what is left on the 4070.Generated by Claude Code
@BenjewminNetenyahoo on GitHub · 2026-11-26 07:37 UTC · original
Retest on current main (
63bcca4), RTX 4070Tested as the triage suggested. #1763's fix is already in main via #2462 (the PR only adds tests on top of main now), so this is plain main.
Setup: driver 32.0.16.2101. Ran
translate --cachefirst (25,985 containers: 25,276 translated, 229 refused, 1.3 GB). Raised the paging file to a 47.2 GB commit limit (the default 36.9 GB would have been too tight).Results
0x887A0001crash is gone. The B5G5R5A1 view is now skipped (an unordered view in a format the host cannot store view=86 own=86) instead of removing the device. The 2560×1440 format-115 texture is still refused (the host refuses castable formats→no host texture ... 0x80070057), but it no longer crashes.host view heap capped at 1000000 error=The parameter is incorrect. (0x80070057) count=1245184, then 310,720 ×title slot past the host heap, one per index from 934,464 to 1,245,183. The first presented frame reports115645.8 ms/frame (115496.9 preparing ...). Same symptom as Jim2op's comment above, but with a higher commit limit it got through.slow host submissionof 8,228–8,416 ms about every 10 s, all compute lists. The near-constant duration looks like something running to a fixed limit rather than load. There was a brief 2.5 fps stretch while the title card was up.no free dynamic descriptor slots: a table is not made n=256,no dynamic slots for root views: dropped, thena draw or dispatch dropped: no dynamic slots for its tablesclimbing to 512. With the heap capped at 1,000,000, onlyMIN_DYNAMIC(2^16) dynamic slots are left, and the comment onDYNAMICsays 2^16 ran out seconds into the world on an RX 9070 XT (#59).host pipeline refused error=The parameter is incorrect. (0x80070057).a lane mask read as data. Also 2 ×method not implemented object="device"(slots0x218,0x1c8) at startup.device removed ... (0x887A0006), no breadcrumbs (0x887A0004). The System log has 5 ×nvlddmkmEvent ID 153 (TDR) at the same second.Attached: the full log from launch to crash (
VICTORY_LOG=info; the repeated heap warnings are trimmed and personal paths replaced), and a photo of the title card.I can run the diagnostics build (
--profile diag --features diagnostics) withVICTORY_D3D12_DEBUG=1if that would help pin down the long compute submissions or the refused pipelines.rtx4070-63bcca4-full-log-trimmed.txt