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

Open
github-bot wants to merge 1 commit from github-bot/gh-2634 into main AGit
Owner

@⁠pes7 on GitHub · 2026-11-25 17:17 UTC · original
pes7:perf/heap-slot-log → main · +9 −6 · 1 files · 1 commits · open

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.

**@⁠pes7** on GitHub · 2026-11-25 17:17 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634) `pes7:perf/heap-slot-log` → `main` · +9 −6 · 1 files · 1 commits · open 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.
The title asks for 1 245 184 descriptor slots, more than the 1 000 000 a host
heap holds, and it walks them in increasing order. "Log when the high-water
mark moves" is therefore one line per distinct slot: 199 846 of the first
200 000 lines of a run, ~8 000 a second, on the thread recording the frame.

That was the whole of the first frame's stall:

    before   310 932 lines in the run, first frame 21 433 ms
    after        231 lines in the run, first frame     33 ms

Same build, same warm caches (926 MB pipeline library, 1 347 MB shader cache),
same 150 s window. What the line said - that slots above the host heap's count
are not mirrored - is what the one line now says.

The underlying problem is not this change: 245 184 title slots can never be
mirrored because they exceed the tier-2 heap limit, which needs either several
host heaps with the index arithmetic adjusted or the views above 1 M placed
elsewhere. That is why the first world frames get null views.

cargo test --workspace --locked; both clippy configurations with -D warnings;
cargo xtask policy.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:10:51 +00:00
Author
Owner

@⁠Bj0rnis on GitHub · 2026-11-25 17:24 UTC · original

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.

**@⁠Bj0rnis** on GitHub · 2026-11-25 17:24 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7169461891) 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.
Author
Owner

@⁠oni-swr on GitHub · 2026-11-25 17:38 UTC · original

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.

**@⁠oni-swr** on GitHub · 2026-11-25 17:38 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7169784689) 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.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 17:47 UTC · original

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.

**@⁠kotekompotek** on GitHub · 2026-11-25 17:47 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7170010601) 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.
Author
Owner

@⁠pes7 on GitHub · 2026-11-25 17:49 UTC · original

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.

**@⁠pes7** on GitHub · 2026-11-25 17:49 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7170052022) 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.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 22:21 UTC · original

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

**@⁠Marvisak** on GitHub · 2026-11-25 22:21 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7176269536) <!-- 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)_
Author
Owner

@⁠davesousa on GitHub · 2026-11-25 23:56 UTC · original

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.

**@⁠davesousa** on GitHub · 2026-11-25 23:56 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7178219791) 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.
Author
Owner

@⁠Dukestar69 on GitHub · 2026-11-26 05:08 UTC · original · approved these changes

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).

**@⁠Dukestar69** on GitHub · 2026-11-26 05:08 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#pullrequestreview-6068845081) · **approved these changes** 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).
Author
Owner

@⁠fuzeofficlal on GitHub · 2026-11-26 14:29 UTC · original · approved these changes

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.

**@⁠fuzeofficlal** on GitHub · 2026-11-26 14:29 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#pullrequestreview-6075834054) · **approved these changes** 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.
Author
Owner

@⁠neonbyte1 on GitHub · 2026-11-26 17:48 UTC · original

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.

**@⁠neonbyte1** on GitHub · 2026-11-26 17:48 UTC · [original](https://github.com/Marvisak/VIctory/pull/2634#issuecomment-7199686613) 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 can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2634/head:github-bot/gh-2634'
git switch 'github-bot/gh-2634'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2634'
git switch 'github-bot/gh-2634'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2634'
git switch 'github-bot/gh-2634'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2634'
git switch 'main'
git merge --squash 'github-bot/gh-2634'
git switch 'main'
git merge --ff-only 'github-bot/gh-2634'
git switch 'main'
git merge 'github-bot/gh-2634'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/Marvisak--VIctory!2634
No description provided.