Device removed on first frame since 70564ae (worked on ffe310e) #2024

Open
opened 2026-11-26 04:51:57 +00:00 by github-bot · 13 comments
Owner

@⁠realpawski on GitHub · 2026-11-25 03:24 UTC · original

Since updating from ffe310e to 70564ae the game crashes on the first frame:

host GPU device removed after a submission of 1 lists; no breadcrumbs
(DXGI_ERROR_UNSUPPORTED 0x887A0004); device removed: DXGI_ERROR_INVALID_CALL (0x887A0001)

ffe310e runs fine on the same machine. Clearing %LOCALAPPDATA%\victory and rebooting did not help.

CPU: i7-13700F, Windows 10.0.26200
GPU: NVIDIA GeForce RTX 3070, driver 32.0.16.2140

**@⁠realpawski** on GitHub · 2026-11-25 03:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024) Since updating from ffe310e to 70564ae the game crashes on the first frame: host GPU device removed after a submission of 1 lists; no breadcrumbs (DXGI_ERROR_UNSUPPORTED 0x887A0004); device removed: DXGI_ERROR_INVALID_CALL (0x887A0001) ffe310e runs fine on the same machine. Clearing %LOCALAPPDATA%\victory and rebooting did not help. CPU: i7-13700F, Windows 10.0.26200 GPU: NVIDIA GeForce RTX 3070, driver 32.0.16.2140
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:51:57 +00:00
Author
Owner

@⁠Proudnoob4 on GitHub · 2026-11-25 03:33 UTC · original

This looks like #1754: the same DXGI_ERROR_INVALID_CALL (0x887A0001) "after a submission of 1 list" on NVIDIA since 70564ae. ("1 lists" is the number of command lists in that submission, not the frame number.)

The debug layer in #1754 showed the call the removal refers to: ID3D12Device::CreateUnorderedAccessView: The format (0x56, B5G5R5A1_UNORM) cannot be used with a Typed Unordered Access View (id 342), with the removal 1 ms later. NVIDIA cards have no typed-UAV support for B5G5R5A1_UNORM. The fix is the open PR #1780, which checks every unordered texture view against the host's typed-store support. It is not merged; main is at 940d32f as I write.

From an RTX 4080 (Windows 10 22H2, driver 621.01, 70564ae + #175): the same INVALID_CALL removal happened here too, but at about 100 s rather than at start-up. With #1780 and Cresceda's follow-up from #1754 (unordered views without a description checked too) applied, it did not come back in a 623 s run. A separate null-write crash (0xC0000005, the heap cap in #1808) still happened in some runs.

To confirm it is the same thing on your 3070: run once with the Windows SDK's Graphics Tools installed and VICTORY_D3D12_DEBUG=1. If id 342 with format 0x56 appears just before the removal, it is #1754.

AI-assisted (Claude Code, Claude Opus 5.5); measured on my own machine. No game files attached.

**@⁠Proudnoob4** on GitHub · 2026-11-25 03:33 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7152019444) This looks like #1754: the same `DXGI_ERROR_INVALID_CALL` (0x887A0001) "after a submission of 1 list" on NVIDIA since `70564ae`. ("1 lists" is the number of command lists in that submission, not the frame number.) The debug layer in #1754 showed the call the removal refers to: `ID3D12Device::CreateUnorderedAccessView: The format (0x56, B5G5R5A1_UNORM) cannot be used with a Typed Unordered Access View` (id 342), with the removal 1 ms later. NVIDIA cards have no typed-UAV support for `B5G5R5A1_UNORM`. The fix is the open PR #1780, which checks every unordered texture view against the host's typed-store support. It is not merged; main is at `940d32f` as I write. From an RTX 4080 (Windows 10 22H2, driver 621.01, `70564ae` + #175): the same `INVALID_CALL` removal happened here too, but at about 100 s rather than at start-up. With #1780 and Cresceda's follow-up from #1754 (unordered views without a description checked too) applied, it did not come back in a 623 s run. A separate null-write crash (0xC0000005, the heap cap in #1808) still happened in some runs. To confirm it is the same thing on your 3070: run once with the Windows SDK's Graphics Tools installed and `VICTORY_D3D12_DEBUG=1`. If id 342 with format 0x56 appears just before the removal, it is #1754. AI-assisted (Claude Code, Claude Opus 5.5); measured on my own machine. No game files attached.
Author
Owner

@⁠fiestorra on GitHub · 2026-11-25 03:54 UTC · original

Reproduced on a 4090 and bisected: 13bbd6f ("one host texture per texture memory, and writable twins for depth textures") is what starts it

Your report reproduces here, and the range you gave is one commit wide. Same scenario for every run: session 1 (interactive desktop), RTX 4090, driver 32.0.16.2124, release build, empty cache, 30–40 s, VICTORY_D3D12_ADAPTER unchanged.

commit device removed frames presented
ffe310e (yours, working) 0 1,024
70564ae (yours, broken) 2 64
13bbd6f 2 64
13bbd6f^ = e0034c2 0 1,024

So the 28 commits between ffe310e and 70564ae contain exactly one that turns the removal on, and it is:

13bbd6f GPU: one host texture per texture memory, and writable twins for depth textures
  crates/victory-gpu/src/resource.rs   | 466 ++++++++++++++++++----
  crates/victory-gpu/src/twin.rs       | 576 ++++++++++++++++++++++++++
  crates/victory-gpu/src/draw.rs       | 439 ++++++++++++++++++-
  crates/victory-gpu/src/host.rs       | 120 +++++-
  crates/victory-gpu/src/descriptor/host.rs | 83 ++++-
  crates/victory-gpu/src/texture.rs    | 121 +++----
  crates/victory-gpu/src/capture.rs    |  14 +-

Seven of the eight commits I tested in between were clean, so it is not an interaction — it is that change. It replaced the texture bookkeeping with one host texture per texture memory plus writable twins for depth textures, and that is the code that now asks the device for something it refuses: DXGI_ERROR_UNSUPPORTED (0x887A0004) with DXGI_ERROR_INVALID_CALL (0x887A0001) behind it, at the frame where the title first presents.

Two practical consequences for you:

  • staying on ffe310e is a real option, and it is not "an old build forever": the removal you would get on main today is a different, later one (the capped view heap, the 1440p B5G5R5A1_UNORM texture, and the UAV format), which is what #1952 is about. Both are covered by the same chain of fixes, but #1952's are further along;
  • your driver (32.0.16.2140) is not mine (32.0.16.2124), so it is worth saying whether the removal you see also names the texture: with VICTORY_LOG at debug level the line just before the removal is the one that says which description was refused. If it is the same 2560x1440 format 115 I see, then the ladder in #1630 is the fix for your machine too, on top of a build that contains 13bbd6f.

I have not attempted a fix here: the commit is 1,600 lines of texture bookkeeping and the honest next step is the one I would not do blind — find which CreateCommittedResource the twin code adds that the host refuses, which needs the debug layer's verdict on that build. That is where I would look next, and the bisect above is what makes it a one-commit search instead of a 28-commit one.

No game data is involved: commit ids, counts and warnings.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-11-25 03:54 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7152357064) **Reproduced on a 4090 and bisected: `13bbd6f` ("one host texture per texture memory, and writable twins for depth textures") is what starts it** Your report reproduces here, and the range you gave is one commit wide. Same scenario for every run: session 1 (interactive desktop), RTX 4090, driver `32.0.16.2124`, release build, empty cache, 30–40 s, `VICTORY_D3D12_ADAPTER` unchanged. | commit | device removed | frames presented | |---|---|---| | `ffe310e` (yours, working) | **0** | 1,024 | | `70564ae` (yours, broken) | **2** | 64 | | `13bbd6f` | **2** | 64 | | `13bbd6f^` = `e0034c2` | **0** | 1,024 | So the 28 commits between `ffe310e` and `70564ae` contain exactly one that turns the removal on, and it is: ``` 13bbd6f GPU: one host texture per texture memory, and writable twins for depth textures crates/victory-gpu/src/resource.rs | 466 ++++++++++++++++++---- crates/victory-gpu/src/twin.rs | 576 ++++++++++++++++++++++++++ crates/victory-gpu/src/draw.rs | 439 ++++++++++++++++++- crates/victory-gpu/src/host.rs | 120 +++++- crates/victory-gpu/src/descriptor/host.rs | 83 ++++- crates/victory-gpu/src/texture.rs | 121 +++---- crates/victory-gpu/src/capture.rs | 14 +- ``` Seven of the eight commits I tested in between were clean, so it is not an interaction — it is that change. It replaced the texture bookkeeping with one host texture per texture memory plus writable twins for depth textures, and that is the code that now asks the device for something it refuses: `DXGI_ERROR_UNSUPPORTED (0x887A0004)` with `DXGI_ERROR_INVALID_CALL (0x887A0001)` behind it, at the frame where the title first presents. Two practical consequences for you: - **staying on `ffe310e` is a real option**, and it is not "an old build forever": the removal you would get on `main` today is a different, later one (the capped view heap, the 1440p `B5G5R5A1_UNORM` texture, and the UAV format), which is what #1952 is about. Both are covered by the same chain of fixes, but #1952's are further along; - **your driver (`32.0.16.2140`) is not mine (`32.0.16.2124`)**, so it is worth saying whether the removal you see also names the texture: with `VICTORY_LOG` at debug level the line just before the removal is the one that says which description was refused. If it is the same `2560x1440 format 115` I see, then the ladder in #1630 is the fix for your machine too, on top of a build that contains `13bbd6f`. I have not attempted a fix here: the commit is 1,600 lines of texture bookkeeping and the honest next step is the one I would not do blind — find which `CreateCommittedResource` the twin code adds that the host refuses, which needs the debug layer's verdict on that build. That is where I would look next, and the bisect above is what makes it a one-commit search instead of a 28-commit one. No game data is involved: commit ids, counts and warnings. Written with an AI assistant.
Author
Owner

@⁠fiestorra on GitHub · 2026-11-25 03:57 UTC · original

The debug layer names it: the writable twin is created with ALLOW_RENDER_TARGET over B4G4R4A4_UNORM, which is not a render-target format

I said last comment that the next step needed the layer's verdict on that build, so I built 13bbd6f with the diagnostics and the debug layer and ran it here (session 1, RTX 4090, driver 32.0.16.2124, 40 s). The layer says:

id=599 severity=1  ID3D12Device::CreateCommittedResource:
  A texture that has D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET set in
  D3D12_RESOURCE_DESC::Flags must be created with a format that either can be
  used as a render target, or cast to a format that could be used as one.
  D3D12_RESOURCE_DESC::Format is B4G4R4A4_UNORM.

id=817 severity=1  ID3D12Device::CreateCommittedResource3:
  When D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET is set, D3D12_CLEAR_VALUE::Format
  must be valid to be used as a render target. D3D12_CLEAR_VALUE::Format is
  B4G4R4A4_UNORM.

Two calls, the same format, and both of them in the twin path that 13bbd6f added. B4G4R4A4_UNORM is DXGI format 115, and resource::element in this tree lists it with the two-byte colour formats — it is a legacy LDR layout with no render-target support on this driver, which is exactly what the two messages say.

This is the same format as #1952. There, the title's 2560x1440 target is "format 115" and the texture ladder's job is to fall back to plain memory because the host will not make it a render target; here, the new twin code asks for the same format with ALLOW_RENDER_TARGET set, and the call is refused. One format, two symptoms: a fallback ladder for the texture itself, and no fallback at all for its twin.

What that means for the fix, in order of how much I would trust it:

  1. the twin should not be created with ALLOW_RENDER_TARGET when the format cannot be one. A twin whose purpose is to be written by a compute pass does not need to be a render target at all — UNORDERED_ACCESS is the permission it uses, and the existing ladder already knows how to drop permissions it cannot have;
  2. if something downstream really needs the twin to be renderable, create it in a castable format (R8G8B8A8_UNORM is the natural one for a 4-bit-per-channel layout) and convert on copy, which is what a "twins" design already does for depth;
  3. the D3D12_CLEAR_VALUE::Format complaint (id=817) follows from the same description and goes away with either.

One measurement worth flagging: with the layer on, the same build did not remove the device and reached frame 512 — the layer turns the invalid call into a warning and the run continues. That is a useful tell in itself: the removal on the plain build is that call failing, not a later consequence. It also means a layer build is not a good measure of "does it work", only of "what is wrong".

I have not pushed a fix: this is the texture bookkeeping commit's ground and its author (or whoever owns the twins) knows whether the twin is meant to be renderable. But the shape of the fix is now one line of description, and the format is named.

No game data is involved: layer message text, a format name and counts.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-11-25 03:57 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7152403908) **The debug layer names it: the writable twin is created with `ALLOW_RENDER_TARGET` over `B4G4R4A4_UNORM`, which is not a render-target format** I said last comment that the next step needed the layer's verdict on that build, so I built `13bbd6f` with the diagnostics and the debug layer and ran it here (session 1, RTX 4090, driver `32.0.16.2124`, 40 s). The layer says: ``` id=599 severity=1 ID3D12Device::CreateCommittedResource: A texture that has D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET set in D3D12_RESOURCE_DESC::Flags must be created with a format that either can be used as a render target, or cast to a format that could be used as one. D3D12_RESOURCE_DESC::Format is B4G4R4A4_UNORM. id=817 severity=1 ID3D12Device::CreateCommittedResource3: When D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET is set, D3D12_CLEAR_VALUE::Format must be valid to be used as a render target. D3D12_CLEAR_VALUE::Format is B4G4R4A4_UNORM. ``` Two calls, the same format, and both of them in the twin path that `13bbd6f` added. `B4G4R4A4_UNORM` is DXGI format **115**, and `resource::element` in this tree lists it with the two-byte colour formats — it is a legacy LDR layout with **no render-target support on this driver**, which is exactly what the two messages say. **This is the same format as #1952.** There, the title's 2560x1440 target is "format 115" and the texture ladder's job is to fall back to plain memory because the host will not make it a render target; here, the new twin code asks for the *same* format with `ALLOW_RENDER_TARGET` set, and the call is refused. One format, two symptoms: a fallback ladder for the texture itself, and no fallback at all for its twin. What that means for the fix, in order of how much I would trust it: 1. **the twin should not be created with `ALLOW_RENDER_TARGET` when the format cannot be one.** A twin whose purpose is to be written by a compute pass does not need to be a render target at all — `UNORDERED_ACCESS` is the permission it uses, and the existing ladder already knows how to drop permissions it cannot have; 2. if something downstream really needs the twin to be renderable, **create it in a castable format** (`R8G8B8A8_UNORM` is the natural one for a 4-bit-per-channel layout) and convert on copy, which is what a "twins" design already does for depth; 3. the `D3D12_CLEAR_VALUE::Format` complaint (`id=817`) follows from the same description and goes away with either. One measurement worth flagging: with the layer on, the same build **did not remove the device** and reached frame 512 — the layer turns the invalid call into a warning and the run continues. That is a useful tell in itself: the removal on the plain build is that call failing, not a later consequence. It also means a layer build is not a good measure of "does it work", only of "what is wrong". I have not pushed a fix: this is the texture bookkeeping commit's ground and its author (or whoever owns the twins) knows whether the twin is meant to be renderable. But the shape of the fix is now one line of description, and the format is named. No game data is involved: layer message text, a format name and counts. Written with an AI assistant.
Author
Owner

@⁠fiestorra on GitHub · 2026-11-25 04:02 UTC · original

Measured which of the open fixes actually removes it: #1832 and #1630 together — either one alone is not enough

Following the layer's verdict (the ALLOW_RENDER_TARGET call over B4G4R4A4_UNORM, format 115), I built the candidates and ran each on this machine, same scenario every time: session 1, RTX 4090, driver 32.0.16.2124, release, empty cache, 40 s.

build (on main 940d32f) device removed no host texture fallback made UAV permission dropped frames
main alone 2 1 0 0 64
+ #1630 (texture description ladder) 2 0 1 0 64
+ #1630 and #1832 (drop a UAV a format cannot carry) 0 0 1 2 256

So main today has your removal, and it takes both of those pull requests to clear it:

  • #1630 is what stops the 2560x1440 target from being asked for as a render target it cannot be — that is the id=599 call the layer named, and after it the texture is made, logged as host texture made only as a fallback;
  • #1832 is what stops the next description from being handed the unordered-access permission format 115 cannot carry — that is the second refusal, and after it the log says dropping unordered access twice;
  • one alone is not enough: with the ladder only, the removal is still there at the same frame, which is worth knowing before merging just the one.

Both are open and green against main today. What I cannot tell you from here is whether they also clear the first-frame removal you see on the 3070: mine happens later (frame 64) because this machine is further along, and a driver difference can move what the first refused call is. What I can say is that the two layer complaints are about the same format, and that format 115 is the one both fixes are about.

If you want to try a build before either merges, the cheapest thing is a branch with both applied — they do not conflict with each other (resource.rs in one place, the descriptor heap in the other) — and then look for device removed and host view heap capped in the log. The cap stays (that is #1779's ground); the removal should not.

No game data is involved: counts, format name and frame numbers.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-11-25 04:02 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7152468113) **Measured which of the open fixes actually removes it: #1832 *and* #1630 together — either one alone is not enough** Following the layer's verdict (the `ALLOW_RENDER_TARGET` call over `B4G4R4A4_UNORM`, format 115), I built the candidates and ran each on this machine, same scenario every time: session 1, RTX 4090, driver `32.0.16.2124`, release, empty cache, 40 s. | build (on `main` `940d32f`) | device removed | `no host texture` | fallback made | UAV permission dropped | frames | |---|---|---|---|---|---| | `main` alone | **2** | 1 | 0 | 0 | 64 | | + **#1630** (texture description ladder) | **2** | 0 | 1 | 0 | 64 | | + **#1630** and **#1832** (drop a UAV a format cannot carry) | **0** | 0 | 1 | 2 | **256** | So `main` today has your removal, and it takes **both** of those pull requests to clear it: - **#1630** is what stops the 2560x1440 target from being asked for as a render target it cannot be — that is the `id=599` call the layer named, and after it the texture is made, logged as `host texture made only as a fallback`; - **#1832** is what stops the next description from being handed the unordered-access permission format 115 cannot carry — that is the second refusal, and after it the log says `dropping unordered access` twice; - **one alone is not enough**: with the ladder only, the removal is still there at the same frame, which is worth knowing before merging just the one. Both are open and green against `main` today. What I cannot tell you from here is whether they also clear the *first-frame* removal you see on the 3070: mine happens later (frame 64) because this machine is further along, and a driver difference can move what the first refused call is. What I can say is that the two layer complaints are about the same format, and that format 115 is the one both fixes are about. If you want to try a build before either merges, the cheapest thing is a branch with both applied — they do not conflict with each other (`resource.rs` in one place, the descriptor heap in the other) — and then look for `device removed` and `host view heap capped` in the log. The cap stays (that is #1779's ground); the removal should not. No game data is involved: counts, format name and frame numbers. Written with an AI assistant.
Author
Owner

@⁠p0wny-cyber on GitHub · 2026-11-25 09:00 UTC · original

Same here on an RTX 4070 Ti, confirming this (and #2138) on another NVIDIA card.

Setup

  • VIctory 940d32f, fresh clone, cargo build --release -p victory, Rust 1.98.1 (pinned), no local changes
  • Windows 10.0.26300, AMD Ryzen 5 7600X, NVIDIA GeForce RTX 4070 Ti, driver 32.0.16.2114
  • Retail 1.0.2.1 Series X, victory.exe run game_scarlett_master.exe --execute
  • Prebuilt first with translate --cache --pipelines shaders.rpf <exe> XboxBvhBuilder.dll amd_fidelityfx_upscaler_xbox.dll: 25,985 shaders; 28,164 pipelines in the pack, 23,057 made, 3,607 already in the library, 395 skipped as "the host refuses it"

What happens: 3 of 3 runs today, a few seconds after start:

WARN victory_gpu::resource: the host refuses castable formats: textures of one memory in other formats get their own host texture error=Paramètre incorrect. (0x80070057) desc=ResourceDesc { dimension: 3, alignment: 0, width: 2560, height: 1440, depth_or_array_size: 1, mip_levels: 1, format: 115, sample_count: 1, sample_quality: 0, layout: 0, flags: 1 }
WARN victory_gpu::resource: no host texture error=Paramètre incorrect. (0x80070057) desc=ResourceDesc { ...same... }
INFO victory_gpu::twin: an unordered view of a depth texture, made on its writable twin console=19 view=41 plane=0
INFO victory_gpu::twin: an unordered view of a depth texture, made on its writable twin console=118 view=62 plane=1
INFO victory_gpu::twin: an unordered view of a depth texture, made on its writable twin console=118 view=56 plane=0
ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (0x887A0004); device removed: DXGI_ERROR_INVALID_CALL (0x887A0001)

Yesterday on 8e79c80 / ffe310e the same machine did not fail this way: it ended in 0x887A0006 after submissions of 20–28 lists instead, which matches the bisect to 13bbd6f above.

The workspace tests also fail on this card in the NVIDIA-specific way of #1835: descriptor::host::tests::dynamic_slots_are_held_until_released, memory::tests::lists_share_a_table_and_copies_keep_their_views (both pass with WARP), stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride, stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros, synthetic_tests::gathers_at_a_level_match_the_hardware.

Happy to test #1832 + #1630 on this card if useful.

**@⁠p0wny-cyber** on GitHub · 2026-11-25 09:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7157746599) Same here on an **RTX 4070 Ti**, confirming this (and #2138) on another NVIDIA card. **Setup** - VIctory `940d32f`, fresh clone, `cargo build --release -p victory`, Rust 1.98.1 (pinned), no local changes - Windows 10.0.26300, AMD Ryzen 5 7600X, NVIDIA GeForce RTX 4070 Ti, driver 32.0.16.2114 - Retail 1.0.2.1 Series X, `victory.exe run game_scarlett_master.exe --execute` - Prebuilt first with `translate --cache --pipelines shaders.rpf <exe> XboxBvhBuilder.dll amd_fidelityfx_upscaler_xbox.dll`: 25,985 shaders; 28,164 pipelines in the pack, 23,057 made, 3,607 already in the library, 395 skipped as "the host refuses it" **What happens**: 3 of 3 runs today, a few seconds after start: ``` WARN victory_gpu::resource: the host refuses castable formats: textures of one memory in other formats get their own host texture error=Paramètre incorrect. (0x80070057) desc=ResourceDesc { dimension: 3, alignment: 0, width: 2560, height: 1440, depth_or_array_size: 1, mip_levels: 1, format: 115, sample_count: 1, sample_quality: 0, layout: 0, flags: 1 } WARN victory_gpu::resource: no host texture error=Paramètre incorrect. (0x80070057) desc=ResourceDesc { ...same... } INFO victory_gpu::twin: an unordered view of a depth texture, made on its writable twin console=19 view=41 plane=0 INFO victory_gpu::twin: an unordered view of a depth texture, made on its writable twin console=118 view=62 plane=1 INFO victory_gpu::twin: an unordered view of a depth texture, made on its writable twin console=118 view=56 plane=0 ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (0x887A0004); device removed: DXGI_ERROR_INVALID_CALL (0x887A0001) ``` Yesterday on `8e79c80` / `ffe310e` the same machine did not fail this way: it ended in `0x887A0006` after submissions of 20–28 lists instead, which matches the bisect to `13bbd6f` above. The workspace tests also fail on this card in the NVIDIA-specific way of #1835: `descriptor::host::tests::dynamic_slots_are_held_until_released`, `memory::tests::lists_share_a_table_and_copies_keep_their_views` (both pass with WARP), `stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride`, `stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`, `synthetic_tests::gathers_at_a_level_match_the_hardware`. Happy to test #1832 + #1630 on this card if useful.
Author
Owner

@⁠ChenmouXu on GitHub · 2026-11-25 10:00 UTC · original

RTX 5070 Ti (Blackwell) data point: three removals in a row, the last one inside a 27-list submission with the view heap capped at 1,000,000

Machine: RTX 5070 Ti Laptop (driver 32.0.16.1074), Ryzen 9 9955HX, 32 GB, Windows 11 26200. Title 1.0.2.1 (Series X profile), release and diag builds, shader cache warmed with translate --cache (25,678 translated, 307 refused). main as downloaded 2026-11-25T05:15Z.

I applied the open NVIDIA fixes one at a time to see which removal each one clears. All three were applied by hand as code hunks only (no git on this machine), so no test code is in my build.

build first frame menus removal
main no host texture E_INVALIDARG over 2560x1440 format 115 (B4G4R4A4_UNORM) flags 1, then device removed at a submission of 1 list never yes
+ #1630 + #1832 — works, 30 fps, 39 draws/frame (account picker, settings, legal notices) yes, after ~2 min, at a submission of 27 lists
+ #1780 (all three) — works yes, at 27–33 lists

So #1630+#1832 clears the first-frame removal exactly as reported in the comments above, and #1780 does not clear the next one on this GPU.

What the debug layer says on the all-three build

With VICTORY_D3D12_DEBUG=1 (Graphics Tools installed):

  • host view heap capped at 1000000 ... count=1245184 — the title asks for 1,245,184 slots; PORTABLE_VIEWS is 1,000,000, and the usable title range becomes 934,464.
  • 310,732 lines of title slot past the host heap, the highest index seen being 1,245,183.
  • Just before the removal: slow host submission ms=1119 lists=27 pipelines={... 19 compute ...}.
  • The only layer message at the removal is ID3D12Device::RemoveDevice: Device removal has been triggered ... (DXGI_ERROR_INVALID_CALL) **id=232** severity=1. There is no severity=0 message before it, and no id=342 / id=599 / id=817 — i.e. this is not an API misuse the layer validates.

Everything after the removal is 0x887A0005 from pipeline/root-signature creation, i.e. fallout.

My reading

The reference the GPU faults on is a title slot past the capped heap: translated shaders clamp indices below HEAP_VIEWS (2^21) but the host heap only covers 1,000,000, and draw.rs only re-makes tables that reach past the host heap — a shader that indexes the bindless heap directly still reaches slots 0..1,245,183. That is the "descriptors past the host's limit are left out; a title that reaches them needs remapping" path in descriptor/host.rs.

Questions:

  1. Is this the same wall as #747 / #1349, or a different one on Blackwell? The failure count (27 lists, 19 compute pipelines) looks like the compute-heavy part of the first world frame, not the menus.
  2. Is there anything to test that maps title slots ≥ 1,000,000 onto a second descriptor table? I will run it and report frame counts and the log.
  3. If it helps: with VICTORY_D3D12_DEBUG=1 the run does reach the world — the title card ("VICE CITY, TWO YEARS AGO") is drawn correctly at 3,331 draws/frame and ~6.1 s/frame — and then still removes. So the GPU does draw the first world frame here; it is one submission that kills it, not the content.

Also worth noting for other NVIDIA testers: without the debug layer, #1630+#1832+#1780 gets menus but dies within ~2 minutes of advancing; with it, you get the opening scene at a slideshow rate. Happy to run any branch.

**@⁠ChenmouXu** on GitHub · 2026-11-25 10:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7159100233) RTX 5070 Ti (Blackwell) data point: three removals in a row, the last one inside a 27-list submission with the view heap capped at 1,000,000 Machine: RTX 5070 Ti Laptop (driver 32.0.16.1074), Ryzen 9 9955HX, 32 GB, Windows 11 26200. Title 1.0.2.1 (Series X profile), release and diag builds, shader cache warmed with `translate --cache` (25,678 translated, 307 refused). main as downloaded 2026-11-25T05:15Z. I applied the open NVIDIA fixes one at a time to see which removal each one clears. All three were applied by hand as code hunks only (no git on this machine), so no test code is in my build. | build | first frame | menus | removal | |---|---|---|---| | main | `no host texture` E_INVALIDARG over `2560x1440 format 115 (B4G4R4A4_UNORM) flags 1`, then device removed at a submission of **1 list** | never | yes | | + #1630 + #1832 | — | works, 30 fps, 39 draws/frame (account picker, settings, legal notices) | yes, after ~2 min, at a submission of **27 lists** | | + #1780 (all three) | — | works | yes, at **27–33 lists** | So #1630+#1832 clears the first-frame removal exactly as reported in the comments above, and #1780 does not clear the next one on this GPU. ### What the debug layer says on the all-three build With `VICTORY_D3D12_DEBUG=1` (Graphics Tools installed): - `host view heap capped at 1000000 ... count=1245184` — the title asks for **1,245,184** slots; `PORTABLE_VIEWS` is 1,000,000, and the usable title range becomes 934,464. - **310,732** lines of `title slot past the host heap`, the highest index seen being **1,245,183**. - Just before the removal: `slow host submission ms=1119 lists=27 pipelines={... 19 compute ...}`. - The only layer message at the removal is `ID3D12Device::RemoveDevice: Device removal has been triggered ... (DXGI_ERROR_INVALID_CALL) **id=232** severity=1`. There is **no** `severity=0` message before it, and no `id=342` / `id=599` / `id=817` — i.e. this is not an API misuse the layer validates. Everything after the removal is `0x887A0005` from pipeline/root-signature creation, i.e. fallout. ### My reading The reference the GPU faults on is a title slot past the capped heap: translated shaders clamp indices below `HEAP_VIEWS` (2^21) but the host heap only covers 1,000,000, and `draw.rs` only re-makes *tables* that reach past the host heap — a shader that indexes the bindless heap directly still reaches slots 0..1,245,183. That is the "descriptors past the host's limit are left out; a title that reaches them needs remapping" path in `descriptor/host.rs`. Questions: 1. Is this the same wall as #747 / #1349, or a different one on Blackwell? The failure count (27 lists, 19 compute pipelines) looks like the compute-heavy part of the first world frame, not the menus. 2. Is there anything to test that maps title slots ≥ 1,000,000 onto a second descriptor table? I will run it and report frame counts and the log. 3. If it helps: with `VICTORY_D3D12_DEBUG=1` the run **does** reach the world — the title card ("VICE CITY, TWO YEARS AGO") is drawn correctly at 3,331 draws/frame and ~6.1 s/frame — and then still removes. So the GPU does draw the first world frame here; it is one submission that kills it, not the content. Also worth noting for other NVIDIA testers: without the debug layer, #1630+#1832+#1780 gets menus but dies within ~2 minutes of advancing; with it, you get the opening scene at a slideshow rate. Happy to run any branch.
Author
Owner

@⁠ChenmouXu on GitHub · 2026-11-25 12:48 UTC · original

RTX 5070 Ti (Blackwell) confirms #841 on the fx-heapmap fork: same capped heap, same black output, and present pacing is not the cause

Machine: RTX 5070 Ti Laptop (Blackwell, driver 32.0.16.1074), Ryzen 9 9955HX, 32 GB, Windows 11 26200. Title 1.0.2.1, Series X profile.

Tree: Xeltax/VIcky branch fx-heapmap-4e — it carries both the packed-target substitution (#89's ground) and the page-mapped view heap (#2121's ground), so it is the only tree I could get into the world with. Everything below is that build, release and diag, no debug layer.

What it does here:

  • No device removal at all in ~15 min of running. The page-mapped heap is what makes the difference; main plus #1630 + #1832 + #1780 still removes at a 27-33 list submission.
  • Menus 29-30 fps, world and prologue 0.45-2 fps (500-2200 ms/frame), 3.0k-7.0k draws/frame, 9-16 GB resident.
  • The log still says host view heap capped at 1000000 ... count=1245184: the title still wants more than the host gives; the page map just hides it.
  • The picture is mostly black with the HUD and mission prompts drawn on top, exactly the #841 shape.

Two negative results on the flicker that may save someone a day. I patched queue.rs::present twice:

  1. crate::host::settle_for_present() before the flip, so a present never runs ahead of the card. This removed the a queue still held a submission at a present: its fence was not reached warning (the wait is real), but the visible flashing did not change.
  2. Skipping the flip when draw::drawn() + draw::dispatched() had not advanced, so unchanged buffers are never cycled.

Neither changed the flashing. So on this machine it is not present pacing and not "the frame is not finished", which points back at #841: something reaches the 2560x1440 targets but not the 3840x2160 output.

A 23 s per-frame capture of the prologue puts luminance at ~14.6 for whole seconds, with single-frame jumps to 33 / 49 / 65 / 77 and back to 14.7 -- seconds of black, then a bright frame, then black again, not a per-frame tear.

If a build with the output-surface fix lands, I will run it and report frame counts and dumps of both targets.

**@⁠ChenmouXu** on GitHub · 2026-11-25 12:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7162895031) RTX 5070 Ti (Blackwell) confirms #841 on the `fx-heapmap` fork: same capped heap, same black output, and present pacing is *not* the cause Machine: RTX 5070 Ti Laptop (Blackwell, driver 32.0.16.1074), Ryzen 9 9955HX, 32 GB, Windows 11 26200. Title 1.0.2.1, Series X profile. Tree: `Xeltax/VIcky` branch `fx-heapmap-4e` — it carries both the packed-target substitution (#89's ground) and the page-mapped view heap (#2121's ground), so it is the only tree I could get into the world with. Everything below is that build, release and diag, no debug layer. What it does here: - No device removal at all in ~15 min of running. The page-mapped heap is what makes the difference; main plus #1630 + #1832 + #1780 still removes at a 27-33 list submission. - Menus 29-30 fps, world and prologue 0.45-2 fps (500-2200 ms/frame), 3.0k-7.0k draws/frame, 9-16 GB resident. - The log still says `host view heap capped at 1000000 ... count=1245184`: the title still wants more than the host gives; the page map just hides it. - The picture is mostly black with the HUD and mission prompts drawn on top, exactly the #841 shape. Two negative results on the flicker that may save someone a day. I patched `queue.rs::present` twice: 1. `crate::host::settle_for_present()` before the flip, so a present never runs ahead of the card. This removed the `a queue still held a submission at a present: its fence was not reached` warning (the wait is real), but the visible flashing did not change. 2. Skipping the flip when `draw::drawn() + draw::dispatched()` had not advanced, so unchanged buffers are never cycled. Neither changed the flashing. So on this machine it is not present pacing and not "the frame is not finished", which points back at #841: something reaches the 2560x1440 targets but not the 3840x2160 output. A 23 s per-frame capture of the prologue puts luminance at ~14.6 for whole seconds, with single-frame jumps to 33 / 49 / 65 / 77 and back to 14.7 -- seconds of black, then a bright frame, then black again, not a per-frame tear. If a build with the output-surface fix lands, I will run it and report frame counts and dumps of both targets.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 12:50 UTC · original · edited 2026-11-25 15:48 UTC

Automated triage for the maintainers.

Run report: RTX 3070, driver 32.0.16.2140, Windows build 26200. This is the NVIDIA boot-time removal (DXGI_ERROR_INVALID_CALL after a submission of 1 list) tracked in #1753, the oldest complete report, which also started with 70564ae. The comments here bisect it to 13bbd6f. The debug layer names B4G4R4A4_UNORM (format 115) as a render target and B5G5R5A1_UNORM with unordered access. In main (da82e44), host_desc in crates/victory-gpu/src/resource.rs still passes both to the host unchanged. #1952 is the same chain.

Update from the reporter: 940d32f + #1630 + #1832 clears the first-frame removal on the 3070 too. The game now reaches the loading screen at 30 fps. Right after it, the device is removed with DXGI_ERROR_DEVICE_HUNG (0x887A0006) after a submission of 25 lists. That later removal is the NVIDIA world hang tracked in #71, with the capped view heap (count=1245184 over the 1,000,000 limit) in #1760. Open PR #1906 (view addresses for tables made afresh in the dynamic slots) cleared a hang of this shape on another RTX 3070. A run with it, and VICTORY_D3D12_DRED=1, would show whether it is the same dispatch here.

ChenmouXu's RTX 5070 Ti run with #1906 ended on a debug-layer state mismatch. A title buffer was used as a vertex/constant buffer while a barrier said unordered access. main has changed exactly that since: in 315cea1, title buffers' copies are no longer transitioned, and the indirect clamp writes into a buffer of the list's own (crates/victory-gpu/src/indirect.rs). A rerun on current main would show whether that mismatch is gone.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 12:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7162937457) · edited 2026-11-25 15:48 UTC <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T15:30:00Z at=2026-11-25T15:50:00Z --> Automated triage for the maintainers. Run report: RTX 3070, driver 32.0.16.2140, Windows build 26200. This is the NVIDIA boot-time removal (`DXGI_ERROR_INVALID_CALL` after a submission of 1 list) tracked in #1753, the oldest complete report, which also started with `70564ae`. The comments here bisect it to `13bbd6f`. The debug layer names `B4G4R4A4_UNORM` (format 115) as a render target and `B5G5R5A1_UNORM` with unordered access. In `main` (da82e44), `host_desc` in `crates/victory-gpu/src/resource.rs` still passes both to the host unchanged. #1952 is the same chain. **Update from the reporter:** `940d32f` + #1630 + #1832 clears the first-frame removal on the 3070 too. The game now reaches the loading screen at 30 fps. Right after it, the device is removed with `DXGI_ERROR_DEVICE_HUNG` (0x887A0006) after a submission of 25 lists. That later removal is the NVIDIA world hang tracked in #71, with the capped view heap (`count=1245184` over the 1,000,000 limit) in #1760. Open PR #1906 (view addresses for tables made afresh in the dynamic slots) cleared a hang of this shape on another RTX 3070. A run with it, and `VICTORY_D3D12_DRED=1`, would show whether it is the same dispatch here. ChenmouXu's RTX 5070 Ti run with #1906 ended on a debug-layer state mismatch. A title buffer was used as a vertex/constant buffer while a barrier said unordered access. `main` has changed exactly that since: in 315cea1, title buffers' copies are no longer transitioned, and the indirect clamp writes into a buffer of the list's own (`crates/victory-gpu/src/indirect.rs`). A rerun on current `main` would show whether that mismatch is gone. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠realpawski on GitHub · 2026-11-25 13:41 UTC · original

Tested 940d32f + #1630 + #1832 on the RTX 3070 (driver 32.0.16.2140, Windows 10.0.26200, i7-13700F), release build, no other changes.

  • The first-frame removal is gone: no more DXGI_ERROR_INVALID_CALL after a submission of 1 list.

  • The game now reaches the loading screen at 30 fps.

  • Right after the loading screen it removes:

    host GPU device removed after a submission of 25 lists; no breadcrumbs (0x887A0004); device removed: DXGI_ERROR_DEVICE_HUNG (0x887A0006)

So #1630 + #1832 clear the boot-time removal on the 3070 as well. What remains looks like the later 25-33 list removal on the first world frame (#71 / #747).

**@⁠realpawski** on GitHub · 2026-11-25 13:41 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7164145300) Tested 940d32f + #1630 + #1832 on the RTX 3070 (driver 32.0.16.2140, Windows 10.0.26200, i7-13700F), release build, no other changes. - The first-frame removal is gone: no more DXGI_ERROR_INVALID_CALL after a submission of 1 list. - The game now reaches the loading screen at 30 fps. - Right after the loading screen it removes: host GPU device removed after a submission of 25 lists; no breadcrumbs (0x887A0004); device removed: DXGI_ERROR_DEVICE_HUNG (0x887A0006) So #1630 + #1832 clear the boot-time removal on the 3070 as well. What remains looks like the later 25-33 list removal on the first world frame (#71 / #747).
Author
Owner

@⁠ChenmouXu on GitHub · 2026-11-25 14:22 UTC · original

在RTX 3070(驱动32.0.16.2140,Windows 10.0.26200,i7-13700F)上测试了940d32f + #1630 + #1832,发布版本,没有其他更改。

  • 第一帧移除功能已取消:提交1个列表后不再DXGI_ERROR_INVALID_CALL。
  • 游戏现在以30帧每秒进入加载画面。
  • 加载画面结束后,它会删除:
    提交25个列表后移除主机GPU设备;没有面包屑(0x887A0004);设备已移除:DXGI_ERROR_DEVICE_HUNG(0x887A0006)

所以 #1630 + #1832 也清除了 3070 的启动时间移除。剩下的看起来是第一世界帧(#71 / #747)上后期25-33列表的移除。

Same wall here, and there is a branch that passes it: Xeltax/VIcky @ fx-heapmap-4e. It carries the packed-target substitution (#89's ground) and the page-mapped view heap (#2121's ground), and with it the 25-list removal is gone entirely.

On an RTX 5070 Ti (Blackwell, driver 32.0.16.1074), release build, no debug layer:

  • ~15 min of running, zero device removed events. Before that, main + #1630 + #1832 + #1780 removed at a submission of 27-33 lists, same as your 25.
  • Reached the world and could control a character. 0.45-2 fps (500-2200 ms/frame), 3.0k-7.0k draws/frame, 9-16 GB resident.
  • The heap cap is still there, it just no longer kills the run: host view heap capped at 1000000; views past it read a null slot ... count=1245184.

Caveat: the picture flickers badly -- seconds of black, then one bright frame, then black. I tried two patches in queue.rs::present (waiting on settle_for_present() before the flip, and skipping the flip when nothing was drawn); neither changed the flicker, so it is not present pacing.

Also tried Belobug/VIctory-Belobug-AMD, which is #1 on PortWatch. On NVIDIA it does not flicker, but it renders garbage: a cross-hatched grey block, a blown-out red/yellow sun, large black regions. So on NVIDIA the two builds fail differently, and fx-heapmap is the one that at least shows the world.

Worth a try on the 3070 -- it is the same GPU family as the one that authored it.

**@⁠ChenmouXu** on GitHub · 2026-11-25 14:22 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7165184831) > 在RTX 3070(驱动32.0.16.2140,Windows 10.0.26200,i7-13700F)上测试了[940d32f](https://github.com/Marvisak/VIctory/commit/940d32f69b22265690a0b5a15d6ded572ba33baf) + [#1630](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1630) + [#1832](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1832),发布版本,没有其他更改。 > > * 第一帧移除功能已取消:提交1个列表后不再DXGI_ERROR_INVALID_CALL。 > * 游戏现在以30帧每秒进入加载画面。 > * 加载画面结束后,它会删除: > 提交25个列表后移除主机GPU设备;没有面包屑(0x887A0004);设备已移除:DXGI_ERROR_DEVICE_HUNG(0x887A0006) > > 所以 [#1630](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1630) + [#1832](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1832) 也清除了 3070 的启动时间移除。剩下的看起来是第一世界帧([#71](https://git.gtahub.st/github/Marvisak--VIctory/issues/71) / [#747](https://git.gtahub.st/github/Marvisak--VIctory/issues/747))上后期25-33列表的移除。 Same wall here, and there is a branch that passes it: `Xeltax/VIcky` @ `fx-heapmap-4e`. It carries the packed-target substitution (#89's ground) and the page-mapped view heap (#2121's ground), and with it the 25-list removal is gone entirely. On an RTX 5070 Ti (Blackwell, driver 32.0.16.1074), release build, no debug layer: - ~15 min of running, zero `device removed` events. Before that, main + #1630 + #1832 + #1780 removed at a submission of 27-33 lists, same as your 25. - Reached the world and could control a character. 0.45-2 fps (500-2200 ms/frame), 3.0k-7.0k draws/frame, 9-16 GB resident. - The heap cap is still there, it just no longer kills the run: `host view heap capped at 1000000; views past it read a null slot ... count=1245184`. Caveat: the picture flickers badly -- seconds of black, then one bright frame, then black. I tried two patches in `queue.rs::present` (waiting on `settle_for_present()` before the flip, and skipping the flip when nothing was drawn); neither changed the flicker, so it is not present pacing. Also tried `Belobug/VIctory-Belobug-AMD`, which is #1 on PortWatch. On NVIDIA it does not flicker, but it renders garbage: a cross-hatched grey block, a blown-out red/yellow sun, large black regions. So on NVIDIA the two builds fail differently, and fx-heapmap is the one that at least shows the world. Worth a try on the 3070 -- it is the same GPU family as the one that authored it.
Author
Owner

@⁠Slay326 on GitHub · 2026-11-25 14:48 UTC · original

The hang after the loading screen may be the one #1906 fixes. On an RTX 3070 the host view heap is capped at 1,000,000 slots, so tables past it are made afresh in the dynamic slots, and a shader that reads a view's address as data (the BVH builder's base) indexed the view-address buffer past its end. On my RTX 3070 that gave DXGI_ERROR_DEVICE_HUNG 2-6 minutes in (the first indirect compute dispatch after the world starts); with #1906 the same build ran 420 s and later 480 s runs without a removal. Another RTX 3070 tester confirmed it in #1906 (15 min, no removal).

If you try it: VICTORY_D3D12_DRED=1 and the stopped command in the removal line would show whether it is the same dispatch (an indirect compute dispatch, indirect kind 2 max 1).

AI-assisted.

**@⁠Slay326** on GitHub · 2026-11-25 14:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7165857527) The hang after the loading screen may be the one #1906 fixes. On an RTX 3070 the host view heap is capped at 1,000,000 slots, so tables past it are made afresh in the dynamic slots, and a shader that reads a view's address as data (the BVH builder's base) indexed the view-address buffer past its end. On my RTX 3070 that gave `DXGI_ERROR_DEVICE_HUNG` 2-6 minutes in (the first indirect compute dispatch after the world starts); with #1906 the same build ran 420 s and later 480 s runs without a removal. Another RTX 3070 tester confirmed it in #1906 (15 min, no removal). If you try it: `VICTORY_D3D12_DRED=1` and the stopped command in the removal line would show whether it is the same dispatch (an indirect compute dispatch, `indirect kind 2 max 1`). AI-assisted.
Author
Owner

@⁠ChenmouXu on GitHub · 2026-11-25 15:30 UTC · original

加载画面后卡顿的问题可能是#1906修复的那个。在 RTX 3070 上,主机视图堆的槽位上限为 1,000,000 个槽位,因此其后的表会在动态槽位中重新创建,而一个将视图地址作为数据读取的着色器(BVH 构建器的基础)会索引视图地址缓冲区。在我的RTX 3070上,它能给出2-6分钟的使用时间(世界开始后第一次间接计算调度);在#1906时,同一版本运行了420 S,后来又运行了480 S,且未曾拆卸。另一个RTX 3070测试者在#1906(15分钟,未拆下)也证实了这个问题。DXGI_ERROR_DEVICE_HUNG

如果你尝试:并且移除行中的stopped命令会显示是否为同一个派遣(间接计算派遣)。VICTORY_D3D12_DRED=1``indirect kind 2 max 1

AI辅助。

RTX 5070 Ti (Blackwell): still removes, and the debug layer names a different failure -- a resource barrier state mismatch, not view addresses

First, #1906 does what it says on the machine you tested, and the failure here looks like a separate bug, so this is a "does not cover 50-series yet" report rather than a regression.

Machine: RTX 5070 Ti Laptop (Blackwell, driver 32.0.16.1074), Ryzen 9 9955HX, 32 GB, Windows 11 26200. Title 1.0.2.1 (Series X), release and diag builds, shader cache warmed with translate.

Tree: your branch (fix/view-addresses-dynamic-slots) with the three open NVIDIA fixes applied on top -- #1630 + #1832 + #1780 -- because without them the title's packed targets remove the device on the first frame. So this is main + all four.

What happens:

  • Boot, menus and the loading screen are fine at 30 fps.
  • The removal still comes after the loading screen, and the run log ends with device removed ... (0x887A0001) and a long list of slot unknown Cbv bindings, e.g. 6a62009bc6a4146e Cbv s1+56: Constant(0x3f1e7b0, 656) ... slot unknown.
  • With VICTORY_D3D12_DEBUG=1 the layer reports, just before the removal:

id=527 severity=1
ID3D12CommandQueue1::ExecuteCommandLists: Using ResourceBarrier on Command List
('victory host list 157'): Before state (0x8: D3D12_RESOURCE_STATE_UNORDERED_ACCESS)
of resource ('title buffer 0x36860000+0xae00000') does not match with the state
(0x1: D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER) specified in preceding
ResourceBarrier or as InitialState

So the same buffer is declared a vertex/constant buffer while the preceding barrier or the initial state says unordered access. That is resource-state tracking, not the view-address buffer #1906 fixes -- which fits with 30-series passing and 50-series not.

Two questions:

  1. Is title buffer 0x36860000+0xae00000 a buffer your change now hands to a table made afresh, and is the missing piece a barrier at the point that table is rebuilt?
  2. If a branch with that barrier exists, I will run it here and report: diag build, DRED on, and a full debug-layer log are already set up.

I have no 40-series to test; this is the only NVIDIA card here.

**@⁠ChenmouXu** on GitHub · 2026-11-25 15:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7166938167) > 加载画面后卡顿的问题可能是[#1906](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1906)修复的那个。在 RTX 3070 上,主机视图堆的槽位上限为 1,000,000 个槽位,因此其后的表会在动态槽位中重新创建,而一个将视图地址作为数据读取的着色器(BVH 构建器的基础)会索引视图地址缓冲区。在我的RTX 3070上,它能给出2-6分钟的使用时间(世界开始后第一次间接计算调度);在#[1906](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1906)时,同一版本运行了420 S,后来又运行了480 S,且未曾拆卸。另一个RTX 3070测试者在[#1906](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1906)(15分钟,未拆下)也证实了这个问题。`DXGI_ERROR_DEVICE_HUNG` > > 如果你尝试:并且移除行中的stopped命令会显示是否为同一个派遣(间接计算派遣)。`VICTORY_D3D12_DRED=1``indirect kind 2 max 1` > > AI辅助。 RTX 5070 Ti (Blackwell): still removes, and the debug layer names a different failure -- a resource barrier state mismatch, not view addresses First, #1906 does what it says on the machine you tested, and the failure here looks like a separate bug, so this is a "does not cover 50-series yet" report rather than a regression. Machine: RTX 5070 Ti Laptop (Blackwell, driver 32.0.16.1074), Ryzen 9 9955HX, 32 GB, Windows 11 26200. Title 1.0.2.1 (Series X), release and diag builds, shader cache warmed with translate. Tree: your branch (fix/view-addresses-dynamic-slots) with the three open NVIDIA fixes applied on top -- #1630 + #1832 + #1780 -- because without them the title's packed targets remove the device on the first frame. So this is main + all four. What happens: - Boot, menus and the loading screen are fine at 30 fps. - The removal still comes after the loading screen, and the run log ends with device removed ... (0x887A0001) and a long list of `slot unknown` Cbv bindings, e.g. `6a62009bc6a4146e Cbv s1+56: Constant(0x3f1e7b0, 656) ... slot unknown`. - With VICTORY_D3D12_DEBUG=1 the layer reports, just before the removal: id=527 severity=1 ID3D12CommandQueue1::ExecuteCommandLists: Using ResourceBarrier on Command List ('victory host list 157'): Before state (0x8: D3D12_RESOURCE_STATE_UNORDERED_ACCESS) of resource ('title buffer 0x36860000+0xae00000') does not match with the state (0x1: D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER) specified in preceding ResourceBarrier or as InitialState So the same buffer is declared a vertex/constant buffer while the preceding barrier or the initial state says unordered access. That is resource-state tracking, not the view-address buffer #1906 fixes -- which fits with 30-series passing and 50-series not. Two questions: 1. Is title buffer 0x36860000+0xae00000 a buffer your change now hands to a table made afresh, and is the missing piece a barrier at the point that table is rebuilt? 2. If a branch with that barrier exists, I will run it here and report: diag build, DRED on, and a full debug-layer log are already set up. I have no 40-series to test; this is the only NVIDIA card here.
Author
Owner

@⁠potatoe0100 on GitHub · 2026-11-26 14:11 UTC · original

Two things have merged since this was reported, both on current main (63bcca4):

B4G4R4A4_UNORM (format 115) render targets are still refused on main (#89 and #2767 are open for it). In the #1832 run on #2563 that refusal was not fatal. A rerun on 63bcca4 would show what is left.

AI-assisted (Claude)

**@⁠potatoe0100** on GitHub · 2026-11-26 14:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/2024#issuecomment-7194408750) Two things have merged since this was reported, both on current `main` (`63bcca4`): - The first-frame `B5G5R5A1_UNORM` removal: #2462 (ea488a9) and #2286 (bac1364). #1753, where it was tracked, was closed as fixed. - #1906 (2bba792), suggested above for the hang after the loading screen. `B4G4R4A4_UNORM` (format 115) render targets are still refused on `main` (#89 and #2767 are open for it). In the #1832 run on #2563 that refusal was not fatal. A rerun on `63bcca4` would show what is left. AI-assisted (Claude)
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#2024
No description provided.