Whole picture turns white (or black) on a camera turn: 41% of the title's 1,245,184 views read a null slot (view heap capped at 1,000,000) #2625

Closed
opened 2026-11-29 15:08:50 +00:00 by github-bot · 2 comments
Owner

@⁠LasVegas38919 on GitHub · 2026-11-29 15:05 UTC · original

Build: main as of 2026-11-29T11:10Z (botto854's combine branch) with PR #2133 and PR #2263 applied locally, built with rustc 1.100.1, LTO=fat, target-cpu=native. Upstream v2026.11.29.01 prints the same heap line.

Hardware: Ryzen 7 9800X3D, RTX 3090 24 GB, 32 GB RAM, Windows 11 22621, driver 610.62.
Profile: Series X, --res 1080to1440 --dlss quality, frame generation off.

What happens

While driving or walking, the whole picture turns pure white (occasionally black) for a moment, then comes back. It is strongly coupled to the camera: turning the camera (looking back) makes it recover immediately, and it comes back every few minutes. It happens in the open world, not only in cutscenes, and it is not the blocky patches of #2312 (that one is fixed here with VICTORY_ALIAS_TARGETS=0).

The line it prints

WARN victory_gpu::descriptor::host: host view heap capped at 1000000 (737855 title + 262144 dynamic slots); views past 737855 read a null slot count=1245184 fitted=737855 dynamic=262144 WARN victory_gpu::descriptor::host: no free dynamic descriptor slots: a table is not made n=13

So in this scene the title asks for 1,245,184 views, the card allows 1,000,000, and after the dynamic share only 737,855 are the title's: 41% of them read a null slot, and which textures land past the cap depends on the camera. A null slot reads as white for some of these draws, which matches what is seen (and the black patches reported earlier are the same thing reading black).

Switches in that run

VICTORY_DYNAMIC_SLOTS=262144 (the floor: descriptor/host.rs:2286 DYNAMIC = 1 << 18) VICTORY_ALIAS_TARGETS=0 VICTORY_TEXTURE_NO_WAIT=0 VICTORY_SLOT_EVICT=0 VICTORY_SHOW_AFTER=0 VICTORY_SHOW_NEW_LATER=0 VICTORY_LEVELS_ON_DEMAND=0 VICTORY_INDIRECT_MERGE=1 VICTORY_INDIRECT_REST=0

VICTORY_DYNAMIC_SLOTS is already at its floor, so there is nothing left to give the title from the dynamic side.

What I would like to know

  1. Is there any supported way to lend the title more of the 1,000,000 (for instance releasing the dynamic share entirely for a run, VICTORY_DYNAMIC_SLOTS=0, or an option that makes tables fall back to a dedicated heap)?
  2. Failing that: could views past the cap read a transparent slot instead of a null one, so the picture stays plausible instead of flashing white?
  3. Even without a fix, a counter of "views past the cap" on the F3 panel would let users tell this apart from a texture problem.

Blocky smoke and effect tiles: the title's tile lists are cut at 65,535 groups, and VICTORY_INDIRECT_WIDE=force stops the process (0x80070057) on an RTX 3090

Build: main as of 2026-11-29T11:10Z (botto854's combine branch) with PR #2133 and PR #2263 applied locally, built with rustc 1.100.1.
Hardware: Ryzen 7 9800X3D, RTX 3090 24 GB, 32 GB RAM, Win11 22621, driver 610.62. Series X, --res 1080to1440 --dlss quality.

Symptom

Smoke comes out of a gun muzzle (and some other effects) as square blocks, and the tiles stay stale when something moves, exactly as crates/victory-gpu/src/indirect.rs:265-291 describes:

The title's tile lists are dispatches of one group per tile, and two of them are classes of the picture's 8x4 tiles, 115,200 in all at 2560x1440: in a captured frame 67,440 and 47,760 ... Cut to 65,535 the first list lost its last 1,905 tiles ... An NVIDIA card runs them too (card_runs_wide_indirect_dispatches on an RTX 5090 ...) Other cards stay at 65,535 unless VICTORY_INDIRECT_WIDE=force.

What happens with VICTORY_INDIRECT_WIDE=force on the 3090

The blocks go away, but the process stops itself after about 3,473 frames:

ERROR victory_gpu::host: a host command list did not close (参数错误。(0x80070057)): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

There was no device removed, no 0x887A0005, no TDR event, and no panic in the log — so the layer noticed an invalid command and stopped on purpose, not the driver resetting.

What I would like to know

  1. Is the 2^20 group width only valid on the cards you tested (5090), i.e. is =force expected to stop like this on Ampere? If so, could the value be clamped per adapter, or the cards that do support it be listed somewhere?
  2. Would a segmented dispatch (chunks of 65,535 groups, several dispatches per list) be an acceptable fix? I am happy to test a patch on this machine — a 3090 reproduces both the blocks and the stop deterministically.
**@⁠LasVegas38919** on GitHub · 2026-11-29 15:05 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2625) **Build**: main as of 2026-11-29T11:10Z (botto854's combine branch) with PR #2133 and PR #2263 applied locally, built with rustc 1.100.1, `LTO=fat`, `target-cpu=native`. Upstream `v2026.11.29.01` prints the same heap line. **Hardware**: Ryzen 7 9800X3D, RTX 3090 24 GB, 32 GB RAM, Windows 11 22621, driver 610.62. **Profile**: Series X, `--res 1080to1440 --dlss quality`, frame generation off. ## What happens While driving or walking, the whole picture turns **pure white** (occasionally black) for a moment, then comes back. It is strongly coupled to the camera: **turning the camera (looking back) makes it recover immediately**, and it comes back every few minutes. It happens in the open world, not only in cutscenes, and it is not the blocky patches of #2312 (that one is fixed here with `VICTORY_ALIAS_TARGETS=0`). ## The line it prints WARN victory_gpu::descriptor::host: host view heap capped at 1000000 (737855 title + 262144 dynamic slots); views past 737855 read a null slot count=1245184 fitted=737855 dynamic=262144 WARN victory_gpu::descriptor::host: no free dynamic descriptor slots: a table is not made n=13 So in this scene the title asks for **1,245,184** views, the card allows 1,000,000, and after the dynamic share only **737,855** are the title's: **41% of them read a null slot**, and which textures land past the cap depends on the camera. A null slot reads as white for some of these draws, which matches what is seen (and the black patches reported earlier are the same thing reading black). ## Switches in that run VICTORY_DYNAMIC_SLOTS=262144 (the floor: descriptor/host.rs:2286 DYNAMIC = 1 << 18) VICTORY_ALIAS_TARGETS=0 VICTORY_TEXTURE_NO_WAIT=0 VICTORY_SLOT_EVICT=0 VICTORY_SHOW_AFTER=0 VICTORY_SHOW_NEW_LATER=0 VICTORY_LEVELS_ON_DEMAND=0 VICTORY_INDIRECT_MERGE=1 VICTORY_INDIRECT_REST=0 `VICTORY_DYNAMIC_SLOTS` is already at its floor, so there is nothing left to give the title from the dynamic side. ## What I would like to know 1. Is there any supported way to lend the title more of the 1,000,000 (for instance releasing the dynamic share entirely for a run, `VICTORY_DYNAMIC_SLOTS=0`, or an option that makes tables fall back to a dedicated heap)? 2. Failing that: could views past the cap read a **transparent** slot instead of a null one, so the picture stays plausible instead of flashing white? 3. Even without a fix, a counter of "views past the cap" on the F3 panel would let users tell this apart from a texture problem. Blocky smoke and effect tiles: the title's tile lists are cut at 65,535 groups, and VICTORY_INDIRECT_WIDE=force stops the process (0x80070057) on an RTX 3090 **Build**: main as of 2026-11-29T11:10Z (botto854's combine branch) with PR #2133 and PR #2263 applied locally, built with rustc 1.100.1. **Hardware**: Ryzen 7 9800X3D, RTX 3090 24 GB, 32 GB RAM, Win11 22621, driver 610.62. Series X, `--res 1080to1440 --dlss quality`. ## Symptom Smoke comes out of a gun muzzle (and some other effects) as **square blocks**, and the tiles stay stale when something moves, exactly as `crates/victory-gpu/src/indirect.rs:265-291` describes: The title's tile lists are dispatches of one group per tile, and two of them are classes of the picture's 8x4 tiles, 115,200 in all at 2560x1440: in a captured frame 67,440 and 47,760 ... Cut to 65,535 the first list lost its last 1,905 tiles ... An NVIDIA card runs them too (card_runs_wide_indirect_dispatches on an RTX 5090 ...) Other cards stay at 65,535 unless VICTORY_INDIRECT_WIDE=force. ## What happens with `VICTORY_INDIRECT_WIDE=force` on the 3090 The blocks go away, but the process stops itself after about **3,473 frames**: ERROR victory_gpu::host: a host command list did not close (参数错误。(0x80070057)): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command There was no `device removed`, no `0x887A0005`, no TDR event, and no panic in the log — so the layer noticed an invalid command and stopped on purpose, not the driver resetting. ## What I would like to know 1. Is the 2^20 group width only valid on the cards you tested (5090), i.e. is `=force` expected to stop like this on Ampere? If so, could the value be clamped per adapter, or the cards that do support it be listed somewhere? 2. Would a segmented dispatch (chunks of 65,535 groups, several dispatches per list) be an acceptable fix? I am happy to test a patch on this machine — a 3090 reproduces both the blocks and the stop deterministically.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 15:08:51 +00:00
Author
Owner

@⁠LasVegas38919 on GitHub · 2026-11-29 15:53 UTC · original

Thanks for picking this up, and for taking the time to wire the counters into both
places — the F3 PAST CAP line is exactly what I was hoping for when I opened #2625,
and having it in the five-second line as well is more than I asked for.

For the record, from the machine that filed the report (RTX 3090 24 GB, 9800X3D, 32 GB,
driver 610.62, VICTORY_DYNAMIC_SLOTS=262144):

host view heap capped at 1000000 (737855 title + 262144 dynamic slots);
views past 737855 read a null slot count=1245184 fitted=737855 dynamic=262144

so 507,329 views past the cap, 40.8% of what the title asks for. On screen it is a
full-frame white (sometimes black) flash that clears the moment the camera turns back —
by far the most disruptive artefact I see, well ahead of the texture and blocky-effect
issues. It shows up most when driving fast through the city, which matches the
full-screen flashes in #2464 you mention.

Your reading of the order is the one I'd take too: count it, see what a real session
says, then decide what those reads should return. The "neutral descriptor instead of
null" follow-up is the change I'd most like to see — even a flat grey would turn a
blinding white flash into a slight wash, which would already make the game playable in
those moments. Whatever the maintainer decides, if a test build shows up I'll run it on
this machine and report back with numbers; the reproduction here is reliable, 100% of
sessions.

Thanks again — reading a report and turning it into instrumentation this quickly is
genuinely appreciated.

**@⁠LasVegas38919** on GitHub · 2026-11-29 15:53 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2625#issuecomment-7258452961) Thanks for picking this up, and for taking the time to wire the counters into both places — the F3 `PAST CAP` line is exactly what I was hoping for when I opened #2625, and having it in the five-second line as well is more than I asked for. For the record, from the machine that filed the report (RTX 3090 24 GB, 9800X3D, 32 GB, driver 610.62, VICTORY_DYNAMIC_SLOTS=262144): host view heap capped at 1000000 (737855 title + 262144 dynamic slots); views past 737855 read a null slot count=1245184 fitted=737855 dynamic=262144 so 507,329 views past the cap, 40.8% of what the title asks for. On screen it is a full-frame white (sometimes black) flash that clears the moment the camera turns back — by far the most disruptive artefact I see, well ahead of the texture and blocky-effect issues. It shows up most when driving fast through the city, which matches the full-screen flashes in #2464 you mention. Your reading of the order is the one I'd take too: count it, see what a real session says, then decide what those reads should return. The "neutral descriptor instead of null" follow-up is the change I'd most like to see — even a flat grey would turn a blinding white flash into a slight wash, which would already make the game playable in those moments. Whatever the maintainer decides, if a test build shows up I'll run it on this machine and report back with numbers; the reproduction here is reliable, 100% of sessions. Thanks again — reading a report and turning it into instrumentation this quickly is genuinely appreciated.
Author
Owner

@⁠unueberlegt on GitHub · 2026-11-29 16:43 UTC · original

First session on our side, with the counters from #2666 — with an honest scope note: ~15 minutes in the prologue (RTX 5070 12 GB, 31 GB RAM, Series X, DLSS quality), which is not your repro scene of driving fast through the city. What it shows:

  • "views past the capped heap" read 0 in every one of the run's ~170 five-second lines, the highest slot seen 0 — although the title asks for the same heap you saw (count=1 245 184 at creation). In this run the title's real usage stayed within the fitted 737 855 throughout: the heap's declared size is not what it uses.
  • Descriptor-table drops from exhausted dynamic slots: 0.00/frame through all of gameplay.

We did catch a black full-screen flash in that session, and it belongs to a different family: free physical RAM had fallen 5 537 MB → 845 MB within ~15 s of startup and hovered at ~1 GB, and at the flash moment the log shows 149 host pipelines refused with 0x8007000e, the memory guard putting compiles off — "its draws are dropped until then". The frames missing those passes are the black ones. In the same intervals: past-cap 0, table-slot drops 0.00 — neither the cap nor slot exhaustion was involved there.

On the mechanism, the code says a view past the cap is not left null: a fresh table's entry for it is made from the title's own record, and make_at falls back to the grey stand-in when the texture is not there yet — so a valid record reads real or grey, never null; null is only written for records the title never wrote (undefined on the console, too). The "507,329 past the cap" is arithmetic over the heap's declared size — whether the title's usage actually crosses fitted in your driving scene is exactly what the new counter decides.

Which makes your offer the perfect next step: once #2666 lands (or built from its branch), a session driving fast through the city with the panel on would settle it. If "views past the capped heap" moves there, that is the first observed case — and the grey stand-in is then the change I would want next, for exactly the reason you give.

**@⁠unueberlegt** on GitHub · 2026-11-29 16:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2625#issuecomment-7259122811) First session on our side, with the counters from #2666 — with an honest scope note: ~15 minutes in the prologue (RTX 5070 12 GB, 31 GB RAM, Series X, DLSS quality), which is not your repro scene of driving fast through the city. What it shows: - "views past the capped heap" read **0 in every one of the run's ~170 five-second lines**, the highest slot seen 0 — although the title asks for the same heap you saw (count=1 245 184 at creation). In this run the title's real usage stayed within the fitted 737 855 throughout: the heap's *declared* size is not what it *uses*. - Descriptor-table drops from exhausted dynamic slots: 0.00/frame through all of gameplay. We did catch a black full-screen flash in that session, and it belongs to a different family: free physical RAM had fallen 5 537 MB → 845 MB within ~15 s of startup and hovered at ~1 GB, and at the flash moment the log shows 149 host pipelines refused with `0x8007000e`, the memory guard putting compiles off — "its draws are dropped until then". The frames missing those passes are the black ones. In the same intervals: past-cap 0, table-slot drops 0.00 — neither the cap nor slot exhaustion was involved there. On the mechanism, the code says a view past the cap is not left null: a fresh table's entry for it is made from the title's own record, and `make_at` falls back to the grey stand-in when the texture is not there yet — so a valid record reads real or grey, never null; null is only written for records the title never wrote (undefined on the console, too). The "507,329 past the cap" is arithmetic over the heap's declared size — whether the title's usage actually crosses fitted in your driving scene is exactly what the new counter decides. Which makes your offer the perfect next step: once #2666 lands (or built from its branch), a session driving fast through the city with the panel on would settle it. If "views past the capped heap" moves there, that is the first observed case — and the grey stand-in is then the change I would want next, for exactly the reason you give.
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/trustno1-coder--VIctory-NVIDIA#2625
No description provided.