Unhandled breakpoint (0x80000003) ~1s after start on RTX 5070, with "host view heap capped at 1000000" warning #11

Open
opened 2026-11-26 07:58:39 +00:00 by github-bot · 3 comments
Owner

@⁠wingsc84-sketch on GitHub · 2026-11-26 07:54 UTC · original

Environment

  • Release: cool_fox-pareto-residency-windows-x64 (victory-3d-rtx-pareto-residency.exe), build b99f876b74d4a77f… (source commit f4b48ad per README)
  • GPU: NVIDIA RTX 5070, 12 GB VRAM, driver 617.42
  • CPU / RAM: 9800x3D 32GB DDR5
  • OS: Windows [10/11 version], PowerShell 5.1
  • Launched with Play-VIctory.cmd pareto-residency and VICTORY_GAME_DIR set 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 in victory-image-…dll+0x1330a44 and 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

  • Is this a known problem on NVIDIA cards?
  • Is the heap cap configurable, or does it need a code change (for example, splitting views across heaps)?
  • Are the unimplemented pipeline slots 0x218 and 0x1c8 expected for this title?

Log (shortened: pipeline warnings trimmed, only a few of the repeated lines kept)

build          unknown (b99f876b74d4a77f5c35a79d5decd9f716504239e93)
mapped at      0x7ffc96eb0000 (preferred 0x140000000)
title          7952987A, storage …\victory\data\7952987A/storage (2048 MB)
console        Xbox Series S
title dll      xboxbvhbuilder.dll at 0x7ffd2f8d0000
title dll      amd_fidelityfx_loader_xbox.dll at 0x7ffd95210000
title dll      libhttpclient.gdk.dll at 0x7ffd2f690000
title dll      bink2scarlett.dll at 0x7ffd4f780000
bound          xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing
bound          amd_fidelityfx_loader_xbox.dll: 4 hle, 18 host, 0 title, 0 missing
bound          libhttpclient.gdk.dll: 27 hle, 171 host, 0 title, 0 missing
bound          bink2scarlett.dll: 7 hle, 53 host, 0 title, 0 missing
bound          game_scarlett_master.exe: 94 hle, 421 host, 72 title, 0 missing
2026-11-26T07:41:20.673699Z  WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x218 calls=2 description=Some([…])
2026-11-26T07:41:20.674146Z  WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x1c8 calls=2 description=Some([…])
   (more of the same, slots 0x218 and 0x1c8, calls doubling from 1 up to 8192)
2026-11-26T07:41:20.977941Z  WARN victory_gpu::descriptor::host: host view heap capped at 1000000; views past it read a null slot count=1245184
2026-11-26T07:41:21.213091Z  WARN victory_gpu::device: … slot=0x218 calls=64 …
2026-11-26T07:41:21.228447Z  WARN victory_gpu::device: … slot=0x218 calls=512 …
VIctory: first-chance exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1330a44
  rax 0x0 rbx 0x901596c80 rcx 0xfffffffd rdx 0xa300 rsi 0x7ffc9e846c30 rdi 0x7ffc9e786e00 rsp 0x7ceadfdd20 rbp 0x10000
  r8 0x0 r9 0x0 r10 0x18 r11 0x1000 r12 0x7ceadfde0c r13 0x90c40c060 r14 0x34c0 r15 0x1
  #0  victory-image-b99f876b74d4a77f.dll+0x1330a44
  #1  victory-image-b99f876b74d4a77f.dll+0x51d2319
  #2  victory-image-b99f876b74d4a77f.dll+0x1621b3e
  #3  victory-image-b99f876b74d4a77f.dll+0x1621abe
  #4  victory-image-b99f876b74d4a77f.dll+0x5b24f5d
  #5  victory-image-b99f876b74d4a77f.dll+0x1e827fd
  #6  victory-image-b99f876b74d4a77f.dll+0x27578f3
  #7  victory-image-b99f876b74d4a77f.dll+0x275702b
  #8  victory-image-b99f876b74d4a77f.dll+0x2756eea
  #9  victory-image-b99f876b74d4a77f.dll+0x2756e47
  #10 victory-image-b99f876b74d4a77f.dll+0x2756dc9
  #11 victory-image-b99f876b74d4a77f.dll+0x1d4d15d
  #12 victory-image-b99f876b74d4a77f.dll+0x1d4c832
  #13 victory-image-b99f876b74d4a77f.dll+0x292d5cd
  #14 victory-image-b99f876b74d4a77f.dll+0x292d289
  #15 victory-image-b99f876b74d4a77f.dll+0x1d77df0
  #16 victory-image-b99f876b74d4a77f.dll+0x1dac730
  #17 victory-image-b99f876b74d4a77f.dll+0x5b97b29
  #18 victory-image-b99f876b74d4a77f.dll+0x63e78
  #19 victory-image-b99f876b74d4a77f.dll+0x4eaa05a
  #20 victory-image-b99f876b74d4a77f.dll+0x221c29c
  #21 victory-image-b99f876b74d4a77f.dll+0x2215eca
  #22 KERNEL32.DLL+0x2dda7
  #23 ntdll.dll+0xc9c6c
VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1330a44
  (same registers and stack as above)
**@⁠wingsc84-sketch** on GitHub · 2026-11-26 07:54 UTC · [original](https://github.com/codec-d/cool_fox/issues/11) **Environment** - Release: cool_fox-pareto-residency-windows-x64 (`victory-3d-rtx-pareto-residency.exe`), build `b99f876b74d4a77f…` (source commit f4b48ad per README) - GPU: NVIDIA RTX 5070, 12 GB VRAM, driver 617.42 - CPU / RAM: 9800x3D 32GB DDR5 - OS: Windows [10/11 version], PowerShell 5.1 - Launched with `Play-VIctory.cmd pareto-residency` and `VICTORY_GAME_DIR` set 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 in `victory-image-…dll+0x1330a44` and 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** - Is this a known problem on NVIDIA cards? - Is the heap cap configurable, or does it need a code change (for example, splitting views across heaps)? - Are the unimplemented pipeline slots 0x218 and 0x1c8 expected for this title? **Log (shortened: pipeline warnings trimmed, only a few of the repeated lines kept)** ``` build unknown (b99f876b74d4a77f5c35a79d5decd9f716504239e93) mapped at 0x7ffc96eb0000 (preferred 0x140000000) title 7952987A, storage …\victory\data\7952987A/storage (2048 MB) console Xbox Series S title dll xboxbvhbuilder.dll at 0x7ffd2f8d0000 title dll amd_fidelityfx_loader_xbox.dll at 0x7ffd95210000 title dll libhttpclient.gdk.dll at 0x7ffd2f690000 title dll bink2scarlett.dll at 0x7ffd4f780000 bound xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing bound amd_fidelityfx_loader_xbox.dll: 4 hle, 18 host, 0 title, 0 missing bound libhttpclient.gdk.dll: 27 hle, 171 host, 0 title, 0 missing bound bink2scarlett.dll: 7 hle, 53 host, 0 title, 0 missing bound game_scarlett_master.exe: 94 hle, 421 host, 72 title, 0 missing 2026-11-26T07:41:20.673699Z WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x218 calls=2 description=Some([…]) 2026-11-26T07:41:20.674146Z WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x1c8 calls=2 description=Some([…]) (more of the same, slots 0x218 and 0x1c8, calls doubling from 1 up to 8192) 2026-11-26T07:41:20.977941Z WARN victory_gpu::descriptor::host: host view heap capped at 1000000; views past it read a null slot count=1245184 2026-11-26T07:41:21.213091Z WARN victory_gpu::device: … slot=0x218 calls=64 … 2026-11-26T07:41:21.228447Z WARN victory_gpu::device: … slot=0x218 calls=512 … VIctory: first-chance exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1330a44 rax 0x0 rbx 0x901596c80 rcx 0xfffffffd rdx 0xa300 rsi 0x7ffc9e846c30 rdi 0x7ffc9e786e00 rsp 0x7ceadfdd20 rbp 0x10000 r8 0x0 r9 0x0 r10 0x18 r11 0x1000 r12 0x7ceadfde0c r13 0x90c40c060 r14 0x34c0 r15 0x1 #0 victory-image-b99f876b74d4a77f.dll+0x1330a44 #1 victory-image-b99f876b74d4a77f.dll+0x51d2319 #2 victory-image-b99f876b74d4a77f.dll+0x1621b3e #3 victory-image-b99f876b74d4a77f.dll+0x1621abe #4 victory-image-b99f876b74d4a77f.dll+0x5b24f5d #5 victory-image-b99f876b74d4a77f.dll+0x1e827fd #6 victory-image-b99f876b74d4a77f.dll+0x27578f3 #7 victory-image-b99f876b74d4a77f.dll+0x275702b #8 victory-image-b99f876b74d4a77f.dll+0x2756eea #9 victory-image-b99f876b74d4a77f.dll+0x2756e47 #10 victory-image-b99f876b74d4a77f.dll+0x2756dc9 #11 victory-image-b99f876b74d4a77f.dll+0x1d4d15d #12 victory-image-b99f876b74d4a77f.dll+0x1d4c832 #13 victory-image-b99f876b74d4a77f.dll+0x292d5cd #14 victory-image-b99f876b74d4a77f.dll+0x292d289 #15 victory-image-b99f876b74d4a77f.dll+0x1d77df0 #16 victory-image-b99f876b74d4a77f.dll+0x1dac730 #17 victory-image-b99f876b74d4a77f.dll+0x5b97b29 #18 victory-image-b99f876b74d4a77f.dll+0x63e78 #19 victory-image-b99f876b74d4a77f.dll+0x4eaa05a #20 victory-image-b99f876b74d4a77f.dll+0x221c29c #21 victory-image-b99f876b74d4a77f.dll+0x2215eca #22 KERNEL32.DLL+0x2dda7 #23 ntdll.dll+0xc9c6c VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1330a44 (same registers and stack as above)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 07:58:39 +00:00
Author
Owner

@⁠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:55 UTC · [original](https://github.com/codec-d/cool_fox/issues/11#issuecomment-7185990154) 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.
Author
Owner

@⁠wingsc84-sketch on GitHub · 2026-11-26 07:56 UTC · original

btw CPU is 9800x3d RAM is 32gb DDR5

**@⁠wingsc84-sketch** on GitHub · 2026-11-26 07:56 UTC · [original](https://github.com/codec-d/cool_fox/issues/11#issuecomment-7186001964) btw CPU is 9800x3d RAM is 32gb DDR5
Author
Owner

@⁠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_slots in crates/victory-gpu/src/descriptor/host.rs (taken from DexNom's fork via 101Leafy) does exactly this: on a host capped below PORTABLE_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

build view heap frame reachable fps picture
upstream main + a paging PR (#2121) paged, 2,880 host pages vs 4,864 needed 3,510 draws 0.1 black
101Leafy/victory-leafy (has capped_dynamic_slots) 1,000,000 split 393,215 / 606,784 2,646–6,085 draws 2–13, swinging correct
this tree (cool_fox f4b48ad) + Agility patch below same split 3,069–7,071 draws 6–7, steady correct

The third row ran 6 min 39 s without a crash, VRAM peaking at 10,139 of 12,288 MiB. The int3 is gone.

The second thing your run needs on Windows 10

Your int3 may 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 is CBV_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):

  1. apps/victory/src/agility.rs — new. Replaces the whole build.rs-export dance with CreateDeviceFactory(version, path) + ApplyToGlobalState(), reading D3D12SDKVersion out of D3D12Core.dll with victory_pe::ImageInfo.
  2. apps/victory/src/main.rs — #[cfg(windows)] mod agility; and #[cfg(windows)] agility::load(); right after logging::init.
  3. apps/victory/Cargo.toml — needs windows with Win32_Graphics_Direct3D12 and tracing on Windows (apps/victory had neither; they only existed in victory-gpu).

Then put D3D12Core.dll (Microsoft.Direct3D.D3D12 1.620.x, build\native\bin\x64) in a D3D12\ folder beside the exe, or point VICTORY_D3D12_DIR at it. The log then says:

INFO victory::agility: D3D12 Agility SDK loaded version=620

and root signature refused goes to zero.

Settings used here

--console series-x            (series-s asks for 16,384 MB of title memory and dies on a 31 GB machine)
VICTORY_MODE=1280x720
VICTORY_MEMORY_CARD_MB=1024   (default 4096 spills into system RAM)
VICTORY_TEXTURE_KEEP=0
+ all 22 switches from Play-VIctory.cmd

Not measured

Whether the int3 in 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.

**@⁠bittertea0323** on GitHub · 2026-11-26 07:56 UTC · [original](https://github.com/codec-d/cool_fox/issues/11#issuecomment-7186008868) ## 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_slots` in `crates/victory-gpu/src/descriptor/host.rs` (taken from DexNom's fork via 101Leafy) does exactly this: on a host capped below `PORTABLE_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 | build | view heap | frame reachable | fps | picture | |---|---|---|---|---| | upstream `main` + a paging PR (#2121) | paged, 2,880 host pages vs 4,864 needed | 3,510 draws | 0.1 | **black** | | `101Leafy/victory-leafy` (has `capped_dynamic_slots`) | 1,000,000 split 393,215 / 606,784 | 2,646–6,085 draws | 2–13, swinging | **correct** | | this tree (`cool_fox` f4b48ad) **+ Agility patch below** | same split | 3,069–7,071 draws | **6–7, steady** | **correct** | The third row ran 6 min 39 s without a crash, VRAM peaking at 10,139 of 12,288 MiB. The `int3` is gone. ### The second thing your run needs on Windows 10 Your `int3` may 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 is `CBV_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): 1. `apps/victory/src/agility.rs` — new. Replaces the whole `build.rs`-export dance with `CreateDeviceFactory(version, path)` + `ApplyToGlobalState()`, reading `D3D12SDKVersion` out of `D3D12Core.dll` with `victory_pe::ImageInfo`. 2. `apps/victory/src/main.rs` — `#[cfg(windows)] mod agility;` and `#[cfg(windows)] agility::load();` right after `logging::init`. 3. `apps/victory/Cargo.toml` — needs `windows` with `Win32_Graphics_Direct3D12` and `tracing` on Windows (`apps/victory` had neither; they only existed in `victory-gpu`). Then put `D3D12Core.dll` (Microsoft.Direct3D.D3D12 1.620.x, `build\native\bin\x64`) in a `D3D12\` folder beside the exe, or point `VICTORY_D3D12_DIR` at it. The log then says: ``` INFO victory::agility: D3D12 Agility SDK loaded version=620 ``` and `root signature refused` goes to zero. ### Settings used here ``` --console series-x (series-s asks for 16,384 MB of title memory and dies on a 31 GB machine) VICTORY_MODE=1280x720 VICTORY_MEMORY_CARD_MB=1024 (default 4096 spills into system RAM) VICTORY_TEXTURE_KEEP=0 + all 22 switches from Play-VIctory.cmd ``` ### Not measured Whether the `int3` in 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.
This discussion has been locked. Commenting is limited to contributors.
No description provided.