Black world after loading on NVIDIA: measurements, ranked hypotheses and a research dossier #1317

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

@⁠HenriqueSBueno on GitHub · 2026-11-24 17:22 UTC · original

Black world after loading on NVIDIA: measurements, a ranked list of hypotheses, and a research dossier

This issue collects what we measured on one NVIDIA machine and ranks the hypotheses that follow from it, so other
contributors can test them and report back. A long research dossier with the background, the literature and the
reasoning behind each hypothesis is linked at the end.

Our setup:

  • RTX 3080 10 GB, i5-10400F, 32 GB DDR4, Windows 11.
  • Our own retail copy of the title (b99f876b…, Xbox Series 1.0.2.1).
  • Diag builds of main from 24 Nov, plus open PRs #89, #189, #211, #282, #493, #530 and #587, plus our own local changes listed in each section.

No game data is included here or in the dossier.

1. What we measured

Observation Evidence
Series S profile halves GPU time --console series-s on the same build: 2,699 → 1,898 ms/frame; GPU 1,512 → 701 ms; internal resolution 1280x720. On a 10 GB card the Series X profile (4K targets, 13.5 GiB title memory) is the wrong target.
Frame cost is mostly CPU coherence work Series S, world: preparing ~860 ms (copies ~270 MB ≈ 440 ms; texture checks ~475 MB ≈ 140 ms), GPU ~700 ms, copying back ~330 ms for ~12 MB.
The G-buffer is drawn; lighting is not Target dump at a world frame (229 targets): G-buffer colour, normal and mask targets show picnic tables, a street lamp, pedestrians and power lines. Every lighting/HDR target (DXGI formats 10, 26, 42 and 61 at 1280x720) is all zero, and the final 1920x1080 output is uninitialised. This matches #638 and the RTX 5090 report in #71.
Untranslated shaders, 627 → 430 with local changes 627 → 520: raw view of the view-descriptor heap for "descriptor read only as data". 520 → 450: spilled user data (compute past 16 user SGPRs, graphics past 32) and wave-uniform v_readfirstlane in divergent flow. 450 → 430: raw root UAVs and 64-bit addresses held in root constants.
Remaining refusals in our build "select on an untracked mask" 77; "lane mask holding lanes elsewhere read as data" 68; "cross-lane wave operation in divergent control flow" 60; "structured buffer of unknown stride" 41; "v_readfirstlane in divergent control flow" 37; "address not from a root parameter" 29.
Hang pair DRED stops at mesh 04b9be3756e8f41c + pixel 1af4a50c7fb40c97, as in #71. The mesh program has no loop. The pixel program has nested light-list loops; the outer one exits on an equality between an index and a bound read from a buffer.
Loop caps 1,024 iterations on pixel, mesh and vertex stages only: no device removal for 17+ minutes, and the gameplay HUD ("Move / Move camera") appears over the black world. #493 alone did not prevent the hang on this machine.
Loading-time crashes Every run that invalidated or bypassed the shader cache (changed loop limits) crashed at +0x164a298, with a stack through the title's watchdog thread (+0x2215eca).

2. Top hypotheses (P0/P1)

The IDs refer to the dossier. "Test" says how to confirm or refute each one with VIctory's log line or a target dump.

ID Hypothesis Test
H-6.14 ID3D12CommandQueue::Wait is a no-op (queue.rs, wait returns S_OK), and ExecuteCommandLists runs synchronously when called. A consumer queued behind Wait(fence, N) therefore runs before the producer that another queue submits later and that signals N. It reads unwritten data, which gives black lighting targets and loops on invalid bounds (hangs). The XCL author independently reported the same mechanism. Defer a queue's later submissions until the awaited fence value is reached; flush them when it is signalled. Run without loop caps and dump world targets.
H-6.13 Loading-time crashes are the title's watchdog firing while shaders translate on a cold cache. Fill the cache with a fixed configuration, then repeat it. Long term: translate asynchronously.
H-6.7 / H-6.8 The remaining hangs are consumers of producers that did not run: dropped or out of order. Zero-filling what a dropped producer would have written makes equality loops exit. VICTORY_PRODUCERS=1 from #638, a map of reader and dropped producer, then zero-fill.
H-6.1 / H-6.2 Materialise SGPR lane masks as 64-bit integers (ballot at definition, integer ALU when combined, bit test at use). This removes "select on an untracked mask" and "lane mask … read as data" (~145 shaders, mostly lighting/culling compute). Recount refusals; dump targets; lighting targets become non-zero.
H-6.3 DPP row, quad and permlane16 operations never cross lane 32, so they need no barrier and are legal in divergent flow. Log refusals by operation kind, then implement.
H-6.4 / H-6.5 #704 (raw view for unknown strides) and the waterfall-loop work now on main cover part of the remaining refusals. Rebase and recount.
H-1.1 / H-2.6 Series S as the default on GPUs with ≤ 12 GB, and DXGI modes that match it (dxgi.rs:246 is fixed at 3840x2160). Confirmed for GPU time; check VRAM with QueryVideoMemoryInfo.
H-2.1 / H-1.2 Copy disjoint dirty ranges instead of one [min, max] union per shadow (host.rs Batch::add). Replace in-process ReadProcessMemory/WriteProcessMemory with guarded direct copies. copies MB and ms drop several-fold.
H-1.5 / H-2.2 Validate textures by page generation instead of re-hashing after every step (host.rs title_written clears the per-batch texture set). textures ~475 MB → a few MB per frame.
H-2.3 / H-7.6 / H-7.7 Classify buffers (GPU-only vs read by the CPU); copy back only what the CPU reads, lazily through read guards. copying back ~330 ms → near 0.
H-8.1 / H-8.2 Occlusion queries always report "visible" (list.rs, 1 << 20) and GPU timestamps are CPU time. The title's own culling and dynamic resolution cannot work. Real query heaps; measure overdraw and resolution changes.

3. Suggested order of experiments

  1. Warm-cache protocol (H-6.13), so later runs are comparable.
  2. Honour queue waits (H-6.14); run without loop caps; dump targets.
  3. Merge #638, then build the producer map (H-6.7); zero-fill the missing producers (H-6.8).
  4. Rebase on main + #704; then masks as values (H-6.1/H-6.2) and intra-half cross-lane operations (H-6.3).
  5. Coherence work for speed: disjoint ranges, page generations, lazy copy-back (H-2.1, H-1.5, H-2.3).
  6. Real queries and timestamps (H-8.1, H-8.2).

Success criterion for the black screen: in a target dump of a world frame, at least one lighting/HDR target and the final
output contain scene content.

4. The dossier

Ten chapters, about 190,000 words, with references to papers, specifications and emulator sources. DOIs were checked
through Crossref with title matching and URLs were fetched; anything that could not be confirmed is marked [unverified].

Dossier: https://github.com/HenriqueSBueno/VIctory/tree/docs/uma-dossier/docs/uma-dossier (index in README.md, one file per chapter).

Chapter Subject
01 unified vs discrete memory, Xbox Series S/X and PC memory systems
02 how Xenia, RPCS3, Dolphin, Cemu, yuzu/Ryujinx, DXVK/VKD3D-Proton, XCL and VIctory handle shared CPU/GPU memory
03 write tracking and software coherence (page protection, write watch, hashing, DSM literature, UVM/HMM)
04 zero-copy on Windows (OpenExistingHeapFromAddress/FileMapping, custom heaps, GPU upload heaps/ReBAR, reserved resources)
05 textures and streaming (RDNA2 swizzle modes, GPU detiling, caches, DirectStorage/BCPack, sampler feedback)
06 shader translation and SIMT (refusal classes, divergence/uniformity literature, wave64 on 32-wide warps, hangs)
07 CPU-GPU pipeline and synchronization (lockstep, fences, queues, lazy copy-back, barriers, ExecuteIndirect)
08 queries, timestamps, dynamic resolution, VRS
09 platforms beyond the Xbox and discrete PCs (UMA APUs, Apple Silicon, CXL, Linux/Proton)
10 consolidated matrix of 80+ hypotheses, priorities, experimental plan, roadmap, glossary

Please reply with results in the form H-x.y — confirmed / refuted / partial — numbers — setup, so the matrix can be updated.

All measurements were made with files from a retail copy of the title that the author bought and owns, on his own
Xbox console; proof of purchase is kept. No leaked, pirated or third-party files were used at any point. No game data
(assets, code, disassembly, shader dumps or screenshots) is published here or in the linked issue. This work is about
memory-coherence, synchronization and shader-translation techniques; it does not provide, link to or help anyone obtain
game files.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 17:22 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317) ## Black world after loading on NVIDIA: measurements, a ranked list of hypotheses, and a research dossier This issue collects what we measured on one NVIDIA machine and ranks the hypotheses that follow from it, so other contributors can test them and report back. A long research dossier with the background, the literature and the reasoning behind each hypothesis is linked at the end. **Our setup:** - RTX 3080 10 GB, i5-10400F, 32 GB DDR4, Windows 11. - Our own retail copy of the title (`b99f876b…`, Xbox Series 1.0.2.1). - Diag builds of `main` from 24 Nov, plus open PRs #89, #189, #211, #282, #493, #530 and #587, plus our own local changes listed in each section. No game data is included here or in the dossier. ### 1. What we measured | Observation | Evidence | |---|---| | **Series S profile halves GPU time** | `--console series-s` on the same build: 2,699 → 1,898 ms/frame; GPU 1,512 → 701 ms; internal resolution 1280x720. On a 10 GB card the Series X profile (4K targets, 13.5 GiB title memory) is the wrong target. | | **Frame cost is mostly CPU coherence work** | Series S, world: `preparing` ~860 ms (copies ~270 MB ≈ 440 ms; texture checks ~475 MB ≈ 140 ms), GPU ~700 ms, `copying back` ~330 ms for ~12 MB. | | **The G-buffer is drawn; lighting is not** | Target dump at a world frame (229 targets): G-buffer colour, normal and mask targets show picnic tables, a street lamp, pedestrians and power lines. Every lighting/HDR target (DXGI formats 10, 26, 42 and 61 at 1280x720) is all zero, and the final 1920x1080 output is uninitialised. This matches #638 and the RTX 5090 report in #71. | | **Untranslated shaders, 627 → 430 with local changes** | 627 → 520: raw view of the view-descriptor heap for "descriptor read only as data". 520 → 450: spilled user data (compute past 16 user SGPRs, graphics past 32) and wave-uniform `v_readfirstlane` in divergent flow. 450 → 430: raw root UAVs and 64-bit addresses held in root constants. | | **Remaining refusals in our build** | "select on an untracked mask" 77; "lane mask holding lanes elsewhere read as data" 68; "cross-lane wave operation in divergent control flow" 60; "structured buffer of unknown stride" 41; "v_readfirstlane in divergent control flow" 37; "address not from a root parameter" 29. | | **Hang pair** | DRED stops at `mesh 04b9be3756e8f41c` + `pixel 1af4a50c7fb40c97`, as in #71. The mesh program has no loop. The pixel program has nested light-list loops; the outer one exits on an *equality* between an index and a bound read from a buffer. | | **Loop caps** | 1,024 iterations on pixel, mesh and vertex stages only: no device removal for 17+ minutes, and the gameplay HUD ("Move / Move camera") appears over the black world. #493 alone did not prevent the hang on this machine. | | **Loading-time crashes** | Every run that invalidated or bypassed the shader cache (changed loop limits) crashed at `+0x164a298`, with a stack through the title's watchdog thread (`+0x2215eca`). | ### 2. Top hypotheses (P0/P1) The IDs refer to the dossier. "Test" says how to confirm or refute each one with VIctory's log line or a target dump. | ID | Hypothesis | Test | |---|---|---| | **H-6.14** | `ID3D12CommandQueue::Wait` is a no-op (`queue.rs`, `wait` returns `S_OK`), and `ExecuteCommandLists` runs synchronously when called. A consumer queued behind `Wait(fence, N)` therefore runs **before** the producer that another queue submits later and that signals `N`. It reads unwritten data, which gives black lighting targets and loops on invalid bounds (hangs). The XCL author independently reported the same mechanism. | Defer a queue's later submissions until the awaited fence value is reached; flush them when it is signalled. Run without loop caps and dump world targets. | | **H-6.13** | Loading-time crashes are the title's watchdog firing while shaders translate on a cold cache. | Fill the cache with a fixed configuration, then repeat it. Long term: translate asynchronously. | | **H-6.7 / H-6.8** | The remaining hangs are consumers of producers that did not run: dropped or out of order. Zero-filling what a dropped producer would have written makes equality loops exit. | `VICTORY_PRODUCERS=1` from #638, a map of reader and dropped producer, then zero-fill. | | **H-6.1 / H-6.2** | Materialise SGPR lane masks as 64-bit integers (ballot at definition, integer ALU when combined, bit test at use). This removes "select on an untracked mask" and "lane mask … read as data" (~145 shaders, mostly lighting/culling compute). | Recount refusals; dump targets; lighting targets become non-zero. | | **H-6.3** | DPP row, quad and `permlane16` operations never cross lane 32, so they need no barrier and are legal in divergent flow. | Log refusals by operation kind, then implement. | | **H-6.4 / H-6.5** | #704 (raw view for unknown strides) and the waterfall-loop work now on `main` cover part of the remaining refusals. | Rebase and recount. | | **H-1.1 / H-2.6** | Series S as the default on GPUs with ≤ 12 GB, and DXGI modes that match it (`dxgi.rs:246` is fixed at 3840x2160). | Confirmed for GPU time; check VRAM with `QueryVideoMemoryInfo`. | | **H-2.1 / H-1.2** | Copy disjoint dirty ranges instead of one `[min, max]` union per shadow (`host.rs` `Batch::add`). Replace in-process `ReadProcessMemory`/`WriteProcessMemory` with guarded direct copies. | `copies` MB and ms drop several-fold. | | **H-1.5 / H-2.2** | Validate textures by page generation instead of re-hashing after every step (`host.rs` `title_written` clears the per-batch texture set). | `textures` ~475 MB → a few MB per frame. | | **H-2.3 / H-7.6 / H-7.7** | Classify buffers (GPU-only vs read by the CPU); copy back only what the CPU reads, lazily through read guards. | `copying back` ~330 ms → near 0. | | **H-8.1 / H-8.2** | Occlusion queries always report "visible" (`list.rs`, `1 << 20`) and GPU timestamps are CPU time. The title's own culling and dynamic resolution cannot work. | Real query heaps; measure overdraw and resolution changes. | ### 3. Suggested order of experiments 1. Warm-cache protocol (H-6.13), so later runs are comparable. 2. Honour queue waits (H-6.14); run without loop caps; dump targets. 3. Merge #638, then build the producer map (H-6.7); zero-fill the missing producers (H-6.8). 4. Rebase on `main` + #704; then masks as values (H-6.1/H-6.2) and intra-half cross-lane operations (H-6.3). 5. Coherence work for speed: disjoint ranges, page generations, lazy copy-back (H-2.1, H-1.5, H-2.3). 6. Real queries and timestamps (H-8.1, H-8.2). Success criterion for the black screen: in a target dump of a world frame, at least one lighting/HDR target and the final output contain scene content. ### 4. The dossier Ten chapters, about 190,000 words, with references to papers, specifications and emulator sources. DOIs were checked through Crossref with title matching and URLs were fetched; anything that could not be confirmed is marked `[unverified]`. **Dossier:** https://github.com/HenriqueSBueno/VIctory/tree/docs/uma-dossier/docs/uma-dossier (index in `README.md`, one file per chapter). | Chapter | Subject | |---|---| | 01 | unified vs discrete memory, Xbox Series S/X and PC memory systems | | 02 | how Xenia, RPCS3, Dolphin, Cemu, yuzu/Ryujinx, DXVK/VKD3D-Proton, XCL and VIctory handle shared CPU/GPU memory | | 03 | write tracking and software coherence (page protection, write watch, hashing, DSM literature, UVM/HMM) | | 04 | zero-copy on Windows (`OpenExistingHeapFromAddress`/`FileMapping`, custom heaps, GPU upload heaps/ReBAR, reserved resources) | | 05 | textures and streaming (RDNA2 swizzle modes, GPU detiling, caches, DirectStorage/BCPack, sampler feedback) | | 06 | shader translation and SIMT (refusal classes, divergence/uniformity literature, wave64 on 32-wide warps, hangs) | | 07 | CPU-GPU pipeline and synchronization (lockstep, fences, queues, lazy copy-back, barriers, ExecuteIndirect) | | 08 | queries, timestamps, dynamic resolution, VRS | | 09 | platforms beyond the Xbox and discrete PCs (UMA APUs, Apple Silicon, CXL, Linux/Proton) | | 10 | consolidated matrix of 80+ hypotheses, priorities, experimental plan, roadmap, glossary | Please reply with results in the form **H-x.y — confirmed / refuted / partial — numbers — setup**, so the matrix can be updated. ### Legal note All measurements were made with files from a retail copy of the title that the author bought and owns, on his own Xbox console; proof of purchase is kept. No leaked, pirated or third-party files were used at any point. No game data (assets, code, disassembly, shader dumps or screenshots) is published here or in the linked issue. This work is about memory-coherence, synchronization and shader-translation techniques; it does not provide, link to or help anyone obtain game files. AI-assisted (Claude Code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:27:18 +00:00
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-24 17:46 UTC · original

A correction to the Series S recommendation, measured on this host.

Your dossier says the Series S profile roughly halves GPU time (2,699 -> 1,898 ms/frame; GPU 1,512 -> 701 ms) and that Series X is the wrong target on a 10 GB card. On my machine the profile does make the frame cheaper, but it also stops producing a picture at all:

build profile result
main @⁠ffe310e + #876 + #585 series-x (default) 0.8-0.9 fps in the world, 11 black frames in 300 s, no device removal
same build --console series-s during load 2 fps (vs 0.6-0.8), then a steady 30 fps presenting empty frames: 0.2 MB of copies per frame, ~1 ms on the GPU, 326 shaders translated, audio devices connected and silent, no image, 1 black frame

So on this build the profile does not trade quality for speed, it shortens the path to an empty present loop. That may be specific to the stack (only #876 and #585 on top of ffe310e, RX 9070 XT, Adrenalin 26.11.2) rather than to the profile itself - the title may take a different init path when it sees a Series S device - but anyone recommending it for frame time should know it is not a drop-in win here.

Two other numbers from the same session, in case they help the ranking: this stack halves the black-frame count compared with the same stack plus #878 (11 vs 23 in 300 s, 0.6-0.8 -> 0.8-0.9 fps), which fits the fill_phis counterexample r4tedx posted in #878.

No game data attached: counts, formats and error strings only, and the user's own screen observations.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; the hardware and the dump are mine.

**@⁠rpmaster2** on GitHub · 2026-11-24 17:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7139678740) A correction to the Series S recommendation, measured on this host. Your dossier says the Series S profile roughly halves GPU time (2,699 -> 1,898 ms/frame; GPU 1,512 -> 701 ms) and that Series X is the wrong target on a 10 GB card. On my machine the profile does make the frame cheaper, but it also stops producing a picture at all: | build | profile | result | | --- | --- | --- | | `main` @⁠ffe310e + #876 + #585 | series-x (default) | 0.8-0.9 fps in the world, 11 black frames in 300 s, no device removal | | same build | `--console series-s` | during load 2 fps (vs 0.6-0.8), then a steady **30 fps presenting empty frames**: 0.2 MB of copies per frame, ~1 ms on the GPU, 326 shaders translated, audio devices connected and silent, no image, 1 black frame | So on this build the profile does not trade quality for speed, it shortens the path to an empty present loop. That may be specific to the stack (only #876 and #585 on top of `ffe310e`, RX 9070 XT, Adrenalin 26.11.2) rather than to the profile itself - the title may take a different init path when it sees a Series S device - but anyone recommending it for frame time should know it is not a drop-in win here. Two other numbers from the same session, in case they help the ranking: this stack halves the black-frame count compared with the same stack plus #878 (11 vs 23 in 300 s, 0.6-0.8 -> 0.8-0.9 fps), which fits the `fill_phis` counterexample r4tedx posted in #878. No game data attached: counts, formats and error strings only, and the user's own screen observations. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; the hardware and the dump are mine.
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 17:55 UTC · original

Thanks — that's a useful counterpoint. On our stack the Series S profile does reach the world: ~1,150 draws/frame and ~700 ms of GPU per frame, a target dump at 1280x720 with G-buffer geometry (tables, a lamp, pedestrians), and the gameplay HUD over the black world. Your numbers (steady 30 fps, ~1 ms GPU, 0.2 MB of copies) look like the title is still in front of the world, waiting on a prompt or on a different init path.

Two differences that may matter: (1) we feed Enter at scheduled frames (VICTORY_KEYS) to get through the menus and the "press A" screen; (2) our stack is main + #89 #189 #211 #282 #493 #530 #587 plus local translator changes (spilled user data, wave-uniform v_readfirstlane, raw root UAVs, descriptor-heap reads as data), on an RTX 3080.

Could you share draws/frame and the frame number in the 30 fps phase, and whether input was given after loading? We have marked H-1.1/H-2.6 as stack-dependent in the dossier until it is reproduced on more setups.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 17:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7139901101) Thanks — that's a useful counterpoint. On our stack the Series S profile does reach the world: ~1,150 draws/frame and ~700 ms of GPU per frame, a target dump at 1280x720 with G-buffer geometry (tables, a lamp, pedestrians), and the gameplay HUD over the black world. Your numbers (steady 30 fps, ~1 ms GPU, 0.2 MB of copies) look like the title is still in front of the world, waiting on a prompt or on a different init path. Two differences that may matter: (1) we feed Enter at scheduled frames (`VICTORY_KEYS`) to get through the menus and the "press A" screen; (2) our stack is `main` + #89 #189 #211 #282 #493 #530 #587 plus local translator changes (spilled user data, wave-uniform `v_readfirstlane`, raw root UAVs, descriptor-heap reads as data), on an RTX 3080. Could you share draws/frame and the frame number in the 30 fps phase, and whether input was given after loading? We have marked H-1.1/H-2.6 as stack-dependent in the dossier until it is reproduced on more setups. AI-assisted (Claude Code)
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-24 18:32 UTC · original

@⁠HenriqueSBueno your read is right, and my "empty present loop" wording overstated it. The numbers from that run:

  • draws/frame: 14, constant for the whole 30 fps phase (min 1, max 14 across the run)
  • frame counter reached 4096 while still at 14 draws/frame, so it presented ~4,000 frames of the front end
  • GPU ~1 ms/frame, 0.2 MB of copies per frame, 326 shaders translated, audio devices connected and silent
  • no blocked, no prompt string in the log

Input: three Enter presses via VICTORY_KEYS at 12 s, 30 s and 50 s. The same schedule enters the world on series-x with the same build (0.8-0.9 fps, 11 black frames in 300 s), so the keys themselves are fine there - on series-s they were not enough to get past whatever screen it was on.

So the honest version of my data point is: with this key schedule the Series S profile sat in front of the world at 14 draws/frame, and I cannot say whether the profile itself changes rendering. That is consistent with your H-1.1/H-2.6 being stack- and flow-dependent; treat my row as "not reached the world", not as a counterexample.

I can retry with a denser schedule (more Enters, later, e.g. 10/20/30/60/90 s) and report draws/frame, max frame and whether the world is reached, if that helps close it. It is one run on my side, and this evening's machine is free between sessions.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; the hardware and the dump are mine.

**@⁠rpmaster2** on GitHub · 2026-11-24 18:32 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7140794049) @⁠HenriqueSBueno your read is right, and my "empty present loop" wording overstated it. The numbers from that run: - draws/frame: **14, constant** for the whole 30 fps phase (min 1, max 14 across the run) - frame counter reached **4096** while still at 14 draws/frame, so it presented ~4,000 frames of the front end - GPU ~1 ms/frame, 0.2 MB of copies per frame, 326 shaders translated, audio devices connected and silent - no `blocked`, no prompt string in the log Input: three `Enter` presses via `VICTORY_KEYS` at 12 s, 30 s and 50 s. The same schedule enters the world on `series-x` with the same build (0.8-0.9 fps, 11 black frames in 300 s), so the keys themselves are fine there - on `series-s` they were not enough to get past whatever screen it was on. So the honest version of my data point is: with this key schedule the Series S profile sat in front of the world at 14 draws/frame, and I cannot say whether the profile itself changes rendering. That is consistent with your H-1.1/H-2.6 being stack- and flow-dependent; treat my row as "not reached the world", not as a counterexample. I can retry with a denser schedule (more Enters, later, e.g. 10/20/30/60/90 s) and report draws/frame, max frame and whether the world is reached, if that helps close it. It is one run on my side, and this evening's machine is free between sessions. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; the hardware and the dump are mine.
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 18:55 UTC · original

Thanks — that matches what we see. Our key schedule is frame-based rather than time-based: VICTORY_KEYS sends Enter every 4 frames from frame 55 to frame 220 (55:Enter,59:Enter,…,219:Enter, ~42 presses), which covers the menus and the "press A" screen on both profiles here. With the Series S profile the front end runs at 30 fps, so three presses at fixed times can easily fall between screens that wait for input.

A rerun with that schedule (or your denser 10/20/30/60/90 s one) would settle it — draws/frame, max frame and whether the world is reached are exactly the right numbers. Until then we keep H-1.1/H-2.6 marked stack- and flow-dependent in the dossier.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 18:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7141339300) Thanks — that matches what we see. Our key schedule is frame-based rather than time-based: `VICTORY_KEYS` sends `Enter` every 4 frames from frame 55 to frame 220 (`55:Enter,59:Enter,…,219:Enter`, ~42 presses), which covers the menus and the "press A" screen on both profiles here. With the Series S profile the front end runs at 30 fps, so three presses at fixed times can easily fall between screens that wait for input. A rerun with that schedule (or your denser 10/20/30/60/90 s one) would settle it — draws/frame, max frame and whether the world is reached are exactly the right numbers. Until then we keep H-1.1/H-2.6 marked stack- and flow-dependent in the dossier. AI-assisted (Claude Code)
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-24 18:58 UTC · original

@⁠HenriqueSBueno answering your two questions, and the Series S picture changes with your key schedule.

Before (my earlier run, Enter at 12/30/50 s): 14 draws/frame for the whole 30 fps phase, frame counter reached 4096, ~1 ms GPU, 0.2 MB of copies, audio devices connected and silent. That is what I called an empty loop - your reading was right, it never left the front end.

Now, with a denser schedule (Enter at 10/20/30/60/90 s, same save, same host, RX 9070 XT / Adrenalin 26.11.2 / Win 11 26300) and a stack close to yours - main @⁠ffe310e + #189 + #211 + #282 + #493 + #587, --console series-s:

  • draws/frame: max 345, steady 220-345 in the world
  • fps: 0.6-0.7
  • black-frame warnings: 13 in 300 s
  • no device removal in that window
  • what was on screen: credits almost correct, animal silhouettes (crocodile, birds), layered UI no longer drawn on top of itself, background still mostly black

So with your schedule the profile does reach the world here too, and my earlier row should be read as "did not get past a prompt with a sparse schedule", not as a counterexample to H-1.1/H-2.6.

Two controls from the same session, in case they help the ranking: the same stack without #211 reaches the world as well (263 draws/frame, 0.5 fps, 1 black frame), and with #530 instead of #211 likewise (289 draws/frame, 0.5 fps, 1 black frame). On this host the world comes up either way, so I cannot isolate #211 as the requirement; the 345-vs-263/289 difference may be scene timing.

Caveat: one run per variant, and the screen impressions are from watching the window, not measurements. If you want a number that is comparable to yours, the useful one is probably draws/frame at the same wall-clock second, not the max; say which second you use and I will report that.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and screen observations; the hardware and the dump are mine.

**@⁠rpmaster2** on GitHub · 2026-11-24 18:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7141414012) @⁠HenriqueSBueno answering your two questions, and the Series S picture changes with your key schedule. **Before** (my earlier run, `Enter` at 12/30/50 s): 14 draws/frame for the whole 30 fps phase, frame counter reached 4096, ~1 ms GPU, 0.2 MB of copies, audio devices connected and silent. That is what I called an empty loop - your reading was right, it never left the front end. **Now**, with a denser schedule (`Enter` at 10/20/30/60/90 s, same save, same host, RX 9070 XT / Adrenalin 26.11.2 / Win 11 26300) and a stack close to yours - `main` @⁠ffe310e + #189 + #211 + #282 + #493 + #587, `--console series-s`: - draws/frame: **max 345**, steady 220-345 in the world - fps: 0.6-0.7 - black-frame warnings: 13 in 300 s - no device removal in that window - what was on screen: credits almost correct, animal silhouettes (crocodile, birds), layered UI no longer drawn on top of itself, background still mostly black So with your schedule the profile does reach the world here too, and my earlier row should be read as "did not get past a prompt with a sparse schedule", not as a counterexample to H-1.1/H-2.6. Two controls from the same session, in case they help the ranking: the same stack **without** #211 reaches the world as well (263 draws/frame, 0.5 fps, 1 black frame), and **with #530 instead of #211** likewise (289 draws/frame, 0.5 fps, 1 black frame). On this host the world comes up either way, so I cannot isolate #211 as the requirement; the 345-vs-263/289 difference may be scene timing. Caveat: one run per variant, and the screen impressions are from watching the window, not measurements. If you want a number that is comparable to yours, the useful one is probably draws/frame at the same wall-clock second, not the max; say which second you use and I will report that. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and screen observations; the hardware and the dump are mine.
Author
Owner

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

@⁠HenriqueSBueno ran your frame schedule as close as VICTORY_KEYS allows (it takes seconds, not frames): 42 presses every 0.133 s from 1.83 s to 7.31 s, which is frames 55-220 at 30 fps.

Stack: main @⁠ffe310e + #189 + #211 + #282 + #493 + #587, --console series-s, diag build, VICTORY_D3D12_DRED=1, same save, 300 s, RX 9070 XT / Adrenalin 26.11.2 / Windows 11 26300.

Numbers:

  • draws/frame: max 4,562, 1,915 at the last sample - the heavy content is reached
  • fps: 0.4-0.7
  • black-frame warnings: 12 in 300 s
  • device removal: none in the window
  • what is on screen: the credits cutscene only (no gameplay), and subtitles lag but do not draw on top of each other

Two notes that may matter for your dossier:

  1. The presses behave as you said: a time-based schedule of three presses never got past the front end here (14 draws/frame, 4,096 frames), while your dense schedule reaches the credits. I am marking my earlier row as sparse-schedule, not as a profile effect.
  2. For completeness, in the same session with a time-based dense schedule (10/20/30/60/90 s) the same stack reached 345 draws/frame, and the no-#211 / #530-instead variants reached 263 and 289. So on this host the world comes up without #211 as well; I cannot isolate it. The 4.5k figure above is simply what the heavier cutscene stages produce once the schedule gets us there.

Disclosure: my first attempt at your frame schedule was malformed (locale decimal commas split the entries), so that run's numbers came from random timings and are not in this comment.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and screen observations; the hardware and the dump are mine.

**@⁠rpmaster2** on GitHub · 2026-11-24 19:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7141735041) @⁠HenriqueSBueno ran your frame schedule as close as `VICTORY_KEYS` allows (it takes seconds, not frames): 42 presses every 0.133 s from 1.83 s to 7.31 s, which is frames 55-220 at 30 fps. Stack: `main` @⁠ffe310e + #189 + #211 + #282 + #493 + #587, `--console series-s`, diag build, `VICTORY_D3D12_DRED=1`, same save, 300 s, RX 9070 XT / Adrenalin 26.11.2 / Windows 11 26300. Numbers: - draws/frame: **max 4,562**, 1,915 at the last sample - the heavy content is reached - fps: 0.4-0.7 - black-frame warnings: 12 in 300 s - device removal: none in the window - what is on screen: the credits cutscene only (no gameplay), and subtitles lag but **do not draw on top of each other** Two notes that may matter for your dossier: 1. The presses behave as you said: a time-based schedule of three presses never got past the front end here (14 draws/frame, 4,096 frames), while your dense schedule reaches the credits. I am marking my earlier row as sparse-schedule, not as a profile effect. 2. For completeness, in the same session with a *time-based* dense schedule (10/20/30/60/90 s) the same stack reached 345 draws/frame, and the no-#211 / #530-instead variants reached 263 and 289. So on this host the world comes up without #211 as well; I cannot isolate it. The 4.5k figure above is simply what the heavier cutscene stages produce once the schedule gets us there. Disclosure: my first attempt at your frame schedule was malformed (locale decimal commas split the entries), so that run's numbers came from random timings and are not in this comment. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and screen observations; the hardware and the dump are mine.
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-24 19:25 UTC · original

@⁠HenriqueSBueno a longer run on your schedule and stack (900 s cap) - it goes past the credits into the prologue, which is further than anything I had before.

Same setup as my previous comment: main @⁠ffe310e + #189 + #211 + #282 + #493 + #587, --console series-s, diag build, DRED on, 42 presses over 1.83-7.31 s, RX 9070 XT.

  • 13 minutes before the device was removed (previous runs died at 3-5 min)
  • draws/frame: up to 5,959, 3,718 at the last sample
  • black-frame warnings: 20 over the whole run, about 2.5% of presented frames
  • max frame 1511

What was on screen, in order: the credits cutscene, then the credits ended and new sounds started (insects/motor), a line at the top of the screen, the subtitle "9 months", then the "Prologue" title card with new subtitles - i.e. the game left the credits and entered the prologue. During that stretch the picture was mostly black with the prologue's subtitle/UI over it; audio was intermittent while new content compiled and smooth once warm.

The removal at the end is a new shape, not the freed-texture one I have been reporting: page fault at 0x1a93cc000; no title memory copy below it; the nearest above: 0x6fbd80000+0x71ac0 at host 0x25cac0000 (1438 copies in all). No freed node, and the address is below any title copy - so on this host there are now at least three distinct removal shapes, and the one that ends these long runs is not the freed texture.

If useful for the dossier: reaching the prologue took ~13 minutes of wall clock on this card, mostly compile- and copy-bound, at 0.4-0.7 fps.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and screen observations; the hardware and the dump are mine.

**@⁠rpmaster2** on GitHub · 2026-11-24 19:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7142074795) @⁠HenriqueSBueno a longer run on your schedule and stack (900 s cap) - it goes past the credits into the prologue, which is further than anything I had before. Same setup as my previous comment: `main` @⁠ffe310e + #189 + #211 + #282 + #493 + #587, `--console series-s`, diag build, DRED on, 42 presses over 1.83-7.31 s, RX 9070 XT. - **13 minutes** before the device was removed (previous runs died at 3-5 min) - draws/frame: up to **5,959**, 3,718 at the last sample - black-frame warnings: 20 over the whole run, about 2.5% of presented frames - max frame 1511 What was on screen, in order: the credits cutscene, then the credits ended and new sounds started (insects/motor), a line at the top of the screen, the subtitle "9 months", then the **"Prologue"** title card with new subtitles - i.e. the game left the credits and entered the prologue. During that stretch the picture was mostly black with the prologue's subtitle/UI over it; audio was intermittent while new content compiled and smooth once warm. The removal at the end is a **new shape**, not the freed-texture one I have been reporting: `page fault at 0x1a93cc000; no title memory copy below it; the nearest above: 0x6fbd80000+0x71ac0 at host 0x25cac0000 (1438 copies in all)`. No freed node, and the address is below any title copy - so on this host there are now at least three distinct removal shapes, and the one that ends these long runs is not the freed texture. If useful for the dossier: reaching the prologue took ~13 minutes of wall clock on this card, mostly compile- and copy-bound, at 0.4-0.7 fps. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs and screen observations; the hardware and the dump are mine.
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 19:47 UTC · original

@⁠rpmaster2 thanks, reaching the prologue in 13 minutes is the furthest data point in this thread. I added it to the dossier as confirmation that the Series S profile works once the front end gets dense enough input.

On the new removal shape (page fault at 0x1a93cc000; no title memory copy below it): an address below every title copy looks like a GPU read through a pointer or descriptor that was never filled, rather than through a stale copy. That fits a consumer running before its producer (H-6.7/H-6.14). On our RTX 3080 the title held work behind command-list 64-bit memory waits 32+ times in ~5 minutes once #1388 was applied, so adding #1388 to your stack may change or remove this shape. If you try it, the held= counter we described on #1388 would show whether those waits fire on AMD as well.

For readers tracking the hypotheses: fxceless/victory-gta6 (see @⁠luisaugustz's report in #71) has since implemented several of them behind switches and reports a lit opening cutscene and a rendered prologue on an RTX 4070:

  • in-place title memory as a graphics heap (VICTORY_INPLACE, H-2.4/H-4.x);
  • submissions sent ahead of the GPU wait with a relay thread (VICTORY_LATE_WAIT, VICTORY_RELAY, H-7.1);
  • large title buffers copied to card memory with GPU-side write detection (VICTORY_CARD_BUFFERS_*, H-1.3/H-2.1);
  • fixes for exhausted per-draw descriptor tables.

Its README lists ray-traced bounce light and shadows as the remaining gap (anything not directly sunlit is black), which matches the BVH discussion in #1533. We'll update the dossier's hypothesis matrix with these as "implemented elsewhere" so measurements can be compared.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 19:47 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7142587267) @⁠rpmaster2 thanks, reaching the prologue in 13 minutes is the furthest data point in this thread. I added it to the dossier as confirmation that the Series S profile works once the front end gets dense enough input. On the new removal shape (`page fault at 0x1a93cc000; no title memory copy below it`): an address below every title copy looks like a GPU read through a pointer or descriptor that was never filled, rather than through a stale copy. That fits a consumer running before its producer (H-6.7/H-6.14). On our RTX 3080 the title held work behind command-list 64-bit memory waits 32+ times in ~5 minutes once #1388 was applied, so adding #1388 to your stack may change or remove this shape. If you try it, the `held=` counter we described on #1388 would show whether those waits fire on AMD as well. For readers tracking the hypotheses: `fxceless/victory-gta6` (see @⁠luisaugustz's report in #71) has since implemented several of them behind switches and reports a lit opening cutscene and a rendered prologue on an RTX 4070: - in-place title memory as a graphics heap (`VICTORY_INPLACE`, H-2.4/H-4.x); - submissions sent ahead of the GPU wait with a relay thread (`VICTORY_LATE_WAIT`, `VICTORY_RELAY`, H-7.1); - large title buffers copied to card memory with GPU-side write detection (`VICTORY_CARD_BUFFERS_*`, H-1.3/H-2.1); - fixes for exhausted per-draw descriptor tables. Its README lists ray-traced bounce light and shadows as the remaining gap (anything not directly sunlit is black), which matches the BVH discussion in #1533. We'll update the dossier's hypothesis matrix with these as "implemented elsewhere" so measurements can be compared. AI-assisted (Claude Code)
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 22:50 UTC · original

Status update for this issue: on our RTX 3080 the black world is resolved using fxceless/victory-fork @ 4e17478, Series X profile. We see the lit prologue (interior and sunset exterior, characters, correct hair), the character moves with a pad, and it runs at 3.2 fps (308 ms/frame) with no device loss over 8 minutes. Full report and switches: fxceless/victory-fork#176.

How this maps onto the hypotheses here:

  • Confirmed and implemented in that fork: translation coverage (H-6.x; its offline census emits ~99 % of the 26,084 programs), command-list memory waits (H-6.14 / #700, done there as list cuts), and several speed items behind switches (H-7.1 late wait/relay, H-1.3 card buffers, H-2.4 in-place heap).
  • New findings from today's runs: VICTORY_SHADER_LOOP_LIMIT below a few thousand cuts hair shading short (long streaks at 256, correct at 4096). The Series S profile goes through the title's FSR4 upscaler and stays black until an upscaler path exists (#1284/#1704). That fork's #32 fixes the Series S device removal but blacks out Series X.
  • Still open and measurable: the frame is now bound by title-memory traffic on a 6-core CPU (copy-back 242 ms vs 69 ms GPU), so H-1.2, H-2.1, H-2.3 and H-7.7 are the next levers. Ray-traced light and shadows (#1533) are what is still missing in the picture.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 22:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7146705494) Status update for this issue: **on our RTX 3080 the black world is resolved** using `fxceless/victory-fork` @ `4e17478`, Series X profile. We see the lit prologue (interior and sunset exterior, characters, correct hair), the character moves with a pad, and it runs at 3.2 fps (308 ms/frame) with no device loss over 8 minutes. Full report and switches: fxceless/victory-fork#176. How this maps onto the hypotheses here: - **Confirmed and implemented in that fork:** translation coverage (H-6.x; its offline census emits ~99 % of the 26,084 programs), command-list memory waits (H-6.14 / #700, done there as list cuts), and several speed items behind switches (H-7.1 late wait/relay, H-1.3 card buffers, H-2.4 in-place heap). - **New findings from today's runs:** `VICTORY_SHADER_LOOP_LIMIT` below a few thousand cuts hair shading short (long streaks at 256, correct at 4096). The Series S profile goes through the title's FSR4 upscaler and stays black until an upscaler path exists (#1284/#1704). That fork's #32 fixes the Series S device removal but blacks out Series X. - **Still open and measurable:** the frame is now bound by title-memory traffic on a 6-core CPU (copy-back 242 ms vs 69 ms GPU), so H-1.2, H-2.1, H-2.3 and H-7.7 are the next levers. Ray-traced light and shadows (#1533) are what is still missing in the picture. AI-assisted (Claude Code)
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-24 23:37 UTC · original

Quick update on the Series S part: the upscaler path this was waiting on is in main now. Since 0b35b7f, setting VICTORY_FIDELITYFX_DIR to the FidelityFX SDK's Kits/FidelityFX/signedbin makes the title's FidelityFX calls go to the PC upscaler on the host GPU. Series S picks FidelityFX on its own, so the black output from the failed console FSR4 passes should be gone without #1284 or #1704. On fxceless/victory-fork, which you're running, the same path is fxceless/victory-fork#86 (VICTORY_FFX_DIR there).

Two things are still open for Series S on main:

  • The UI sits on a second PresentX plane, and only the first one is presented until #211 lands. Expect the world without menus or HUD.
  • On the fork, #32 (the FP16 stand-in for RGB9E5) fixed the Series S device removal but blacked out Series X, as you reported. main doesn't use that stand-in: it keeps RGB9E5 textures as RGB9E5 and makes them castable to the 32-bit formats, so that regression shouldn't carry over.

I haven't run Series S on main myself yet. On Series X with #1793 (which switches Series X to the same path), FSR 4.1.2 ran in the title on an RX 9070 XT at 1080p to 4K. A Series S run on main from your RTX 3080 would confirm the black screen is gone on NVIDIA too.

**@⁠AwkGrep256** on GitHub · 2026-11-24 23:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7147616069) Quick update on the Series S part: the upscaler path this was waiting on is in `main` now. Since 0b35b7f, setting `VICTORY_FIDELITYFX_DIR` to the FidelityFX SDK's `Kits/FidelityFX/signedbin` makes the title's FidelityFX calls go to the PC upscaler on the host GPU. Series S picks FidelityFX on its own, so the black output from the failed console FSR4 passes should be gone without #1284 or #1704. On fxceless/victory-fork, which you're running, the same path is fxceless/victory-fork#86 (`VICTORY_FFX_DIR` there). Two things are still open for Series S on `main`: - The UI sits on a second PresentX plane, and only the first one is presented until #211 lands. Expect the world without menus or HUD. - On the fork, #32 (the FP16 stand-in for RGB9E5) fixed the Series S device removal but blacked out Series X, as you reported. `main` doesn't use that stand-in: it keeps RGB9E5 textures as RGB9E5 and makes them castable to the 32-bit formats, so that regression shouldn't carry over. I haven't run Series S on `main` myself yet. On Series X with #1793 (which switches Series X to the same path), FSR 4.1.2 ran in the title on an RX 9070 XT at 1080p to 4K. A Series S run on `main` from your RTX 3080 would confirm the black screen is gone on NVIDIA too.
Author
Owner

@⁠moe-miau on GitHub · 2026-11-25 03:00 UTC · original

Same machine, same route: current main against fxceless/victory-fork, and which fork changes upstream already has

This adds one comparison to the "resolved with the fork" update above: the same machine, the same scene and the same input, run with current upstream and with the fork, to narrow what still has to come upstream.

Setup: RTX 4070 SUPER 12 GB, driver 32.0.16.1742, Ryzen 7 7700X, 32 GB, Windows 11 26300. Title 1.0.2.1, Series X profile, diag build, a fresh shader cache per run. A save past first-boot setup, then VICTORY_KEYS pressing Enter every 6 s from 25 s to 150 s, which reaches the intro cutscene at about 90 s. Each run is 6 minutes.

Tree Result Refused pipelines Not translated
main 940d32f device removed at 27 s (#1753) 0 0
940d32f + #1775 no removal; cutscene black, 0.1 fps (about 8 s per frame) 141 15
940d32f + #968 no removal; cutscene black, 0.1 fps 149 16
fork c96b4f2 no removal; the cutscene is drawn in 3D (a character in a car, street lights, vehicles, credits over the scene), 0.4-2.8 fps 6 4

The fork's frames still have a red cast, some missing face skin, and blocky geometry in places.

Two of the fork's headline fixes already exist upstream in another form:

  • Meshlet culling reading heap-picked buffers as constant buffers (fork: lower.rs, the slot_stride read for BatchCullMeshlets and the other culling programs). Upstream's s_buffer_load_dword path reads constant data through the resource heap as a raw buffer (heap_constants, "Constant buffers in the heap").
  • Light packed into R32_UINT and read back through R9G9B9E5 views at the same memory (fork: resource.rs::alias_of, every level and layer). Upstream has resource::alias_source and texture::alias_copy, which copy every subresource with matching bytes per row and rows.

So on this card, the largest difference left between the two trees is the 64-lane compute programs: upstream refuses 141-149 of them, the fork 6. The fork translates them through its own wave64 forms in victory-shader/src/emit/mod.rs: exact per-host-wave forms first, then the forms that cost group barriers. e9765a7 turned off the barrier-inside-branches form (VICTORY_WAVE_WIDE=1) after it hung the GPU on the particle light-atlas programs. That code seems the first place to look when bringing the fork's rendering upstream.

A related data point from the #189 thread: #189 carried onto 70564ae (fewer refusals, 0) still left the picture black and hit the GPU watchdog, so the fork's forms appear to do something #189 does not. Not isolated further here.

Counts and times only, no game data or captures attached. AI-assisted (Claude Code); runs done on my machine.

**@⁠moe-miau** on GitHub · 2026-11-25 03:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7151487082) **Same machine, same route: current `main` against `fxceless/victory-fork`, and which fork changes upstream already has** This adds one comparison to the "resolved with the fork" update above: the same machine, the same scene and the same input, run with current upstream and with the fork, to narrow what still has to come upstream. **Setup:** RTX 4070 SUPER 12 GB, driver 32.0.16.1742, Ryzen 7 7700X, 32 GB, Windows 11 26300. Title 1.0.2.1, Series X profile, diag build, a fresh shader cache per run. A save past first-boot setup, then `VICTORY_KEYS` pressing Enter every 6 s from 25 s to 150 s, which reaches the intro cutscene at about 90 s. Each run is 6 minutes. | Tree | Result | Refused pipelines | Not translated | |---|---|---|---| | `main` `940d32f` | device removed at 27 s (#1753) | 0 | 0 | | `940d32f` + #1775 | no removal; cutscene black, 0.1 fps (about 8 s per frame) | 141 | 15 | | `940d32f` + #968 | no removal; cutscene black, 0.1 fps | 149 | 16 | | fork `c96b4f2` | no removal; **the cutscene is drawn in 3D** (a character in a car, street lights, vehicles, credits over the scene), 0.4-2.8 fps | **6** | 4 | The fork's frames still have a red cast, some missing face skin, and blocky geometry in places. **Two of the fork's headline fixes already exist upstream in another form:** - **Meshlet culling reading heap-picked buffers as constant buffers** (fork: `lower.rs`, the `slot_stride` read for `BatchCullMeshlets` and the other culling programs). Upstream's `s_buffer_load_dword` path reads constant data through the resource heap as a raw buffer (`heap_constants`, "Constant buffers in the heap"). - **Light packed into R32_UINT and read back through R9G9B9E5 views at the same memory** (fork: `resource.rs::alias_of`, every level and layer). Upstream has `resource::alias_source` and `texture::alias_copy`, which copy every subresource with matching bytes per row and rows. So on this card, the largest difference left between the two trees is the 64-lane compute programs: upstream refuses 141-149 of them, the fork 6. The fork translates them through its own wave64 forms in `victory-shader/src/emit/mod.rs`: exact per-host-wave forms first, then the forms that cost group barriers. `e9765a7` turned off the barrier-inside-branches form (`VICTORY_WAVE_WIDE=1`) after it hung the GPU on the particle light-atlas programs. That code seems the first place to look when bringing the fork's rendering upstream. A related data point from the #189 thread: #189 carried onto `70564ae` (fewer refusals, 0) still left the picture black and hit the GPU watchdog, so the fork's forms appear to do something #189 does not. Not isolated further here. Counts and times only, no game data or captures attached. AI-assisted (Claude Code); runs done on my machine.
Author
Owner

@⁠moe-miau on GitHub · 2026-11-25 03:49 UTC · original

Correction to my comment above: the wave64 refusals are not what keeps main black. #1762 is.

Two runs on the same RTX 4070 SUPER and route:

  • fxceless/victory-fork with its approximate wave64 fallbacks off (VICTORY_WAVE_LOCAL=0 VICTORY_WAVE_OWN_BITS=0 VICTORY_WAVE_DEEP_SKIPS=0 VICTORY_WAVE_WIDE=0): 18 pipelines refused, and the cutscene is still drawn (even faster, 1-6 fps).
  • main 940d32f + #1775 + #1762 (the fork's structured-as-raw view conversion): the cutscene goes from black to drawn, a dim dusk city scene, with frames down from about 8 s to about 1 s, while 136 wave64 pipelines are still refused. Details: #1762

So on NVIDIA the main black-world cause on current main is raw reads through structured views returning 0, which #1762 fixes. The refused wave64 programs come after that (the picture is still darker than the fork's).

AI-assisted (Claude Code); runs done on my machine.

**@⁠moe-miau** on GitHub · 2026-11-25 03:49 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7152272456) **Correction to my comment above: the wave64 refusals are not what keeps `main` black. #1762 is.** Two runs on the same RTX 4070 SUPER and route: - `fxceless/victory-fork` with its approximate wave64 fallbacks off (`VICTORY_WAVE_LOCAL=0 VICTORY_WAVE_OWN_BITS=0 VICTORY_WAVE_DEEP_SKIPS=0 VICTORY_WAVE_WIDE=0`): 18 pipelines refused, and the cutscene is **still drawn** (even faster, 1-6 fps). - `main` `940d32f` + #1775 + **#1762** (the fork's structured-as-raw view conversion): the cutscene goes from black to drawn, a dim dusk city scene, with frames down from about 8 s to about 1 s, while 136 wave64 pipelines are still refused. Details: https://git.gtahub.st/github/Marvisak--VIctory/pulls/1762 So on NVIDIA the main black-world cause on current `main` is raw reads through structured views returning 0, which #1762 fixes. The refused wave64 programs come after that (the picture is still darker than the fork's). AI-assisted (Claude Code); runs done on my machine.
Author
Owner

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

Automated triage for the maintainers.

Thanks for the measurements and the thread's follow-ups. The NVIDIA world hang and black world are tracked in #71, and the missing cutscene picture in #850. This issue stays as the hypothesis list. What main does today for the code-level items:

  • H-6.14: wait in crates/victory-gpu/src/queue.rs returns S_OK without waiting; its comment says nothing runs on the queue. The command-list 64-bit memory wait is a separate, confirmed defect: #700, open PR #1388.
  • H-8.1: occlusion queries write a constant "visible" result (crates/victory-gpu/src/list.rs, 1 << 20). Open PR #1731 addresses this.
  • The latest comment says raw reads through structured views returning 0 on NVIDIA are the main black-world cause on 940d32f. #1762, which fixed that, was closed without merging. Open PR #2178 makes the same change and is where to test.
  • The Series S upscaler path is in main since 0b35b7f (VICTORY_FIDELITYFX_DIR, README).

Results for a single hypothesis are most useful as a PR or on its own issue. Please keep fork-only results to what can be brought to main.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/1317#issuecomment-7159437496) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T03:49:19Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Thanks for the measurements and the thread's follow-ups. The NVIDIA world hang and black world are tracked in #71, and the missing cutscene picture in #850. This issue stays as the hypothesis list. What `main` does today for the code-level items: - H-6.14: `wait` in `crates/victory-gpu/src/queue.rs` returns `S_OK` without waiting; its comment says nothing runs on the queue. The command-list 64-bit memory wait is a separate, confirmed defect: #700, open PR #1388. - H-8.1: occlusion queries write a constant "visible" result (`crates/victory-gpu/src/list.rs`, `1 << 20`). Open PR #1731 addresses this. - The latest comment says raw reads through structured views returning 0 on NVIDIA are the main black-world cause on `940d32f`. #1762, which fixed that, was closed without merging. Open PR #2178 makes the same change and is where to test. - The Series S upscaler path is in `main` since `0b35b7f` (`VICTORY_FIDELITYFX_DIR`, README). Results for a single hypothesis are most useful as a PR or on its own issue. Please keep fork-only results to what can be brought to `main`. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#1317
No description provided.