RX 7700 XT 12 GB (RDNA3), Windows: device lost in the loading screen every run, page faults inside freed resources #26

Open
opened 2026-11-26 03:33:25 +00:00 by github-bot · 9 comments
Owner

@⁠zGLados on GitHub · 2026-11-25 12:32 UTC · original

Setup

  • Windows 11 26300, AMD Radeon RX 7700 XT 12 GB (RDNA3), driver 32.0.32015.7029, Ryzen 7 7700X, 32 GB RAM
  • 4cbe9d7 (runs 1–3) and 71652a2 (run 4), cargo build --profile diag -p victory --features diagnostics, own dump of 1.0.2.1
  • README settings of each commit: VICTORY_PRESENT_TARGET=1x1:1 VICTORY_HAIR=1 (+ VICTORY_SKIP_PIPELINES=<the 8> on 4cbe9d7), --console series-x, Enter pressed every 6 s until 46 s, DRED on

What happens

Four runs, all end with a device removal while the loading art is still on screen; the world never appears.

Run Extra Device removed DRED VRAM peak (dedicated + shared)
1 – (cold shader cache) ~10 min page fault beside a title-memory copy; the view/sampler heap offsets in the message are garbage (slot 1587140480) 10.3 + 8.6 GB
2 – (warm cache) ~3.5 min page fault inside freed staging of … 16x9x1 f10 (type 34) 10.8 + 9.9 GB
3 VICTORY_STAGING_BUDGET_MB=4096 VICTORY_CARD_BUFFERS_MB=1024 ~3.7 min page fault inside freed unnamed (type 25), unnamed (type 34) 10.8 + 11.0 GB
4 71652a2, its README settings (no skip list) ~3.5 min page fault inside freed staging of … 1024x1024x1 f71 (type 34) 10.4 + 9.4 GB; process ~24 GB

VRAM sampled every 30 s with the GPU Adapter Memory counters: dedicated use sits at the card's limit within a minute of loading, and shared use keeps climbing until the fault.

Notes

  • Raising the staging budget (run 3) did not help, so it is not only the staging eviction; the faults hit other freed resources too.
  • Same machine, same title: fxceless/victory-fork 4e17478 + its PR #98 runs 15 min in the prologue without a device loss (~4.6 fps with VICTORY_RELAY=2), so the card and driver can hold a run.
  • Likely the same memory picture as #6 (RX 7600 XT 8 GB). A note in the README on the minimum VRAM would save 12 GB owners the try.

Logs available on request.

**@⁠zGLados** on GitHub · 2026-11-25 12:32 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26) ### Setup - Windows 11 26300, **AMD Radeon RX 7700 XT 12 GB** (RDNA3), driver 32.0.32015.7029, Ryzen 7 7700X, 32 GB RAM - `4cbe9d7` (runs 1–3) and `71652a2` (run 4), `cargo build --profile diag -p victory --features diagnostics`, own dump of 1.0.2.1 - README settings of each commit: `VICTORY_PRESENT_TARGET=1x1:1 VICTORY_HAIR=1` (+ `VICTORY_SKIP_PIPELINES=<the 8>` on `4cbe9d7`), `--console series-x`, Enter pressed every 6 s until 46 s, DRED on ### What happens Four runs, all end with a device removal **while the loading art is still on screen**; the world never appears. | Run | Extra | Device removed | DRED | VRAM peak (dedicated + shared) | |---|---|---|---|---| | 1 | – (cold shader cache) | ~10 min | page fault beside a title-memory copy; the view/sampler heap offsets in the message are garbage (slot 1587140480) | 10.3 + 8.6 GB | | 2 | – (warm cache) | ~3.5 min | page fault **inside freed** `staging of … 16x9x1 f10 (type 34)` | 10.8 + 9.9 GB | | 3 | `VICTORY_STAGING_BUDGET_MB=4096 VICTORY_CARD_BUFFERS_MB=1024` | ~3.7 min | page fault **inside freed** `unnamed (type 25)`, `unnamed (type 34)` | 10.8 + 11.0 GB | | 4 | `71652a2`, its README settings (no skip list) | ~3.5 min | page fault **inside freed** `staging of … 1024x1024x1 f71 (type 34)` | 10.4 + 9.4 GB; process ~24 GB | VRAM sampled every 30 s with the `GPU Adapter Memory` counters: dedicated use sits at the card's limit within a minute of loading, and shared use keeps climbing until the fault. ### Notes - Raising the staging budget (run 3) did not help, so it is not only the staging eviction; the faults hit other freed resources too. - Same machine, same title: fxceless/victory-fork `4e17478` + its PR #98 runs 15 min in the prologue without a device loss (~4.6 fps with `VICTORY_RELAY=2`), so the card and driver can hold a run. - Likely the same memory picture as #6 (RX 7600 XT 8 GB). A note in the README on the minimum VRAM would save 12 GB owners the try. Logs available on request.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:33:25 +00:00
Author
Owner

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

Thanks for the detailed runs. These are notes from reading the code at 01aadd1. I could not reproduce anything: there is no game executable on my machine (RX 7900 XT, Windows 11 26300), so everything below comes from the source and unit tests. #95 (RX 7900 XTX) reports the same kind of fault, a page fault inside a freed "staging of ..." plus view and sampler heap offsets past their ends, and #144 is a fix proposed there. Some of what follows overlaps with it.

What the DRED names mean on main

  • "staging of ... WxHxD fN": textures up to 8 MiB are staged in shared upload buffers, each holding many textures' slots. A shared buffer was renamed after every texture staged into it, so the name is the last texture staged there, not necessarily the one being read. Both "16x9x1 f10" and "1024x1024x1 f71" are small enough to be pooled. What the name does tell you is that a pooled staging buffer was freed. That happens only after every slot in it is free and a retire wait has passed (the submissions running then, plus 32 presented frames).
  • "unnamed (type 25)" is a D3D12 heap. The only heaps the GPU crate creates are the texture pool's, which are freed when they empty, and the heaps for copies of title memory, which are never freed. So it was most likely a texture pool heap, but it is unnamed on main.
  • "unnamed (type 34)" is a resource. Several resources are unnamed on main, including textures placed in the pool and each descriptor heap's stride table.
  • DRED lists freed allocations whose address range contained the faulting address. A stale or out-of-range address can land in a range a freed allocation once used, so "inside freed X" alone does not prove that X was used after being freed.

Candidates I can see (none confirmed)

  • Stride-table reads past its end. Shaders read a heap's per-slot strides and element counts from a table, through a root SRV with no bounds. The slot index is clamped to the largest heap size, but the counts half is read at slot + that size, and the table only covers the heap's own slots. On a smaller heap, a wild slot reads past the table. #144 sizes the table to cover it.
  • Stride-table early free. The stride table is freed as soon as the title releases the heap, without the usual retire wait. Lists whose draws the host treats as indexing the heap directly already hold the heap. Others hold only the D3D12 descriptor heap, so a submission recorded or running at that point could read the freed table. It is an unnamed committed resource (type 34) on main.
  • Unbounded root views. Root SRV/UAV/CBV reads have no bounds in compute shaders. In draws, only root SRVs get a reach limit, so a wild index through a root UAV or CBV could reach memory past its buffer.
  • The sampler-heap index is not clamped; only resource-heap indices are. The odd view/sampler heap slot in your run 1 (1587140480) could fit an out-of-range index, but I have not confirmed that. #144 clamps it.
  • Placed-texture slots. A slot made from a view of a texture the title placed itself did not hold that texture's host copy. After the title remaps that memory and the retire wait ends, the copy's slot in a texture pool heap can go to another texture while the descriptor still views it. That alone would read the wrong texture rather than fault. It would only fault if the pool heap were freed while that placed texture still exists, which I have not checked D3D12 allows.

What you could try, if you have time

  • A diagnostics build (--features diagnostics) with VICTORY_D3D12_DRED=1 gives the DRED report. On main the pooled allocations above are unnamed or misnamed; I have a small change that names pool heaps by slot size, pooled textures by size and format and stride tables as "descriptor strides and counts", plus fixes for the two lifetime gaps above. I can open it as a PR on top of #144, which touches the same naming.
  • VICTORY_KEEP_RETIRED=1 in a diagnostics build. Nothing that goes through the retire queue is freed (staging buffers and their pool memory, texture copies, slots' resources), so if the fault goes away, it points to a use after free. Two caveats:
    • On a 12 GB card already at its VRAM limit, it will likely run out of memory before the fault appears.
    • On main the stride table does not go through that queue, so a fault that persists does not rule the table out.
  • VICTORY_TEXTURES=keep. Placed textures are then not evicted when the title remaps their memory, which rules out the placed-texture case above. It also uploads each texture once and never refreshes it, so some textures may look wrong, and it keeps more texture memory, so it may run out sooner on 12 GB.

None of this is known to fix the device loss. These are things that could produce faults inside freed allocations, and the names should make the next DRED report say which one it is.

**@⁠adrianmjim** on GitHub · 2026-11-25 17:24 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7169461743) Thanks for the detailed runs. These are notes from reading the code at 01aadd1. I could not reproduce anything: there is no game executable on my machine (RX 7900 XT, Windows 11 26300), so everything below comes from the source and unit tests. #95 (RX 7900 XTX) reports the same kind of fault, a page fault inside a freed "staging of ..." plus view and sampler heap offsets past their ends, and #144 is a fix proposed there. Some of what follows overlaps with it. **What the DRED names mean on main** - "staging of ... WxHxD fN": textures up to 8 MiB are staged in shared upload buffers, each holding many textures' slots. A shared buffer was renamed after every texture staged into it, so the name is the last texture staged there, not necessarily the one being read. Both "16x9x1 f10" and "1024x1024x1 f71" are small enough to be pooled. What the name does tell you is that a pooled staging buffer was freed. That happens only after every slot in it is free and a retire wait has passed (the submissions running then, plus 32 presented frames). - "unnamed (type 25)" is a D3D12 heap. The only heaps the GPU crate creates are the texture pool's, which are freed when they empty, and the heaps for copies of title memory, which are never freed. So it was most likely a texture pool heap, but it is unnamed on main. - "unnamed (type 34)" is a resource. Several resources are unnamed on main, including textures placed in the pool and each descriptor heap's stride table. - DRED lists freed allocations whose address range contained the faulting address. A stale or out-of-range address can land in a range a freed allocation once used, so "inside freed X" alone does not prove that X was used after being freed. **Candidates I can see (none confirmed)** - Stride-table reads past its end. Shaders read a heap's per-slot strides and element counts from a table, through a root SRV with no bounds. The slot index is clamped to the largest heap size, but the counts half is read at slot + that size, and the table only covers the heap's own slots. On a smaller heap, a wild slot reads past the table. #144 sizes the table to cover it. - Stride-table early free. The stride table is freed as soon as the title releases the heap, without the usual retire wait. Lists whose draws the host treats as indexing the heap directly already hold the heap. Others hold only the D3D12 descriptor heap, so a submission recorded or running at that point could read the freed table. It is an unnamed committed resource (type 34) on main. - Unbounded root views. Root SRV/UAV/CBV reads have no bounds in compute shaders. In draws, only root SRVs get a reach limit, so a wild index through a root UAV or CBV could reach memory past its buffer. - The sampler-heap index is not clamped; only resource-heap indices are. The odd view/sampler heap slot in your run 1 (1587140480) could fit an out-of-range index, but I have not confirmed that. #144 clamps it. - Placed-texture slots. A slot made from a view of a texture the title placed itself did not hold that texture's host copy. After the title remaps that memory and the retire wait ends, the copy's slot in a texture pool heap can go to another texture while the descriptor still views it. That alone would read the wrong texture rather than fault. It would only fault if the pool heap were freed while that placed texture still exists, which I have not checked D3D12 allows. **What you could try, if you have time** - A diagnostics build (`--features diagnostics`) with `VICTORY_D3D12_DRED=1` gives the DRED report. On `main` the pooled allocations above are unnamed or misnamed; I have a small change that names pool heaps by slot size, pooled textures by size and format and stride tables as "descriptor strides and counts", plus fixes for the two lifetime gaps above. I can open it as a PR on top of #144, which touches the same naming. - `VICTORY_KEEP_RETIRED=1` in a diagnostics build. Nothing that goes through the retire queue is freed (staging buffers and their pool memory, texture copies, slots' resources), so if the fault goes away, it points to a use after free. Two caveats: - On a 12 GB card already at its VRAM limit, it will likely run out of memory before the fault appears. - On main the stride table does not go through that queue, so a fault that persists does not rule the table out. - `VICTORY_TEXTURES=keep`. Placed textures are then not evicted when the title remaps their memory, which rules out the placed-texture case above. It also uploads each texture once and never refreshes it, so some textures may look wrong, and it keeps more texture memory, so it may run out sooner on 12 GB. None of this is known to fix the device loss. These are things that could produce faults inside freed allocations, and the names should make the next DRED report say which one it is.
Author
Owner

@⁠zGLados on GitHub · 2026-11-25 19:26 UTC · original

Thanks @⁠adrianmjim, that helped. Two more runs on the same RX 7700 XT 12 GB, README settings, diag build, DRED on, 12 minutes each:

Build Result fps (layer's line) VRAM (dedicated + shared)
000ffdd world reached; device lost at ~7.5 min (frame ~5850), page fault inside freed staging of … 128x128x1 f71 (type 34) 5.5–5.7 10.4 + 10.3 GB
000ffdd + #144 merged locally no device removal in 12 min (after ~4 min of shader translation, cold cache), frame ~11600 5.9 10.5 + 9.6 GB

So #144 stopped the device loss in this one run.

The picture is not right in either run: in the prologue's window scene only the window pane and the outside are drawn; Lucia, the room's walls and the window frame are missing (the same scene renders them on fxceless/victory-fork ca8829f on this card). I can't tell whether that is the 12 GB card running out of room for the room's resources or something else; happy to run a switch or a branch for it.

Small note on #144: against 000ffdd it needed ..target in the emit::Target { lanes_min, lanes_max } initializer in apps/victory/src/translate.rs to build (the new view_slots / sampler_slots fields).

**@⁠zGLados** on GitHub · 2026-11-25 19:26 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7172300357) Thanks @⁠adrianmjim, that helped. Two more runs on the same RX 7700 XT 12 GB, README settings, diag build, DRED on, 12 minutes each: | Build | Result | fps (layer's line) | VRAM (dedicated + shared) | |---|---|---:|---| | `000ffdd` | world reached; device lost at ~7.5 min (frame ~5850), page fault inside freed `staging of … 128x128x1 f71 (type 34)` | 5.5–5.7 | 10.4 + 10.3 GB | | `000ffdd` + #144 merged locally | **no device removal in 12 min** (after ~4 min of shader translation, cold cache), frame ~11600 | 5.9 | 10.5 + 9.6 GB | So #144 stopped the device loss in this one run. The picture is not right in either run: in the prologue's window scene only the window pane and the outside are drawn; Lucia, the room's walls and the window frame are missing (the same scene renders them on fxceless/victory-fork `ca8829f` on this card). I can't tell whether that is the 12 GB card running out of room for the room's resources or something else; happy to run a switch or a branch for it. Small note on #144: against `000ffdd` it needed `..target` in the `emit::Target { lanes_min, lanes_max }` initializer in `apps/victory/src/translate.rs` to build (the new `view_slots` / `sampler_slots` fields).
Author
Owner

@⁠adrianmjim on GitHub · 2026-11-25 19:40 UTC · original

Thanks for the runs. #144 stopping the device loss is worth saying on #144 itself as well, together with the ..target note, since its author may not follow this issue.

Missing Lucia, walls and window frame: one candidate

On main, 71 mesh programs of the title's shaders.rpf are refused when translated on their own: their outputs are over D3D12's 32 KiB limit for a mesh shader (65 to 71 scalars per vertex for 128 vertices, against 64). Their draws are dropped. Most of them are character variants (MS_VS_PedTransform*, *TransformSkin*, the Fire/Spatter/Transmission versions), and a few are plain MS_VS_Transform*. #138 (a port of upstream's #2398) translates each one together with the pixel shader it is drawn with, and leaves out the outputs that pixel shader does not read. Offline, all 1178 signature-compatible (mesh, pixel) pairs I built from those 71 programs validate and create pipelines on an RX 7900 XT with #138 (details on #138). I have not seen it in the game (no game executable here).

You can check whether this is what you see without a new build. In the diagnostics build's log, each shader that does not translate gets one line, shader does not translate; its pipelines' draws are dropped, with the reason. These are the lines to look for:

  • mesh outputs beyond the host's 32 KiB: the case above.
  • Any other reason on a mesh or vertex shader.
  • title memory refused by the host GPU / a stretch of title memory refused by the host GPU: memory the 12 GB card could not take, which would also leave things undrawn.

A branch to try

test/main-144-138 on my fork (https://github.com/adrianmjim/VIctory-Belobug-AMD/tree/test/main-144-138, bd95048) is 000ffdd with #144 and #138 merged. Getting them to build together took three changes:

  • The one conflict, in emit/mod.rs, keeps both sides: #144's ClampGuard and #138's lower_pruned.
  • Your ..target in apps/victory/src/translate.rs.
  • #138 did not build on 000ffdd. Its Shader::from_translated predates the draws_sky / ends_reflections fields main added since, so the branch copies them from the source shader.

It builds here as a release build with --features diagnostics, and cargo test -p victory-shader --lib -- --test-threads=1 passes (271 passed, 0 failed). It is untested in the game. The mesh programs translate differently on this branch, so expect another round of shader translation with a cold cache.

If the characters come back and the walls or frame do not, the shader does not translate lines from that run would be the next thing to look at.

**@⁠adrianmjim** on GitHub · 2026-11-25 19:40 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7172609350) Thanks for the runs. #144 stopping the device loss is worth saying on #144 itself as well, together with the `..target` note, since its author may not follow this issue. **Missing Lucia, walls and window frame: one candidate** On `main`, 71 mesh programs of the title's `shaders.rpf` are refused when translated on their own: their outputs are over D3D12's 32 KiB limit for a mesh shader (65 to 71 scalars per vertex for 128 vertices, against 64). Their draws are dropped. Most of them are character variants (`MS_VS_PedTransform*`, `*TransformSkin*`, the `Fire`/`Spatter`/`Transmission` versions), and a few are plain `MS_VS_Transform*`. #138 (a port of upstream's #2398) translates each one together with the pixel shader it is drawn with, and leaves out the outputs that pixel shader does not read. Offline, all 1178 signature-compatible (mesh, pixel) pairs I built from those 71 programs validate and create pipelines on an RX 7900 XT with #138 (details on #138). I have not seen it in the game (no game executable here). You can check whether this is what you see without a new build. In the diagnostics build's log, each shader that does not translate gets one line, `shader does not translate; its pipelines' draws are dropped`, with the reason. These are the lines to look for: - `mesh outputs beyond the host's 32 KiB`: the case above. - Any other reason on a mesh or vertex shader. - `title memory refused by the host GPU` / `a stretch of title memory refused by the host GPU`: memory the 12 GB card could not take, which would also leave things undrawn. **A branch to try** `test/main-144-138` on my fork (https://github.com/adrianmjim/VIctory-Belobug-AMD/tree/test/main-144-138, `bd95048`) is `000ffdd` with #144 and #138 merged. Getting them to build together took three changes: - The one conflict, in `emit/mod.rs`, keeps both sides: #144's `ClampGuard` and #138's `lower_pruned`. - Your `..target` in `apps/victory/src/translate.rs`. - #138 did not build on `000ffdd`. Its `Shader::from_translated` predates the `draws_sky` / `ends_reflections` fields `main` added since, so the branch copies them from the source shader. It builds here as a release build with `--features diagnostics`, and `cargo test -p victory-shader --lib -- --test-threads=1` passes (271 passed, 0 failed). It is untested in the game. The mesh programs translate differently on this branch, so expect another round of shader translation with a cold cache. If the characters come back and the walls or frame do not, the `shader does not translate` lines from that run would be the next thing to look at.
Author
Owner

@⁠zGLados on GitHub · 2026-11-25 20:46 UTC · original

Ran test/main-144-138 (bd95048) on the RX 7700 XT 12 GB, diag build, README settings, DRED on, 16 minutes:

  • No device removal in 16 minutes (after the expected round of shader translation), frame ~8000, 5.2 fps at the end. That makes two clean runs with #144 here (12 and 16 min).
  • The mesh refusal is gone: shader does not translate lines are now only 35 compute programs, all an address in an SGPR that is no root parameter is not supported; no mesh or vertex shader. On 000ffdd + #144 it was the same 34 compute programs plus one mesh program (72da0ba1efaec1e0, mesh outputs beyond the host's 32 KiB).
  • No title memory refused by the host GPU / a stretch of title memory refused lines in any run.
  • The room is still missing in the window scene (frames 4000–8000): only the pane and the outside; Lucia, walls and frame not drawn.

One more data point that may narrow it down: the draws are there. The layer's own line reads 4603 draws/frame, dropped 334 without a host pipeline on this branch, and 4849 draws/frame, dropped 339 without a host pipeline on fxceless/victory-fork ca8829f in the same scene on the same card, where the room, Lucia and the frame do render. So it doesn't look like dropped draws or refused memory; more like the room is drawn but ends up invisible (depth, culling or visibility data?). Happy to run a switch or capture something specific if that helps.

**@⁠zGLados** on GitHub · 2026-11-25 20:46 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7174179131) Ran `test/main-144-138` (`bd95048`) on the RX 7700 XT 12 GB, diag build, README settings, DRED on, 16 minutes: - **No device removal** in 16 minutes (after the expected round of shader translation), frame ~8000, **5.2 fps** at the end. That makes two clean runs with #144 here (12 and 16 min). - **The mesh refusal is gone:** `shader does not translate` lines are now only 35 compute programs, all `an address in an SGPR that is no root parameter is not supported`; no mesh or vertex shader. On `000ffdd` + #144 it was the same 34 compute programs plus **one** mesh program (`72da0ba1efaec1e0`, `mesh outputs beyond the host's 32 KiB`). - **No** `title memory refused by the host GPU` / `a stretch of title memory refused` lines in any run. - **The room is still missing** in the window scene (frames 4000–8000): only the pane and the outside; Lucia, walls and frame not drawn. One more data point that may narrow it down: the draws are there. The layer's own line reads `4603 draws/frame, dropped 334 without a host pipeline` on this branch, and `4849 draws/frame, dropped 339 without a host pipeline` on fxceless/victory-fork `ca8829f` in the same scene on the same card, where the room, Lucia and the frame do render. So it doesn't look like dropped draws or refused memory; more like the room is drawn but ends up invisible (depth, culling or visibility data?). Happy to run a switch or capture something specific if that helps.
Author
Owner

@⁠adrianmjim on GitHub · 2026-11-25 21:13 UTC · original

Thanks, that rules my mesh guess out for the room, and the draw counts point somewhere else.

What the numbers say (from the code at 000ffdd)

  • draws/frame counts the title's own calls (Draw, DrawIndexed, DispatchMesh, ExecuteIndirect, once each) when they arrive, before the host does anything with them (list.rs, count_draw). So 4603 against 4849 means the title itself issues about 246 fewer calls a frame on this build. The host drops (334 against 339) are about the same, so dropped draws do not explain the difference. The caveat is that the two runs may not have been in exactly the same shot.
  • The 35 compute programs are, very likely, the ray-tracing structure builder's kernels (XboxBvhBuilder.dll: ConstructBVH4, CopyAndCompactBVH, the sorts and prefix sums, ...). translate_for handles their spilled user-data table and raw addresses only with VICTORY_RAYS=1. With the runtime's own translate_for and VICTORY_RAYS unset, all 52 of that DLL's compute programs fail offline with exactly an address in an SGPR that is no root parameter. With it set, all 52 translate. None of them builds culling, indirect arguments or a depth pyramid for raster draws. fxceless/victory-fork does not run them by default either (VICTORY_BVH_BUILDER). So they are expected, and probably not the room. If you paste the 35 hash= values I can match them against the 52.

fxceless saw the same thing

Its source describes this scene: the room at the start of the prologue lost its walls in five runs of seven, with the outside cut by one rectangle around the window (the comment on VICTORY_SCISSOR_TEST in its draw.rs). It has a VICTORY_WALLS_TRACE for the GPU read-backs the title's CPU uses there. Its commits credit two things, both on by default there and missing on our main, with the room rendering:

  • VICTORY_HEAP_SYNC: descriptor records the title copies into its shader-visible heaps as plain bytes are mirrored before each submission.
  • VICTORY_VIEW_OWN_COPY: a buffer view that starts off an element of its host copy gets its own copy of the bytes. Ours refuses it, logging buffer view not on an element of its host copy, and the shader reads zeros.

On our side, title submissions return before the host GPU is done since a59f3e5 (VICTORY_ASYNC_SUBMIT, on by default). That came after #45 fixed the walls on a 9070 XT. fxceless waits for every submission by default.

If you have time, one switch per launch, same save and shot

On test/main-144-138 (none of these needs a rebuild):

  1. Baseline, twice, to see whether it is intermittent here too.
  2. VICTORY_ASYNC_SUBMIT=0
  3. VICTORY_PLAN_REUSE=0 (undoes 000ffdd's bindless plan reuse)
  4. VICTORY_HOIST_CLAMPS=0 (each indirect clamp right before its draw)
  5. VICTORY_DEPTH_TWINS=0

For each one: whether the room, Lucia and the frame appear, and the ... draws/frame, dropped ... without a host pipeline line. The question is whether it moves towards 4849.

On fxceless ca8829f, the reverse: VICTORY_HEAP_SYNC=0, then VICTORY_VIEW_OWN_COPY=0. Does the room disappear there? A run with VICTORY_WALLS_TRACE=1 would add its walls trace: lines.

From the logs you already have on our build, these lines would also help, with counts and the first occurrence of each:

  • every dropped X/frame without a host pipeline: <why> line under the frame line;
  • buffer view not on an element of its host copy;
  • no free dynamic descriptor slots;
  • the host wave sizes line.

A screenshot of the same shot on both builds would also help. Where the walls should be, is it the outside or sky (not drawn), black (drawn but unlit), or cut to a rectangle?

**@⁠adrianmjim** on GitHub · 2026-11-25 21:13 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7174785203) Thanks, that rules my mesh guess out for the room, and the draw counts point somewhere else. **What the numbers say (from the code at `000ffdd`)** - `draws/frame` counts the title's own calls (`Draw`, `DrawIndexed`, `DispatchMesh`, `ExecuteIndirect`, once each) when they arrive, before the host does anything with them (`list.rs`, `count_draw`). So 4603 against 4849 means the title itself issues about 246 fewer calls a frame on this build. The host drops (334 against 339) are about the same, so dropped draws do not explain the difference. The caveat is that the two runs may not have been in exactly the same shot. - The 35 compute programs are, very likely, the ray-tracing structure builder's kernels (`XboxBvhBuilder.dll`: `ConstructBVH4`, `CopyAndCompactBVH`, the sorts and prefix sums, ...). `translate_for` handles their spilled user-data table and raw addresses only with `VICTORY_RAYS=1`. With the runtime's own `translate_for` and `VICTORY_RAYS` unset, all 52 of that DLL's compute programs fail offline with exactly `an address in an SGPR that is no root parameter`. With it set, all 52 translate. None of them builds culling, indirect arguments or a depth pyramid for raster draws. fxceless/victory-fork does not run them by default either (`VICTORY_BVH_BUILDER`). So they are expected, and probably not the room. If you paste the 35 `hash=` values I can match them against the 52. **fxceless saw the same thing** Its source describes this scene: the room at the start of the prologue lost its walls in five runs of seven, with the outside cut by one rectangle around the window (the comment on `VICTORY_SCISSOR_TEST` in its `draw.rs`). It has a `VICTORY_WALLS_TRACE` for the GPU read-backs the title's CPU uses there. Its commits credit two things, both on by default there and missing on our `main`, with the room rendering: - `VICTORY_HEAP_SYNC`: descriptor records the title copies into its shader-visible heaps as plain bytes are mirrored before each submission. - `VICTORY_VIEW_OWN_COPY`: a buffer view that starts off an element of its host copy gets its own copy of the bytes. Ours refuses it, logging `buffer view not on an element of its host copy`, and the shader reads zeros. On our side, title submissions return before the host GPU is done since `a59f3e5` (`VICTORY_ASYNC_SUBMIT`, on by default). That came after #45 fixed the walls on a 9070 XT. fxceless waits for every submission by default. **If you have time, one switch per launch, same save and shot** On `test/main-144-138` (none of these needs a rebuild): 1. Baseline, twice, to see whether it is intermittent here too. 2. `VICTORY_ASYNC_SUBMIT=0` 3. `VICTORY_PLAN_REUSE=0` (undoes `000ffdd`'s bindless plan reuse) 4. `VICTORY_HOIST_CLAMPS=0` (each indirect clamp right before its draw) 5. `VICTORY_DEPTH_TWINS=0` For each one: whether the room, Lucia and the frame appear, and the `... draws/frame, dropped ... without a host pipeline` line. The question is whether it moves towards 4849. On fxceless `ca8829f`, the reverse: `VICTORY_HEAP_SYNC=0`, then `VICTORY_VIEW_OWN_COPY=0`. Does the room disappear there? A run with `VICTORY_WALLS_TRACE=1` would add its `walls trace:` lines. From the logs you already have on our build, these lines would also help, with counts and the first occurrence of each: - every `dropped X/frame without a host pipeline: <why>` line under the frame line; - `buffer view not on an element of its host copy`; - `no free dynamic descriptor slots`; - the `host wave sizes` line. A screenshot of the same shot on both builds would also help. Where the walls should be, is it the outside or sky (not drawn), black (drawn but unlit), or cut to a rectangle?
Author
Owner

@⁠zGLados on GitHub · 2026-11-26 19:32 UTC · original

Ran the list, one switch per launch, same start (new launch, Enter until 46 s, no input after), RX 7700 XT 12 GB, diag build, 11 minutes each, window scene of the prologue at frames ~4000–8800. "Room" = Lucia, walls and window frame.

On test/main-144-138 (bd95048), README settings:

Run Switch Room Frame line at the end
1 baseline partly: window frame and a dark wall at the left drawn, Lucia missing, one long stretched triangle across the picture 5.5 fps, 4603 draws/frame, dropped 335 without a host pipeline
2 baseline missing (only pane and outside) 5.5 fps, 4475 / dropped 339
3 VICTORY_ASYNC_SUBMIT=0 missing 5.9 fps, 4333 / dropped 355
4 VICTORY_PLAN_REUSE=0 missing 5.6 fps, 4436 / dropped 343
5 VICTORY_HOIST_CLAMPS=0 missing 5.3 fps, 4623 / dropped 340
6 VICTORY_DEPTH_TWINS=0 missing (vegetation outside brighter / whiter) 5.7 fps, 4478 / dropped 340

So it is intermittent here too (run 1 vs 2), and none of the four switches brings the room back; the draw counts move between 4333 and 4623 without a pattern.

The reverse on fxceless/victory-fork ca8829f (our 7-switch set: ASYNC_SUBMIT QUEUE2 INDIRECT_WINDOW JOIN_PARTS BACK_OWN_VIEW INDIRECT_GATHER CARD_REHASH_RUNS), with VICTORY_WALLS_TRACE=1:

Run Switch Room Frame line
7 VICTORY_HEAP_SYNC=0 still there (Lucia, walls dark as usual, frame) 6.5 fps, 4614 / dropped 339
8 VICTORY_VIEW_OWN_COPY=0 still there, but blocks of scrambled texels at the lower left/right; buffer view not on an element of its host copy logged twice 4.8 fps, 4659 / dropped 339

Walls trace in the window scene (frame ~3001) on both: main_pass_draws=1418 (run 7) / 1446 (run 8), rectangles=2, scissors ["548 0 1753 1334 x1303", "0 0 2560 1440 x115"] / x1334 + x112, culling tree=2 tree_imposter=2 grass=1 prop=2 prop_nocull=2 simple=1 slod=1 meshlet_args=46 depth_pyram… – i.e. most main-pass draws go through the window-sized scissor there too, and the room still renders.

Log lines you asked for (Belobug runs):

  • buffer view not on an element of its host copy: 0 in all six.
  • no free dynamic descriptor slots: 0.
  • host wave sizes and descriptor heap limits lanes_min=32 lanes_max=64 view_slots=2294784 sampler_slots=2048.
  • dropped X/frame without a host pipeline: <why>: the same set every time – the compute programs that don't translate (largest: 3b90165a77d95cdf ~84/frame, 5062bc7a48e842f8 and 5279ae36796c31fc ~63/frame, caa78b8ca62bc3d6 100–550/frame early on), refused [compute 39f0e9aeb156a61c], and indirect kind 1: a rectangle list (not expanded: indexed, …).
  • The 34 untranslated hashes (all an address in an SGPR that is no root parameter): 14394a322f6dd5c2 162216b9cfd91aaf 190fbf0ebe040169 198f6dfd2b81bcea 28918b7150a7aad5 35e51bb27a463294 3b90165a77d95cdf 3cea4534bbc15632 3df629ffc3d0a2a6 4b5aedc0e96b0770 4ddd6f9702fab2a7 5062bc7a48e842f8 5279ae36796c31fc 5552dac6a2b7a1fd 5c09eb42b7a3c362 5e68767498c57eb6 6f6a359d1166bb27 7bb5b1b91d283a28 894c91654720595f 9205d2655bf8cc88 a197f50cd8481541 a63e2dfc25ba3155 bb55c842c391589f c42a31951201f9a0 c85822de2e41cfaa caa78b8ca62bc3d6 cb9647e77864cb3a e63d22c4def9ba6a e95858837a9aa22d f28a33a89eaa2caa f6e47efa50226beb f6eb6498409ca974 f94e5d8bf4e1cf05 ffd93c8a029ff016

What the missing walls look like: not black and not cut to a rectangle – the outside and sky are drawn where the walls should be, i.e. the room's geometry is simply not there in the final image (run 1 shows parts of it).

For comparison, avatarmanz/VIctory-7900XTX c9c932c (Series S, its play settings + renderer patches) renders this scene completely on the same card, at ~13 fps.

**@⁠zGLados** on GitHub · 2026-11-26 19:32 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7201695668) Ran the list, one switch per launch, same start (new launch, Enter until 46 s, no input after), RX 7700 XT 12 GB, diag build, 11 minutes each, window scene of the prologue at frames ~4000–8800. "Room" = Lucia, walls and window frame. **On `test/main-144-138` (`bd95048`), README settings:** | Run | Switch | Room | Frame line at the end | |---|---|---|---| | 1 | baseline | **partly**: window frame and a dark wall at the left drawn, Lucia missing, one long stretched triangle across the picture | 5.5 fps, `4603 draws/frame, dropped 335 without a host pipeline` | | 2 | baseline | missing (only pane and outside) | 5.5 fps, `4475 / dropped 339` | | 3 | `VICTORY_ASYNC_SUBMIT=0` | missing | 5.9 fps, `4333 / dropped 355` | | 4 | `VICTORY_PLAN_REUSE=0` | missing | 5.6 fps, `4436 / dropped 343` | | 5 | `VICTORY_HOIST_CLAMPS=0` | missing | 5.3 fps, `4623 / dropped 340` | | 6 | `VICTORY_DEPTH_TWINS=0` | missing (vegetation outside brighter / whiter) | 5.7 fps, `4478 / dropped 340` | So it is intermittent here too (run 1 vs 2), and none of the four switches brings the room back; the draw counts move between 4333 and 4623 without a pattern. **The reverse on fxceless/victory-fork `ca8829f`** (our 7-switch set: `ASYNC_SUBMIT QUEUE2 INDIRECT_WINDOW JOIN_PARTS BACK_OWN_VIEW INDIRECT_GATHER CARD_REHASH_RUNS`), with `VICTORY_WALLS_TRACE=1`: | Run | Switch | Room | Frame line | |---|---|---|---| | 7 | `VICTORY_HEAP_SYNC=0` | **still there** (Lucia, walls dark as usual, frame) | 6.5 fps, `4614 / dropped 339` | | 8 | `VICTORY_VIEW_OWN_COPY=0` | **still there**, but blocks of scrambled texels at the lower left/right; `buffer view not on an element of its host copy` logged twice | 4.8 fps, `4659 / dropped 339` | Walls trace in the window scene (frame ~3001) on both: `main_pass_draws=1418` (run 7) / `1446` (run 8), `rectangles=2`, scissors `["548 0 1753 1334 x1303", "0 0 2560 1440 x115"]` / `x1334` + `x112`, culling `tree=2 tree_imposter=2 grass=1 prop=2 prop_nocull=2 simple=1 slod=1 meshlet_args=46 depth_pyram…` – i.e. most main-pass draws go through the window-sized scissor there too, and the room still renders. **Log lines you asked for (Belobug runs):** - `buffer view not on an element of its host copy`: 0 in all six. - `no free dynamic descriptor slots`: 0. - `host wave sizes and descriptor heap limits lanes_min=32 lanes_max=64 view_slots=2294784 sampler_slots=2048`. - `dropped X/frame without a host pipeline: <why>`: the same set every time – the compute programs that don't translate (largest: `3b90165a77d95cdf` ~84/frame, `5062bc7a48e842f8` and `5279ae36796c31fc` ~63/frame, `caa78b8ca62bc3d6` 100–550/frame early on), `refused [compute 39f0e9aeb156a61c]`, and `indirect kind 1: a rectangle list (not expanded: indexed, …)`. - The 34 untranslated hashes (all `an address in an SGPR that is no root parameter`): `14394a322f6dd5c2 162216b9cfd91aaf 190fbf0ebe040169 198f6dfd2b81bcea 28918b7150a7aad5 35e51bb27a463294 3b90165a77d95cdf 3cea4534bbc15632 3df629ffc3d0a2a6 4b5aedc0e96b0770 4ddd6f9702fab2a7 5062bc7a48e842f8 5279ae36796c31fc 5552dac6a2b7a1fd 5c09eb42b7a3c362 5e68767498c57eb6 6f6a359d1166bb27 7bb5b1b91d283a28 894c91654720595f 9205d2655bf8cc88 a197f50cd8481541 a63e2dfc25ba3155 bb55c842c391589f c42a31951201f9a0 c85822de2e41cfaa caa78b8ca62bc3d6 cb9647e77864cb3a e63d22c4def9ba6a e95858837a9aa22d f28a33a89eaa2caa f6e47efa50226beb f6eb6498409ca974 f94e5d8bf4e1cf05 ffd93c8a029ff016` What the missing walls look like: not black and not cut to a rectangle – the outside and sky are drawn where the walls should be, i.e. the room's geometry is simply not there in the final image (run 1 shows parts of it). For comparison, avatarmanz/VIctory-7900XTX `c9c932c` (Series S, its play settings + renderer patches) renders this scene completely on the same card, at ~13 fps.
Author
Owner

@⁠adrianmjim on GitHub · 2026-11-26 19:46 UTC · original

Thanks, that's a clean set, and it rules out what I suggested. Three findings from going through it:

1. The 34 hashes are all ray-tracing builder kernels. I matched every one against the 52 compute programs of XboxBvhBuilder.dll (blake3 of the container, as logged): 34 of 34 are in that set. Your biggest drops by hash are caa78b8ca62bc3d6 Box16Rehydration, 5279ae36796c31fc RefitBVH4, 5062bc7a48e842f8 ReloadTriangles and 3b90165a77d95cdf ResetCounterValues. They are refused because VICTORY_RAYS is off, as expected, so they are not the room.

2. The avatarmanz comparison mixes two things. "Series S" is victory run ... --console series-s. That flag exists, with the same code, on bd95048 too, and the default on both is Series X (the README line uses --console series-x). It changes:

  • the console mode the title reads, from which it picks its device type and settings (1080p output, FidelityFX at 2/3 scale, a smaller back-buffer pool);
  • the memory the DXGI adapter reports.

On a 12 GB card that was at 10.4–10.5 GB dedicated plus ~10 GB shared on our build, that alone can matter. Also, avatarmanz/VIctory-7900XTX doesn't descend from this repo's main: it is Marvisak → fxceless (up to a26859f) → its own commits. So it differs in both code and console profile. Its scripts/play.ps1 doesn't pass --console, so how did you set Series S there?

3. What fits "geometry simply absent, sometimes partly, one stretched triangle" is a host copy of title memory that stays stale, with the mesh read as zeros or old bytes. Both forks where the room renders describe this room as an intermittent memory-sync problem. On our side, reading bd95048 (its watch.rs and shadow.rs are the same as main's), there are two gaps that no open PR closes:

  • The clean-copy shortcut. If a guarded copy's range started over an unmapped hole, the hole isn't recorded. When the title later maps a view there, title_memory_remapped sees nothing to change, so the region's epoch doesn't move and update_free keeps returning "clean" for that copy.
  • Pinned aliases. protect() skips an alias of a page while it is pinned (by a DirectStorage or file read, a copy-back, or a STRETCH window) and doesn't come back to it when the pin ends. CPU writes through that alias are then never seen.

Neither is shown to happen in the game. There are also two paths only this repo has, which both forks that draw the room lack: the VICTORY_STRETCH windows (on by default) and the VRAM card buffers (card.rs).

If you have time, on bd95048, README settings, same start, one switch per launch:

  1. From the logs you already have (runs 1–6), counts and first occurrence of each of these:
    • title memory in place was mapped anew
    • title memory in place through a view of ours
    • a stretch of title memory could not be mapped again
    • a reservation of physical pages shown whole
    • a page mapped again in a reservation shown whole
    • dstorage: request failed
  2. VICTORY_ALWAYS_COPY=3, 2 launches. It takes write-guarded memory again every frame, which bypasses both gaps above. If the room comes back, add one launch with VICTORY_ALWAYS_COPY=1 (slow; every copy, every frame).
  3. VICTORY_STRETCH=0, then VICTORY_CARD_BUFFERS=0, then VICTORY_COPY_MEMORY=1 (any value turns off in-place use of title memory). Use VICTORY_STRETCH=0 rather than VICTORY_VIEW_GUARD=0, which also turns the stretch windows off and mixes the two.
  4. To separate the profile from the code: bd95048 with --console series-s, 2 launches.

For each: room yes/no/partly, the draws/frame, dropped line, the copies per frame line, and the dedicated and shared VRAM.

If VICTORY_ALWAYS_COPY brings the room back, the next step would be a fix for those two gaps. I'd write it as a branch with a unit test, for you to try.

**@⁠adrianmjim** on GitHub · 2026-11-26 19:46 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7201938730) Thanks, that's a clean set, and it rules out what I suggested. Three findings from going through it: **1. The 34 hashes are all ray-tracing builder kernels.** I matched every one against the 52 compute programs of `XboxBvhBuilder.dll` (blake3 of the container, as logged): 34 of 34 are in that set. Your biggest drops by hash are `caa78b8ca62bc3d6` `Box16Rehydration`, `5279ae36796c31fc` `RefitBVH4`, `5062bc7a48e842f8` `ReloadTriangles` and `3b90165a77d95cdf` `ResetCounterValues`. They are refused because `VICTORY_RAYS` is off, as expected, so they are not the room. **2. The avatarmanz comparison mixes two things.** "Series S" is `victory run ... --console series-s`. That flag exists, with the same code, on `bd95048` too, and the default on both is Series X (the README line uses `--console series-x`). It changes: - the console mode the title reads, from which it picks its device type and settings (1080p output, FidelityFX at 2/3 scale, a smaller back-buffer pool); - the memory the DXGI adapter reports. On a 12 GB card that was at 10.4–10.5 GB dedicated plus ~10 GB shared on our build, that alone can matter. Also, `avatarmanz/VIctory-7900XTX` doesn't descend from this repo's `main`: it is Marvisak → fxceless (up to `a26859f`) → its own commits. So it differs in both code and console profile. Its `scripts/play.ps1` doesn't pass `--console`, so how did you set Series S there? **3. What fits "geometry simply absent, sometimes partly, one stretched triangle"** is a host copy of title memory that stays stale, with the mesh read as zeros or old bytes. Both forks where the room renders describe this room as an intermittent memory-sync problem. On our side, reading `bd95048` (its `watch.rs` and `shadow.rs` are the same as `main`'s), there are two gaps that no open PR closes: - **The clean-copy shortcut.** If a guarded copy's range started over an unmapped hole, the hole isn't recorded. When the title later maps a view there, `title_memory_remapped` sees nothing to change, so the region's epoch doesn't move and `update_free` keeps returning "clean" for that copy. - **Pinned aliases.** `protect()` skips an alias of a page while it is pinned (by a DirectStorage or file read, a copy-back, or a `STRETCH` window) and doesn't come back to it when the pin ends. CPU writes through that alias are then never seen. Neither is shown to happen in the game. There are also two paths only this repo has, which both forks that draw the room lack: the `VICTORY_STRETCH` windows (on by default) and the VRAM card buffers (`card.rs`). **If you have time, on `bd95048`, README settings, same start, one switch per launch:** 1. From the logs you already have (runs 1–6), counts and first occurrence of each of these: - `title memory in place was mapped anew` - `title memory in place through a view of ours` - `a stretch of title memory could not be mapped again` - `a reservation of physical pages shown whole` - `a page mapped again in a reservation shown whole` - `dstorage: request failed` 2. `VICTORY_ALWAYS_COPY=3`, 2 launches. It takes write-guarded memory again every frame, which bypasses both gaps above. If the room comes back, add one launch with `VICTORY_ALWAYS_COPY=1` (slow; every copy, every frame). 3. `VICTORY_STRETCH=0`, then `VICTORY_CARD_BUFFERS=0`, then `VICTORY_COPY_MEMORY=1` (any value turns off in-place use of title memory). Use `VICTORY_STRETCH=0` rather than `VICTORY_VIEW_GUARD=0`, which also turns the stretch windows off and mixes the two. 4. To separate the profile from the code: `bd95048` with `--console series-s`, 2 launches. For each: room yes/no/partly, the `draws/frame, dropped` line, the `copies per frame` line, and the dedicated and shared VRAM. If `VICTORY_ALWAYS_COPY` brings the room back, the next step would be a fix for those two gaps. I'd write it as a branch with a unit test, for you to try.
Author
Owner

@⁠zGLados on GitHub · 2026-11-26 20:33 UTC · original

Thanks for matching the hashes, that settles the compute side.

How I set Series S on avatarmanz: not through its play.ps1 – I start the runs with my own launcher, which sets the same environment as that play.ps1 (non-safe) plus the five VICTORY_PORT_* patches and passes --console series-s after run <exe> --execute. You're right that this mixes profile and code. One more data point on that: the same avatarmanz build in the Series X profile (with VICTORY_OUTPUT=1920x1080) also draws the whole room (Lucia, walls, frame) on this card, at 12.7 fps; Series X at its native size without the patches fills the 12 GB card (1.9 fps) but the room is there too. So on that code the room doesn't depend on the profile here.

From the logs I already have (runs 1–6 on bd95048), counts per run (1 = room partly there, 2–6 = missing):

Line 1 2 3 4 5 6
title memory in place was mapped anew 4 5 5 5 5 4
title memory in place through a view of ours 32 32 32 32 32 32
a stretch of title memory could not be mapped again 0 0 0 0 0 0
a reservation of physical pages shown whole 1 1 1 1 1 1
a page mapped again in a reservation shown whole 0 0 0 0 0 0
dstorage: request failed 0 0 0 0 0 0

First occurrences (run 2): title memory in place through a view of ours count=1 start=0x100a5e0000 len=13303808 about 60 s in, title memory in place was mapped anew count=1 ~4 s later, a reservation of physical pages shown whole at=0x2bef0000 len=193986560 right at start. Nothing that separates run 1 from the others.

One thing before more runs on the old line: the repo's default branch is now a-publier (cd8dfc0), which is built on avatarmanz c9c932c rather than on main/bd95048. On this card it renders the room completely and runs at 13.2–13.8 fps (Series S, same settings as above, ~12 min, no device removal). So the missing room is something of the old main line only. If tracking it down there is still useful to you (e.g. for a fix that goes back into main), I can do the VICTORY_ALWAYS_COPY=3 / VICTORY_STRETCH=0 / VICTORY_CARD_BUFFERS=0 / VICTORY_COPY_MEMORY=1 / --console series-s runs – just say so.

**@⁠zGLados** on GitHub · 2026-11-26 20:33 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7202830803) Thanks for matching the hashes, that settles the compute side. **How I set Series S on avatarmanz:** not through its `play.ps1` – I start the runs with my own launcher, which sets the same environment as that `play.ps1` (non-safe) plus the five `VICTORY_PORT_*` patches and passes `--console series-s` after `run <exe> --execute`. You're right that this mixes profile and code. One more data point on that: the same avatarmanz build in the **Series X profile** (with `VICTORY_OUTPUT=1920x1080`) also draws the whole room (Lucia, walls, frame) on this card, at 12.7 fps; Series X at its native size without the patches fills the 12 GB card (1.9 fps) but the room is there too. So on that code the room doesn't depend on the profile here. **From the logs I already have (runs 1–6 on `bd95048`)**, counts per run (1 = room partly there, 2–6 = missing): | Line | 1 | 2 | 3 | 4 | 5 | 6 | |---|---:|---:|---:|---:|---:|---:| | `title memory in place was mapped anew` | 4 | 5 | 5 | 5 | 5 | 4 | | `title memory in place through a view of ours` | 32 | 32 | 32 | 32 | 32 | 32 | | `a stretch of title memory could not be mapped again` | 0 | 0 | 0 | 0 | 0 | 0 | | `a reservation of physical pages shown whole` | 1 | 1 | 1 | 1 | 1 | 1 | | `a page mapped again in a reservation shown whole` | 0 | 0 | 0 | 0 | 0 | 0 | | `dstorage: request failed` | 0 | 0 | 0 | 0 | 0 | 0 | First occurrences (run 2): `title memory in place through a view of ours count=1 start=0x100a5e0000 len=13303808` about 60 s in, `title memory in place was mapped anew count=1` ~4 s later, `a reservation of physical pages shown whole at=0x2bef0000 len=193986560` right at start. Nothing that separates run 1 from the others. **One thing before more runs on the old line:** the repo's default branch is now `a-publier` (`cd8dfc0`), which is built on avatarmanz `c9c932c` rather than on `main`/`bd95048`. On this card it renders the room completely and runs at 13.2–13.8 fps (Series S, same settings as above, ~12 min, no device removal). So the missing room is something of the old `main` line only. If tracking it down there is still useful to you (e.g. for a fix that goes back into `main`), I can do the `VICTORY_ALWAYS_COPY=3` / `VICTORY_STRETCH=0` / `VICTORY_CARD_BUFFERS=0` / `VICTORY_COPY_MEMORY=1` / `--console series-s` runs – just say so.
Author
Owner

@⁠adrianmjim on GitHub · 2026-11-26 20:34 UTC · original

Thanks, that answers the profile question: on avatarmanz's code the room is drawn with Series X too, so on this card it is the code line, not the console profile. And the log counts don't separate run 1 from the others, which is useful in itself.

Given that a-publier (cd8dfc0) draws the room completely here, at 13–14 fps and without a device removal, I'd hold off on the extra runs on the old line. main hasn't moved since 4f62c2a, and the recent work is going into rx9070xt/a-publier. If the maintainer keeps main as a line of its own, the one run that would say the most is VICTORY_ALWAYS_COPY=3 on bd95048. If that brings the room back, the stale-copy gaps I described are where to look, and I'd write the fix for main. Otherwise, thanks for all the runs. They narrowed it down to the memory path that only the old line has.

**@⁠adrianmjim** on GitHub · 2026-11-26 20:34 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/26#issuecomment-7202851353) Thanks, that answers the profile question: on avatarmanz's code the room is drawn with Series X too, so on this card it is the code line, not the console profile. And the log counts don't separate run 1 from the others, which is useful in itself. Given that `a-publier` (`cd8dfc0`) draws the room completely here, at 13–14 fps and without a device removal, I'd hold off on the extra runs on the old line. `main` hasn't moved since `4f62c2a`, and the recent work is going into `rx9070xt`/`a-publier`. If the maintainer keeps `main` as a line of its own, the one run that would say the most is `VICTORY_ALWAYS_COPY=3` on `bd95048`. If that brings the room back, the stale-copy gaps I described are where to look, and I'd write the fix for `main`. Otherwise, thanks for all the runs. They narrowed it down to the memory path that only the old line has.
This discussion has been locked. Commenting is limited to contributors.
No description provided.