World renders black on RTX 3080 Ti: 32768 draws dropped for lack of dynamic descriptor slots #1496

Open
opened 2026-11-26 04:33:59 +00:00 by github-bot · 6 comments
Owner

@⁠Ender1Dragon on GitHub · 2026-11-24 18:28 UTC · original

Environment

VIctory main @ 2026-11-24 (source zip), built with cargo build --release -p victory --features diagnostics
Rust 1.100.0 (see note at the bottom - rust-toolchain.toml pins 1.98.1, which the mirror does not carry)
OS Windows 11 build 26300
CPU Intel i7-12700
GPU NVIDIA RTX 3080 Ti, driver 32.0.16.2101
RAM 32 GB
Title GTA VI Xbox Series X dump, v1.0.2.1

Summary

The title boots, runs its menus, loads the world, and stays alive for a long time
(one run lasted 55 minutes). The world never draws anything visible: the
window is black apart from a thin column of coloured pixels at the left edge.
draws/frame counts in the thousands, so draws are being submitted - they are
being dropped.

The dominant warning is not a shader-translation failure:

WARN victory_gpu::draw: a draw or dispatch dropped: no dynamic slots for its tables dropped=32768

Load screens and 2D do render correctly (see What does render below), so the
texture, UI and present paths are fine. The gap is 3D only.

Reproduction

  1. cargo build --release -p victory --features diagnostics
  2. victory.toml with only game_dir pointing at the dump
  3. target\release\victory.exe run "<dump>\game_scarlett_master.exe" --execute --unimplemented zero

Menus appear (black, 30 fps, 10-11 draws/frame). With key presses
(VICTORY_KEYS=8:Enter,20:Enter,35:Enter) it proceeds into the world:

Americas | VIctory 1 fps 1165.7 ms/frame 2645 draws/frame

Screen stays black. Within 60-180 s the host device is removed.

Evidence

Draws dropped for lack of dynamic slots

WARN victory_gpu::draw: a draw or dispatch dropped: no dynamic slots for its tables dropped=32768

Per-frame profile (info level, first world frames)

0.8 fps, 1233.5 ms/frame (332.3 preparing: copies 216.0 ms 39.4 MB,
  textures 40.3 ms 133.3 MB; 687.7 on the GPU; 189.5 copying back 3.8 MB),
  5016 draws/frame, dropped 2296 without a host pipeline (0 being made) and 3640 indirect

0.4 fps, 2733.6 ms/frame (588.1 preparing: copies 342.2 ms 195.2 MB,
  textures 38.6 ms 142.0 MB; 1958.5 on the GPU; 160.1 copying back 7.5 MB),
  2575 draws/frame, dropped 1055 without a host pipeline

So roughly half the draws have no host pipeline at all, and a further 32768 are
dropped for want of dynamic slots.

Shaders that do not translate (5, with hashes)

stage="pixel"   hash=7778fb128a65511e  GFX10 code at 0x8738: the first half of an interpolation is not supported
stage="pixel"   hash=9616b2b43090f859  GFX10 code at 0x1298: a 64-bit image atomic is not supported
stage="compute" hash=2706619ccc47630b  GFX10 code at 0x2cb4: a descriptor read only as data is not supported
stage="compute" hash=22e10ac0ddb8bb73  GFX10 code at 0x7378: a select on an untracked mask is not supported
stage="compute" hash=871f1215f671882c  GFX10 code at 0xc0f8: a select on an untracked mask is not supported

Device removal

WARN victory_gpu::host: slow host submission ms=4831 lists=31
  pipelines={"[compute 3e7c51f5a390d0f0]", "[compute 7933a53d52c6862f]", ...
             "[mesh 043dbac88f8ab0a8, pixel c1e898e2ca39af60]", ... }   // ~50 mesh pipelines
ERROR victory_gpu::host: host GPU device removed after a submission of 31 lists;
  0x887A0004 (DXGI_ERROR_UNSUPPORTED); 0x887A0006 (DXGI_ERROR_DEVICE_HUNG)

31 command lists in one submission containing dozens of mesh pipelines exceeds
the 2 s TDR budget. VICTORY_D3D12_WARP=1 also ends in DEVICE_HUNG, so this is
not an NVIDIA driver defect.

Resource-state and PSO-library warnings

D3D12: ExecuteCommandLists: Using ResourceBarrier ... Before state (0x8: UNORDERED_ACCESS)
  does not match with the current resource state (0x1: VERTEX_AND_CONSTANT_BUFFER)
  (assumed at first use)  id=527

D3D12: ID3D12PipelineLibrary::Load*Pipeline: The pipeline state desc provided does not match
  the one used to create the PSO stored with name "0531733430731629defc44cafb0dada5"  id=972
D3D12: ID3D12PipelineLibrary::Load*Pipeline: This library does not have a pipeline stored
  with name "cdd6b414b7146f260eb89fa48b8db919"  id=971
D3D12: ID3D12PipelineLibrary::StorePipeline: A pipeline with name
  "0531733430731629defc44cafb0dada5" already exists in the library  id=970

What does render

VICTORY_CAPTURE output across a run:

frame-1.png      6.0 KB
frame-2.png      6.0 KB
...
frame-512.png   13.6 KB     (all black)
frame-1024.png  1806.9 KB    -> full-quality loading illustration, 1920x1080

That 1024th frame is a complete GTA VI loading illustration - sharp vector art,
gradients, decals, the lot. So the 2D/texture/present path works end to end; only
3D world rendering produces nothing.

What I tried (and it made things worse)

Since descriptor/host.rs documents the cap:

/// 2^16 ran out seconds into the world (every world run on an RX 9070 XT,
/// each a device removal shortly after; #59).
const DYNAMIC: u32 = 1 << 18;
const MIN_DYNAMIC: u32 = 1 << 16;
const PORTABLE_VIEWS: u32 = 1_000_000;

I raised them to DYNAMIC = 1 << 20 and PORTABLE_VIEWS = 4_000_000, expecting
the slot exhaustion to go away. Result:

Americas | VIctory 30 fps 33.3 ms/frame 10 draws/frame

30 fps is not an improvement - 10 draws/frame means almost nothing is drawn.
make(count + DYNAMIC) fails past the tier-3 limit of 1,000,000 shader-visible
descriptors, so both the DYNAMIC and MIN_DYNAMIC paths fail, HostHeap::new
returns None, and every draw loses its heap. Reverting to the shipped constants
restores the original behaviour.

So raising the constants is not the fix; the slot shortage needs more heaps or a
remapping layer, not a bigger single heap. Posting in case it saves someone else
the experiment.

  • #59 - the 2^16 ran out seconds into the world note points at this same
    exhaustion; this report adds a tier-3 NVIDIA data point and shows that raising
    the constant fails on the 1,000,000 cap.

Minor: rust-toolchain.toml pins an unavailable toolchain

rust-toolchain.toml asks for channel = "1.98.1", which static.rust-lang.org
and the Tsinghua mirror both return 404 for. Cargo.toml states
rust-version = "1.88", so a stable toolchain builds the workspace fine
(1.100.0 here). Changing the pin to stable, or to a version that exists, would
unblock anyone building from source.

Attachments

  • frame-1024.png - the loading illustration that does render
  • shot-world.png - the window at 1 fps / 2645 draws/frame, world black
  • full VICTORY_LOG=victory_gpu=debug,info run log on request
frame-loading shot-world
**@⁠Ender1Dragon** on GitHub · 2026-11-24 18:28 UTC · [original](https://github.com/Marvisak/VIctory/issues/1496) ## Environment | | | |---|---| | VIctory | `main` @ 2026-11-24 (source zip), built with `cargo build --release -p victory --features diagnostics` | | Rust | 1.100.0 (see note at the bottom - `rust-toolchain.toml` pins `1.98.1`, which the mirror does not carry) | | OS | Windows 11 build 26300 | | CPU | Intel i7-12700 | | GPU | NVIDIA RTX 3080 Ti, driver 32.0.16.2101 | | RAM | 32 GB | | Title | GTA VI Xbox Series X dump, `v1.0.2.1` | ## Summary The title boots, runs its menus, loads the world, and stays alive for a long time (one run lasted 55 minutes). **The world never draws anything visible**: the window is black apart from a thin column of coloured pixels at the left edge. `draws/frame` counts in the thousands, so draws are being submitted - they are being dropped. The dominant warning is not a shader-translation failure: ``` WARN victory_gpu::draw: a draw or dispatch dropped: no dynamic slots for its tables dropped=32768 ``` Load screens and 2D do render correctly (see *What does render* below), so the texture, UI and present paths are fine. The gap is 3D only. ## Reproduction 1. `cargo build --release -p victory --features diagnostics` 2. `victory.toml` with only `game_dir` pointing at the dump 3. `target\release\victory.exe run "<dump>\game_scarlett_master.exe" --execute --unimplemented zero` Menus appear (black, `30 fps`, `10-11 draws/frame`). With key presses (`VICTORY_KEYS=8:Enter,20:Enter,35:Enter`) it proceeds into the world: ``` Americas | VIctory 1 fps 1165.7 ms/frame 2645 draws/frame ``` Screen stays black. Within 60-180 s the host device is removed. ## Evidence ### Draws dropped for lack of dynamic slots ``` WARN victory_gpu::draw: a draw or dispatch dropped: no dynamic slots for its tables dropped=32768 ``` ### Per-frame profile (info level, first world frames) ``` 0.8 fps, 1233.5 ms/frame (332.3 preparing: copies 216.0 ms 39.4 MB, textures 40.3 ms 133.3 MB; 687.7 on the GPU; 189.5 copying back 3.8 MB), 5016 draws/frame, dropped 2296 without a host pipeline (0 being made) and 3640 indirect 0.4 fps, 2733.6 ms/frame (588.1 preparing: copies 342.2 ms 195.2 MB, textures 38.6 ms 142.0 MB; 1958.5 on the GPU; 160.1 copying back 7.5 MB), 2575 draws/frame, dropped 1055 without a host pipeline ``` So roughly half the draws have no host pipeline at all, and a further 32768 are dropped for want of dynamic slots. ### Shaders that do not translate (5, with hashes) ``` stage="pixel" hash=7778fb128a65511e GFX10 code at 0x8738: the first half of an interpolation is not supported stage="pixel" hash=9616b2b43090f859 GFX10 code at 0x1298: a 64-bit image atomic is not supported stage="compute" hash=2706619ccc47630b GFX10 code at 0x2cb4: a descriptor read only as data is not supported stage="compute" hash=22e10ac0ddb8bb73 GFX10 code at 0x7378: a select on an untracked mask is not supported stage="compute" hash=871f1215f671882c GFX10 code at 0xc0f8: a select on an untracked mask is not supported ``` ### Device removal ``` WARN victory_gpu::host: slow host submission ms=4831 lists=31 pipelines={"[compute 3e7c51f5a390d0f0]", "[compute 7933a53d52c6862f]", ... "[mesh 043dbac88f8ab0a8, pixel c1e898e2ca39af60]", ... } // ~50 mesh pipelines ERROR victory_gpu::host: host GPU device removed after a submission of 31 lists; 0x887A0004 (DXGI_ERROR_UNSUPPORTED); 0x887A0006 (DXGI_ERROR_DEVICE_HUNG) ``` 31 command lists in one submission containing dozens of mesh pipelines exceeds the 2 s TDR budget. `VICTORY_D3D12_WARP=1` also ends in `DEVICE_HUNG`, so this is not an NVIDIA driver defect. ### Resource-state and PSO-library warnings ``` D3D12: ExecuteCommandLists: Using ResourceBarrier ... Before state (0x8: UNORDERED_ACCESS) does not match with the current resource state (0x1: VERTEX_AND_CONSTANT_BUFFER) (assumed at first use) id=527 D3D12: ID3D12PipelineLibrary::Load*Pipeline: The pipeline state desc provided does not match the one used to create the PSO stored with name "0531733430731629defc44cafb0dada5" id=972 D3D12: ID3D12PipelineLibrary::Load*Pipeline: This library does not have a pipeline stored with name "cdd6b414b7146f260eb89fa48b8db919" id=971 D3D12: ID3D12PipelineLibrary::StorePipeline: A pipeline with name "0531733430731629defc44cafb0dada5" already exists in the library id=970 ``` ## What does render `VICTORY_CAPTURE` output across a run: ``` frame-1.png 6.0 KB frame-2.png 6.0 KB ... frame-512.png 13.6 KB (all black) frame-1024.png 1806.9 KB -> full-quality loading illustration, 1920x1080 ``` That 1024th frame is a complete GTA VI loading illustration - sharp vector art, gradients, decals, the lot. So the 2D/texture/present path works end to end; only 3D world rendering produces nothing. ## What I tried (and it made things worse) Since `descriptor/host.rs` documents the cap: ```rust /// 2^16 ran out seconds into the world (every world run on an RX 9070 XT, /// each a device removal shortly after; #59). const DYNAMIC: u32 = 1 << 18; const MIN_DYNAMIC: u32 = 1 << 16; const PORTABLE_VIEWS: u32 = 1_000_000; ``` I raised them to `DYNAMIC = 1 << 20` and `PORTABLE_VIEWS = 4_000_000`, expecting the slot exhaustion to go away. Result: ``` Americas | VIctory 30 fps 33.3 ms/frame 10 draws/frame ``` `30 fps` is not an improvement - `10 draws/frame` means almost nothing is drawn. `make(count + DYNAMIC)` fails past the tier-3 limit of 1,000,000 shader-visible descriptors, so both the `DYNAMIC` and `MIN_DYNAMIC` paths fail, `HostHeap::new` returns `None`, and every draw loses its heap. Reverting to the shipped constants restores the original behaviour. So raising the constants is not the fix; the slot shortage needs more heaps or a remapping layer, not a bigger single heap. Posting in case it saves someone else the experiment. ## Related - #59 - the `2^16 ran out seconds into the world` note points at this same exhaustion; this report adds a tier-3 NVIDIA data point and shows that raising the constant fails on the 1,000,000 cap. ## Minor: `rust-toolchain.toml` pins an unavailable toolchain `rust-toolchain.toml` asks for `channel = "1.98.1"`, which `static.rust-lang.org` and the Tsinghua mirror both return 404 for. `Cargo.toml` states `rust-version = "1.88"`, so a `stable` toolchain builds the workspace fine (1.100.0 here). Changing the pin to `stable`, or to a version that exists, would unblock anyone building from source. ## Attachments - `frame-1024.png` - the loading illustration that does render - `shot-world.png` - the window at `1 fps / 2645 draws/frame`, world black - full `VICTORY_LOG=victory_gpu=debug,info` run log on request - <img width="1920" height="1080" alt="frame-loading" src="https://github.com/user-attachments/assets/81c31a96-140a-4982-9b1d-d100d73fdbd2" /> <img width="2474" height="1392" alt="shot-world" src="https://github.com/user-attachments/assets/eba8f8a5-dd8a-4faf-9948-c2e9972f2ee0" />
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:33:59 +00:00
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 18:34 UTC · original

This report and the sibling project's deepest thread are two views of one state, and reading them together produces a test nobody has run yet. Your runtime hits "pipeline not compiled" 32,768 times during world render and survives by dropping the draws (black world, title alive); the sibling runtime's bind path, hitting the same state, waits until the build completes and the title's ~30 s fence turns that into a watchdog death. Same missing pipelines, two runtime philosophies, two symptoms — eternal black world vs polite null-write. The load-bearing fact yours establishes: the game actually binds these pipelines every frame (32,768 drops is proof of bind-time demand) — so "refusals are cosmetic" is dead on arrival: whatever xcl refuses is on the critical path by construction. Which gives the intersection test for free: ① your diagnostics build should be able to emit the identifiers (hashes/names) of the dropped pipelines — no content, policy-clean; ② the sibling has 19 named precompile refusals pending from its own reporter; ③ diff the two lists. A nonzero intersection names pipeline identities that kill one runtime and blacken the other, from existing logs, zero new runs — the fastest path from here to a targeted translator fix either side can merge. If the lists do not intersect, that is equally useful: your drops would then be slow-build transients, not refusals, and the two runtimes' problems stay separate.

**@⁠pickles976** on GitHub · 2026-11-24 18:34 UTC · [original](https://github.com/Marvisak/VIctory/issues/1496#issuecomment-7140834550) This report and the sibling project's deepest thread are two views of **one state**, and reading them together produces a test nobody has run yet. Your runtime hits "pipeline not compiled" **32,768 times during world render** and survives by dropping the draws (black world, title alive); the sibling runtime's bind path, hitting the same state, waits **until the build completes** and the title's ~30 s fence turns that into a watchdog death. Same missing pipelines, two runtime philosophies, two symptoms — eternal black world vs polite null-write. The load-bearing fact yours establishes: **the game actually binds these pipelines every frame** (32,768 drops is proof of bind-time demand) — so "refusals are cosmetic" is dead on arrival: whatever xcl refuses is on the critical path by construction. Which gives the intersection test for free: ① your diagnostics build should be able to emit the **identifiers (hashes/names) of the dropped pipelines** — no content, policy-clean; ② the sibling has **19 named precompile refusals** pending from its own reporter; ③ diff the two lists. A nonzero intersection names pipeline identities that kill one runtime and blacken the other, **from existing logs, zero new runs** — the fastest path from here to a targeted translator fix either side can merge. If the lists do not intersect, that is equally useful: your drops would then be slow-build transients, not refusals, and the two runtimes' problems stay separate.
Author
Owner

@⁠MichaelSmithAI on GitHub · 2026-11-24 18:51 UTC · original

The no dynamic slots for its tables, dropped=32768 line counts 32,768 rejected binds over the process lifetime. The binder already has a host pipeline when it reaches this counter. It increments once when a bind fails to reserve a contiguous range for a fresh descriptor table, then logs at powers of two. The per-frame “without a host pipeline” count in the report measures a separate failure. Intersecting the 32,768 milestone with a list of shader refusal hashes therefore cannot identify the missing draw. Counter and early return · Reservation failure

For a capture over the same world-frame window, the most useful numbers would be the requested contiguous span, the selected heap's dynamic capacity, total free slots, and the largest free span at failure. Those distinguish a full heap from a failed search with enough slots free. The pending/recovered slot counts in #911 would also show how many slots earlier declined binds retained.

**@⁠MichaelSmithAI** on GitHub · 2026-11-24 18:51 UTC · [original](https://github.com/Marvisak/VIctory/issues/1496#issuecomment-7141257924) The `no dynamic slots for its tables, dropped=32768` line counts **32,768 rejected binds over the process lifetime**. The binder already has a host pipeline when it reaches this counter. It increments once when a bind fails to reserve a contiguous range for a fresh descriptor table, then logs at powers of two. The per-frame “without a host pipeline” count in the report measures a separate failure. Intersecting the 32,768 milestone with a list of shader refusal hashes therefore cannot identify the missing draw. [Counter and early return](https://github.com/Marvisak/VIctory/blob/ffe310eb2098e52169f4c44db5ffdabf43a72622/crates/victory-gpu/src/draw.rs#L461-L472) · [Reservation failure](https://github.com/Marvisak/VIctory/blob/ffe310eb2098e52169f4c44db5ffdabf43a72622/crates/victory-gpu/src/draw.rs#L717-L734) For a capture over the same world-frame window, the most useful numbers would be the requested contiguous span, the selected heap's dynamic capacity, total free slots, and the largest free span at failure. Those distinguish a full heap from a failed search with enough slots free. The pending/recovered slot counts in [#911](https://git.gtahub.st/github/Marvisak--VIctory/issues/911) would also show how many slots earlier declined binds retained.
Author
Owner

@⁠YaBulochka on GitHub · 2026-11-24 19:21 UTC · original

Linux/RADV confirmation that this is not NVIDIA-only: the same "world is black, UI draws" shape on AMD.

GPU RX 7600 XT, RADV from Mesa 26.3.1
OS Linux, Wine 11.22 in a Proton 11.0 prefix, vkd3d-proton from Proton
Tree ffe310e + #994 + #491

The title reaches the intro (title cards draw) and the prologue's pause menu (28 draws/frame, 2 fps), but the 3D world is black while the 2D UI draws over it. The heap numbers match the report here: the title asks for 1,245,184 views, D3D12 gives 1,000,000, VIctory mirrors 934,464, so 310,720 slots are lost, and the warning names the range index=934464..1245183. 61 draws are dropped "without a host pipeline", one line per pipeline.

So the cap is not NVIDIA-specific: on RADV the portable limit is hit the same way.

I will build #1548 on this tree and report whether the world draws come back. If it helps, I can also give the two refused pipeline hashes with their stage and container size, since one of them (a small compute, 2556 bytes) is a candidate for the pass that assembles the presented frame.

**@⁠YaBulochka** on GitHub · 2026-11-24 19:21 UTC · [original](https://github.com/Marvisak/VIctory/issues/1496#issuecomment-7141968312) Linux/RADV confirmation that this is not NVIDIA-only: the same "world is black, UI draws" shape on AMD. | | | |---|---| | GPU | RX 7600 XT, RADV from Mesa 26.3.1 | | OS | Linux, Wine 11.22 in a Proton 11.0 prefix, vkd3d-proton from Proton | | Tree | `ffe310e` + #994 + #491 | The title reaches the intro (title cards draw) and the prologue's pause menu (28 draws/frame, 2 fps), but the 3D world is black while the 2D UI draws over it. The heap numbers match the report here: the title asks for **1,245,184** views, D3D12 gives **1,000,000**, VIctory mirrors **934,464**, so **310,720** slots are lost, and the warning names the range `index=934464..1245183`. 61 draws are dropped "without a host pipeline", one line per pipeline. So the cap is not NVIDIA-specific: on RADV the portable limit is hit the same way. I will build #1548 on this tree and report whether the world draws come back. If it helps, I can also give the two refused pipeline hashes with their stage and container size, since one of them (a small compute, 2556 bytes) is a candidate for the pass that assembles the presented frame.
Author
Owner

@⁠Ender1Dragon on GitHub · 2026-11-24 19:40 UTC · original

Linux/RADV confirmation that this is not NVIDIA-only: the same "world is black, UI draws" shape on AMD.

GPU RX 7600 XT, RADV from Mesa 26.3.1
OS Linux, Wine 11.22 in a Proton 11.0 prefix, vkd3d-proton from Proton
Tree ffe310e + #994 + #491
The title reaches the intro (title cards draw) and the prologue's pause menu (28 draws/frame, 2 fps), but the 3D world is black while the 2D UI draws over it. The heap numbers match the report here: the title asks for 1,245,184 views, D3D12 gives 1,000,000, VIctory mirrors 934,464, so 310,720 slots are lost, and the warning names the range index=934464..1245183. 61 draws are dropped "without a host pipeline", one line per pipeline.

So the cap is not NVIDIA-specific: on RADV the portable limit is hit the same way.

I will build #1548 on this tree and report whether the world draws come back. If it helps, I can also give the two refused pipeline hashes with their stage and container size, since one of them (a small compute, 2556 bytes) is a candidate for the pass that assembles the presented frame.

Your numbers close a loop - thanks for posting them.

count=1,245,184 matches exactly what I measure on the NVIDIA side, from a completely different GPU, driver and OS. That number being identical across an RTX 3080 Ti on Windows and an RX 7600 XT under RADV means it is the title's fixed demand, not anything the driver talks it into.

What your data settles

1. The cap is not vendor-specific. Agreed, and that is now demonstrated rather than assumed: same PORTABLE_VIEWS math, same lost tail, on a wave64-native driver.

2. More importantly, you drop draws without a host pipeline too - 61 of them. That is the part I did not expect. If the refusals came from a wave-size mismatch, RADV should refuse none, because RDNA runs 64-lane subgroups natively and vkd3d-proton accepts requiredSubgroupSize=64. It refuses anyway. So whatever produces those refusals is not lane width.

There is a detail in the original #71 analysis worth flagging: 0x80070057 is E_INVALIDARG, which is an argument validation failure, not a capability code. It has been read in that thread as evidence about hardware, and your result suggests it should not be.

What would help most, in priority order

First, the exact refusal line for those 61 draws. Whatever VIctory prints per pipeline - no host pipeline: <reason> or a translation error - with the stage and hash. If I can diff those against my 115 broken-out compute hashes, an intersection names a shared trigger; no intersection means the two problems are separate and both threads should stop cross-referencing.

Second, and this is the fork I actually care about: for the two refused pipelines you mentioned, do you have the HRESULT and the failing descriptor index? Specifically:

  • If RADV returns E_INVALIDARG for them too, then the wave-size reading of #71 is dead and both drivers are rejecting on the same non-hardware grounds.
  • If instead it returns an out-of-descriptors style failure, the refusal is pinned to the 934,464 mirror, and the 2,556-byte compute becomes the prime suspect for the pass that assembles the presented frame.

Either answer resolves it. A hash alone does not - it tells us which pipeline, not why.

Our #1548 result, so you know what to expect

I built the branch on the NVIDIA machine (RTX 3080 Ti, driver 32.0.16.2101, Windows 11 build 26300, release+diagnostics). For comparison, my instrumented main build reported the first slot failure as:

requested=11  capacity=65536  free_slots=482  largest_free_run=10

One short of the request, with 482 slots free but no run longer than 10 - fragmentation plus the shrunken MIN_DYNAMIC region, not a full heap. After the PR:

WARN host view heap capped at 1000000 count=1245184 capped=737856 dynamic=262144
no dynamic slots for its tables: 0 occurrences over a 150 s world run

Bind rejections went from 32768 to zero, and captured frames grew from a 1.8 MB peak to 4.1 MB. The 3D world is still mostly black. So the heap cap was a real blocker and the PR removes it, but it is not what darkens the world - that stays on the refused-pipeline path.

Worth knowing before you rebuild: the PR lowers count from 934,464 to 737,856 while raising dynamic to 262,144 (same 1,000,000 total). The addressable window shrinks by 196,608, so more indices go through the remap path. On my run that was fine, but a tree with #994 + #491 might exercise indices mine never touches. If you see new out-of-range complaints after applying it, that rebalance is the first place to look.

**@⁠Ender1Dragon** on GitHub · 2026-11-24 19:40 UTC · [original](https://github.com/Marvisak/VIctory/issues/1496#issuecomment-7142439403) > Linux/RADV confirmation that this is not NVIDIA-only: the same "world is black, UI draws" shape on AMD. > > GPU RX 7600 XT, RADV from Mesa 26.3.1 > OS Linux, Wine 11.22 in a Proton 11.0 prefix, vkd3d-proton from Proton > Tree `ffe310e` + [#994](https://git.gtahub.st/github/Marvisak--VIctory/pulls/994) + [#491](https://git.gtahub.st/github/Marvisak--VIctory/pulls/491) > The title reaches the intro (title cards draw) and the prologue's pause menu (28 draws/frame, 2 fps), but the 3D world is black while the 2D UI draws over it. The heap numbers match the report here: the title asks for **1,245,184** views, D3D12 gives **1,000,000**, VIctory mirrors **934,464**, so **310,720** slots are lost, and the warning names the range `index=934464..1245183`. 61 draws are dropped "without a host pipeline", one line per pipeline. > > So the cap is not NVIDIA-specific: on RADV the portable limit is hit the same way. > > I will build [#1548](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1548) on this tree and report whether the world draws come back. If it helps, I can also give the two refused pipeline hashes with their stage and container size, since one of them (a small compute, 2556 bytes) is a candidate for the pass that assembles the presented frame. Your numbers close a loop - thanks for posting them. `count=1,245,184` matches exactly what I measure on the NVIDIA side, from a completely different GPU, driver and OS. That number being identical across an RTX 3080 Ti on Windows and an RX 7600 XT under RADV means it is the title's fixed demand, not anything the driver talks it into. ## What your data settles **1. The cap is not vendor-specific.** Agreed, and that is now demonstrated rather than assumed: same `PORTABLE_VIEWS` math, same lost tail, on a wave64-native driver. **2. More importantly, you drop draws `without a host pipeline` too - 61 of them.** That is the part I did not expect. If the refusals came from a wave-size mismatch, RADV should refuse none, because RDNA runs 64-lane subgroups natively and vkd3d-proton accepts `requiredSubgroupSize=64`. It refuses anyway. So whatever produces those refusals is not lane width. There is a detail in the original #71 analysis worth flagging: `0x80070057` is `E_INVALIDARG`, which is an *argument* validation failure, not a capability code. It has been read in that thread as evidence about hardware, and your result suggests it should not be. ## What would help most, in priority order **First, the exact refusal line for those 61 draws.** Whatever VIctory prints per pipeline - `no host pipeline: <reason>` or a translation error - with the stage and hash. If I can diff those against my 115 broken-out compute hashes, an intersection names a shared trigger; no intersection means the two problems are separate and both threads should stop cross-referencing. **Second, and this is the fork I actually care about:** for the two refused pipelines you mentioned, do you have the **HRESULT** and the **failing descriptor index**? Specifically: - If RADV returns `E_INVALIDARG` for them too, then the wave-size reading of #71 is dead and both drivers are rejecting on the same non-hardware grounds. - If instead it returns an out-of-descriptors style failure, the refusal is pinned to the 934,464 mirror, and the 2,556-byte compute becomes the prime suspect for the pass that assembles the presented frame. Either answer resolves it. A hash alone does not - it tells us *which* pipeline, not *why*. ## Our #1548 result, so you know what to expect I built the branch on the NVIDIA machine (RTX 3080 Ti, driver 32.0.16.2101, Windows 11 build 26300, release+diagnostics). For comparison, my instrumented main build reported the first slot failure as: ``` requested=11 capacity=65536 free_slots=482 largest_free_run=10 ``` One short of the request, with 482 slots free but no run longer than 10 - fragmentation plus the shrunken `MIN_DYNAMIC` region, not a full heap. After the PR: ``` WARN host view heap capped at 1000000 count=1245184 capped=737856 dynamic=262144 no dynamic slots for its tables: 0 occurrences over a 150 s world run ``` Bind rejections went from 32768 to zero, and captured frames grew from a 1.8 MB peak to 4.1 MB. **The 3D world is still mostly black.** So the heap cap was a real blocker and the PR removes it, but it is not what darkens the world - that stays on the refused-pipeline path. Worth knowing before you rebuild: the PR lowers `count` from 934,464 to 737,856 while raising `dynamic` to 262,144 (same 1,000,000 total). The addressable window shrinks by 196,608, so more indices go through the remap path. On my run that was fine, but a tree with #994 + #491 might exercise indices mine never touches. If you see new out-of-range complaints after applying it, that rebalance is the first place to look.
Author
Owner

@⁠Revens2 on GitHub · 2026-11-24 21:46 UTC · original

publish: branch for #1496

Branch: https://github.com/Revens2/VIctory/tree/work/issue-1496
Commit: 901584d5
Tests:

Refs #1496

Branch: https://github.com/Revens2/VIctory/tree/work/issue-1496
Commit: 901584d
Base: 70564ae upstream/main
Tests (run on this machine):

  • cargo test --workspace --locked: 127 passed, 2 failed, 5 ignored
  • cargo xtask policy: ok
  • cargo build --release -p victory: ok 44s
    AI-assisted: yes (harness victory-ops); reviewed by a second model before publishing.
    Refs #1496
**@⁠Revens2** on GitHub · 2026-11-24 21:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/1496#issuecomment-7145369384) publish: branch for #1496 Branch: https://github.com/Revens2/VIctory/tree/work/issue-1496 Commit: 901584d5 Tests: Refs #1496 Branch: https://github.com/Revens2/VIctory/tree/work/issue-1496 Commit: 901584d Base: 70564ae upstream/main Tests (run on this machine): - cargo test --workspace --locked: 127 passed, 2 failed, 5 ignored - cargo xtask policy: ok - cargo build --release -p victory: ok 44s AI-assisted: yes (harness victory-ops); reviewed by a second model before publishing. Refs #1496
Author
Owner

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

Automated triage for the maintainers.

Thanks for the run report (RTX 3080 Ti, driver 32.0.16.2101, Windows 11 26300, world reached and held, black, then 0x887A0006). The commit is missing, because a source zip has none. Please give it next time (git rev-parse --short HEAD, or the date and time of the zip).

The no dynamic slots for its tables drops come from the capped view heap. HostHeap::new in crates/victory-gpu/src/descriptor/host.rs falls back to 1,000,000 views with only 2^16 (MIN_DYNAMIC) dynamic slots when the title asks for 1,245,184. That defect is confirmed and tracked in #747. Open PRs #1349, #1548 and #1751 address it, and your #1548 result (no slot drops, world still mostly black) is useful there. Slots kept by rejected binds are #911. The device removal after a multi-second submission is the NVIDIA world hang tracked in #71.

The fork branch work/issue-1496 (901584d, on 70564ae) was posted above. Pull requests are open to everyone. If it differs from #1548 and #1751, please open one.

On the toolchain: many reports here build with the pinned 1.98.1 through rustup, so a mirror that lacks it is a mirror problem.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:22 UTC · [original](https://github.com/Marvisak/VIctory/issues/1496#issuecomment-7159604938) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T21:46:28Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Thanks for the run report (RTX 3080 Ti, driver 32.0.16.2101, Windows 11 26300, world reached and held, black, then `0x887A0006`). The commit is missing, because a source zip has none. Please give it next time (`git rev-parse --short HEAD`, or the date and time of the zip). The `no dynamic slots for its tables` drops come from the capped view heap. `HostHeap::new` in `crates/victory-gpu/src/descriptor/host.rs` falls back to 1,000,000 views with only 2^16 (`MIN_DYNAMIC`) dynamic slots when the title asks for 1,245,184. That defect is confirmed and tracked in #747. Open PRs #1349, #1548 and #1751 address it, and your #1548 result (no slot drops, world still mostly black) is useful there. Slots kept by rejected binds are #911. The device removal after a multi-second submission is the NVIDIA world hang tracked in #71. The fork branch `work/issue-1496` (`901584d`, on `70564ae`) was posted above. Pull requests are open to everyone. If it differs from #1548 and #1751, please open one. On the toolchain: many reports here build with the pinned 1.98.1 through rustup, so a mirror that lacks it is a mirror problem. --- _Generated by [Claude Code](https://claude.ai/code)_
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/Marvisak--VIctory#1496
No description provided.