RTX 4060 Ti 16 GB (32 GB RAM): std::alloc::rust_oom (0xc0000409) during scene transition at frame 5712 (0 TDR) #771

Open
opened 2026-11-26 03:50:46 +00:00 by github-bot · 0 comments
Owner

@⁠im-a-cat on GitHub · 2026-11-25 07:07 UTC · original

Setup

  • GPU / Driver: NVIDIA GeForce RTX 4060 Ti 16 GB (16380 MiB), driver 32.0.16.2135 (621.35)
  • CPU / RAM: AMD Ryzen 5 5600 (6C/12T), 31.9 GiB RAM
  • OS: Windows 11 Pro (build 26300), native D3D12, default Windows TDR
  • Tree: fxceless/victory-fork main (8dd30ab) + #51, #25, #203, #61, #220, #23, #74, #49 (plus local logging-only VICTORY_LOG_FILE/VICTORY_NO_ANSI in crates/victory-core/src/logging.rs)
  • Launch: release profile ([optimized + debuginfo]), --console series-x --execute --unimplemented zero, VICTORY_RELAY=2 (8dd30ab defaults), VICTORY_LOG=info, VICTORY_INDIRECT_WINDOW unset

Crash details (no TDR / no device removal)

After running stably for ~23.5 minutes (06:33:51Z → 06:57:22Z, reaching ~17.55 GiB working set earlier in the cell), the process exited on a Windows Application Error event during a transition / new scene load (frame=5712):

  • Exception code: 0xc0000409 (STATUS_STACK_BUFFER_OVERRUN / Rust abort)
  • Faulting offset in victory.exe: 0x567c01
  • Resolved from matching victory.pdb (dbghelp.dll):
    Symbol: std::alloc::rust_oom::closure$0 + 0x31
    Line: /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\std\src\alloc.rs:429
    
  • Windows System log (Display 4101 / TDR): 0 events — the GPU did not hang or reset.

Resource & pipeline state right before rust_oom (06:57:02Z – 06:57:22Z)

At 06:57:15Z, draws dropped from ~6,204 (cell) to 1,745–2,316 as a transition began, with heavy texture streaming + heap growth:

06:57:15Z: 0.3 fps, 3683.4 ms/frame (3436.2 preparing: copies 85.7 ms 182.1 MB, textures 3316.7 ms 181.8 MB; 126.5 on the GPU; 102.7 copying back 52.9 MB), 2316 draws/frame, dropped 686 without a host pipeline (0 being made) and 4 indirect; heap buffers 1.0 passes 272.6 ms; texture slots written so far: 1576124 placed, 1996988 of objects; textures picked by index: 193848 uploaded so far (82219 MB), 8751 waiting, 14528 passed over unmapped; depth textures with unordered access: 110 made, bound as depth 135101x, cleared as depth 3089x, depth twins: 110 alive

Immediately afterward (06:57:21Z, frame=5712), ~15 new mesh/pixel shaders bound and entered compilation simultaneously (ac01ae42830fced9, f7832040c69c8113, 0d1c025b120f0769, e831c973bd335f0d, bce34bf711aec1bc, 1a2d33fcacdd8389, 99bdcd7c5640452d, 7333603e0e1b4e90, e4cb62d96e50bf06, addd640519009bb3, a62abba7a1c35478, etc.), and the process hit rust_oom at 06:57:22.16Z (just as host pipeline library saved at 09:57:22).

Note: this build included #49 (which scales pipeline_worker_count to 6 and dstorage_worker_count to 12 on a 12-thread CPU) and did not yet include #47 (RAM-scaled scratch/list pools), #48 (tighter idle eviction/trim under RAM/VRAM pressure), or VICTORY_LEVELS_ON_DEMAND=1. Leaving this data point here as clean commit/memory-pressure evidence from a 32 GiB RAM / 16 GiB VRAM host before testing #47 + #48 + VICTORY_LEVELS_ON_DEMAND=1.

Hardware run and PDB-resolved log summary only; no game files, shader dumps, or screenshots attached.

**@⁠im-a-cat** on GitHub · 2026-11-25 07:07 UTC · [original](https://github.com/fxceless/victory-fork/issues/771) ## Setup - **GPU / Driver:** NVIDIA GeForce RTX 4060 Ti 16 GB (`16380 MiB`), driver `32.0.16.2135` (`621.35`) - **CPU / RAM:** AMD Ryzen 5 5600 (6C/12T), `31.9 GiB` RAM - **OS:** Windows 11 Pro (build `26300`), native D3D12, default Windows TDR - **Tree:** `fxceless/victory-fork` `main` (`8dd30ab`) + `#51`, `#25`, `#203`, `#61`, `#220`, `#23`, `#74`, `#49` (plus local logging-only `VICTORY_LOG_FILE`/`VICTORY_NO_ANSI` in `crates/victory-core/src/logging.rs`) - **Launch:** `release` profile (`[optimized + debuginfo]`), `--console series-x --execute --unimplemented zero`, `VICTORY_RELAY=2` (`8dd30ab` defaults), `VICTORY_LOG=info`, `VICTORY_INDIRECT_WINDOW` unset ## Crash details (no TDR / no device removal) After running stably for ~23.5 minutes (`06:33:51Z` → `06:57:22Z`, reaching ~`17.55 GiB` working set earlier in the cell), the process exited on a Windows Application Error event during a transition / new scene load (`frame=5712`): - **Exception code:** `0xc0000409` (`STATUS_STACK_BUFFER_OVERRUN` / Rust abort) - **Faulting offset in `victory.exe`:** `0x567c01` - **Resolved from matching `victory.pdb` (`dbghelp.dll`):** ```text Symbol: std::alloc::rust_oom::closure$0 + 0x31 Line: /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\std\src\alloc.rs:429 ``` - **Windows System log (`Display` 4101 / TDR):** `0` events — the GPU did not hang or reset. ## Resource & pipeline state right before `rust_oom` (`06:57:02Z` – `06:57:22Z`) At `06:57:15Z`, draws dropped from ~`6,204` (cell) to `1,745–2,316` as a transition began, with heavy texture streaming + heap growth: ```text 06:57:15Z: 0.3 fps, 3683.4 ms/frame (3436.2 preparing: copies 85.7 ms 182.1 MB, textures 3316.7 ms 181.8 MB; 126.5 on the GPU; 102.7 copying back 52.9 MB), 2316 draws/frame, dropped 686 without a host pipeline (0 being made) and 4 indirect; heap buffers 1.0 passes 272.6 ms; texture slots written so far: 1576124 placed, 1996988 of objects; textures picked by index: 193848 uploaded so far (82219 MB), 8751 waiting, 14528 passed over unmapped; depth textures with unordered access: 110 made, bound as depth 135101x, cleared as depth 3089x, depth twins: 110 alive ``` Immediately afterward (`06:57:21Z`, `frame=5712`), ~15 new mesh/pixel shaders bound and entered compilation simultaneously (`ac01ae42830fced9`, `f7832040c69c8113`, `0d1c025b120f0769`, `e831c973bd335f0d`, `bce34bf711aec1bc`, `1a2d33fcacdd8389`, `99bdcd7c5640452d`, `7333603e0e1b4e90`, `e4cb62d96e50bf06`, `addd640519009bb3`, `a62abba7a1c35478`, etc.), and the process hit `rust_oom` at `06:57:22.16Z` (just as `host pipeline library` saved at `09:57:22`). Note: this build included `#49` (which scales `pipeline_worker_count` to `6` and `dstorage_worker_count` to `12` on a 12-thread CPU) and did **not** yet include `#47` (RAM-scaled scratch/list pools), `#48` (tighter idle eviction/trim under RAM/VRAM pressure), or `VICTORY_LEVELS_ON_DEMAND=1`. Leaving this data point here as clean commit/memory-pressure evidence from a 32 GiB RAM / 16 GiB VRAM host before testing `#47` + `#48` + `VICTORY_LEVELS_ON_DEMAND=1`. *Hardware run and PDB-resolved log summary only; no game files, shader dumps, or screenshots attached.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:50:46 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#771
No description provided.