Unhandled breakpoint (0x80000003) ~1s after start on RTX 5070, with "host view heap capped at 1000000" warning #11
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/codec-d--cool_fox#11
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?
@wingsc84-sketch on GitHub · 2026-11-26 07:54 UTC · original
Environment
victory-3d-rtx-pareto-residency.exe), buildb99f876b74d4a77f…(source commitf4b48adper README)Play-VIctory.cmd pareto-residencyandVICTORY_GAME_DIRset to my own dump folder. All launcher defaults, no other env vars.What happens
The title loads and every import binds (0 missing). Many "pipeline creation method not implemented" warnings follow. One warning says the host view heap is capped at 1,000,000 while the title wanted 1,245,184 views. About a second after start, an
int3(0x80000003) fires invictory-image-…dll+0x1330a44and is unhandled, so the process exits.Suspicion
The view count exceeds the 1,000,000 cap, and views past it read a null slot. I think that could lead to the breakpoint, but I can't confirm it. I'm also not sure whether the 1M limit comes from the NVIDIA driver or from the layer. No D3D12 out-of-memory or device-removal message appears before the crash.
Questions
Log (shortened: pipeline warnings trimmed, only a few of the repeated lines kept)
@wingsc84-sketch on GitHub · 2026-11-26 07:55 UTC · original
btw this happens with every fork i use to emulate, sometimes its a GPU pipeline error, game boots and crashes afterwards or just stops responding.
@wingsc84-sketch on GitHub · 2026-11-26 07:56 UTC · original
btw CPU is 9800x3d RAM is 32gb DDR5
@bittertea0323 on GitHub · 2026-11-26 07:56 UTC · original
The cap is survivable: give the title fewer slots, not more
Exact same environment shape as yours — NVIDIA 12 GB, the view heap capped at 1,000,000 while the title asks for 1,245,184 — but here it draws the world at 6–7 fps instead of dying on the
int3. What made the difference was giving the title fewer of its slots, not finding room for more.Why the missing 310,720 slots do not matter
The count the title declares (1,245,184) is not what it walks. On this title, measured on a 4070 SUPER through the paged and non-paged paths: of those slots the title actually writes 92,113 during a run. From slot 393,216 on it is mostly a ring of per-draw table records that the title rewrites and that get rebuilt in a dynamic slot when a draw reaches them — so host slots kept for that ring stand unused while the dynamic range runs out.
capped_dynamic_slotsincrates/victory-gpu/src/descriptor/host.rs(taken from DexNom's fork via 101Leafy) does exactly this: on a host capped belowPORTABLE_VIEWS, the title keeps its lower 393,215 slots and everything above becomes dynamic slots (null - 393,215= 606,784 here). Total still exactly 1,000,000, nothing truncated, no paging.What I measured here, same host, same title
main+ a paging PR (#2121)101Leafy/victory-leafy(hascapped_dynamic_slots)cool_foxf4b48ad) + Agility patch belowThe third row ran 6 min 39 s without a crash, VRAM peaking at 10,139 of 12,288 MiB. The
int3is gone.The second thing your run needs on Windows 10
Your
int3may also be the root-signature path, not only the heap. On Windows 10 the in-box D3D12 stops at shader model 6.5 and refuses the root signatures this title emits (Unsupported bit-flag set (root signature flags c01),E_INVALIDARG) — 0xc01 isCBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | SAMPLER_HEAP_DIRECTLY_INDEXED | 1, both SM 6.6. This tree has no Agility opt-in at all, so on Win10 every heap-indexed pipeline fails to create; on Win11 it never shows up, which is why the release works there.I added it in three places, copying the approach from 101Leafy (runtime switch through
ID3D12SDKConfiguration1, no linker exports needed):apps/victory/src/agility.rs— new. Replaces the wholebuild.rs-export dance withCreateDeviceFactory(version, path)+ApplyToGlobalState(), readingD3D12SDKVersionout ofD3D12Core.dllwithvictory_pe::ImageInfo.apps/victory/src/main.rs—#[cfg(windows)] mod agility;and#[cfg(windows)] agility::load();right afterlogging::init.apps/victory/Cargo.toml— needswindowswithWin32_Graphics_Direct3D12andtracingon Windows (apps/victoryhad neither; they only existed invictory-gpu).Then put
D3D12Core.dll(Microsoft.Direct3D.D3D12 1.620.x,build\native\bin\x64) in aD3D12\folder beside the exe, or pointVICTORY_D3D12_DIRat it. The log then says:and
root signature refusedgoes to zero.Settings used here
Not measured
Whether the
int3in your run has the same cause as either of the above — I have no RTX 5070 and cannot reproduce your run. I am reporting what removed both failure modes here, not diagnosing yours. The heap split is DexNom's design, not mine; I only measured that it works on this card.Log lines, counts and timings only. RTX 4070 SUPER 12 GB / driver 591.74 / Windows 10.0.19045 / Ryzen 7 7800X3D / 31 GB.