Title slots exceed host descriptor heap on NVIDIA/WARP (count=934464), device removed / null write #1807
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?
Imported from Marvisak/VIctory. Originally posted by Ashley123477 on 2026-11-24T22:54:10Z.
System
70564ae(README: status of 2026-11-24)What happens
The title writes descriptor slots past the end of the host CBV/SRV/UAV heap. The host heap is created with count=934464 (1,000,000 − 65,536), but the title uses indices ≥1,088,026:
After that, one of two failures:
Tried
VICTORY_D3D12_WARP=1: same device-removed failure, so it doesn't look driver-specific. 1M is the shader-visible heap cap on NVIDIA and WARP.VICTORY_D3D12_DEBUG=1: boots (slowly), still logstitle slot past the host heap.Possibly related
#11 /
3827767("GPU: make tables past a capped host view heap afresh"). This build includes that commit and still hits the capped heap with count=934464.Imported from Marvisak/VIctory. Originally posted by iokza on 2026-11-24T23:07:49Z.
same
Imported from Marvisak/VIctory. Originally posted by LucasFelip on 2026-11-25T02:39:31Z.
Same crash on RTX 5060, also with #1775 + #1777 applied (Game Init, frame 0)
System
translate --cache --pipelinesdone before runningBuilds tried
mainat70564ae: host device removed (0x887A0004 / 0x887A0001), as in #1753.b079909, which includes upstream main4118f33): the device removal is gone, but the process dies with the access violation below.3635e70) on top of that: same access violation.What #1777 changes in the log
host view heap capped at 1000000 ... count=1245184 kept=934461(wascount=934464before)the host caps view heaps: shader heap indices clamped below it views=1000000no room for the null buffer viewswarning is gone.title slot past the host heapwarnings in a ~35 s run.Crash (identical with #1775 and with #1775 + #1777)
The registers are the same on both runs (rcx 0x4189374bc6a7f0, r8 0x83), so it is deterministic. The stack matches the one in this issue and the +0x2215eca frame from #1464.
Title's own crash log (written just before exit)
Game State: Game Init,Frame: 0,Streaming Requests: 6,TileHeap: used (66Mb) - total (6236Mb), camera at the default position.So the title aborts during init, before the first frame is drawn, which shows as a black window and then exit. The host GPU device is still alive at that point, with no device-removed error.
Observations
Question
Is the abort at +0x2215eca the deliberate fatal-error handler that a comment in #1464 describes (a write to 0x0 after a failed check)? If so, which check fails during Game Init on a capped heap, the slots past the 934,461 limit or something else? I can run a diagnostics build (
VICTORY_D3D12_DEBUG/DRED) and post the output if that helps.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T12:47:21Z.
Automated triage for the maintainers.
Run reports: RTX 4090 (driver 621.40, Windows 11,
70564ae) and RTX 5060 (driver 621.24, Windows 11 26300,70564ae, and with #1775/#1777). Three things are in here:main,HostHeap::newincrates/victory-gpu/src/descriptor/host.rscaps a refused view heap at 1,000,000 and keeps part of it for dynamic tables. Socount=934464and thetitle slot past the host heapwarnings for higher indices are expected. The cap is tracked in #747.0x887A0004/0x887A0001, no breadcrumbs) on stock70564aeis the NVIDIA invalid-call removal tracked in #1753: unordered access on formats NVIDIA cannot store. The open PRs are #1763, #2459 and #1787.+0x258b000during Game Init, frame 0. New: on an RTX 4090 with the #1763 branch (50d91b1) on its own, this write is gone. So it appears to be a consequence of the #1753 problem, not a separate stop. #1763 does not merge cleanly ontomain(conflict in the tests ofdescriptor/host.rs), so it needs a rebase.With #1763 the run boots through the loading screens at 30 fps for about 3 minutes. It then stops with the title's null write at
+0x23cf683(frames+0x2215c35/+0x2215eca), the same on a third-party fork at frame 5345. That is the+0x23cf683stop tracked in #1118, which the thread in #97 relates to the title's own watchdog after slow GPU work. Two compute pipelines were refused there with0x80070057(88994c3496045f51,13dfdd3b1136e407), which is likely the wave64 refusal on 32-lane hosts (#2220).Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by Ashley123477 on 2026-11-25T16:10:50Z.
Tested the #1763 branch head (
50d91b1) on RTX 4090, driver 621.40, i9-14900K, Windows 10.0.26200. #1763 does not merge cleanly onto main940d32f(conflict in the tests ofcrates/victory-gpu/src/descriptor/host.rsarounda_texture_view_gives_its_image_descriptor_size_fields), so this is the PR branch on its own.Result: no device removal, and the
+0x258b000null write is gone. It boots through the loading screens at a steady 30 fps (frame ~4836, about 3 minutes), then hits a different null write from the same job-dispatcher frames:Before the crash, two compute pipelines were refused and their dispatches dropped:
The title's Breakpad handler then fired and tried to upload a minidump to submit.backtrace.io (blocked by VIctory).
Imported from Marvisak/VIctory. Originally posted by Ashley123477 on 2026-11-25T17:04:32Z.
Same null write reproduces on the DexNom fork (which logs no title slot past the host heap warnings and no device removal). The game loads story000_restofworld.rpf, reaches frame 5345, then crashes at +0x23cf683 with frames +0x2215c35 / +0x2215eca and identical rcx/r8–r11, so it's deterministic and not caused by the heap cap. One compute pipeline refused: 02384a60fda6f2d0 (0x80070057).