victory-gpu: say once, not per slot, that the title's heap outgrew the host's (first frame 21 s -> 33 ms) #2632

Open
pes7 wants to merge 1 commit from upstream-pr/2634 into main
pes7 commented 2026-11-25 17:17:08 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by pes7 on 2026-11-25T17:17:08Z.


The title asks for 1 245 184 descriptor slots, more than the 1 000 000 a host heap holds (D3D12_MAX_SHADER_VISIBLE_DESCRIPTOR_HEAP_SIZE_TIER_2), and it walks them in increasing order. The diagnostic for the slots it cannot get was written as "log when the high-water mark moves", which is one line per distinct slot:

WARN descriptor::host: title slot past the host heap index=<n> count=1000000 for_draw=false

In the first ~44 s of a run that is 199 846 of the first 200 000 log lines (~8 000 a second), emitted from the thread recording the frame - and it was the whole of the first frame's stall.

Measured on the same warm caches (926 MB pipeline library, 1 347 MB shader cache), same build otherwise, same 150 s window:

before after
log lines in the run 310 932 231
title slot past lines ~199 846 1
first frame 21 433 ms (preparing 21 033 ms) 33.3 ms

The menu is up at once instead of after 21 s of writing warnings.

What this does not fix

The reason the slots are missing: 245 184 title slots can never be mirrored, because they exceed the heap limit. Every draw that reaches one gets a null view, and the same opening frames say so twice:

WARN descriptor::host: host view heap capped at 1000000 ... count=1245184
WARN descriptor::host: no room for the null buffer views ... count=934464 total=1000000

That needs a real change - several host heaps with the index arithmetic adjusted, or the views above 1 M placed elsewhere - and the second line says the usable part is not contiguous with what the title uses. This PR only stops the log from hiding everything else while that is decided; VICTORY_LOG output is readable again, which is what makes the rest measurable.

One file, the log statement. cargo test --workspace --locked, both clippy configurations with -D warnings, cargo xtask policy.

What it gives (to decide the merge): the per-slot warning about the title's heap outgrowing the host's was the whole of the first frame: 16 695 ms -> 33 ms, and 310 932 log lines -> 231. Re-measured on main 13f91ca.

State: MERGEABLE, CI check green, rebased onto today's main (f3578e3).

Risk: the warning is said once, with the highest slot reached, instead of once per slot.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6609812342 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634). Originally posted by [pes7](https://github.com/pes7) on 2026-11-25T17:17:08Z. --- The title asks for **1 245 184 descriptor slots**, more than the **1 000 000** a host heap holds (`D3D12_MAX_SHADER_VISIBLE_DESCRIPTOR_HEAP_SIZE_TIER_2`), and it walks them in increasing order. The diagnostic for the slots it cannot get was written as "log when the high-water mark moves", which is one line **per distinct slot**: WARN descriptor::host: title slot past the host heap index=<n> count=1000000 for_draw=false In the first ~44 s of a run that is **199 846 of the first 200 000 log lines** (~8 000 a second), emitted from the thread recording the frame - and it was the whole of the first frame's stall. Measured on the same warm caches (926 MB pipeline library, 1 347 MB shader cache), same build otherwise, same 150 s window: | | before | after | |---|---:|---:| | log lines in the run | 310 932 | **231** | | `title slot past` lines | ~199 846 | **1** | | **first frame** | **21 433 ms** (`preparing 21 033 ms`) | **33.3 ms** | The menu is up at once instead of after 21 s of writing warnings. ## What this does not fix The reason the slots are missing: 245 184 title slots can never be mirrored, because they exceed the heap limit. Every draw that reaches one gets a null view, and the same opening frames say so twice: WARN descriptor::host: host view heap capped at 1000000 ... count=1245184 WARN descriptor::host: no room for the null buffer views ... count=934464 total=1000000 That needs a real change - several host heaps with the index arithmetic adjusted, or the views above 1 M placed elsewhere - and the second line says the usable part is not contiguous with what the title uses. This PR only stops the log from hiding everything else while that is decided; `VICTORY_LOG` output is readable again, which is what makes the rest measurable. One file, the log statement. `cargo test --workspace --locked`, both clippy configurations with `-D warnings`, `cargo xtask policy`. --- **What it gives (to decide the merge):** the per-slot warning about the title's heap outgrowing the host's was the whole of the first frame: 16 695 ms -> 33 ms, and 310 932 log lines -> 231. Re-measured on `main` `13f91ca`. **State:** MERGEABLE, CI `check` green, rebased onto today's `main` (`f3578e3`). **Risk:** the warning is said once, with the highest slot reached, instead of once per slot.
Bj0rnis commented 2026-11-25 18:02:44 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Bj0rnis on 2026-11-25T17:24:36Z.


Independent Windows 11 hardware + WARP verification of #2634 at a9eca143 (clean git merge-tree with origin/main 13f91cae, Rust 1.98.1 MSVC):

  • NVIDIA GeForce RTX 5070 Ti (real hardware): cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1 -> 144 passed, 2 failed, 2 ignored (only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures).
  • WARP (VICTORY_D3D12_WARP=1): 146 passed, 0 failed, 2 ignored (0.94s).
  • Clippy: cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings -> 0 warnings.
  • Asset policy: cargo xtask policy -> 182 files ok.

Not tested: live game workload / first-frame timing.

AI-assisted test run and summary.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7169461891 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7169461891). Originally posted by [Bj0rnis](https://github.com/Bj0rnis) on 2026-11-25T17:24:36Z. --- Independent Windows 11 hardware + WARP verification of #2634 at `a9eca143` (clean `git merge-tree` with `origin/main` `13f91cae`, Rust 1.98.1 MSVC): - **NVIDIA GeForce RTX 5070 Ti (real hardware):** `cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1` -> **144 passed, 2 failed, 2 ignored** (only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures). - **WARP (`VICTORY_D3D12_WARP=1`):** **146 passed, 0 failed, 2 ignored** (0.94s). - **Clippy:** `cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings` -> **0 warnings**. - **Asset policy:** `cargo xtask policy` -> **182 files ok**. Not tested: live game workload / first-frame timing. AI-assisted test run and summary.
oni-swr commented 2026-11-25 18:02:47 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by oni-swr on 2026-11-25T17:38:10Z.


Independent verification (no physical GPU, no game files, no competing PR). AI-assisted: Claude Code (Claude Sonnet 5.5).

  • Environment: Windows 11 Pro 10.0.26200, rustc/cargo 1.98.1, dxil.dll 1.8.2502.11 (Windows SDK 10.0.26100.0), VICTORY_D3D12_WARP=1 with --features diagnostics (needed for the switch to select the software adapter) and VICTORY_WARP=1.
  • origin/main = 13f91caee2
  • PR head: a9eca1430a (83 commits behind origin/main; merges cleanly, and I tested the merge too)

Results

  • cargo test -p victory-gpu --lib --features diagnostics --locked -- --test-threads=1 on the head: 146 passed, 0 failed, 2 ignored. origin/main + this PR merged (not committed): 198 passed, 0 failed, 1 ignored; origin/main alone: 198 passed, 0 failed, 1 ignored.
  • cargo clippy -p victory-gpu --all-targets --features diagnostics --locked: no warnings.
  • The PR has no test of its own, so I used a throwaway, uncommitted one: a counting tracing::Subscriber, HostHeap::new(false, 4) on WARP, and 1000 calls of mirror(1000 + i, 0, false). On origin/main it counts 1000 WARN events (assertion failed, left 1000, right 1); on the PR head it counts 1 and passes.

Review: the Once is process-wide, so a second, differently sized heap never warns; fine for a diagnostic. The new message text is clearer. The 21 s -> 33 ms first-frame figure is the author's measurement on the title and is not reproduced here.

Not tested: the retail-title numbers, physical GPU.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7169784689 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7169784689). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-25T17:38:10Z. --- Independent verification (no physical GPU, no game files, no competing PR). AI-assisted: Claude Code (Claude Sonnet 5.5). - Environment: Windows 11 Pro 10.0.26200, rustc/cargo 1.98.1, dxil.dll 1.8.2502.11 (Windows SDK 10.0.26100.0), `VICTORY_D3D12_WARP=1` with `--features diagnostics` (needed for the switch to select the software adapter) and `VICTORY_WARP=1`. - `origin/main` = 13f91caee25f2fdf2c062be5f7a27f058e51cbca - PR head: a9eca1430a0b2a133ee5ebc4ec07062ae6c562ba (83 commits behind `origin/main`; merges cleanly, and I tested the merge too) **Results** - `cargo test -p victory-gpu --lib --features diagnostics --locked -- --test-threads=1` on the head: 146 passed, 0 failed, 2 ignored. `origin/main` + this PR merged (not committed): 198 passed, 0 failed, 1 ignored; `origin/main` alone: 198 passed, 0 failed, 1 ignored. - `cargo clippy -p victory-gpu --all-targets --features diagnostics --locked`: no warnings. - The PR has no test of its own, so I used a throwaway, uncommitted one: a counting `tracing::Subscriber`, `HostHeap::new(false, 4)` on WARP, and 1000 calls of `mirror(1000 + i, 0, false)`. On `origin/main` it counts 1000 WARN events (assertion failed, left 1000, right 1); on the PR head it counts 1 and passes. **Review**: the `Once` is process-wide, so a second, differently sized heap never warns; fine for a diagnostic. The new message text is clearer. The 21 s -> 33 ms first-frame figure is the author's measurement on the title and is not reproduced here. **Not tested**: the retail-title numbers, physical GPU.
kotekompotek commented 2026-11-25 18:02:50 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T17:47:45Z.


Reviewed: warn-once is right — the previous per-new-high-water line could spam thousands/sec during world streaming, and the message now says what the consequence is (slots above count are not mirrored). CI green.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170010601 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7170010601). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T17:47:45Z. --- Reviewed: warn-once is right — the previous per-new-high-water line could spam thousands/sec during world streaming, and the message now says what the consequence is (slots above count are not mirrored). CI green.
pes7 commented 2026-11-25 18:02:51 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by pes7 on 2026-11-25T17:49:32Z.


Re-measured on today's main (13f91ca), warm caches, same window, so this still applies as-is and the numbers hold up:

first frame:  16 695.0 ms/frame (16 553.5 ms preparing, 1.5 ms on the GPU, 2 draws)
log lines:    310 982 in the run
of those:     310 720 are "title slot past the host heap"

So 99.9% of the run's log is that one line, and preparing - the part of the frame that is our CPU work - is 16.5 s of a 16.7 s frame while the GPU does 1.5 ms. With the Once in this PR it is 33 ms and 231 lines (measured on the same warm caches).

The removal that follows is unrelated (a TDR, #1633), but it comes 10 s after this stall, so every launch pays the 16.5 s before anything can be measured.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170052022 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7170052022). Originally posted by [pes7](https://github.com/pes7) on 2026-11-25T17:49:32Z. --- Re-measured on today's main (`13f91ca`), warm caches, same window, so this still applies as-is and the numbers hold up: first frame: 16 695.0 ms/frame (16 553.5 ms preparing, 1.5 ms on the GPU, 2 draws) log lines: 310 982 in the run of those: 310 720 are "title slot past the host heap" So 99.9% of the run's log is that one line, and `preparing` - the part of the frame that is our CPU work - is 16.5 s of a 16.7 s frame while the GPU does 1.5 ms. With the `Once` in this PR it is 33 ms and 231 lines (measured on the same warm caches). The removal that follows is unrelated (a TDR, #1633), but it comes 10 s after this stall, so every launch pays the 16.5 s before anything can be measured.
Marvisak commented 2026-11-25 23:06:13 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T22:21:52Z.


Automated triage for the maintainers.

Recommended for a maintainer's look. In HostHeap::mirror (crates/victory-gpu/src/descriptor/host.rs), the warning for a title slot past a capped host heap went out at every new high-water mark. Because the title walks its slots in increasing order, that is one line per slot, and the author measured it as nearly all of a run's log and about 16–21 s of the first frame's preparing time. It is now a single Once warning that says slots above the count are not mirrored; the behaviour (None for those slots) is unchanged. A reviewer confirmed with a counting subscriber that 1000 calls now log once. This overlaps the older #1800 (log once per 64 Ki), which needs a rebase. This one is smaller and merges cleanly. CI check passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7176269536 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7176269536). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T22:21:52Z. --- <!-- victory-triage v1 head=a9eca1430a0b2a133ee5ebc4ec07062ae6c562ba verdict=merge-candidate at=2026-11-25T22:22:30Z --> Automated triage for the maintainers. Recommended for a maintainer's look. In `HostHeap::mirror` (`crates/victory-gpu/src/descriptor/host.rs`), the warning for a title slot past a capped host heap went out at every new high-water mark. Because the title walks its slots in increasing order, that is one line per slot, and the author measured it as nearly all of a run's log and about 16–21 s of the first frame's preparing time. It is now a single `Once` warning that says slots above the count are not mirrored; the behaviour (`None` for those slots) is unchanged. A reviewer confirmed with a counting subscriber that 1000 calls now log once. This overlaps the older #1800 (log once per 64 Ki), which needs a rebase. This one is smaller and merges cleanly. CI `check` passing. --- _Generated by [Claude Code](https://claude.ai/code)_
davesousa commented 2026-11-26 00:03:37 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by davesousa on 2026-11-25T23:56:10Z.


This also removes an intermittent boot crash on NVIDIA: the title's own watchdog kill. RTX 3070 Ti 8 GB, driver 621.40, Windows 11 26200, Series X profile, diag build. Tree: main f3578e3 + #2319 + #2178 + #2851 (what this card needs to reach the world), then the same with this PR (a9eca14, merges cleanly).

The crash. Across today's runs of builds without this PR (several trees, stderr to a file), 4 of 15 boots ended within the first minute with 0xc0000005 (write 0x0) at image+0x2215c35, or image+0x258b000 called from it, with +0x2215eca below. That is the watchdog kill site in #630, and the stack MrEjecutor saw on #1800. In those runs title slot past the host heap began about 5 s in at about 11,000 lines a second. In the killed boots it was still running at the kill, 30 s later. In a clean boot of the same build it ended after 27 s.

A/B. Same tree with and without this PR, run as the README does (its own console window, output to the console), 3 boots each, 120 s each, window caption sampled every 5 s:

without with this PR
first caption at 30 fps (menus) 30 s, 35 s, 40 s 10 s, 10 s, 10 s
longest frame in the captions 25,989 ms (one frame) 502 ms (the first one)
watchdog kills 0 of 3 0 of 3

None of these six boots was killed, but without the PR the stall was 25-35 s against what #630 describes as a 30 s countdown. That fits the 4-in-15 rate above. With the PR the menus are up in 10 s, so the boot no longer runs near the limit.

AI-assisted (Claude Code); the runs are on my machine.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7178219791 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7178219791). Originally posted by [davesousa](https://github.com/davesousa) on 2026-11-25T23:56:10Z. --- This also removes an intermittent boot crash on NVIDIA: the title's own watchdog kill. RTX 3070 Ti 8 GB, driver 621.40, Windows 11 26200, Series X profile, `diag` build. Tree: `main` `f3578e3` + #2319 + #2178 + #2851 (what this card needs to reach the world), then the same with this PR (`a9eca14`, merges cleanly). **The crash.** Across today's runs of builds without this PR (several trees, stderr to a file), 4 of 15 boots ended within the first minute with `0xc0000005` (write 0x0) at `image+0x2215c35`, or `image+0x258b000` called from it, with `+0x2215eca` below. That is the watchdog kill site in #630, and the stack MrEjecutor saw on #1800. In those runs `title slot past the host heap` began about 5 s in at about 11,000 lines a second. In the killed boots it was still running at the kill, 30 s later. In a clean boot of the same build it ended after 27 s. **A/B.** Same tree with and without this PR, run as the README does (its own console window, output to the console), 3 boots each, 120 s each, window caption sampled every 5 s: | | without | with this PR | |---|---|---| | first caption at 30 fps (menus) | 30 s, 35 s, 40 s | 10 s, 10 s, 10 s | | longest frame in the captions | 25,989 ms (one frame) | 502 ms (the first one) | | watchdog kills | 0 of 3 | 0 of 3 | None of these six boots was killed, but without the PR the stall was 25-35 s against what #630 describes as a 30 s countdown. That fits the 4-in-15 rate above. With the PR the menus are up in 10 s, so the boot no longer runs near the limit. AI-assisted (Claude Code); the runs are on my machine.
Dukestar69 commented 2026-11-26 05:08:56 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Dukestar69 on 2026-11-26T05:08:56Z.

Review: APPROVED


Tested merged onto origin/main (63bcca4) on Windows 11 x64 (NVIDIA GeForce RTX 5090):

  • cargo test -p victory-gpu --lib descriptor::host::tests -- --test-threads=1 --skip dynamic_slots_are_held_until_released: 14 passed, 0 failed (skipped pre-existing #1744 NVIDIA 1M view-heap cap test; single-threaded due to pre-existing WHILE_PREPARING parallel race in #2946).
  • cargo clippy -p victory-gpu --all-targets -- -D warnings: clean.
  • cargo xtask policy: 191 files ok.

Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6068845081 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#pullrequestreview-6068845081). Originally posted by [Dukestar69](https://github.com/Dukestar69) on 2026-11-26T05:08:56Z. **Review:** APPROVED --- Tested merged onto `origin/main` (`63bcca4`) on Windows 11 x64 (NVIDIA GeForce RTX 5090): - `cargo test -p victory-gpu --lib descriptor::host::tests -- --test-threads=1 --skip dynamic_slots_are_held_until_released`: **14 passed, 0 failed** (skipped pre-existing `#1744` NVIDIA 1M view-heap cap test; single-threaded due to pre-existing `WHILE_PREPARING` parallel race in `#2946`). - `cargo clippy -p victory-gpu --all-targets -- -D warnings`: clean. - `cargo xtask policy`: 191 files ok. Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
fuzeofficlal commented 2026-11-26 14:29:02 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T14:29:02Z.

Review: APPROVED


Reviewed a9eca1430a0b2a133ee5ebc4ec07062ae6c562ba merged cleanly onto main (63bcca43c6a0) and verified on Windows 11 x64 (NVIDIA GeForce RTX 5090 + Microsoft WARP, VICTORY_D3D12_DEBUG=1, Rust 1.98.1).

Code Review

  • crates/victory-gpu/src/descriptor/host.rs:634-652: Replacing static HIGHEST: AtomicU32 with static ONCE: std::sync::Once eliminates per-slot warning spam when a title walks past a capped host view heap, clarifies the warning message (slots above the host heap's count are not mirrored), and preserves the None return path identically.
  • Minor non-blocking note: the PR summary mentions logging "the highest slot reached", whereas ONCE logs the first out-of-bounds slot encountered—which is completely fine for a one-shot diagnostic.

Verification (RTX 5090 + WARP + VICTORY_D3D12_DEBUG=1, Rust 1.98.1)

  • cargo run --locked -p xtask -- policy: 191 files ok.
  • cargo clippy --locked -p victory-gpu --all-targets -- -D warnings (default and --all-features): 0 warnings.
  • victory-gpu descriptor:: (VICTORY_D3D12_DEBUG=1):
    • RTX 5090 (skipping the pre-existing 1M view-heap cap test dynamic_slots_are_held_until_released): 21/21 passed.
    • WARP (--features diagnostics, full suite): 22/22 passed.
  • Out-of-bounds warning probe (1,000 strictly increasing HostHeap::mirror(heap.count + i, 0, false) calls under a counting tracing::Subscriber):
    • origin/main (63bcca43, RTX 5090): nones=1000, warns=1000.
    • #2634 merged onto main: nones=1000, warns=1 on both RTX 5090 and WARP (VICTORY_D3D12_DEBUG=1).

LGTM.

<!-- greyfinch-sync:Marvisak/VIctory:review:6075834054 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#pullrequestreview-6075834054). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T14:29:02Z. **Review:** APPROVED --- Reviewed `a9eca1430a0b2a133ee5ebc4ec07062ae6c562ba` merged cleanly onto `main` (`63bcca43c6a0`) and verified on Windows 11 x64 (NVIDIA GeForce RTX 5090 + Microsoft WARP, `VICTORY_D3D12_DEBUG=1`, Rust `1.98.1`). ### Code Review - `crates/victory-gpu/src/descriptor/host.rs:634-652`: Replacing `static HIGHEST: AtomicU32` with `static ONCE: std::sync::Once` eliminates per-slot warning spam when a title walks past a capped host view heap, clarifies the warning message (`slots above the host heap's count are not mirrored`), and preserves the `None` return path identically. - Minor non-blocking note: the PR summary mentions logging "the highest slot reached", whereas `ONCE` logs the *first* out-of-bounds slot encountered—which is completely fine for a one-shot diagnostic. ### Verification (RTX 5090 + WARP + `VICTORY_D3D12_DEBUG=1`, Rust `1.98.1`) - `cargo run --locked -p xtask -- policy`: `191 files ok`. - `cargo clippy --locked -p victory-gpu --all-targets -- -D warnings` (default and `--all-features`): 0 warnings. - `victory-gpu` `descriptor::` (`VICTORY_D3D12_DEBUG=1`): - RTX 5090 (skipping the pre-existing 1M view-heap cap test `dynamic_slots_are_held_until_released`): **21/21 passed**. - WARP (`--features diagnostics`, full suite): **22/22 passed**. - Out-of-bounds warning probe (1,000 strictly increasing `HostHeap::mirror(heap.count + i, 0, false)` calls under a counting `tracing::Subscriber`): - `origin/main` (`63bcca43`, RTX 5090): `nones=1000, warns=1000`. - `#2634` merged onto `main`: `nones=1000, warns=1` on both RTX 5090 and WARP (`VICTORY_D3D12_DEBUG=1`). LGTM.
neonbyte1 commented 2026-11-26 17:48:30 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by neonbyte1 on 2026-11-26T17:48:30Z.


Tested in game on an RTX 5090 (driver 620.73.04), Linux, GE-Proton11-14 Wine with vkd3d-proton.

Build: main plus a few unmerged PRs this setup needs, with this PR merged on top (clean, one file). NVIDIA reports a 1,000,000-view host heap and the title asks for 1,245,184 slots, so the warning fires.

10-minute runs, opening yard without this PR with this PR (2 runs)
title slot past the host heap lines 531,904 1
ms/frame (median of the last 30 reports) 871.3 857.8 / 873.1
device removed / Xid 0 0

The 531,904 lines all come from one ~2.3 s burst at startup, one per slot from 713,280 to 1,245,183, all with for_draw=false. With this PR that's one line, and the log stays readable.

One thing I first suspected but disproved: the stack overflows logged in every run happen with or without this PR. They're unrelated, and I'm tracking them separately.

AI-assisted (Claude); measured on my machine, no game data shared.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7199686613 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7199686613). Originally posted by [neonbyte1](https://github.com/neonbyte1) on 2026-11-26T17:48:30Z. --- Tested in game on an RTX 5090 (driver 620.73.04), Linux, GE-Proton11-14 Wine with vkd3d-proton. **Build:** `main` plus a few unmerged PRs this setup needs, with this PR merged on top (clean, one file). NVIDIA reports a 1,000,000-view host heap and the title asks for 1,245,184 slots, so the warning fires. | 10-minute runs, opening yard | without this PR | with this PR (2 runs) | |---|---|---| | `title slot past the host heap` lines | 531,904 | **1** | | ms/frame (median of the last 30 reports) | 871.3 | 857.8 / 873.1 | | device removed / Xid | 0 | 0 | The 531,904 lines all come from one ~2.3 s burst at startup, one per slot from 713,280 to 1,245,183, all with `for_draw=false`. With this PR that's one line, and the log stays readable. One thing I first suspected but disproved: the stack overflows logged in every run happen with or without this PR. They're unrelated, and I'm tracking them separately. _AI-assisted (Claude); measured on my machine, no game data shared._
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2634:upstream-pr/2634'
git switch 'upstream-pr/2634'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2634'
git switch 'upstream-pr/2634'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2634'
git switch 'upstream-pr/2634'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2634'
git switch 'main'
git merge --squash 'upstream-pr/2634'
git switch 'main'
git merge --ff-only 'upstream-pr/2634'
git switch 'main'
git merge 'upstream-pr/2634'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!2632
No description provided.