Works on AMD RX 9070 XT (lit opening cutscene) with three AMD-specific pipeline skips #3

Open
opened 2026-11-26 03:34:28 +00:00 by github-bot · 36 comments
Owner

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

fxceless/victory-gta6 renders the lit opening cutscene on AMD (RX 9070 XT), with three AMD-specific skips

Thanks to the fork's work, the intro now renders fully lit on an AMD card too: Lucia at the window, the yard and watchtower, sun shafts through the haze, hair rim light, subtitles. As far as I know, this is the first AMD report for it.

Machine: RX 9070 XT (RDNA 4, native 64-lane waves), Adrenalin 32.0.32029.2010, Ryzen 7 5800X, 32 GB, Windows 11 build 26300. Title 1.0.2.1, Series X profile, diag build.

Tree: fxceless/victory-gta6 at 578d459 (the README's last clean commit), unmodified. VICTORY_SHADER_LOOP_LIMIT=256.

What AMD needs (VICTORY_SKIP_PIPELINES). Without these, the run dies:

  1. 41 CS_RaytracingResolve variants crash AMD's shader compiler (amdxc64.dll+0x861b9f, read 0x8). Found offline one program at a time (details: #71). The other 867 compile fine. All 41 are ped materials (_b1139868 / _f21e9178):
    072f5fe96efd27e1,0f1395e5942ca3b2,1a1089a18f7ff5f8,1b20028fc5fae124,1c02f8131c508c75,26fbf87d883e1381,27ce027e7188bed3,36bcbae3c6ee20b3,37d324dbc6c86d16,38047b50e3443232,38e7dedf37c90130,3fa1fda35402c93f,501f0865fdf45dfd,50949ebfee9eb51d,5c10a56026ce13dd,5ddd2ca380fd74d8,695febfd5efced05,70b1e13de6df8585,72ee7db2a361ed65,7b956e1f6d56609f,7fb216a0c6dee3a9,810e4e3cf4237f07,82d469a7fec64cb4,842de0c32bc8dcc5,8a13d3da7f64b8d1,96744a8cd6c0588f,a2d880ad5dea1f45,a4df980a1c65fdbe,a62731e90739f195,b740639a48e688c6,c2fed64ee9b4bf23,c5fc2bc7f3d416f4,d2c52fcd936985b4,d5784d991f3164ab,dc6ef2687950428a,dd66eddf464f4bb1,e2b858e568731a51,e932a28baa58153e,f33e805895d6dd30,fc0dcb1f5312423f,fcd45c3d0020311b
    
  2. eeed82b877b44b5f (CS_ComputeHitDetectionSkinnedResults): the known page fault (#981).
  3. fc5e66f8f873d3bb (meshlet_culling:CS_BatchCullMeshlets_Prev): on this card, its indirect dispatch page-faults at an address with no title memory copy near it (device removed, DRED points at that dispatch). This happened as the first cold-cache run finished its pipelines, right before the cutscene would have shown.

Runs:

  • Cold shader cache: about 615 pipelines queued. The world was already drawn behind the loading card (G-buffer targets showed the window shot), and the loading card stayed up until the queue drained. Then the device was removed by #3 above.
  • Warm cache, with skip #3 added: the cutscene shows after a short white fade-in, fully lit. About 1.0 fps, 968 ms/frame, 4,251 draws/frame, about 1,380 dropped, no device removal so far.

Shadowed areas behave as the README describes (no ray-traced bounce light yet). I haven't tried the newer commits or the VICTORY_BVH_* switches on this card yet; I'll report when I do.

AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data.

**@⁠luisaugustz** on GitHub · 2026-11-24 19:18 UTC · [original](https://github.com/fxceless/victory-fork/issues/3) **`fxceless/victory-gta6` renders the lit opening cutscene on AMD (RX 9070 XT), with three AMD-specific skips** Thanks to the fork's work, the intro now renders fully lit on an AMD card too: Lucia at the window, the yard and watchtower, sun shafts through the haze, hair rim light, subtitles. As far as I know, this is the first AMD report for it. **Machine:** RX 9070 XT (RDNA 4, native 64-lane waves), Adrenalin 32.0.32029.2010, Ryzen 7 5800X, 32 GB, Windows 11 build 26300. Title 1.0.2.1, Series X profile, diag build. **Tree:** `fxceless/victory-gta6` at `578d459` (the README's last clean commit), unmodified. `VICTORY_SHADER_LOOP_LIMIT=256`. **What AMD needs** (`VICTORY_SKIP_PIPELINES`). Without these, the run dies: 1. **41 `CS_RaytracingResolve` variants** crash AMD's shader compiler (`amdxc64.dll+0x861b9f`, read 0x8). Found offline one program at a time (details: [#71](https://github.com/Marvisak/VIctory/issues/71#issuecomment-7141552196)). The other 867 compile fine. All 41 are ped materials (`_b1139868` / `_f21e9178`): ``` 072f5fe96efd27e1,0f1395e5942ca3b2,1a1089a18f7ff5f8,1b20028fc5fae124,1c02f8131c508c75,26fbf87d883e1381,27ce027e7188bed3,36bcbae3c6ee20b3,37d324dbc6c86d16,38047b50e3443232,38e7dedf37c90130,3fa1fda35402c93f,501f0865fdf45dfd,50949ebfee9eb51d,5c10a56026ce13dd,5ddd2ca380fd74d8,695febfd5efced05,70b1e13de6df8585,72ee7db2a361ed65,7b956e1f6d56609f,7fb216a0c6dee3a9,810e4e3cf4237f07,82d469a7fec64cb4,842de0c32bc8dcc5,8a13d3da7f64b8d1,96744a8cd6c0588f,a2d880ad5dea1f45,a4df980a1c65fdbe,a62731e90739f195,b740639a48e688c6,c2fed64ee9b4bf23,c5fc2bc7f3d416f4,d2c52fcd936985b4,d5784d991f3164ab,dc6ef2687950428a,dd66eddf464f4bb1,e2b858e568731a51,e932a28baa58153e,f33e805895d6dd30,fc0dcb1f5312423f,fcd45c3d0020311b ``` 2. **`eeed82b877b44b5f`** (`CS_ComputeHitDetectionSkinnedResults`): the known page fault (#981). 3. **`fc5e66f8f873d3bb`** (`meshlet_culling:CS_BatchCullMeshlets_Prev`): on this card, its indirect dispatch page-faults at an address with no title memory copy near it (device removed, DRED points at that dispatch). This happened as the first cold-cache run finished its pipelines, right before the cutscene would have shown. **Runs:** - **Cold shader cache:** about 615 pipelines queued. The world was already drawn behind the loading card (G-buffer targets showed the window shot), and the loading card stayed up until the queue drained. Then the device was removed by #3 above. - **Warm cache, with skip #3 added:** the cutscene shows after a short white fade-in, fully lit. About 1.0 fps, 968 ms/frame, 4,251 draws/frame, about 1,380 dropped, no device removal so far. Shadowed areas behave as the README describes (no ray-traced bounce light yet). I haven't tried the newer commits or the `VICTORY_BVH_*` switches on this card yet; I'll report when I do. _AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data._
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:34:28 +00:00
Author
Owner

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

Same on an RX 9060 XT (RDNA4, Adrenalin 32.0.32029.2010, Windows 11), 578d459 unmodified, default switches. No game data.

  • fc5e66f8f873d3bb stopped the GPU in both unskipped runs, 2-3 min in during loading (DRED in one: list stopped at its indirect kind 2 dispatch). We saw a hang, not a page fault.
  • On r4tedx's integration/testers 94e0ea5 the same program translates and runs without a hang, so it looks tied to this fork's changes.
  • With only that skip, 4 runs, no hang; after a warm-up run, lit cutscenes and the prison scenes with working interaction prompts at ~0.8-1.6 s/frame. We didn't need your other skips; note our tree has no #483 guard, and your 41 CS_RaytracingResolve crash address (amdxc64+0x861b9f) is the one the #483 guard form triggers on r4tedx's tree, where VICTORY_HEAP_GUARD_FORM=umin avoids it.

AI-assisted (Claude Code, Claude Opus 5.5); no game data.

**@⁠ghost** on GitHub · 2026-11-24 19:36 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7142337984) Same on an RX 9060 XT (RDNA4, Adrenalin 32.0.32029.2010, Windows 11), `578d459` unmodified, default switches. No game data. - `fc5e66f8f873d3bb` stopped the GPU in both unskipped runs, 2-3 min in during loading (DRED in one: list stopped at its `indirect kind 2` dispatch). We saw a hang, not a page fault. - On r4tedx's `integration/testers` `94e0ea5` the same program translates and runs without a hang, so it looks tied to this fork's changes. - With only that skip, 4 runs, no hang; after a warm-up run, lit cutscenes and the prison scenes with working interaction prompts at ~0.8-1.6 s/frame. We didn't need your other skips; note our tree has no #483 guard, and your 41 `CS_RaytracingResolve` crash address (`amdxc64+0x861b9f`) is the one the #483 guard form triggers on r4tedx's tree, where `VICTORY_HEAP_GUARD_FORM=umin` avoids it. AI-assisted (Claude Code, Claude Opus 5.5); no game data.
Author
Owner

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

Thanks for the AMD report and the skip list; noted for the README. Newer commits than 578d459 are usable again from e9765a7 on (the device loss in between is fixed, see #5).

**@⁠fxceless** on GitHub · 2026-11-24 19:53 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7142726537) Thanks for the AMD report and the skip list; noted for the README. Newer commits than `578d459` are usable again from `e9765a7` on (the device loss in between is fixed, see #5).
Author
Owner

@⁠pablogonz12 on GitHub · 2026-11-24 20:13 UTC · original

A RADV data point on whether AMD on Linux needs these skips: in my run, no.

578d459 as-is (no VICTORY_SKIP_PIPELINES, no loop limit), with Microsoft's d3dcompiler_47 next to the exe instead of Wine's (Wine's refuses the clamp, see #6), 952 s: world reached and lit, 2.02 fps average in the world, up to 6,994 draws/frame, 0 device removals, 0 crashes.

So the skips from the Windows report look Windows-driver specific here: the 41 CS_RaytracingResolve variants crash amdxc64.dll, which RADV does not use, and the two GPU-fault skips listed above also ran without a device removal. That says nothing about whether those programs produce correct output on RADV, only that no skip was needed to reach and stay in the world for 16 minutes.

Setup: RX 9070 XT (RDNA4, RADV), Mesa 26.3.1, Ryzen 9 9900X, 30 GB, Arch Linux, GE-Proton11-14, vkd3d-proton master. Not tested: longer sessions, the VICTORY_BVH_* switches, the newer commits after 578d459. (AI-assisted; numbers from my own runs.)

**@⁠pablogonz12** on GitHub · 2026-11-24 20:13 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7143203548) A RADV data point on whether AMD on Linux needs these skips: in my run, no. `578d459` as-is (no `VICTORY_SKIP_PIPELINES`, no loop limit), with Microsoft's `d3dcompiler_47` next to the exe instead of Wine's (Wine's refuses the clamp, see #6), 952 s: world reached and lit, 2.02 fps average in the world, up to 6,994 draws/frame, 0 device removals, 0 crashes. So the skips from the Windows report look Windows-driver specific here: the 41 `CS_RaytracingResolve` variants crash `amdxc64.dll`, which RADV does not use, and the two GPU-fault skips listed above also ran without a device removal. That says nothing about whether those programs produce correct output on RADV, only that no skip was needed to reach and stay in the world for 16 minutes. Setup: RX 9070 XT (RDNA4, RADV), Mesa 26.3.1, Ryzen 9 9900X, 30 GB, Arch Linux, GE-Proton11-14, vkd3d-proton master. Not tested: longer sessions, the `VICTORY_BVH_*` switches, the newer commits after 578d459. (AI-assisted; numbers from my own runs.)
Author
Owner

@⁠hashdev512 on GitHub · 2026-11-24 20:25 UTC · original

Another RX 9070 XT data point (Adrenalin 32.0.32029.2010, Ryzen 7 5700X3D, Windows 11 26300), 578d459, diag build, Series X, v1.0.2.1. Nine runs of 7–10 minutes with no VICTORY_SKIP_PIPELINES: lit cutscene and prologue, pad input works, no device removal.

One compute never finishes in the AMD driver: 39f0e9aeb156a61c. victory translate --validate on that one program: 2 s, valid. With --pipelines: not done after 420 s (stopped by hand), one core busy, process memory 2.1 → 5.9 GB in 40 s. It has 66,501 IR instructions and loads 2,509 descriptors. In the game a worker was still making it after 300 s, so "1 being made" stays for the whole run and the statistics show "500.5 ms waiting for pipelines" in every frame.

Median ms/frame, 2–5 min after the first slow frame, warm cache, no input, one run each:

switches ms/frame
VICTORY_D3D12_DRED=1 724
no DRED 602
no DRED, VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c, VICTORY_LATE_WAIT=1 338

With that compute skipped: 0 being made, 0 ms waiting for pipelines.

Other switches, measured on a local build that sets the pipeline wait budget to zero instead of skipping (not for a PR): VICTORY_LATE_WAIT=1 349; adding WIDE_BACK=1, JOIN_COPIES=1 and LATE_WAIT=2 336, within noise; LATE_WAIT=1 with VICTORY_INPLACE=1 380. With the stock wait, VICTORY_LATE_WAIT=1 alone changed nothing (732).

Not tested: commits after 578d459, whether the picture differs with that compute skipped, sessions longer than 10 minutes. Half of the runs used that local build, which also logs the name of a pipeline still not made after a wait; nothing else differs from 578d459.

No game data: hashes, counts and timings from VIctory's own log.

AI-assisted (Claude Fable 5.2): runs launched and summarised by the model on my machine.

**@⁠hashdev512** on GitHub · 2026-11-24 20:25 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7143529402) Another RX 9070 XT data point (Adrenalin 32.0.32029.2010, Ryzen 7 5700X3D, Windows 11 26300), `578d459`, diag build, Series X, v1.0.2.1. Nine runs of 7–10 minutes with no `VICTORY_SKIP_PIPELINES`: lit cutscene and prologue, pad input works, no device removal. **One compute never finishes in the AMD driver: `39f0e9aeb156a61c`.** `victory translate --validate` on that one program: 2 s, valid. With `--pipelines`: not done after 420 s (stopped by hand), one core busy, process memory 2.1 → 5.9 GB in 40 s. It has 66,501 IR instructions and loads 2,509 descriptors. In the game a worker was still making it after 300 s, so "1 being made" stays for the whole run and the statistics show "500.5 ms waiting for pipelines" in every frame. Median ms/frame, 2–5 min after the first slow frame, warm cache, no input, one run each: | switches | ms/frame | |---|---| | `VICTORY_D3D12_DRED=1` | 724 | | no DRED | 602 | | no DRED, `VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c`, `VICTORY_LATE_WAIT=1` | 338 | With that compute skipped: 0 being made, 0 ms waiting for pipelines. Other switches, measured on a local build that sets the pipeline wait budget to zero instead of skipping (not for a PR): `VICTORY_LATE_WAIT=1` 349; adding `WIDE_BACK=1`, `JOIN_COPIES=1` and `LATE_WAIT=2` 336, within noise; `LATE_WAIT=1` with `VICTORY_INPLACE=1` 380. With the stock wait, `VICTORY_LATE_WAIT=1` alone changed nothing (732). Not tested: commits after `578d459`, whether the picture differs with that compute skipped, sessions longer than 10 minutes. Half of the runs used that local build, which also logs the name of a pipeline still not made after a wait; nothing else differs from `578d459`. No game data: hashes, counts and timings from VIctory's own log. _AI-assisted (Claude Fable 5.2): runs launched and summarised by the model on my machine._
Author
Owner

@⁠clems206 on GitHub · 2026-11-24 21:05 UTC · original

RX 9070 (non-XT): lit opening cutscene and playable prologue on 7b0f736, with one more AMD skip: 0452fc2d2e2fc4c3

Machine: AMD Radeon RX 9070 (RDNA 4), driver 32.0.32029.2010, Intel i7-12700K, 32 GB RAM, Windows 11 build 26200. Title 1.0.2.1, Series X profile, diag build of 7b0f736 (unmodified), own shader cache (cold on the first run).

Switches: VICTORY_SHADER_LOOP_LIMIT=256, VICTORY_D3D12_DRED=1, and VICTORY_SKIP_PIPELINES = the 43 hashes from the first post here, plus one.

The extra skip. On the cold-cache run, about 1 min 45 s in (during loading), the device was removed at an indirect dispatch (indirect kind 2 max 1) of compute 0452fc2d2e2fc4c3 = meshlet_culling:CS_BatchCullPreSkinnedMeshlets_Prev, the pre-skinned twin of fc5e66f8f873d3bb (CS_BatchCullMeshlets_Prev). DRED reported a page fault about 0x1d1ff000 bytes past the end of the view heap (slot about 16,777,088), so it looks like a wild descriptor index rather than bad title memory. This tree has no heap-index guard like upstream #483, which would clamp such an index. The other image_gather4_l culling variants (9f017d9011377efa, 87bf9e3f2bf2f052, 4fb416369fc50b6e, 764ca63daec9c616) ran without trouble before the fault. With 0452fc2d2e2fc4c3 added (44 skips), no device removal in two runs (16 min and 10 min).

What renders: the night intro, the white fade-in, the fully lit window cutscene, then the cell block with interaction prompts and keyboard movement. Shadowed areas are dark, as the README describes.

Artifacts (same as #8 on the RX 9060 XT):

  • blocky magenta/purple patches, mostly on some surfaces (bedding, window frames, hair, fabric) and at the bottom right of the screen;
  • a dotted triangle pattern over skin.

Memory is the limit on a 32 GB machine. The process reached about 57 GB of commit after 6 minutes in the world (the README says about 24 GB). RAM sat at 99 % with the disk at 100 % from paging, at 550-2,800 ms per frame. The first run (no speed switches) ended after 16 min with memory allocation of 1310720 bytes failed while Windows was growing an auto-managed page file (peak use 68 GB).

VICTORY_RELAY=2: in the log, the time the submitting thread waits for the card fell from 256-350 ms to 24-39 ms per frame, and the card went from 1-3 % to 21-31 % busy. The frame time on screen did not improve, because paging dominates on this machine.

Happy to run a build with logging around the culling dispatch or the memory growth.

AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data.

**@⁠clems206** on GitHub · 2026-11-24 21:05 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7144473892) **RX 9070 (non-XT): lit opening cutscene and playable prologue on `7b0f736`, with one more AMD skip: `0452fc2d2e2fc4c3`** **Machine:** AMD Radeon RX 9070 (RDNA 4), driver 32.0.32029.2010, Intel i7-12700K, 32 GB RAM, Windows 11 build 26200. Title 1.0.2.1, Series X profile, diag build of `7b0f736` (unmodified), own shader cache (cold on the first run). **Switches:** `VICTORY_SHADER_LOOP_LIMIT=256`, `VICTORY_D3D12_DRED=1`, and `VICTORY_SKIP_PIPELINES` = the 43 hashes from the first post here, plus one. **The extra skip.** On the cold-cache run, about 1 min 45 s in (during loading), the device was removed at an indirect dispatch (`indirect kind 2 max 1`) of compute `0452fc2d2e2fc4c3` = `meshlet_culling:CS_BatchCullPreSkinnedMeshlets_Prev`, the pre-skinned twin of `fc5e66f8f873d3bb` (`CS_BatchCullMeshlets_Prev`). DRED reported a page fault about 0x1d1ff000 bytes past the end of the view heap (slot about 16,777,088), so it looks like a wild descriptor index rather than bad title memory. This tree has no heap-index guard like upstream #483, which would clamp such an index. The other `image_gather4_l` culling variants (`9f017d9011377efa`, `87bf9e3f2bf2f052`, `4fb416369fc50b6e`, `764ca63daec9c616`) ran without trouble before the fault. With `0452fc2d2e2fc4c3` added (44 skips), no device removal in two runs (16 min and 10 min). **What renders:** the night intro, the white fade-in, the fully lit window cutscene, then the cell block with interaction prompts and keyboard movement. Shadowed areas are dark, as the README describes. **Artifacts** (same as #8 on the RX 9060 XT): - blocky magenta/purple patches, mostly on some surfaces (bedding, window frames, hair, fabric) and at the bottom right of the screen; - a dotted triangle pattern over skin. **Memory is the limit on a 32 GB machine.** The process reached about 57 GB of commit after 6 minutes in the world (the README says about 24 GB). RAM sat at 99 % with the disk at 100 % from paging, at 550-2,800 ms per frame. The first run (no speed switches) ended after 16 min with `memory allocation of 1310720 bytes failed` while Windows was growing an auto-managed page file (peak use 68 GB). **`VICTORY_RELAY=2`:** in the log, the time the submitting thread waits for the card fell from 256-350 ms to 24-39 ms per frame, and the card went from 1-3 % to 21-31 % busy. The frame time on screen did not improve, because paging dominates on this machine. Happy to run a build with logging around the culling dispatch or the memory growth. _AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data._
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-24 21:09 UTC · original

Adding an RX 9070 XT reproduction on an older commit, d279e69, which I picked to match the earlier Windows lit-yard reports. Native Windows 11 26300.9974, AMD driver 32.0.32029.2010, Series X, title package 1.0.2.1, diagnostics build. VICTORY_SHADER_LOOP_LIMIT=32, with FSR and frame generation off and no pipeline skips.

  • First run started on a cold cache, reached world rendering at about 1.1–1.3 FPS, then lost the device roughly a minute later. GetDeviceRemovedReason was 0x887A0006. The run had no DRED breadcrumbs.
  • Retry reused that cache and enabled VICTORY_D3D12_DRED=1 plus present captures. It reached the opening credits and lost the device about 2m37s from launch, around 73s after the first 500-draw frame. DRED saw a GPU page fault at 0x11e0f0000, 0x1b200000 bytes past the logged view heap. The list stopped at command 237/475, indirect kind 2 max 1 [compute fc5e66f8f873d3bb]. Pipeline creation for 39f0e9aeb156a61c was also still running at about 140s, as others have observed.

The last saved present had visible opening credits and faint scene detail. I didn't reach the lit yard or verify movement. Windows logged an unexpected shutdown around the second failure. I haven't tried the skip or reproduced this on current main.

**@⁠AwkGrep256** on GitHub · 2026-11-24 21:09 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7144559335) Adding an RX 9070 XT reproduction on an older commit, `d279e69`, which I picked to match the earlier Windows lit-yard reports. Native Windows 11 `26300.9974`, AMD driver `32.0.32029.2010`, Series X, title package `1.0.2.1`, diagnostics build. `VICTORY_SHADER_LOOP_LIMIT=32`, with FSR and frame generation off and no pipeline skips. - First run started on a cold cache, reached world rendering at about 1.1–1.3 FPS, then lost the device roughly a minute later. `GetDeviceRemovedReason` was `0x887A0006`. The run had no DRED breadcrumbs. - Retry reused that cache and enabled `VICTORY_D3D12_DRED=1` plus present captures. It reached the opening credits and lost the device about 2m37s from launch, around 73s after the first 500-draw frame. DRED saw a GPU page fault at `0x11e0f0000`, `0x1b200000` bytes past the logged view heap. The list stopped at command `237/475`, `indirect kind 2 max 1 [compute fc5e66f8f873d3bb]`. Pipeline creation for `39f0e9aeb156a61c` was also still running at about 140s, as others have observed. The last saved present had visible opening credits and faint scene detail. I didn't reach the lit yard or verify movement. Windows logged an unexpected shutdown around the second failure. I haven't tried the skip or reproduced this on current `main`.
Author
Owner

@⁠luisaugustz on GitHub · 2026-11-24 21:23 UTC · original

RX 9070 XT follow-up: stable lit gameplay on 578d459, plus four things other 32 GB / AMD users will hit

Same machine as above: RX 9070 XT, Adrenalin 32.0.32029.2010, Ryzen 7 5800X, 32 GB RAM, Windows 11 build 26300, diag build, Series X profile.

1. Stable on 578d459.

  • Setup: 578d459 + the change in point 4, DRED off, skips = the 41 CS_RaytracingResolve hashes above + eeed82b877b44b5f + fc5e66f8f873d3bb + 0452fc2d2e2fc4c3 + 39f0e9aeb156a61c (@⁠hashdev512's never-finishing compute).
  • Result: the lit opening cutscene, then the first gameplay scene (the dormitory). 11+ minutes with no crash, about 3.0 fps (334 ms/frame), about 4,350 draws/frame.
  • Turning DRED off roughly doubled the frame rate here.

2. Memory on a 32 GB machine: use a fixed page file.

  • With the default system-managed page file, Series X runs died after 4–6 minutes with memory allocation of N bytes failed (a host allocation, not the GPU).
  • A memory log every 10 s showed commit at 84.4 of 84.6 GB, and the process's private bytes at about 58 GB. Windows was growing the page file (46 → 54 GB) more slowly than the process committed.
  • A fixed 64 GB page file (commit limit 120 GB) fixed it. The same run now sits at about 47 GB committed, with the game at about 23 GB private.
  • Series S stays far lower (peak about 43 GB committed), but on this fork it presents a black screen: the world is drawn at about 4,500 draws/frame, but nothing reaches the output.

3. The prewarm list ignores VICTORY_SKIP_PIPELINES (d279e69 and later).

  • early-pipelines.txt in the pipeline cache is built at launch without consulting the skip list.
  • Once a run without a skip has recorded a pipeline that crashes the driver, every later launch crashes within seconds, even with that hash in VICTORY_SKIP_PIPELINES. Here that was amdxc64.dll+0x861b9f, 4 s after launch.
  • Moving early-pipelines.txt aside fixed it. Checking the skip list before prewarming, or not recording skipped hashes, would avoid this.

4. A page fault inside a freed staging buffer (Series S profile, 578d459).

  • host GPU device removed ... page fault ... inside freed ["staging of ... 1024x1024x1 f99"]
  • The fork's Drop for Staging and HostTexture only updates counters, so the buffer is freed while a copy or view of a running submission may still use it.
  • The fix follows #609: both Drops hand the resource to the fork's own retire queue (host::release_late, a wrapper). That's 3 files, +14 lines, cherry-picks cleanly onto 4e17478. The crash did not return.
  • I can open it as a PR if you want it.

5. Newer commits on RDNA 4.

  • On 4e17478, other ped CS_RaytracingResolve variants crash amdxc64.dll+0x861b9f at the prison scene, even with the 41 skips, so that list matches 578d459's translation only.
  • The other RDNA 4 reports here needed fewer skips. That may be a driver or tree difference; I'll try a newer driver.
  • On 4e17478 the scene before the prison also rendered nothing here, and the intro flickers. VICTORY_LATE_WAIT is not the cause: it flickers with it off too.

Seen on 578d459 too: Lucia has no face, the dormitory's ceiling is missing (like #62), purple mattresses, and a fine line pattern on her shirt. I'm testing now without the loop limit (we used 256) and without the 0452fc2d skip, which is the pre-skinned meshlet cull, since characters seem the likely victims of skipping it.

AI-assisted (Claude Code): measured on this machine with my own copy of the game. Hashes, counts and log lines only.

**@⁠luisaugustz** on GitHub · 2026-11-24 21:23 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7144864323) **RX 9070 XT follow-up: stable lit gameplay on `578d459`, plus four things other 32 GB / AMD users will hit** Same machine as above: RX 9070 XT, Adrenalin 32.0.32029.2010, Ryzen 7 5800X, 32 GB RAM, Windows 11 build 26300, diag build, Series X profile. **1. Stable on `578d459`.** - Setup: `578d459` + the change in point 4, DRED off, skips = the 41 `CS_RaytracingResolve` hashes above + `eeed82b877b44b5f` + `fc5e66f8f873d3bb` + `0452fc2d2e2fc4c3` + `39f0e9aeb156a61c` (@⁠hashdev512's never-finishing compute). - Result: the lit opening cutscene, then the first gameplay scene (the dormitory). 11+ minutes with no crash, about 3.0 fps (334 ms/frame), about 4,350 draws/frame. - Turning DRED off roughly doubled the frame rate here. **2. Memory on a 32 GB machine: use a fixed page file.** - With the default system-managed page file, Series X runs died after 4–6 minutes with `memory allocation of N bytes failed` (a host allocation, not the GPU). - A memory log every 10 s showed commit at **84.4 of 84.6 GB**, and the process's private bytes at about 58 GB. Windows was growing the page file (46 → 54 GB) more slowly than the process committed. - A **fixed 64 GB page file** (commit limit 120 GB) fixed it. The same run now sits at about 47 GB committed, with the game at about 23 GB private. - Series S stays far lower (peak about 43 GB committed), but on this fork it presents a black screen: the world is drawn at about 4,500 draws/frame, but nothing reaches the output. **3. The prewarm list ignores `VICTORY_SKIP_PIPELINES`** (`d279e69` and later). - `early-pipelines.txt` in the pipeline cache is built at launch without consulting the skip list. - Once a run without a skip has recorded a pipeline that crashes the driver, every later launch crashes within seconds, even with that hash in `VICTORY_SKIP_PIPELINES`. Here that was `amdxc64.dll+0x861b9f`, 4 s after launch. - Moving `early-pipelines.txt` aside fixed it. Checking the skip list before prewarming, or not recording skipped hashes, would avoid this. **4. A page fault inside a freed staging buffer** (Series S profile, `578d459`). - `host GPU device removed ... page fault ... inside freed ["staging of ... 1024x1024x1 f99"]` - The fork's `Drop` for `Staging` and `HostTexture` only updates counters, so the buffer is freed while a copy or view of a running submission may still use it. - The fix follows #609: both `Drop`s hand the resource to the fork's own `retire` queue (`host::release_late`, a wrapper). That's 3 files, +14 lines, cherry-picks cleanly onto `4e17478`. The crash did not return. - I can open it as a PR if you want it. **5. Newer commits on RDNA 4.** - On `4e17478`, other ped `CS_RaytracingResolve` variants crash `amdxc64.dll+0x861b9f` at the prison scene, even with the 41 skips, so that list matches `578d459`'s translation only. - The other RDNA 4 reports here needed fewer skips. That may be a driver or tree difference; I'll try a newer driver. - On `4e17478` the scene before the prison also rendered nothing here, and the intro flickers. `VICTORY_LATE_WAIT` is not the cause: it flickers with it off too. **Seen on `578d459` too:** Lucia has no face, the dormitory's ceiling is missing (like #62), purple mattresses, and a fine line pattern on her shirt. I'm testing now without the loop limit (we used 256) and without the `0452fc2d` skip, which is the pre-skinned meshlet cull, since characters seem the likely victims of skipping it. _AI-assisted (Claude Code): measured on this machine with my own copy of the game. Hashes, counts and log lines only._
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 21:29 UTC · original

RX 9070 XT (Adrenalin 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB, Win 11): two fixes for the purple mattresses and the late/missing textures

Same symptoms as @⁠luisaugustz above (purple mattresses spreading to walls, fine lines on Lucia's shirt, dark face). Two things that helped here, on top of 578d459 + 39f0e9aeb156a61c skipped + the 41/43 AMD skips:

1. Purple blocks: 32-lane pixel shaders running in 64-lane waves. On AMD the driver may launch the console's wave32 pixel shaders as wave64; the upper half then reads the lower half's lane mask (s_bcnt1, s_ff1, v_mbcnt, "no lane active" tests), lighting loops exit wrong and NaN ends up in the temporal buffers (screen-fixed purple squares that grow over time). Running those programs per half wave (ballots and wave reductions per half) plus a NaN/Inf filter on float colour exports took purple from up to ~55% of some frames to 0% in our captures. The ambient light then still comes out purple on walls (green channel invalid), so it's not the whole story yet.

2. Late textures: the texture upload queue is fixed at 192 MB / 250 ms per frame. At 3–4 fps it can't keep up; we saw ~4,860 due slots. With the budget raised (we made it VICTORY_TEXTURE_QUEUE_MB / VICTORY_TEXTURE_QUEUE_MS, tried 1024 / 1000) the queue drained to ~200 within a minute: pale/white hair and missing surfaces filled in. Expect a slow first minute while it catches up. A small PR with just the configurable queue (defaults unchanged) is coming to this repo.

Speed on this card: ~4.4 fps (≈225 ms/frame) stable with VICTORY_LATE_WAIT=1 VICTORY_WIDE_BACK=1; 6–9 fps with VICTORY_LATE_WAIT=3 + card buffers, but the device was removed after ~3 min. Thanks for the DRED tip, we always ran with it on and will try without.

Builds and numbers are in the AMD test branch of KLBF Lab if anyone on RDNA wants to compare. Hashes, counts and log lines only.

**@⁠PastiiJay** on GitHub · 2026-11-24 21:29 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7145001919) **RX 9070 XT (Adrenalin 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB, Win 11): two fixes for the purple mattresses and the late/missing textures** Same symptoms as @⁠luisaugustz above (purple mattresses spreading to walls, fine lines on Lucia's shirt, dark face). Two things that helped here, on top of `578d459` + `39f0e9aeb156a61c` skipped + the 41/43 AMD skips: **1. Purple blocks: 32-lane pixel shaders running in 64-lane waves.** On AMD the driver may launch the console's wave32 pixel shaders as wave64; the upper half then reads the lower half's lane mask (`s_bcnt1`, `s_ff1`, `v_mbcnt`, "no lane active" tests), lighting loops exit wrong and NaN ends up in the temporal buffers (screen-fixed purple squares that grow over time). Running those programs per half wave (ballots and wave reductions per half) plus a NaN/Inf filter on float colour exports took purple from up to ~55% of some frames to 0% in our captures. The ambient light then still comes out purple on walls (green channel invalid), so it's not the whole story yet. **2. Late textures: the texture upload queue is fixed at 192 MB / 250 ms per frame.** At 3–4 fps it can't keep up; we saw ~4,860 due slots. With the budget raised (we made it `VICTORY_TEXTURE_QUEUE_MB` / `VICTORY_TEXTURE_QUEUE_MS`, tried 1024 / 1000) the queue drained to ~200 within a minute: pale/white hair and missing surfaces filled in. Expect a slow first minute while it catches up. A small PR with just the configurable queue (defaults unchanged) is coming to this repo. Speed on this card: ~4.4 fps (≈225 ms/frame) stable with `VICTORY_LATE_WAIT=1 VICTORY_WIDE_BACK=1`; 6–9 fps with `VICTORY_LATE_WAIT=3` + card buffers, but the device was removed after ~3 min. Thanks for the DRED tip, we always ran with it on and will try without. Builds and numbers are in the AMD test branch of [KLBF Lab](https://github.com/PastiiJay/klbf-lab/tree/klbf-amd) if anyone on RDNA wants to compare. Hashes, counts and log lines only.
Author
Owner

@⁠bunbeans2-arch on GitHub · 2026-11-24 21:32 UTC · original

RX 9070 XT: the two meshlet-cull indirect dispatches stop hanging with buffer-state tracking (upstream VIctory #334) ported in, no skip needed

Data point for the two indirect dispatches this thread skips (the meshlet cull and its pre-skinned twin), since skipping the second one may cost character geometry.

Machine: RX 9070 XT, driver 32.0.32015.7029, 32 GB, Windows 11 Pro build 22631, Series X profile, diag build. Every build below carries a local input-file patch only (no GPU or translator changes). No VICTORY_SKIP_PIPELINES in any run.

Without the change (three runs: 578d459 default switches, 7b0f736 default switches, 7b0f736 with AnyXboxX's launcher switches incl. VICTORY_SHADER_LOOP_LIMIT=32): the device was lost every time, and each time the fork's own breadcrumb log (DRED off) put the stopped list at an indirect kind 2 max 1 dispatch of one of those two programs. In the two runs that stopped on the first program, its argument address lay inside the title's large shared buffer copy (one run: a 182452224-byte copy, the argument at 0x3cd76d00 inside it). Times from launch: 1 min 51 s, 9 min 47 s and 9 min 56 s.

With the change (on 578d459, default switches): I hand-ported Marvisak/VIctory#334 (buffer state tracking: per-list buffer states, a transition before each use, and the arguments moved to a read state before the indirect dispatch reads them). It does not merge cleanly onto this fork: draw.rs, host.rs and indirect.rs conflict. In the port, the fork's scratch-buffer ExecuteIndirect path and lazy prelude stay as they are, and only #334's state tracking is taken.

  • 600 s cold: 0 device removals, 0 hangs.
  • A second run on that cache: 0 device removals and 0 hangs, past frame 2610 (later than any of the losses above), about 11.5 min.
  • That second run then died with memory allocation of 11829970 bytes failed, which looks like the 32 GB page-file limit @⁠luisaugustz describes above.

The one thing I can't rule out yet: the D3D12 process heap in the two port runs grew faster than in the runs without it. It reached 28359 MB and 52558 MB, against 9706 MB and 11309 MB at the end of the runs without the port. The fork's own Rust allocations stayed between 1100 and 1280 MB in all four. The port runs also lived longer, so this may just be time plus the page-file issue. I have a 1-second sampler running for the next run and will report.

If it helps, I can open the port as a PR against this fork, kept separate from the input patch.

AI-assisted (Claude Code): measured on this machine with my own copy of the game. Counts and log lines only; no game data.

**@⁠bunbeans2-arch** on GitHub · 2026-11-24 21:32 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7145060783) **RX 9070 XT: the two meshlet-cull indirect dispatches stop hanging with buffer-state tracking (upstream VIctory #334) ported in, no skip needed** Data point for the two indirect dispatches this thread skips (the meshlet cull and its pre-skinned twin), since skipping the second one may cost character geometry. **Machine:** RX 9070 XT, driver 32.0.32015.7029, 32 GB, Windows 11 Pro build 22631, Series X profile, diag build. Every build below carries a local input-file patch only (no GPU or translator changes). No `VICTORY_SKIP_PIPELINES` in any run. **Without the change (three runs: `578d459` default switches, `7b0f736` default switches, `7b0f736` with AnyXboxX's launcher switches incl. `VICTORY_SHADER_LOOP_LIMIT=32`):** the device was lost every time, and each time the fork's own breadcrumb log (DRED off) put the stopped list at an `indirect kind 2 max 1` dispatch of one of those two programs. In the two runs that stopped on the first program, its argument address lay inside the title's large shared buffer copy (one run: a 182452224-byte copy, the argument at 0x3cd76d00 inside it). Times from launch: 1 min 51 s, 9 min 47 s and 9 min 56 s. **With the change (on `578d459`, default switches):** I hand-ported Marvisak/VIctory#334 (buffer state tracking: per-list buffer states, a transition before each use, and the arguments moved to a read state before the indirect dispatch reads them). It does not merge cleanly onto this fork: `draw.rs`, `host.rs` and `indirect.rs` conflict. In the port, the fork's scratch-buffer `ExecuteIndirect` path and lazy prelude stay as they are, and only #334's state tracking is taken. - 600 s cold: 0 device removals, 0 hangs. - A second run on that cache: 0 device removals and 0 hangs, past frame 2610 (later than any of the losses above), about 11.5 min. - That second run then died with `memory allocation of 11829970 bytes failed`, which looks like the 32 GB page-file limit @⁠luisaugustz describes above. The one thing I can't rule out yet: the D3D12 process heap in the two port runs grew faster than in the runs without it. It reached 28359 MB and 52558 MB, against 9706 MB and 11309 MB at the end of the runs without the port. The fork's own Rust allocations stayed between 1100 and 1280 MB in all four. The port runs also lived longer, so this may just be time plus the page-file issue. I have a 1-second sampler running for the next run and will report. If it helps, I can open the port as a PR against this fork, kept separate from the input patch. _AI-assisted (Claude Code): measured on this machine with my own copy of the game. Counts and log lines only; no game data._
Author
Owner

@⁠siniasoclicar-cell on GitHub · 2026-11-24 21:59 UTC · original

AMD RX 7900 GRE (RDNA 3, 16 GB) data point on 90228a7 — lit prologue reached at 3 fps (335 ms) with speed switches, plus RDNA 3 DRED hangs

Hardware & environment:

  • GPU: AMD Radeon RX 7900 GRE (RDNA 3, 16 GB VRAM, native 64-lane waves), Adrenalin 32.0.32029.2010
  • CPU / RAM / OS: AMD Ryzen 5 5600, 32 GB RAM, Windows 11 Pro Build 26200
  • Build: fxceless/victory-fork at 90228a7, diag profile (--features diagnostics), Series X profile
  • Clean-room tests: cargo test --workspace — 496 passed, 0 failed, 7 ignored (all GPU shader and DXIL BVH tests pass on RX 7900 GRE)

1. RDNA 3 DRED hangs observed (0x887A0006, default Windows TDR)

Starting from the #3 baseline skips (fc5e66f8f873d3bb,eeed82b877b44b5f) + VICTORY_D3D12_DRED=1:

  1. VICTORY_SHADER_LOOP_LIMIT=256 hung in list 9 of 10 (8 commands) with these four compute dispatches in flight:
    • b83629b90cd2b7bc
    • 4fb416369fc50b6e — indirect kind 2 max 1, with Srv s0+24: buffer None
    • 24317e785c8688e3 (dispatch 1x1x1)
    • c1488f485ad606fb (dispatch 1x1x1)
  2. Adding 4fb416369fc50b6e got past that hang into the world (~2 fps / 559 ms, 2,334 draws), then hit a second hang in list 4 of 7 (340 commands) across:
    • 42683eebec081520 (dispatch 128x64x1, 2560×1440 SRV + 128×72 3D SRV → four 1024×512 UAVs)
    • 82849f7a614208eb (dispatch 8x4x1)
    • 9afd549c4f530901 (dispatch 1x1x1, u5=0x1584880 [heap 705092: null])
  3. Lowering to VICTORY_SHADER_LOOP_LIMIT=64 and adding 9afd549c4f530901 (keeping 42683eebec081520 enabled) eliminated that hang completely and reached the lit opening cutscene and playable prologue room (detailed hair/rim light, sunlit yard & watchtower, locker/magazine textures, Move around / Move the camera prompts) with only 6 dropped dispatches/frame (9afd549c4f530901 ×3, fc5e66f8f873d3bb ×2, 4fb416369fc50b6e ×1).
  4. On a later run with the speed switches enabled, list 9 of 10 hung once more with the same companion dispatches:
    • fdd56d97a806bcca (dim 1 182452224x1)
    • b83629b90cd2b7bc (dispatch 42x1x1, u7 [heap 2630: null], u8 [heap 262144: null])
    • 24317e785c8688e3 (dispatch 1x1x1)
    • c1488f485ad606fb (dispatch 9x1x1, u5 [heap 552: null], u6 [heap 16: null])

Notice the recurring pattern on Windows Adrenalin 32.0.32029.2010: every hanging list had compute dispatches binding either Srv: buffer None or [heap ...: null] slots.


2. Frame-time impact of the card-buffer speed switches on RX 7900 GRE

  • Before speed switches (VICTORY_SHADER_LOOP_LIMIT=64, default shadow/copy):
    • 2 fps, 521–543 ms/frame, 4,164–4,625 draws/frame
    • Diagnostics showed card only ~24% busy (399.4 ms idle/frame, 323.5 ms behind submitting thread), 349.3 MB scanned on CPU (322.6 MB in ≥1 MiB buffers), 720 hash passes/frame, 119.1 ms waiting for card.
  • With speed switches (VICTORY_CARD_BUFFERS_MIN_MB=1, VICTORY_CARD_BUFFERS_MB=1024, VICTORY_CARD_REHASH_RUNS=1, VICTORY_LATE_WAIT=3, VICTORY_WIDE_BACK=1, VICTORY_JOIN_COPIES=1, no VICTORY_RELAY):
    • 3 fps, 335.2 ms/frame at 5,851 draws/frame (~38% lower frame time even with +1,226 more draws/frame).

(Report compiled with assistance from Antigravity / Gemini 4 Neon; all timings, tests, and DRED logs were collected locally on the RX 7900 GRE above.)

**@⁠siniasoclicar-cell** on GitHub · 2026-11-24 21:59 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7145651167) ### AMD RX 7900 GRE (RDNA 3, 16 GB) data point on `90228a7` — lit prologue reached at 3 fps (335 ms) with speed switches, plus RDNA 3 DRED hangs **Hardware & environment:** - GPU: AMD Radeon RX 7900 GRE (RDNA 3, 16 GB VRAM, native 64-lane waves), Adrenalin `32.0.32029.2010` - CPU / RAM / OS: AMD Ryzen 5 5600, 32 GB RAM, Windows 11 Pro Build 26200 - Build: `fxceless/victory-fork` at `90228a7`, `diag` profile (`--features diagnostics`), Series X profile - Clean-room tests: `cargo test --workspace` — **496 passed, 0 failed, 7 ignored** (all GPU shader and DXIL BVH tests pass on RX 7900 GRE) --- #### 1. RDNA 3 DRED hangs observed (`0x887A0006`, default Windows TDR) Starting from the `#3` baseline skips (`fc5e66f8f873d3bb,eeed82b877b44b5f`) + `VICTORY_D3D12_DRED=1`: 1. **`VICTORY_SHADER_LOOP_LIMIT=256`** hung in `list 9 of 10` (8 commands) with these four compute dispatches in flight: - `b83629b90cd2b7bc` - `4fb416369fc50b6e` — `indirect kind 2 max 1`, with **`Srv s0+24: buffer None`** - `24317e785c8688e3` (`dispatch 1x1x1`) - `c1488f485ad606fb` (`dispatch 1x1x1`) 2. Adding **`4fb416369fc50b6e`** got past that hang into the world (~2 fps / 559 ms, 2,334 draws), then hit a second hang in `list 4 of 7` (340 commands) across: - `42683eebec081520` (`dispatch 128x64x1`, 2560×1440 SRV + 128×72 3D SRV → four 1024×512 UAVs) - `82849f7a614208eb` (`dispatch 8x4x1`) - `9afd549c4f530901` (`dispatch 1x1x1`, **`u5=0x1584880 [heap 705092: null]`**) 3. Lowering to **`VICTORY_SHADER_LOOP_LIMIT=64`** and adding **`9afd549c4f530901`** (keeping `42683eebec081520` enabled) eliminated that hang completely and reached the **lit opening cutscene and playable prologue room** (detailed hair/rim light, sunlit yard & watchtower, locker/magazine textures, `Move around` / `Move the camera` prompts) with only 6 dropped dispatches/frame (`9afd549c4f530901` ×3, `fc5e66f8f873d3bb` ×2, `4fb416369fc50b6e` ×1). 4. On a later run with the speed switches enabled, `list 9 of 10` hung once more with the same companion dispatches: - `fdd56d97a806bcca` (`dim 1 182452224x1`) - `b83629b90cd2b7bc` (`dispatch 42x1x1`, **`u7 [heap 2630: null], u8 [heap 262144: null]`**) - `24317e785c8688e3` (`dispatch 1x1x1`) - `c1488f485ad606fb` (`dispatch 9x1x1`, **`u5 [heap 552: null], u6 [heap 16: null]`**) Notice the recurring pattern on Windows Adrenalin `32.0.32029.2010`: every hanging list had compute dispatches binding either `Srv: buffer None` or `[heap ...: null]` slots. --- #### 2. Frame-time impact of the card-buffer speed switches on RX 7900 GRE - **Before speed switches** (`VICTORY_SHADER_LOOP_LIMIT=64`, default shadow/copy): - `2 fps`, **521–543 ms/frame**, **4,164–4,625 draws/frame** - Diagnostics showed card only ~24% busy (`399.4 ms` idle/frame, `323.5 ms` behind submitting thread), `349.3 MB` scanned on CPU (`322.6 MB` in ≥1 MiB buffers), `720` hash passes/frame, `119.1 ms` waiting for card. - **With speed switches** (`VICTORY_CARD_BUFFERS_MIN_MB=1`, `VICTORY_CARD_BUFFERS_MB=1024`, `VICTORY_CARD_REHASH_RUNS=1`, `VICTORY_LATE_WAIT=3`, `VICTORY_WIDE_BACK=1`, `VICTORY_JOIN_COPIES=1`, no `VICTORY_RELAY`): - **`3 fps`, `335.2 ms/frame` at `5,851 draws/frame`** (~38% lower frame time even with +1,226 more draws/frame). *(Report compiled with assistance from Antigravity / Gemini 4 Neon; all timings, tests, and DRED logs were collected locally on the RX 7900 GRE above.)*
Author
Owner

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

I'd like to test your #334 port on an RX 9070 XT (Intel Core Ultra 5 225, 32 GB, driver 32.0.32029.2010), on the commit AnyXboxX now pins: fd021bf (7b0f736 plus this fork's PRs #63, #71, #32, #82, #83, #81, #77). Upstream #334 doesn't apply to 7b0f736 (11 conflict hunks in draw.rs, host.rs, indirect.rs), so a branch with your port would avoid a second, divergent port.

Without skips, both meshlet dispatches (0452fc2d2e2fc4c3, fc5e66f8f873d3bb) faulted here at 8 to 9 min (d279e69). With the 45 skips (7b0f736 + #63), the run lasted 15 min, then died with memory allocation of 655360 bytes failed (system-managed page file). On your port I can also log system commit against the commit limit every second, which should help with the heap-growth question.

**@⁠IxMxAMAR** on GitHub · 2026-11-24 22:19 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7146078862) I'd like to test your #334 port on an RX 9070 XT (Intel Core Ultra 5 225, 32 GB, driver 32.0.32029.2010), on the commit AnyXboxX now pins: `fd021bf` (`7b0f736` plus this fork's PRs #63, #71, #32, #82, #83, #81, #77). Upstream #334 doesn't apply to `7b0f736` (11 conflict hunks in `draw.rs`, `host.rs`, `indirect.rs`), so a branch with your port would avoid a second, divergent port. Without skips, both meshlet dispatches (`0452fc2d2e2fc4c3`, `fc5e66f8f873d3bb`) faulted here at 8 to 9 min (`d279e69`). With the 45 skips (`7b0f736` + #63), the run lasted 15 min, then died with `memory allocation of 655360 bytes failed` (system-managed page file). On your port I can also log system commit against the commit limit every second, which should help with the heap-growth question.
Author
Owner

@⁠luisaugustz on GitHub · 2026-11-24 23:16 UTC · original

RX 9070 XT: PastiiJay's texture queue, measured here. The queue size needs the texture budget raised with it, or textures black out

@⁠PastiiJay thanks for the queue numbers. I made the two constants configurable locally (draw.rs, 192 MB / 250 ms per frame, as env switches) and ran the same prologue three times on 578d459 + staging fix, Series X, loop limit 256, VICTORY_CUT_WRITES=1, DRED off, the 41 AMD resolve skips + eeed82b877b44b5f + 39f0e9aeb156a61c, warm cache, 8 minutes each.

queue (MB / ms) VICTORY_TEXTURE_BUDGET_MB speed once settled what the cell looks like
192 / 250 (default) unset ~3.3 fps purple on frames, mattresses and foliage; shirt lit
512 / 500 unset ~2.0 fps purple still there; shirt dark
1024 / 1000 unset ~3 fps (1.2 fps while draining) no purple, but shirt, window frame and wall photos black; hair and glass right
1024 / 1000 6144 ~2.5 fps no purple, shirt textured, window's wire mesh appears; window frame and wall photos still flat dark

The log line textures picked by index, the queue explains the third row: slots due fell from 1,210 (default) to about 200, but the uploads since the start fell from about 42,000 to about 20,800, with 10 to 13 slots always "waiting for their memory". Texture copies are only made past 2 GB while the card's memory in use is under nine tenths of the budget the system gives (resource.rs, room()), and staging 1 GB a frame seems to cross that early. Setting VICTORY_TEXTURE_BUDGET_MB=6144 (an explicit limit on the copies' bytes) brought the uploads back and the textures with them. So a configurable queue PR probably wants a note that a large queue should come with the budget switch.

What it did not change: the first room's own walls, floor and ceiling are still not drawn, and the window frame and wall photos stay dark with about 120 slots still due at the end of 8 minutes.

A negative result on the refused views, since @⁠Yorivel's count (121 views, R32G32B32_FLOAT) matches our log (buffer view not on an element of its host copy offset=... element=12 on every run): I hand-ported the idea of upstream 86a5ed6 (a copy of its own bytes for a typed view whose buffer does not start on an element) onto this base. The refusal line went away, but the whole picture came out blown out to white and orange for the full run (frames 2,000 and 2,500 alike), and the walls did not appear. So on this card those views are not the missing shell; they look more like the colour or exposure blocks. Reverted.

Settings, counts and log lines only; no game data.

AI-assisted (Claude Code): measured on this machine with a diag build.

**@⁠luisaugustz** on GitHub · 2026-11-24 23:16 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7147211212) **RX 9070 XT: PastiiJay's texture queue, measured here. The queue size needs the texture budget raised with it, or textures black out** @⁠PastiiJay thanks for the queue numbers. I made the two constants configurable locally (`draw.rs`, 192 MB / 250 ms per frame, as env switches) and ran the same prologue three times on `578d459` + staging fix, Series X, loop limit 256, `VICTORY_CUT_WRITES=1`, DRED off, the 41 AMD resolve skips + `eeed82b877b44b5f` + `39f0e9aeb156a61c`, warm cache, 8 minutes each. | queue (MB / ms) | `VICTORY_TEXTURE_BUDGET_MB` | speed once settled | what the cell looks like | |---|---|---|---| | 192 / 250 (default) | unset | ~3.3 fps | purple on frames, mattresses and foliage; shirt lit | | 512 / 500 | unset | ~2.0 fps | purple still there; shirt dark | | 1024 / 1000 | unset | ~3 fps (1.2 fps while draining) | **no purple, but shirt, window frame and wall photos black**; hair and glass right | | 1024 / 1000 | **6144** | ~2.5 fps | **no purple, shirt textured, window's wire mesh appears**; window frame and wall photos still flat dark | The log line `textures picked by index, the queue` explains the third row: slots due fell from 1,210 (default) to about 200, but the uploads since the start fell from about 42,000 to about 20,800, with 10 to 13 slots always "waiting for their memory". Texture copies are only made past 2 GB while the card's memory in use is under nine tenths of the budget the system gives (`resource.rs`, `room()`), and staging 1 GB a frame seems to cross that early. Setting `VICTORY_TEXTURE_BUDGET_MB=6144` (an explicit limit on the copies' bytes) brought the uploads back and the textures with them. So a configurable queue PR probably wants a note that a large queue should come with the budget switch. What it did not change: the first room's own walls, floor and ceiling are still not drawn, and the window frame and wall photos stay dark with about 120 slots still due at the end of 8 minutes. **A negative result on the refused views**, since @⁠Yorivel's count (121 views, `R32G32B32_FLOAT`) matches our log (`buffer view not on an element of its host copy offset=... element=12` on every run): I hand-ported the idea of upstream `86a5ed6` (a copy of its own bytes for a typed view whose buffer does not start on an element) onto this base. The refusal line went away, but the whole picture came out blown out to white and orange for the full run (frames 2,000 and 2,500 alike), and the walls did not appear. So on this card those views are not the missing shell; they look more like the colour or exposure blocks. Reverted. Settings, counts and log lines only; no game data. _AI-assisted (Claude Code): measured on this machine with a diag build._
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 23:35 UTC · original

@⁠luisaugustz thank you, that's a very useful measurement and it explains something we saw too (some textures turning dark/flat with the 1024 / 1000 queue). We hadn't set VICTORY_TEXTURE_BUDGET_MB at all, so we'll run our next builds with 6144 next to the larger queue, compare with and without on our RX 9070 XT, and add the note to our run settings if it holds here too. Thanks also for the negative result on the refused views, that saves everyone a detour.

**@⁠PastiiJay** on GitHub · 2026-11-24 23:35 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7147564645) @⁠luisaugustz thank you, that's a very useful measurement and it explains something we saw too (some textures turning dark/flat with the 1024 / 1000 queue). We hadn't set `VICTORY_TEXTURE_BUDGET_MB` at all, so we'll run our next builds with 6144 next to the larger queue, compare with and without on our RX 9070 XT, and add the note to our run settings if it holds here too. Thanks also for the negative result on the refused views, that saves everyone a detour.
Author
Owner

@⁠luisaugustz on GitHub · 2026-11-24 23:56 UTC · original

@⁠PastiiJay thanks, and good that it lines up with what you saw. So we don't both write the same change: the queue switches are a small diff here (draw.rs, +17 -3: VICTORY_TEXTURE_QUEUE_MB and VICTORY_TEXTURE_QUEUE_MS, read once, defaults unchanged at 192 and 250). I have it committed locally on its own branch and have not pushed or opened anything. Since you said your PR is coming, I will leave it to you and keep mine local; if you want the diff to compare or reuse, say so and I'll paste it here.

One more number for your comparison: with the queue at 512 / 500 and no budget switch, purple was still on the frame and on the mattresses at the same point where 1024 / 1000 had none.

AI-assisted (Claude Code).

**@⁠luisaugustz** on GitHub · 2026-11-24 23:56 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7147953781) @⁠PastiiJay thanks, and good that it lines up with what you saw. So we don't both write the same change: the queue switches are a small diff here (`draw.rs`, +17 -3: `VICTORY_TEXTURE_QUEUE_MB` and `VICTORY_TEXTURE_QUEUE_MS`, read once, defaults unchanged at 192 and 250). I have it committed locally on its own branch and have not pushed or opened anything. Since you said your PR is coming, I will leave it to you and keep mine local; if you want the diff to compare or reuse, say so and I'll paste it here. One more number for your comparison: with the queue at 512 / 500 and no budget switch, purple was still on the frame and on the mattresses at the same point where 1024 / 1000 had none. _AI-assisted (Claude Code)._
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 23:56 UTC · original

@⁠luisaugustz thanks for checking first, kind of you. The queue switches are already up as #106 (VICTORY_TEXTURE_QUEUE_MB / VICTORY_TEXTURE_QUEUE_MS), so no need to open a second one. We're running a with/without VICTORY_TEXTURE_BUDGET_MB comparison on our card tonight; if it holds here as it did for you, we'll add a note to #106 that a large queue should come with the budget switch, and credit your numbers. Thanks also for the 512 / 500 data point.

**@⁠PastiiJay** on GitHub · 2026-11-24 23:56 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7147961909) @⁠luisaugustz thanks for checking first, kind of you. The queue switches are already up as https://git.gtahub.st/github/fxceless--victory-fork/pulls/106 (`VICTORY_TEXTURE_QUEUE_MB` / `VICTORY_TEXTURE_QUEUE_MS`), so no need to open a second one. We're running a with/without `VICTORY_TEXTURE_BUDGET_MB` comparison on our card tonight; if it holds here as it did for you, we'll add a note to #106 that a large queue should come with the budget switch, and credit your numbers. Thanks also for the 512 / 500 data point.
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 00:19 UTC · original

@⁠luisaugustz the comparison came out differently on our card, so a heads-up before anyone adds it as a recommendation. Same first-cell shot (Lucia at the window), our current test build (fork base + #334 + the 1024 / 1000 queue), RX 9070 XT, three 10–14 min runs:

VICTORY_TEXTURE_BUDGET_MB runs cell walls / window speed
unset 1 block walls, wall photos and the window's wire glass drawn; shirt looks wet/glossy ~5.6 fps
6144 2 cell walls missing both times (sky where the wall should be), no wire glass; shirt matte and textured ~6 fps

So here the budget switch fixed the shirt but seems to drop the walls; our base differs from yours (#334, DirectStorage page-list change), which may be why. Only three runs, so not conclusive. We'll keep it off in our recommended settings for now and won't add the note to #106 until it's clearer.

**@⁠PastiiJay** on GitHub · 2026-11-25 00:19 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7148394231) @⁠luisaugustz the comparison came out differently on our card, so a heads-up before anyone adds it as a recommendation. Same first-cell shot (Lucia at the window), our current test build (fork base + #334 + the 1024 / 1000 queue), RX 9070 XT, three 10–14 min runs: | `VICTORY_TEXTURE_BUDGET_MB` | runs | cell walls / window | speed | |---|---|---|---| | unset | 1 | block walls, wall photos and the window's wire glass drawn; shirt looks wet/glossy | ~5.6 fps | | 6144 | 2 | **cell walls missing both times** (sky where the wall should be), no wire glass; shirt matte and textured | ~6 fps | So here the budget switch fixed the shirt but seems to drop the walls; our base differs from yours (#334, DirectStorage page-list change), which may be why. Only three runs, so not conclusive. We'll keep it off in our recommended settings for now and won't add the note to #106 until it's clearer.
Author
Owner

@⁠siniasoclicar-cell on GitHub · 2026-11-25 00:49 UTC · original

Follow-up on 31714de (fix/amd-view-heap-clamp): RX 7900 GRE (RDNA 3) now runs with zero pipeline skips and zero device removals

Same machine (RX 7900 GRE 16 GB, Adrenalin 32.0.32029.2010, Ryzen 5 5600, 32 GB RAM, Windows 11 Build 26200), diag build at 31714de:

  • Clean-room tests: cargo test --workspace — 504 passed, 0 failed, 8 ignored.
  • Runtime settings: VICTORY_SKIP_PIPELINES unset (completely empty), VICTORY_SHADER_LOOP_LIMIT=64, VICTORY_CARD_BUFFERS_MIN_MB=1, VICTORY_CARD_BUFFERS_MB=1024, VICTORY_CARD_REHASH_RUNS=1, VICTORY_WIDE_BACK=1, VICTORY_JOIN_COPIES=1, VICTORY_D3D12_DRED=1 (no VICTORY_LATE_WAIT, no VICTORY_RELAY).
  • Result:
    • Every previously hanging shader on this RDNA 3 card (fc5e66f8f873d3bb, 4fb416369fc50b6e, 9afd549c4f530901, b83629b90cd2b7bc, c1488f485ad606fb, 24317e785c8688e3) now runs cleanly with 0 skipped dispatches and 0 0x887A0006 device removals.
    • Reached the playable interior room with intact walls/ceiling, bunk beds, volumetric shafts, and normal auto-exposure (no overexposure once 9afd549c4f530901 was no longer skipped).
    • Frame telemetry: 391.3 ms/frame at 5,890 draws/frame (11,735–21,972 indirect mesh groups/frame); card busy rose from ~24% to 44–46%; CPU shadow scan dropped from 349.3 MB to 28.5 MB/frame (0.0 MB ≥1 MiB); idle time behind submitting thread 183.7 ms, waiting on card 179.3 ms.

Huge improvement for RDNA 3 on Windows — thanks!

(Follow-up compiled with assistance from Antigravity / Gemini 4 Neon; all measurements collected locally on the RX 7900 GRE above.)

**@⁠siniasoclicar-cell** on GitHub · 2026-11-25 00:49 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7148911238) ### Follow-up on `31714de` (`fix/amd-view-heap-clamp`): RX 7900 GRE (RDNA 3) now runs with **zero pipeline skips** and **zero device removals** Same machine (RX 7900 GRE 16 GB, Adrenalin `32.0.32029.2010`, Ryzen 5 5600, 32 GB RAM, Windows 11 Build 26200), `diag` build at `31714de`: - **Clean-room tests:** `cargo test --workspace` — **504 passed, 0 failed, 8 ignored**. - **Runtime settings:** **`VICTORY_SKIP_PIPELINES` unset (completely empty)**, `VICTORY_SHADER_LOOP_LIMIT=64`, `VICTORY_CARD_BUFFERS_MIN_MB=1`, `VICTORY_CARD_BUFFERS_MB=1024`, `VICTORY_CARD_REHASH_RUNS=1`, `VICTORY_WIDE_BACK=1`, `VICTORY_JOIN_COPIES=1`, `VICTORY_D3D12_DRED=1` (no `VICTORY_LATE_WAIT`, no `VICTORY_RELAY`). - **Result:** - Every previously hanging shader on this RDNA 3 card (`fc5e66f8f873d3bb`, `4fb416369fc50b6e`, `9afd549c4f530901`, `b83629b90cd2b7bc`, `c1488f485ad606fb`, `24317e785c8688e3`) now runs cleanly with **0 skipped dispatches and 0 `0x887A0006` device removals**. - Reached the playable interior room with intact walls/ceiling, bunk beds, volumetric shafts, and normal auto-exposure (no overexposure once `9afd549c4f530901` was no longer skipped). - Frame telemetry: **`391.3 ms/frame` at `5,890 draws/frame`** (11,735–21,972 indirect mesh groups/frame); card busy rose from ~24% to **44–46%**; CPU shadow scan dropped from `349.3 MB` to **`28.5 MB/frame`** (`0.0 MB` ≥1 MiB); idle time behind submitting thread `183.7 ms`, waiting on card `179.3 ms`. Huge improvement for RDNA 3 on Windows — thanks! *(Follow-up compiled with assistance from Antigravity / Gemini 4 Neon; all measurements collected locally on the RX 7900 GRE above.)*
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-25 01:12 UTC · original · edited 2026-11-25 01:13 UTC

On the memory growth on 32 GB AMD machines (@⁠clems206, @⁠luisaugustz, and the heap question from @⁠bunbeans2-arch): on my RX 9070 XT it is the AMD shader compiler working forever on 39f0e9aeb156a61c, which the early-pipeline prewarm starts even when that hash is skipped. #375 stops that (as did #172, now closed, whose change I tested on fd021bf). Without it, the compiler's own heap grew to 13.8, 24.3 and 31.9 GB at 4, 6.5 and 9.5 min and runs ended out of memory. With it, or with early-pipelines.txt deleted from the pipeline cache, private bytes stay at 23 to 25 GB here instead of climbing past 50 GB.

To spot this kind of thing sooner: #458 names a pipeline whose compile has run for a minute in the log, and #459 shows heaps other than the process heap (like the compiler's) in the memory map.

**@⁠IxMxAMAR** on GitHub · 2026-11-25 01:12 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7149315778) · edited 2026-11-25 01:13 UTC On the memory growth on 32 GB AMD machines (@⁠clems206, @⁠luisaugustz, and the heap question from @⁠bunbeans2-arch): on my RX 9070 XT it is the AMD shader compiler working forever on `39f0e9aeb156a61c`, which the early-pipeline prewarm starts even when that hash is skipped. #375 stops that (as did #172, now closed, whose change I tested on `fd021bf`). Without it, the compiler's own heap grew to 13.8, 24.3 and 31.9 GB at 4, 6.5 and 9.5 min and runs ended out of memory. With it, or with `early-pipelines.txt` deleted from the pipeline cache, private bytes stay at 23 to 25 GB here instead of climbing past 50 GB. To spot this kind of thing sooner: #458 names a pipeline whose compile has run for a minute in the log, and #459 shows heaps other than the process heap (like the compiler's) in the memory map.
Author
Owner

@⁠bunbeans2-arch on GitHub · 2026-11-25 01:41 UTC · original

Follow-up on the GPU hang at the indirect dispatch of the pre-skinned meshlet cull program (the one testers here skip). RX 9070 XT.

Before fork main's view-heap clamp (31714de):

  • On a branch with #334's state tracking intact, it hung in 2 of 6 runs: once on a cold shader cache at frame 145, once warm after about 9.5 minutes.
  • With the program skipped, a run went the full 10 minutes clean.
  • The program is not mistranslated. With VICTORY_SHADER_OPT=0, its DXIL is byte-identical on an older build and on the hanging one (checked with a small dump tool that calls emit::translate on the saved program). So the hang comes from the program's inputs or state, not its code.

After merging fork main (a803c87 + 31714de), with no skip of that program:

  • 4 of 4 runs went the full 10 minutes with no device removal.
  • That includes a cold run with exactly the env that hung at frame 145 before (skip list + VICTORY_RELAY=0 only).
  • The other three: the same cold with VICTORY_SHADER_OPT=0 + VICTORY_SHADER_LOOP_LIMIT=256 + VICTORY_TEXTURE_BUDGET_MB=6144; a warm repeat of that; and one without the loop limit.

This fits 31714de's explanation. About 25 pipelines translate before the title makes its view heap, so on the old code those shaders had no clamp, and a wild view index read past the heap. A sample of 4 against a 2-in-6 hang rate is suggestive, not proof (about a 20 % chance of 4 clean runs by luck). But on this card I'd try dropping the skip with 31714de in before adding it.

AI-assisted (Claude Code); numbers are from my own runs' logs.

**@⁠bunbeans2-arch** on GitHub · 2026-11-25 01:41 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7149836419) Follow-up on the GPU hang at the indirect dispatch of the pre-skinned meshlet cull program (the one testers here skip). RX 9070 XT. **Before fork main's view-heap clamp (31714de):** - On a branch with #334's state tracking intact, it hung in 2 of 6 runs: once on a cold shader cache at frame 145, once warm after about 9.5 minutes. - With the program skipped, a run went the full 10 minutes clean. - The program is not mistranslated. With `VICTORY_SHADER_OPT=0`, its DXIL is byte-identical on an older build and on the hanging one (checked with a small dump tool that calls `emit::translate` on the saved program). So the hang comes from the program's inputs or state, not its code. **After merging fork main (a803c87 + 31714de), with no skip of that program:** - **4 of 4 runs went the full 10 minutes with no device removal.** - That includes a cold run with exactly the env that hung at frame 145 before (skip list + `VICTORY_RELAY=0` only). - The other three: the same cold with `VICTORY_SHADER_OPT=0` + `VICTORY_SHADER_LOOP_LIMIT=256` + `VICTORY_TEXTURE_BUDGET_MB=6144`; a warm repeat of that; and one without the loop limit. This fits 31714de's explanation. About 25 pipelines translate before the title makes its view heap, so on the old code those shaders had no clamp, and a wild view index read past the heap. A sample of 4 against a 2-in-6 hang rate is suggestive, not proof (about a 20 % chance of 4 clean runs by luck). But on this card I'd try dropping the skip with 31714de in before adding it. *AI-assisted (Claude Code); numbers are from my own runs' logs.*
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-25 02:09 UTC · original

A data point for your clamp note, @⁠bunbeans2-arch. RX 9070 XT, 19feca8 (AnyXboxX's current pin) with 31714de's view-heap clamp (its descriptor/host.rs, shader_cache.rs and emit changes; I left out its v_cvt_f32_f64 and v_permlane16 parts, which need helpers this base lacks) but without #334, and the two meshlet-cull programs no longer skipped, cold cache: the device was removed 8 min in. DRED: page fault at 0x400003e13000, view heap 0x100170000+0x4000000: ... past its end, with 1c4b3c0547e3e6fa, fdd56d97a806bcca, b83629b90cd2b7bc, 4fb416369fc50b6e (indirect kind 2), 24317e785c8688e3 and c1488f485ad606fb (u6 [heap 16: null]) in flight, the group @⁠siniasoclicar-cell saw on RDNA 3. With the two programs skipped again, the same build ran 13+ min clean. So here the clamp alone was not enough; your clean runs had #334 as well.

**@⁠IxMxAMAR** on GitHub · 2026-11-25 02:09 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7150389534) A data point for your clamp note, @⁠bunbeans2-arch. RX 9070 XT, `19feca8` (AnyXboxX's current pin) with 31714de's view-heap clamp (its `descriptor/host.rs`, `shader_cache.rs` and emit changes; I left out its `v_cvt_f32_f64` and `v_permlane16` parts, which need helpers this base lacks) but without #334, and the two meshlet-cull programs no longer skipped, cold cache: the device was removed 8 min in. DRED: page fault at `0x400003e13000`, `view heap 0x100170000+0x4000000: ... past its end`, with `1c4b3c0547e3e6fa`, `fdd56d97a806bcca`, `b83629b90cd2b7bc`, `4fb416369fc50b6e` (indirect kind 2), `24317e785c8688e3` and `c1488f485ad606fb` (`u6 [heap 16: null]`) in flight, the group @⁠siniasoclicar-cell saw on RDNA 3. With the two programs skipped again, the same build ran 13+ min clean. So here the clamp alone was not enough; your clean runs had #334 as well.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-25 02:15 UTC · original

The _Prev meshlet-culling page faults (fc5e66f8f873d3bb, 0452fc2d2e2fc4c3) are not in the translation: CS_BatchCullMeshlets_Prev translates to the same DXIL as CS_BatchCullMeshlets, which never faults. So the bad address comes from what the _Prev pass binds, not from its code.

Setup: RX 9070 XT, Adrenalin 32.0.32015.7029, Windows 10 22H2, Ryzen 9 9900X. c96b4f2 + #420 + @⁠Arvi23's pass-4 handle patch from #120 + #58 + #51 + #203, diag build, fresh cache and data folders, no skips.

run skips result
1 none in the world at 1–5 fps for 520 s, then device removed: page fault at 0x5dce000, list stopped at indirect kind 2 of 0452fc2d2e2fc4c3 (CS_BatchCullPreSkinnedMeshlets_Prev)
2 none the same after 141 s (warm cache): page fault at 0x8000035c4000, same dispatch, same program
3 0452fc2d2e2fc4c3 the same after 148 s at the other _Prev program: page fault at 0x60000288e000, indirect kind 2 of fc5e66f8f873d3bb (CS_BatchCullMeshlets_Prev)

No amdxc64.dll crash in any of the three, so on this driver the pass-4 patch covers #422's crash.

What I checked offline (victory translate, VICTORY_VIEW_LIMIT=2097151 as the game sets it, dxc -dumpbin):

  • With value names normalized, fc5e66f8f873d3bb (_Prev) and 3b471c122be79b3e (no _Prev) are the same 7,318-line module. 0452fc2d2e2fc4c3 and its twin 9f017d9011377efa differ only in instruction order and a few extra loads.
  • Every createHandleFromHeap index in both _Prev programs goes through the UMin to the null slot, and title memory by address goes through the clamped page directory. So an index past the heap or an address outside a copy can't explain it.
  • The indirect arguments are clamped before ExecuteIndirect (indirect::bound), so the group count isn't the title's raw value either.
  • Host view heaps start null, and a texture's slot is nulled when it goes. The fault addresses are garbage (no host copy near any of them), as #60 notes too.

So my guess is a heap slot the _Prev pass reads (last frame's buffers) still holds a buffer view of a host copy that has since been let go. Both runs that faulted had the card's texture room full a few minutes before ("textures picked by index: the card has no room for more"), so copies were being released. I haven't confirmed this yet. The next step on my side is a run that logs, for each _Prev dispatch, the heap slots it reads and whether their host copies are alive.

No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.

**@⁠GamingRipperDoc** on GitHub · 2026-11-25 02:15 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7150498941) **The `_Prev` meshlet-culling page faults (`fc5e66f8f873d3bb`, `0452fc2d2e2fc4c3`) are not in the translation: `CS_BatchCullMeshlets_Prev` translates to the same DXIL as `CS_BatchCullMeshlets`, which never faults. So the bad address comes from what the `_Prev` pass binds, not from its code.** Setup: RX 9070 XT, Adrenalin 32.0.32015.7029, Windows 10 22H2, Ryzen 9 9900X. `c96b4f2` + #420 + @⁠Arvi23's pass-4 handle patch from #120 + #58 + #51 + #203, diag build, fresh cache and data folders, no skips. | run | skips | result | |---|---|---| | 1 | none | in the world at 1–5 fps for 520 s, then device removed: page fault at `0x5dce000`, list stopped at `indirect kind 2` of `0452fc2d2e2fc4c3` (`CS_BatchCullPreSkinnedMeshlets_Prev`) | | 2 | none | the same after 141 s (warm cache): page fault at `0x8000035c4000`, same dispatch, same program | | 3 | `0452fc2d2e2fc4c3` | the same after 148 s at the other `_Prev` program: page fault at `0x60000288e000`, `indirect kind 2` of `fc5e66f8f873d3bb` (`CS_BatchCullMeshlets_Prev`) | No `amdxc64.dll` crash in any of the three, so on this driver the pass-4 patch covers #422's crash. What I checked offline (`victory translate`, `VICTORY_VIEW_LIMIT=2097151` as the game sets it, `dxc -dumpbin`): - With value names normalized, `fc5e66f8f873d3bb` (`_Prev`) and `3b471c122be79b3e` (no `_Prev`) are the same 7,318-line module. `0452fc2d2e2fc4c3` and its twin `9f017d9011377efa` differ only in instruction order and a few extra loads. - Every `createHandleFromHeap` index in both `_Prev` programs goes through the `UMin` to the null slot, and title memory by address goes through the clamped page directory. So an index past the heap or an address outside a copy can't explain it. - The indirect arguments are clamped before `ExecuteIndirect` (`indirect::bound`), so the group count isn't the title's raw value either. - Host view heaps start null, and a texture's slot is nulled when it goes. The fault addresses are garbage (no host copy near any of them), as #60 notes too. So my guess is a heap slot the `_Prev` pass reads (last frame's buffers) still holds a buffer view of a host copy that has since been let go. Both runs that faulted had the card's texture room full a few minutes before ("textures picked by index: the card has no room for more"), so copies were being released. I haven't confirmed this yet. The next step on my side is a run that logs, for each `_Prev` dispatch, the heap slots it reads and whether their host copies are alive. No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.
Author
Owner

@⁠bunbeans2-arch on GitHub · 2026-11-25 02:23 UTC · original

Correction to my comment above: the view-heap clamp did not end the cull hang.

On a newer merge (fork main through c96b4f2, the depth-bounds commit), 2 of 4 runs lost the device after 8 to 9.5 minutes:

  • One run had VICTORY_RELAY=0; the other had the new copy-back default.
  • Both hung on an indirect dispatch of a sibling program in the same meshlet-cull family. It is not the one skipped in this thread.
  • So the 4 clean runs before were most likely luck (about a 20 % chance at the earlier hang rate).

Next I'm testing a skip of all three cull programs together. I'll post the result.

AI-assisted (Claude Code); numbers are from my own runs' logs.

**@⁠bunbeans2-arch** on GitHub · 2026-11-25 02:23 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7150662699) Correction to my comment above: the view-heap clamp did **not** end the cull hang. On a newer merge (fork main through c96b4f2, the depth-bounds commit), 2 of 4 runs lost the device after 8 to 9.5 minutes: - One run had `VICTORY_RELAY=0`; the other had the new copy-back default. - Both hung on an indirect dispatch of a **sibling** program in the same meshlet-cull family. It is not the one skipped in this thread. - So the 4 clean runs before were most likely luck (about a 20 % chance at the earlier hang rate). Next I'm testing a skip of all three cull programs together. I'll post the result. *AI-assisted (Claude Code); numbers are from my own runs' logs.*
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-25 02:39 UTC · original

@⁠PastiiJay, your NaN guard (klbf-amd 0e5f4b2, colour exports and typed stores) is what finished off the purple here, and it isn't a PR on this repo yet. RX 9070 XT, three runs:

  • #318 alone on fd021bf: purple still on the bedding, posters and a floor strip.
  • #318 plus your guard on 19feca8: small spots left.
  • #318 plus your guard on current main (c96b4f2, with #195): none in 14 minutes.

Details are in #318. Would you open it as a PR here? It applies to c96b4f2 with one small conflict: main's translation-cache key lists its switches by name (VICTORY_WAVE_WIDE to VICTORY_F16_NEAREST), so VICTORY_NAN_GUARD goes into that list. I'm happy to rerun the PR's own commit on this card and post the numbers.

**@⁠IxMxAMAR** on GitHub · 2026-11-25 02:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7151002233) @⁠PastiiJay, your NaN guard (`klbf-amd` `0e5f4b2`, colour exports and typed stores) is what finished off the purple here, and it isn't a PR on this repo yet. RX 9070 XT, three runs: - #318 alone on `fd021bf`: purple still on the bedding, posters and a floor strip. - #318 plus your guard on `19feca8`: small spots left. - #318 plus your guard on current main (`c96b4f2`, with #195): none in 14 minutes. Details are in #318. Would you open it as a PR here? It applies to `c96b4f2` with one small conflict: main's translation-cache key lists its switches by name (`VICTORY_WAVE_WIDE` to `VICTORY_F16_NEAREST`), so `VICTORY_NAN_GUARD` goes into that list. I'm happy to rerun the PR's own commit on this card and post the numbers.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-25 03:38 UTC · original

Follow-up on the _Prev meshlet-culling page faults (fc5e66f8f873d3bb, 0452fc2d2e2fc4c3): they only happen with the relay on. With VICTORY_RELAY=0 two runs were clean for 10 minutes, and every relay-on run (13 so far) lost the device. The fault is not a freed buffer: DRED reports no live or recently freed allocation at the faulting address.

Same setup as my last comment (RX 9070 XT, Adrenalin 32.0.32015.7029, Windows 10 22H2, c96b4f2 + #420 + @⁠Arvi23's pass-4 patch from #120 + #58 + #51 + #203, diag build, fresh cache and data folders).

runs change result
2 VICTORY_RELAY=0 clean for the full 10 min, both _Prev programs bound and used
1 relay on, heap pass waits for sent-ahead work before rewriting buffer slots device removed at 207 s
1 the same, plus rewritten buffer slots keep their old view until the draw pass remakes them device removed at 226 s
1 relay on, every write to the shader-visible view heap counted by call site device removed at 115 s; slot 17 (the 182 MB buffer at u6) was never written
2 relay on, raw descriptor bytes the card reads dumped at the fault 128 s and 88 s; slot 17's descriptor is intact (right base, size and buffer type)
1 relay on, the title's null texture SRVs made as null buffer views (slot 2, which fc5e66f8f873d3bb reads as a ByteAddressBuffer, holds a null cube view) device removed at 153 s
1 relay on, VICTORY_CARD_BUFFERS=0 (no copies in the card's own memory) device removed at 121 s

Every fault is at indirect kind 2 of one of the two _Prev programs. The faulting address is always small (0x252b000, 0x2570000, 0x2804000, 0x28ba000, 0x2b0c000, 0x2c0d000), or one of those with garbage high bits (0x60000288e000, 0x8000035c4000). Nothing of ours is allocated there: no title memory copy, no heap, and DRED lists no existing or freed allocation. So the card is forming an address from a base near zero, not reading a buffer we let go of.

What this rules out:

  • descriptor slots being rewritten under sent-ahead work (the two guards above, and slot 17 never being written);
  • a freed host copy (DRED, and the relay keeps every copy a flight names alive until it lands);
  • slot 2's null texture view;
  • the card-memory copies the relay merges back.

Still open: how the indirect arguments reach the dispatch when it was sent ahead, and whether the relay's first stage (VICTORY_RELAY=1) faults as well as the default second stage. I'll run those next.

Separately, one real bug turned up: in GPU-based validation, four compute programs (CS_BatchCullMeshlets_Prev among them) read typed buffer views of R32_UINT through the translator's float typed loads. I have a small fix that maps 32-bit integer typed buffer views to the float format of the same width so the bits move unchanged. It didn't stop these faults, so it will be its own PR once a validation run confirms the warnings are gone.

Workaround on AMD for now: VICTORY_RELAY=0.

No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.

**@⁠GamingRipperDoc** on GitHub · 2026-11-25 03:38 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7152102190) **Follow-up on the `_Prev` meshlet-culling page faults (`fc5e66f8f873d3bb`, `0452fc2d2e2fc4c3`): they only happen with the relay on. With `VICTORY_RELAY=0` two runs were clean for 10 minutes, and every relay-on run (13 so far) lost the device. The fault is not a freed buffer: DRED reports no live or recently freed allocation at the faulting address.** Same setup as my last comment (RX 9070 XT, Adrenalin 32.0.32015.7029, Windows 10 22H2, `c96b4f2` + #420 + @⁠Arvi23's pass-4 patch from #120 + #58 + #51 + #203, diag build, fresh cache and data folders). | runs | change | result | |---|---|---| | 2 | `VICTORY_RELAY=0` | clean for the full 10 min, both `_Prev` programs bound and used | | 1 | relay on, heap pass waits for sent-ahead work before rewriting buffer slots | device removed at 207 s | | 1 | the same, plus rewritten buffer slots keep their old view until the draw pass remakes them | device removed at 226 s | | 1 | relay on, every write to the shader-visible view heap counted by call site | device removed at 115 s; slot 17 (the 182 MB buffer at `u6`) was never written | | 2 | relay on, raw descriptor bytes the card reads dumped at the fault | 128 s and 88 s; slot 17's descriptor is intact (right base, size and buffer type) | | 1 | relay on, the title's null texture SRVs made as null buffer views (slot 2, which `fc5e66f8f873d3bb` reads as a `ByteAddressBuffer`, holds a null cube view) | device removed at 153 s | | 1 | relay on, `VICTORY_CARD_BUFFERS=0` (no copies in the card's own memory) | device removed at 121 s | Every fault is at `indirect kind 2` of one of the two `_Prev` programs. The faulting address is always small (`0x252b000`, `0x2570000`, `0x2804000`, `0x28ba000`, `0x2b0c000`, `0x2c0d000`), or one of those with garbage high bits (`0x60000288e000`, `0x8000035c4000`). Nothing of ours is allocated there: no title memory copy, no heap, and DRED lists no existing or freed allocation. So the card is forming an address from a base near zero, not reading a buffer we let go of. What this rules out: - descriptor slots being rewritten under sent-ahead work (the two guards above, and slot 17 never being written); - a freed host copy (DRED, and the relay keeps every copy a flight names alive until it lands); - slot 2's null texture view; - the card-memory copies the relay merges back. Still open: how the indirect arguments reach the dispatch when it was sent ahead, and whether the relay's first stage (`VICTORY_RELAY=1`) faults as well as the default second stage. I'll run those next. Separately, one real bug turned up: in GPU-based validation, four compute programs (`CS_BatchCullMeshlets_Prev` among them) read typed buffer views of R32_UINT through the translator's float typed loads. I have a small fix that maps 32-bit integer typed buffer views to the float format of the same width so the bits move unchanged. It didn't stop these faults, so it will be its own PR once a validation run confirms the warnings are gone. Workaround on AMD for now: `VICTORY_RELAY=0`. No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.
Author
Owner

@⁠Yorivel on GitHub · 2026-11-25 03:42 UTC · original

@⁠luisaugustz thanks for testing the typed-view port. That matches what I saw on the 4090 (refusals gone, room still missing), so those 121 views aren't the shell on either vendor.

For the missing walls, floor and ceiling: on my side that was DirectStorage PAGE_DESTINATION reads writing into title memory through their own section view without telling the GPU side. The host copies stayed stale for the whole run, so the room came and went at random (about 1 run in 4 good). The fix is a few lines in dstorage.rs/xmem.rs (VICTORY_DSTORAGE_NOTIFY=1, branch fix/dstorage-notify-on-a803c87 on Yorivel/victory-fork; details in #62). With it the room was complete in 6 of 6 runs. Upstream has the same fix as c75fdba. It might be worth trying on the 9070 XT.

And thanks for the VICTORY_TEXTURE_BUDGET_MB=6144 data point. The window's wire mesh goes missing at random here too, so I'll test that next.

**@⁠Yorivel** on GitHub · 2026-11-25 03:42 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7152175399) @⁠luisaugustz thanks for testing the typed-view port. That matches what I saw on the 4090 (refusals gone, room still missing), so those 121 views aren't the shell on either vendor. For the missing walls, floor and ceiling: on my side that was DirectStorage `PAGE_DESTINATION` reads writing into title memory through their own section view without telling the GPU side. The host copies stayed stale for the whole run, so the room came and went at random (about 1 run in 4 good). The fix is a few lines in `dstorage.rs`/`xmem.rs` (`VICTORY_DSTORAGE_NOTIFY=1`, branch `fix/dstorage-notify-on-a803c87` on Yorivel/victory-fork; details in #62). With it the room was complete in 6 of 6 runs. Upstream has the same fix as `c75fdba`. It might be worth trying on the 9070 XT. And thanks for the `VICTORY_TEXTURE_BUDGET_MB=6144` data point. The window's wire mesh goes missing at random here too, so I'll test that next.
Author
Owner

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

Narrowed down: the _Prev meshlet-culling page faults need work sent ahead (VICTORY_LATE_WAIT), not the relay thread, and they come only from those two programs. With both skipped, the default relay ran a clean 10 minutes.

Same setup as my last two comments (RX 9070 XT, Windows 10 22H2, same stack, diag build, fresh cache and data folders).

run setup result
17 relay stage 1 (VICTORY_RELAY=1) device removed at 291 s, indirect kind 2 of fc5e66f8f873d3bb, page fault at 0x3010000
18 relay thread off, work still sent ahead (VICTORY_RELAY=0 VICTORY_LATE_WAIT=3) device removed at 153 s, same dispatch, page fault at 0x253b000
19 default relay, VICTORY_SKIP_PIPELINES=fc5e66f8f873d3bb,0452fc2d2e2fc4c3 clean for the full 10 min

With my earlier runs: VICTORY_RELAY=0 (which also turns sending ahead off) was clean twice. Every run that sent work ahead and ran the _Prev programs lost the device: 15 runs, stages 1 and 2, with and without the relay thread.

What I checked on the indirect path, since the fault is always at the indirect dispatch:

  • the arguments are clamped on the card into a scratch buffer each host list owns, and a list's scratch and budget go with its flight until it lands, so a later recording can't rewrite them;
  • the command signature has one argument and no root arguments, so the records carry no addresses;
  • the two programs bind only b0 and the stride table at t255 space1 as root views; everything else they read goes through bounded heap descriptors, and the stride table is read at most 8 MB in. So an unset root view can't make these addresses (37–47 MB with a base near zero).

So I still don't know which read in those two programs goes bad, only that it needs the card to run them while the CPU goes on with the next submissions.

Narrower workaround than VICTORY_RELAY=0 on AMD, diag builds only: VICTORY_SKIP_PIPELINES=fc5e66f8f873d3bb,0452fc2d2e2fc4c3. It keeps the relay, but it drops the _Prev culling passes, and I haven't checked what that costs visually.

No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.

**@⁠GamingRipperDoc** on GitHub · 2026-11-25 04:04 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7152501632) **Narrowed down: the `_Prev` meshlet-culling page faults need work sent ahead (`VICTORY_LATE_WAIT`), not the relay thread, and they come only from those two programs. With both skipped, the default relay ran a clean 10 minutes.** Same setup as my last two comments (RX 9070 XT, Windows 10 22H2, same stack, diag build, fresh cache and data folders). | run | setup | result | |---|---|---| | 17 | relay stage 1 (`VICTORY_RELAY=1`) | device removed at 291 s, `indirect kind 2` of `fc5e66f8f873d3bb`, page fault at `0x3010000` | | 18 | relay thread off, work still sent ahead (`VICTORY_RELAY=0 VICTORY_LATE_WAIT=3`) | device removed at 153 s, same dispatch, page fault at `0x253b000` | | 19 | default relay, `VICTORY_SKIP_PIPELINES=fc5e66f8f873d3bb,0452fc2d2e2fc4c3` | clean for the full 10 min | With my earlier runs: `VICTORY_RELAY=0` (which also turns sending ahead off) was clean twice. Every run that sent work ahead and ran the `_Prev` programs lost the device: 15 runs, stages 1 and 2, with and without the relay thread. What I checked on the indirect path, since the fault is always at the indirect dispatch: - the arguments are clamped on the card into a scratch buffer each host list owns, and a list's scratch and budget go with its flight until it lands, so a later recording can't rewrite them; - the command signature has one argument and no root arguments, so the records carry no addresses; - the two programs bind only `b0` and the stride table at `t255 space1` as root views; everything else they read goes through bounded heap descriptors, and the stride table is read at most 8 MB in. So an unset root view can't make these addresses (37–47 MB with a base near zero). So I still don't know which read in those two programs goes bad, only that it needs the card to run them while the CPU goes on with the next submissions. Narrower workaround than `VICTORY_RELAY=0` on AMD, diag builds only: `VICTORY_SKIP_PIPELINES=fc5e66f8f873d3bb,0452fc2d2e2fc4c3`. It keeps the relay, but it drops the `_Prev` culling passes, and I haven't checked what that costs visually. No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.
Author
Owner

@⁠schmiticle on GitHub · 2026-11-25 04:08 UTC · original

RX 9070 XT (RDNA 4): f25e735 renders the first room with faces and whole characters; warm crashes the driver while making compute pipelines, --no-pipelines works

Machine: AMD Radeon RX 9070 XT, Adrenalin 32.0.32029.2010, Ryzen 7 7800X3D, 32 GB RAM, Windows 11 Pro build 26300. Series X profile, diag build of f25e735, unmodified. VICTORY_D3D12_DRED=1, own cache folder.

What renders: the intro video plays steadily (no frames jumping back and forth, which other forks showed on this card), then the opening cutscene and the first room: walls, floor, posters, window light, textured clothing, and faces. Characters stay whole up close. About 2.4–3.4 fps in the room, 4,000–6,400 draws/frame, 0 pipelines waiting on a warm cache. Process commit steady at about 25 GB. Two runs of about 5 minutes each, no device removal. Shaded areas are dark, as the README describes.

1. victory warm stops while making compute pipelines. With the game folder given, it translated about 21,400 shaders, then the process ended after 95 s with no summary line and no error in the log. That fits a crash in the driver during CreateComputePipelineState. I did not capture which program. victory warm <game dir> --no-pipelines finished: 25652 translated, 106 refused; 122 s. The game then made the pipelines itself during the run without a crash.

2. One skip still needed on this card, 42683eebec081520. On fxceless/victory-fork 2119b0e this program removed the device twice in the opening cutscene. The DRED page fault was near address 0, with a table slot showing a null view. I kept it skipped here and did not test f25e735 without the skip.

3. 0452fc2d2e2fc4c3 (CS_BatchCullPreSkinnedMeshlets_Prev) runs fine here. On 2119b0e it page-faulted at an indirect kind 2 dispatch about 17 minutes in, as in the RX 9070 report on victory-fork #3. Skipping it left characters without faces, heads or torsos up close. On f25e735 it runs. Faces and close-up bodies are drawn, with no device removal so far (about 5 minutes). It looks like the view guard or the texture fixes cured what fed it bad addresses.

4. One mesh pipeline refused: host mesh pipeline refused error=The parameter is incorrect for [mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35].

Happy to run a build with logging around the warm crash, or test without the 42683eebec081520 skip.

AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data.

**@⁠schmiticle** on GitHub · 2026-11-25 04:08 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7152566232) **RX 9070 XT (RDNA 4): `f25e735` renders the first room with faces and whole characters; `warm` crashes the driver while making compute pipelines, `--no-pipelines` works** **Machine:** AMD Radeon RX 9070 XT, Adrenalin 32.0.32029.2010, Ryzen 7 7800X3D, 32 GB RAM, Windows 11 Pro build 26300. Series X profile, diag build of `f25e735`, unmodified. `VICTORY_D3D12_DRED=1`, own cache folder. **What renders:** the intro video plays steadily (no frames jumping back and forth, which other forks showed on this card), then the opening cutscene and the first room: walls, floor, posters, window light, textured clothing, and faces. Characters stay whole up close. About 2.4–3.4 fps in the room, 4,000–6,400 draws/frame, 0 pipelines waiting on a warm cache. Process commit steady at about 25 GB. Two runs of about 5 minutes each, no device removal. Shaded areas are dark, as the README describes. **1. `victory warm` stops while making compute pipelines.** With the game folder given, it translated about 21,400 shaders, then the process ended after 95 s with no summary line and no error in the log. That fits a crash in the driver during `CreateComputePipelineState`. I did not capture which program. `victory warm <game dir> --no-pipelines` finished: `25652 translated, 106 refused; 122 s`. The game then made the pipelines itself during the run without a crash. **2. One skip still needed on this card, `42683eebec081520`.** On `fxceless/victory-fork` `2119b0e` this program removed the device twice in the opening cutscene. The DRED page fault was near address 0, with a table slot showing a null view. I kept it skipped here and did not test `f25e735` without the skip. **3. `0452fc2d2e2fc4c3` (`CS_BatchCullPreSkinnedMeshlets_Prev`) runs fine here.** On `2119b0e` it page-faulted at an `indirect kind 2` dispatch about 17 minutes in, as in the RX 9070 report on victory-fork #3. Skipping it left characters without faces, heads or torsos up close. On `f25e735` it runs. Faces and close-up bodies are drawn, with no device removal so far (about 5 minutes). It looks like the view guard or the texture fixes cured what fed it bad addresses. **4. One mesh pipeline refused:** `host mesh pipeline refused error=The parameter is incorrect` for `[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]`. Happy to run a build with logging around the warm crash, or test without the `42683eebec081520` skip. _AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data._
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 09:54 UTC · original

@⁠IxMxAMAR thank you, that's great to hear, and thanks for measuring it across three bases. Yes, we'll open the NaN guard as a PR here against current main, with VICTORY_NAN_GUARD added to the translation-cache key list as you describe, and link it in this thread. Your rerun on the PR's own commit would be very welcome.

**@⁠PastiiJay** on GitHub · 2026-11-25 09:54 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7158952359) @⁠IxMxAMAR thank you, that's great to hear, and thanks for measuring it across three bases. Yes, we'll open the NaN guard as a PR here against current main, with `VICTORY_NAN_GUARD` added to the translation-cache key list as you describe, and link it in this thread. Your rerun on the PR's own commit would be very welcome.
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 09:57 UTC · original

@⁠IxMxAMAR thanks for testing it and for the nudge. Opened as #837, on current main and on its own. VICTORY_NAN_GUARD is on by default (=0 turns it off). The conflict you hit doesn't come up any more, because main's cache key now picks up every VICTORY_* switch automatically. Shader tests pass. Feedback welcome, especially from other cards.

**@⁠PastiiJay** on GitHub · 2026-11-25 09:57 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7159023727) @⁠IxMxAMAR thanks for testing it and for the nudge. Opened as #837, on current main and on its own. `VICTORY_NAN_GUARD` is on by default (`=0` turns it off). The conflict you hit doesn't come up any more, because main's cache key now picks up every `VICTORY_*` switch automatically. Shader tests pass. Feedback welcome, especially from other cards.
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-25 16:49 UTC · original

RX 9070 XT (RDNA 4, Windows 11, 32 GB) on today's main 3973179, plus #195, #318, #837, #458 and #459. Both _Prev meshlet culls are unskipped; the only skip is 42683eebec081520. This confirms @⁠GamingRipperDoc's finding on RDNA 4.

run setup result
20 main's defaults (relay stage 2, work sent ahead) device removed after 9.5 min at indirect kind 2 max 1 of fc5e66f8f873d3bb, page fault at 0x283a000, no title memory copy or heap anywhere near it. 0452fc2d2e2fc4c3 ran without a fault, as @⁠schmiticle saw.
21 VICTORY_RELAY=0 both _Prev programs bound and ran for 20 minutes with no device removal. Faces lit on both sides, characters whole, the first prison room and the yard complete once textures streamed in.

What VICTORY_RELAY=0 costs here, once loading settled:

  • about 2.1 fps (460 ms a frame): preparing about 100 ms, waiting on the GPU about 205 ms, copying back about 115 ms;
  • the GPU wait was 25–65 ms in my relay-on runs with both culls skipped, which ran at 5.6–7.3 fps;
  • so on this card the price of the workaround is roughly a third of the frame rate.

Separately, a false positive in main's driver watch (drvwatch): at startup it logged "the graphics driver reported an error to the system's event log: from now on the paths under suspicion are off for this run (draw windows clamp each record again)". At that second, the only System-log entry was Display event 4127, Windows suggesting "Turn on Auto HDR"; there was no TDR (amdkmdag/dxgkrnl 4101) or other driver error. It happened in both runs. Draw windows are off unless VICTORY_INDIRECT_WINDOW=1, so it cost these two runs nothing. But on a machine where Windows shows that hint, anyone who turns windows on loses them at startup without knowing why. Matching only driver providers and IDs (amdkmdag, nvlddmkm, dxgkrnl, Display 4101) would avoid it.

Next, I'll try the relay on with only fc5e66f8f873d3bb skipped (keeping 0452fc2d2e2fc4c3), to see what skipping the plain cull alone costs on screen.

No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.

**@⁠IxMxAMAR** on GitHub · 2026-11-25 16:49 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7168580293) RX 9070 XT (RDNA 4, Windows 11, 32 GB) on today's main `3973179`, plus #195, #318, #837, #458 and #459. Both `_Prev` meshlet culls are unskipped; the only skip is `42683eebec081520`. This confirms @⁠GamingRipperDoc's finding on RDNA 4. | run | setup | result | |---|---|---| | 20 | main's defaults (relay stage 2, work sent ahead) | device removed after 9.5 min at `indirect kind 2 max 1` of `fc5e66f8f873d3bb`, page fault at `0x283a000`, no title memory copy or heap anywhere near it. `0452fc2d2e2fc4c3` ran without a fault, as @⁠schmiticle saw. | | 21 | `VICTORY_RELAY=0` | both `_Prev` programs bound and ran for 20 minutes with no device removal. Faces lit on both sides, characters whole, the first prison room and the yard complete once textures streamed in. | What `VICTORY_RELAY=0` costs here, once loading settled: - about 2.1 fps (460 ms a frame): preparing about 100 ms, waiting on the GPU about 205 ms, copying back about 115 ms; - the GPU wait was 25–65 ms in my relay-on runs with both culls skipped, which ran at 5.6–7.3 fps; - so on this card the price of the workaround is roughly a third of the frame rate. Separately, a false positive in main's driver watch (`drvwatch`): at startup it logged "the graphics driver reported an error to the system's event log: from now on the paths under suspicion are off for this run (draw windows clamp each record again)". At that second, the only System-log entry was `Display` event 4127, Windows suggesting "Turn on Auto HDR"; there was no TDR (`amdkmdag`/`dxgkrnl` 4101) or other driver error. It happened in both runs. Draw windows are off unless `VICTORY_INDIRECT_WINDOW=1`, so it cost these two runs nothing. But on a machine where Windows shows that hint, anyone who turns windows on loses them at startup without knowing why. Matching only driver providers and IDs (`amdkmdag`, `nvlddmkm`, `dxgkrnl`, `Display` 4101) would avoid it. Next, I'll try the relay on with only `fc5e66f8f873d3bb` skipped (keeping `0452fc2d2e2fc4c3`), to see what skipping the plain cull alone costs on screen. No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-25 17:54 UTC · original

A possible root cause of the _Prev meshlet-cull page faults: the culls read an image descriptor as a buffer descriptor.

This comes from the fault addresses plus the fork's code. Nothing is changed or tested yet, so please check it against your own reports.

The addresses. On AMD, the two descriptor types keep their base address differently:

  • A buffer descriptor (V#) holds dword0 = base[31:0] and dword1[15:0] = base[47:32].
  • An image descriptor (T#) holds dword0 = base >> 8 (images are 256-byte aligned) and dword1[7:0] = base[47:40], followed by other fields. That's the layout in Mesa's descriptor code for gfx10 to gfx12.

A buffer load that reads a T# as if it were a V# therefore goes to (image_base >> 8) | (dword1[15:0] << 32). That's a small address: bits 32–39 are zero for any image below 1 TiB, and bits 40–47 come from the descriptor's next field. Here's every _Prev fault I have (@⁠GamingRipperDoc's from this thread, and mine on an RX 9070 XT), decoded that way:

page fault reported by implied image base
0x252b000 GamingRipperDoc 9.29 GiB
0x253b000 GamingRipperDoc (run 18) 9.31 GiB
0x2570000 GamingRipperDoc 9.36 GiB
0x2804000 GamingRipperDoc 10.00 GiB
0x283a000 mine (run 20, fc5e66f8f873d3bb) 10.06 GiB
0x60000288e000 GamingRipperDoc 10.14 GiB
0x28ba000 GamingRipperDoc 10.18 GiB
0x600002aa2000 mine (run 22, 0452fc2d2e2fc4c3) 10.66 GiB
0x2b0c000 GamingRipperDoc 10.76 GiB
0x2c0d000 GamingRipperDoc 11.01 GiB
0x3010000 GamingRipperDoc (run 17) 12.02 GiB
0x8000035c4000 GamingRipperDoc 13.44 GiB
0x400003e13000 mine (run 17, fc5e66f8f873d3bb) 15.52 GiB

All 13 land in one 9.3–15.5 GiB band, inside the range where the same reports show the host's heaps and copies (about 4 to 25 GiB). In every one, bits 32–39 are zero while bits 40–47 vary (0x00, 0x40, 0x60, 0x80), as the T# layout predicts. A wild pointer would not cluster like that. Three of my faults from builds of 24 November don't fit (0x117e36000, 0xe80038120000, 0x5e80d4120000).

Why only _Prev, only with work sent ahead, only on AMD.

  • Indices from the previous frame. The culls pick buffers from the whole view heap by index (SM 6.6 dynamic resources). The _Prev passes take those indices from the previous frame's records, so they can point at slots that have been described again since.
  • A stride table written ahead of the slots. The translated code chooses the buffer or constant-buffer load by stride[slot], from the SLOT_STRIDES table (emit/shader.rs). That's an 8 MB upload buffer, and the CPU writes a slot's entry the moment the slot is described (descriptor/host.rs, write_volatile, commented "shaders read it while we write (a dword, either value is one the slot had)").
  • Buffer views made lazily. A slot's buffer view is made only when something reads it (buffer_slots, at the next submission's preparation).
  • The window. Each dword is atomic, but its pairing with the slot's descriptor is not. A flight sent ahead can run between the two writes and see stride != 0 next to a slot that still holds a texture. With every submission waited for, that window never opens.
  • AMD only. On AMD, a T# read as a V# gives exactly the addresses above. Other vendors lay out their descriptors differently.

Tests that would settle it.

  1. Diagnostic: in the translated cull, store each heap index and the stride it read into a debug UAV, and read that back in the device-removed report. Or check in that report which slots of the view heap held image descriptors.
  2. Fix candidate: make the stride table follow the flights. Either write a slot's stride only once its view is in place for that submission, or give each flight a copy-on-write snapshot of the stride pages written while flights are in the air. If the faults stop with the relay on, the cause is confirmed.

On my card both culls fault whenever work is sent ahead: in run 22, 0452fc2d2e2fc4c3 faulted too, with only fc5e66f8f873d3bb skipped. Both run clean for 20 minutes with VICTORY_RELAY=0, as reported above.

No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.

**@⁠IxMxAMAR** on GitHub · 2026-11-25 17:54 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7170165814) A possible root cause of the `_Prev` meshlet-cull page faults: the culls read an **image descriptor as a buffer descriptor**. This comes from the fault addresses plus the fork's code. Nothing is changed or tested yet, so please check it against your own reports. **The addresses.** On AMD, the two descriptor types keep their base address differently: - A buffer descriptor (V#) holds `dword0 = base[31:0]` and `dword1[15:0] = base[47:32]`. - An image descriptor (T#) holds `dword0 = base >> 8` (images are 256-byte aligned) and `dword1[7:0] = base[47:40]`, followed by other fields. That's the layout in Mesa's descriptor code for gfx10 to gfx12. A buffer load that reads a T# as if it were a V# therefore goes to `(image_base >> 8) | (dword1[15:0] << 32)`. That's a small address: bits 32–39 are zero for any image below 1 TiB, and bits 40–47 come from the descriptor's next field. Here's every `_Prev` fault I have (@⁠GamingRipperDoc's from this thread, and mine on an RX 9070 XT), decoded that way: | page fault | reported by | implied image base | |---|---|---| | `0x252b000` | GamingRipperDoc | 9.29 GiB | | `0x253b000` | GamingRipperDoc (run 18) | 9.31 GiB | | `0x2570000` | GamingRipperDoc | 9.36 GiB | | `0x2804000` | GamingRipperDoc | 10.00 GiB | | `0x283a000` | mine (run 20, `fc5e66f8f873d3bb`) | 10.06 GiB | | `0x60000288e000` | GamingRipperDoc | 10.14 GiB | | `0x28ba000` | GamingRipperDoc | 10.18 GiB | | `0x600002aa2000` | mine (run 22, `0452fc2d2e2fc4c3`) | 10.66 GiB | | `0x2b0c000` | GamingRipperDoc | 10.76 GiB | | `0x2c0d000` | GamingRipperDoc | 11.01 GiB | | `0x3010000` | GamingRipperDoc (run 17) | 12.02 GiB | | `0x8000035c4000` | GamingRipperDoc | 13.44 GiB | | `0x400003e13000` | mine (run 17, `fc5e66f8f873d3bb`) | 15.52 GiB | All 13 land in one 9.3–15.5 GiB band, inside the range where the same reports show the host's heaps and copies (about 4 to 25 GiB). In every one, bits 32–39 are zero while bits 40–47 vary (`0x00`, `0x40`, `0x60`, `0x80`), as the T# layout predicts. A wild pointer would not cluster like that. Three of my faults from builds of 24 November don't fit (`0x117e36000`, `0xe80038120000`, `0x5e80d4120000`). **Why only `_Prev`, only with work sent ahead, only on AMD.** - **Indices from the previous frame.** The culls pick buffers from the whole view heap by index (SM 6.6 dynamic resources). The `_Prev` passes take those indices from the previous frame's records, so they can point at slots that have been described again since. - **A stride table written ahead of the slots.** The translated code chooses the buffer or constant-buffer load by `stride[slot]`, from the `SLOT_STRIDES` table (`emit/shader.rs`). That's an 8 MB upload buffer, and the CPU writes a slot's entry the moment the slot is described (`descriptor/host.rs`, `write_volatile`, commented "shaders read it while we write (a dword, either value is one the slot had)"). - **Buffer views made lazily.** A slot's buffer view is made only when something reads it (`buffer_slots`, at the next submission's preparation). - **The window.** Each dword is atomic, but its pairing with the slot's descriptor is not. A flight sent ahead can run between the two writes and see `stride != 0` next to a slot that still holds a texture. With every submission waited for, that window never opens. - **AMD only.** On AMD, a T# read as a V# gives exactly the addresses above. Other vendors lay out their descriptors differently. **Tests that would settle it.** 1. **Diagnostic:** in the translated cull, store each heap index and the stride it read into a debug UAV, and read that back in the device-removed report. Or check in that report which slots of the view heap held image descriptors. 2. **Fix candidate:** make the stride table follow the flights. Either write a slot's stride only once its view is in place for that submission, or give each flight a copy-on-write snapshot of the stride pages written while flights are in the air. If the faults stop with the relay on, the cause is confirmed. On my card both culls fault whenever work is sent ahead: in run 22, `0452fc2d2e2fc4c3` faulted too, with only `fc5e66f8f873d3bb` skipped. Both run clean for 20 minutes with `VICTORY_RELAY=0`, as reported above. No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 18:00 UTC · original

Thanks @⁠IxMxAMAR for including #837 in this run and for the detailed table. Very useful for RDNA 4 owners.

**@⁠PastiiJay** on GitHub · 2026-11-25 18:00 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7170307159) Thanks @⁠IxMxAMAR for including #837 in this run and for the detailed table. Very useful for RDNA 4 owners.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-25 23:49 UTC · original

@⁠IxMxAMAR's decoding holds, but the race doesn't seem to be the cause: closing the stride/descriptor window didn't stop the _Prev faults. What did stop them: reading a slot as a constant buffer only when it really holds one. Two runs went 463 s and 600 s with no device loss, with the relay on and both _Prev programs running.

Same setup as my last comments (RX 9070 XT, Windows 10 22H2, same stack, diag build, the default relay, nothing skipped).

run change result
21 every slot change between a buffer view and anything else waits for what was sent ahead (settle_before_heap_writes) before the stride and the view are written (136,164 waits) device removed at 156 s, indirect kind 2 of 0452fc2d2e2fc4c3, page fault at 0x3000026e1000
22 the stride table marks constant-buffer slots; a picked slot is read as a constant buffer only when marked, and any other non-buffer reads zeros no device loss; ended at 463 s by the title's own stop at +0x5149aec (the full instance pool of #378, same stack)
23 the same, again no device loss for the full 10 min (about 30 submissions sent ahead a frame)

Before these, every run that sent work ahead and ran both _Prev programs lost the device, within 88–291 s (15 runs).

Run 21's address decodes like the 13 in @⁠IxMxAMAR's table: bits 32–39 zero, 0x30 in bits 40–47, and an implied image base of about 9.7 GiB.

Why the race isn't needed. In the translated programs, a buffer picked from the heap by index (ResourceHeap) is read raw when stride[slot] != 0. Otherwise it's read as a constant buffer (emit/lower.rs, the scalar load that calls slot_stride). A constant-buffer read on AMD takes the slot's descriptor as a buffer descriptor too. So a slot that holds a texture at that moment, with its stride correctly 0, gives exactly the T#-as-V# address, with no torn write and no stride/descriptor window. Run 21 closed that window and still faulted. Runs 22–23 keep the fallback away from texture slots and didn't.

What the experiment does (VICTORY_CONSTANT_MARKS=1, off by default):

  • host: note_buffer writes u32::MAX into the stride table for a slot that holds a constant-buffer view (View::Constant); buffer views keep their stride, everything else 0;
  • translator: slot_stride turns the mark back into stride 0 for the raw path; the constant-buffer load runs only where the mark is; a slot that is neither reads zeros.

Still open:

  • which slot the two programs pick that holds a texture, and why only when work is sent ahead. One guess: the _Prev passes take their indices from the previous frame's records, and with work sent ahead a slot named there has been described again as a texture by the time they run. I haven't checked it;
  • whether zeros are right for those reads or something should be drawn there. Nothing in the logs looked wrong, but I haven't compared the picture;
  • one run more of each would be better than two; I'd welcome a run on another RDNA card.

I can open the experiment as a PR if it's useful, or keep it local until the slot is found.

No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.

**@⁠GamingRipperDoc** on GitHub · 2026-11-25 23:49 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7178110110) **@⁠IxMxAMAR's decoding holds, but the race doesn't seem to be the cause: closing the stride/descriptor window didn't stop the `_Prev` faults. What did stop them: reading a slot as a constant buffer only when it really holds one. Two runs went 463 s and 600 s with no device loss, with the relay on and both `_Prev` programs running.** Same setup as my last comments (RX 9070 XT, Windows 10 22H2, same stack, diag build, the default relay, nothing skipped). | run | change | result | |---|---|---| | 21 | every slot change between a buffer view and anything else waits for what was sent ahead (`settle_before_heap_writes`) before the stride and the view are written (136,164 waits) | device removed at 156 s, `indirect kind 2` of `0452fc2d2e2fc4c3`, page fault at `0x3000026e1000` | | 22 | the stride table marks constant-buffer slots; a picked slot is read as a constant buffer only when marked, and any other non-buffer reads zeros | no device loss; ended at 463 s by the title's own stop at `+0x5149aec` (the full instance pool of #378, same stack) | | 23 | the same, again | **no device loss for the full 10 min** (about 30 submissions sent ahead a frame) | Before these, every run that sent work ahead and ran both `_Prev` programs lost the device, within 88–291 s (15 runs). Run 21's address decodes like the 13 in @⁠IxMxAMAR's table: bits 32–39 zero, `0x30` in bits 40–47, and an implied image base of about 9.7 GiB. **Why the race isn't needed.** In the translated programs, a buffer picked from the heap by index (`ResourceHeap`) is read raw when `stride[slot] != 0`. Otherwise it's read as a constant buffer (`emit/lower.rs`, the scalar load that calls `slot_stride`). A constant-buffer read on AMD takes the slot's descriptor as a buffer descriptor too. So a slot that holds a texture at that moment, with its stride correctly 0, gives exactly the T#-as-V# address, with no torn write and no stride/descriptor window. Run 21 closed that window and still faulted. Runs 22–23 keep the fallback away from texture slots and didn't. **What the experiment does** (`VICTORY_CONSTANT_MARKS=1`, off by default): - host: `note_buffer` writes `u32::MAX` into the stride table for a slot that holds a constant-buffer view (`View::Constant`); buffer views keep their stride, everything else 0; - translator: `slot_stride` turns the mark back into stride 0 for the raw path; the constant-buffer load runs only where the mark is; a slot that is neither reads zeros. **Still open:** - which slot the two programs pick that holds a texture, and why only when work is sent ahead. One guess: the `_Prev` passes take their indices from the previous frame's records, and with work sent ahead a slot named there has been described again as a texture by the time they run. I haven't checked it; - whether zeros are right for those reads or something should be drawn there. Nothing in the logs looked wrong, but I haven't compared the picture; - one run more of each would be better than two; I'd welcome a run on another RDNA card. I can open the experiment as a PR if it's useful, or keep it local until the slot is found. No game data in this comment. AI-assisted (Claude Code); the runs are on my machine.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-26 01:27 UTC · original

The fix is now a PR: #1216 (#1216). A slot picked by index is read as a constant buffer only if it holds one. On current main with an RX 9070 XT, it ran 10 min without device loss. The same build without it lost the device at 279 s.

No game data in this comment.

AI-assisted (Claude Code)

**@⁠GamingRipperDoc** on GitHub · 2026-11-26 01:27 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7179785760) The fix is now a PR: #1216 (https://git.gtahub.st/github/fxceless--victory-fork/pulls/1216). A slot picked by index is read as a constant buffer only if it holds one. On current main with an RX 9070 XT, it ran 10 min without device loss. The same build without it lost the device at 279 s. No game data in this comment. AI-assisted (Claude Code)
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-26 01:49 UTC · original

Where things stand on the RX 9070 XT (driver 32.0.32029.2010; Core Ultra 5 225, 32 GB) on main 32b31f7, before a few quiet days on our side:

  • _Prev device removals: #1195. With the relay on and both culls running, three runs went 17, 14 and 20 minutes without one. #1216 fixes the same read the other way round; either is fine with us (the differences are on #1195).
  • amdxc64.dll+0x861b9f: #1213. A buffer's getDimensions through the same uniform heap handle as its loads crashes AMD's compiler. A handle of its own builds all five programs that crash here (f16876929fa64f9f, 878933b499cfa14d, a567b9ef845fb680, c1eee35dbc50a9ef, 27ce027e7188bed3), and a whole-archive translate --pipelines made all 25,636 pipelines. #984 alone rescues three of the five.
  • With both, the only skip left here is 42683eebec081520, not retried yet.
  • Memory: the process holds 28-31 GB private with about 11 GB resident, and hard faults reach thousands a second. On 32 GB, close other big programs first.
  • Time on main's defaults (diagnostics build, DRED on): median about 260 ms a frame at about 4,500 draws, of which about 150 ms is copy-back (58 MB) and 110 ms waiting for the card.
  • avatarmanz/VIctory-7900XTX's thin recording (VICTORY_THIN), ported here: no gain on this 10-thread CPU (median 343 against 262 ms; its translation took about 24 us a call against about 5 on the title's threads), so not proposed.
**@⁠IxMxAMAR** on GitHub · 2026-11-26 01:49 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7180176609) Where things stand on the RX 9070 XT (driver 32.0.32029.2010; Core Ultra 5 225, 32 GB) on main 32b31f7, before a few quiet days on our side: - `_Prev` device removals: #1195. With the relay on and both culls running, three runs went 17, 14 and 20 minutes without one. #1216 fixes the same read the other way round; either is fine with us (the differences are on #1195). - `amdxc64.dll+0x861b9f`: #1213. A buffer's `getDimensions` through the same uniform heap handle as its loads crashes AMD's compiler. A handle of its own builds all five programs that crash here (`f16876929fa64f9f`, `878933b499cfa14d`, `a567b9ef845fb680`, `c1eee35dbc50a9ef`, `27ce027e7188bed3`), and a whole-archive `translate --pipelines` made all 25,636 pipelines. #984 alone rescues three of the five. - With both, the only skip left here is `42683eebec081520`, not retried yet. - Memory: the process holds 28-31 GB private with about 11 GB resident, and hard faults reach thousands a second. On 32 GB, close other big programs first. - Time on main's defaults (diagnostics build, DRED on): median about 260 ms a frame at about 4,500 draws, of which about 150 ms is copy-back (58 MB) and 110 ms waiting for the card. - avatarmanz/VIctory-7900XTX's thin recording (`VICTORY_THIN`), ported here: no gain on this 10-thread CPU (median 343 against 262 ms; its translation took about 24 us a call against about 5 on the title's threads), so not proposed.
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-26 01:59 UTC · original

Thanks, that settles it: the decode holds, and the race I proposed doesn't explain the faults. A slot holding a texture with its stride correctly 0 is enough, through the constant-buffer fallback. Our three runs with #1195 had SKIP and the write order together, so they can't tell the two apart. With your run 21 the write order looks unneeded for _Prev, and I can drop it from #1195 if the maintainer wants the smaller change.

**@⁠IxMxAMAR** on GitHub · 2026-11-26 01:59 UTC · [original](https://github.com/fxceless/victory-fork/issues/3#issuecomment-7180351117) Thanks, that settles it: the decode holds, and the race I proposed doesn't explain the faults. A slot holding a texture with its stride correctly 0 is enough, through the constant-buffer fallback. Our three runs with #1195 had SKIP and the write order together, so they can't tell the two apart. With your run 21 the write order looks unneeded for `_Prev`, and I can drop it from #1195 if the maintainer wants the smaller change.
This discussion has been locked. Commenting is limited to contributors.
No description provided.