RX 6950 XT (RDNA2): host GPU device removed during world load, every run, no TDR event #82

Closed
opened 2026-11-26 13:24:31 +00:00 by a15106479638-hub · 33 comments
a15106479638-hub commented 2026-11-26 13:24:31 +00:00 (Migrated from github.com)
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-26T13:24:31Z.


RX 6950 XT (RDNA2): host GPU device removed during world load, every run, no TDR event

Environment

GPU AMD Radeon RX 6950 XT, 16 GB (RDNA2)
Driver Adrenalin 32.0.21045.29003 (2026-11-17)
CPU Intel Core i5-12600KF
RAM 32 GB (31.8 GB visible); system-managed page file on the boot SSD; commit limit 42.3 GB
OS Windows 11 Insider Preview, build 26300.8935, x64
Display 3840×2160, 150 % scaling
Build beta-2 branch (Lab 62), built from source, Rust 1.98.1
FSR FidelityFX SDK 2.4.0, Kits\FidelityFX\signedbin
Title Xbox Series build 1.0.2.1 (game_scarlett_master.exe, title id 7952987A)

What works

  • Build: cargo build --release clean.
  • Pre-build: translate --cache --pipelines --jobs 8 shaders.rpf → 27097/27097 pipelines, ~19 min, one pass, no driver crash. Later runs report 27090 already pre-built.
  • Boot: start screen and menus render at 30 fps.
  • FSR is in use — the run log prints:
    fidelityfx ...\amd_fidelityfx_upscaler_dx12.dll (host, for the title's upscaler)

What fails

Every run ends the same way 1.5–3.5 minutes after launch, while the world is still loading; the title never reaches gameplay.

ERROR victory_gpu::host: host GPU device removed after N submissions sent ahead
  (VICTORY_RELAY=1) of M lists; no breadcrumbs (0x887A0004);
  device removed: GPU not responding to more commands (0x887A0007)
KLBF Lab: host GPU failure: host GPU device removed ...

16 consecutive runs, N between 1 and 55, M between 76 and 236 — I can paste the whole crashes.log.

It does not look like a TDR

  • I set TdrDelay=10 and TdrDdiDelay=10 (DWORD, HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers), rebooted, and verified both values are in effect from boot.
  • No Event ID 4101 ("display driver stopped responding and has recovered") in the System log after any run.
  • Behaviour unchanged: same crash point.

So the device is lost without the watchdog firing, which reads more like the driver faulting than a command taking too long.

What I ruled out

  1. Memory / commit limit. With play.ps1 as shipped, commit charge climbed to 41.9 GB against a 41.6 GB limit, and one run also died earlier with memory allocation of 1048576 bytes failed plus texture creation failed (0x8007000E). After reducing the pre-allocated pools (below) the peak stayed at 36–38 GB, well under the limit — the device removal still happened at the same point, so it is independent of memory pressure.
  2. VICTORY_LATE_WAIT=0 (the workaround mentioned in the README for "device lost about a minute after the world starts loading"): on this machine it made things worse — device removed at ~60 s instead of ~180 s.
  3. Console profile. Series X and Series S (--console series-s) both fail.
  4. -LowMemory (VICTORY_TEXTURE_MAX_DIM=512): lowers the memory peak, does not change the crash.
  5. Pre-build. Complete before every run.

Settings used (diff from play.ps1)

Identical to play.ps1 except the pool sizes, which I reduced so a 32 GB machine can fit the run:

VICTORY_CARD_WINDOWS_MB  4096 -> 1024
VICTORY_CARD_BUFFERS_MB  1536 -> 512
VICTORY_STAGE_POOL_MB    2048 -> 512
VICTORY_LIST_POOL_MB     2048 -> 512
VICTORY_LIST_POOL_MOST   2048 -> 512
VICTORY_TEXTURE_STAGE_MB  512 -> 256
play-tuned.ps1 -GameDir <game> -FfxDir <signedbin> -LowMemory

This may be worth documenting on its own: with the shipped pools a run on a 32 GB machine hits the Windows commit limit before the GPU failure, so the two problems mask each other.

Two questions

  1. Anything I can try on RDNA2? The report for an RX 6900 XT (archived beta repo, #2) ran 19 minutes without a device removal, so RDNA2 can work — is there something in this build's RDNA2 path that could cause this?
  2. Is a VICTORY_D3D12_DEBUG=1 / DRED run useful? I can build a diagnostics profile and send the output if that helps name the command.
<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:6627621948 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-26T13:24:31Z. --- # RX 6950 XT (RDNA2): host GPU device removed during world load, every run, no TDR event ## Environment | | | |---|---| | GPU | AMD Radeon RX 6950 XT, 16 GB (RDNA2) | | Driver | Adrenalin 32.0.21045.29003 (2026-11-17) | | CPU | Intel Core i5-12600KF | | RAM | 32 GB (31.8 GB visible); system-managed page file on the boot SSD; commit limit 42.3 GB | | OS | Windows 11 Insider Preview, build 26300.8935, x64 | | Display | 3840×2160, 150 % scaling | | Build | `beta-2` branch (Lab 62), built from source, Rust 1.98.1 | | FSR | FidelityFX SDK 2.4.0, `Kits\FidelityFX\signedbin` | | Title | Xbox Series build 1.0.2.1 (`game_scarlett_master.exe`, title id 7952987A) | ## What works - Build: `cargo build --release` clean. - Pre-build: `translate --cache --pipelines --jobs 8 shaders.rpf` → **27097/27097 pipelines, ~19 min, one pass, no driver crash.** Later runs report `27090 already pre-built`. - Boot: start screen and menus render at **30 fps**. - FSR is in use — the run log prints: `fidelityfx ...\amd_fidelityfx_upscaler_dx12.dll (host, for the title's upscaler)` ## What fails Every run ends the same way **1.5–3.5 minutes after launch, while the world is still loading**; the title never reaches gameplay. ``` ERROR victory_gpu::host: host GPU device removed after N submissions sent ahead (VICTORY_RELAY=1) of M lists; no breadcrumbs (0x887A0004); device removed: GPU not responding to more commands (0x887A0007) KLBF Lab: host GPU failure: host GPU device removed ... ``` 16 consecutive runs, N between 1 and 55, M between 76 and 236 — I can paste the whole `crashes.log`. ## It does not look like a TDR - I set `TdrDelay=10` and `TdrDdiDelay=10` (DWORD, `HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers`), rebooted, and verified both values are in effect from boot. - **No Event ID 4101** ("display driver stopped responding and has recovered") in the System log after any run. - Behaviour unchanged: same crash point. So the device is lost *without* the watchdog firing, which reads more like the driver faulting than a command taking too long. ## What I ruled out 1. **Memory / commit limit.** With `play.ps1` as shipped, commit charge climbed to **41.9 GB against a 41.6 GB limit**, and one run also died earlier with `memory allocation of 1048576 bytes failed` plus `texture creation failed (0x8007000E)`. After reducing the pre-allocated pools (below) the peak stayed at **36–38 GB**, well under the limit — **the device removal still happened at the same point**, so it is independent of memory pressure. 2. **`VICTORY_LATE_WAIT=0`** (the workaround mentioned in the README for "device lost about a minute after the world starts loading"): on this machine it made things worse — device removed at ~60 s instead of ~180 s. 3. **Console profile.** Series X and Series S (`--console series-s`) both fail. 4. **`-LowMemory`** (`VICTORY_TEXTURE_MAX_DIM=512`): lowers the memory peak, does not change the crash. 5. **Pre-build.** Complete before every run. ## Settings used (diff from `play.ps1`) Identical to `play.ps1` except the pool sizes, which I reduced so a 32 GB machine can fit the run: ``` VICTORY_CARD_WINDOWS_MB 4096 -> 1024 VICTORY_CARD_BUFFERS_MB 1536 -> 512 VICTORY_STAGE_POOL_MB 2048 -> 512 VICTORY_LIST_POOL_MB 2048 -> 512 VICTORY_LIST_POOL_MOST 2048 -> 512 VICTORY_TEXTURE_STAGE_MB 512 -> 256 ``` ``` play-tuned.ps1 -GameDir <game> -FfxDir <signedbin> -LowMemory ``` This may be worth documenting on its own: with the shipped pools a run on a 32 GB machine hits the Windows commit limit *before* the GPU failure, so the two problems mask each other. ## Two questions 1. Anything I can try on RDNA2? The report for an RX 6900 XT (archived beta repo, #2) ran 19 minutes without a device removal, so RDNA2 can work — is there something in this build's RDNA2 path that could cause this? 2. Is a `VICTORY_D3D12_DEBUG=1` / DRED run useful? I can build a diagnostics profile and send the output if that helps name the command.
HandshakeHackin commented 2026-11-26 13:28:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-26T13:28:03Z.


There is a new beta-2 change for this card family since Lab 62. The maintainer’s RDNA 2 fix defaults AHEAD_FIRST, CARD_FLAGGED, PASSES_AHEAD and RELAY to off on RX 6000 cards. It follows the RX 6900 XT bisect in #52. Your RX 6950 XT is a useful independent check.

For one comparable run, rebuild current beta-2 and keep the pool sizes and scene from your tuned run. If play-tuned.ps1 came from Lab 62, check its $set block for the old VICTORY_RELAY = '2' entry and remove that entry so the new default can take effect. The same applies to explicit assignments for the other three switches. The startup line RDNA 2 adapter: AHEAD_FIRST, CARD_FLAGGED, PASSES_AHEAD and RELAY default to 0 (issue #52) confirms the adapter was recognized. The commit SHA, whether the world loads, and elapsed time to any removal would make the two runs comparable.

If you still get a removal and want DRED, I built a Windows diagnostics executable from 9e0db50, with the GPU code from upstream 8187780. It includes the executable checksum and revision. Set VICTORY_D3D12_DRED=1 inside your tuned launcher after its environment cleanup so the executable receives it. Build and adapter test.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193390914 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7193390914). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-26T13:28:03Z. --- There is a new beta-2 change for this card family since Lab 62. [The maintainer’s RDNA 2 fix](https://github.com/PastiiJay/klbf-lab/commit/5337516c6ca10312c36d3f078d815e17c7b6d64f) defaults `AHEAD_FIRST`, `CARD_FLAGGED`, `PASSES_AHEAD` and `RELAY` to off on RX 6000 cards. It follows the RX 6900 XT bisect in #52. Your RX 6950 XT is a useful independent check. For one comparable run, rebuild current `beta-2` and keep the pool sizes and scene from your tuned run. If `play-tuned.ps1` came from Lab 62, check its `$set` block for the old `VICTORY_RELAY = '2'` entry and remove that entry so the new default can take effect. The same applies to explicit assignments for the other three switches. The startup line `RDNA 2 adapter: AHEAD_FIRST, CARD_FLAGGED, PASSES_AHEAD and RELAY default to 0 (issue #52)` confirms the adapter was recognized. The commit SHA, whether the world loads, and elapsed time to any removal would make the two runs comparable. If you still get a removal and want DRED, I built [a Windows diagnostics executable](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45828347407/artifacts/15120971861) from `9e0db50`, with the GPU code from upstream `8187780`. It includes the executable checksum and revision. Set `VICTORY_D3D12_DRED=1` **inside your tuned launcher after its environment cleanup** so the executable receives it. [Build and adapter test](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45828347407/job/139938259396).
PastiiJay commented 2026-11-26 13:29:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T13:29:40Z.


Thanks @a15106479638-hub, this is a very complete report, and the commit-limit note for 32 GB machines deserves its own line in the guide. On RDNA2, the one switch we would try first is VICTORY_RELAY=0: in #52 an RX 6900 XT stayed stable with it while the relay modes lost the card. Note that play.ps1 currently resets that variable before launch (#81 fixes it), so for now set it and start victory.exe directly, or apply #81. If it still drops the device, yes, a VICTORY_D3D12_DEBUG=1 / DRED run would be the next most useful thing.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193427465 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7193427465). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T13:29:40Z. --- Thanks @a15106479638-hub, this is a very complete report, and the commit-limit note for 32 GB machines deserves its own line in the guide. On RDNA2, the one switch we would try first is `VICTORY_RELAY=0`: in #52 an RX 6900 XT stayed stable with it while the relay modes lost the card. Note that `play.ps1` currently resets that variable before launch (#81 fixes it), so for now set it and start `victory.exe` directly, or apply #81. If it still drops the device, yes, a `VICTORY_D3D12_DEBUG=1` / DRED run would be the next most useful thing.
PastiiJay commented 2026-11-26 13:30:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T13:30:25Z.


Update that makes my last note simpler: beta-2 got commit 8187780 a moment ago. On RDNA 2 cards like yours, AHEAD_FIRST, CARD_FLAGGED, PASSES_AHEAD and RELAY now default to 0 when unset, and play.ps1 no longer forces RELAY=2. So please git pull beta-2, rebuild, and run play.ps1 as usual; the log should show one line starting with RDNA 2 adapter: … default to 0 (issue #52). And thanks again for the commit-limit finding, we will add it to the guide.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193444876 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7193444876). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T13:30:25Z. --- Update that makes my last note simpler: `beta-2` got commit `8187780` a moment ago. On RDNA 2 cards like yours, `AHEAD_FIRST`, `CARD_FLAGGED`, `PASSES_AHEAD` and `RELAY` now default to 0 when unset, and `play.ps1` no longer forces `RELAY=2`. So please `git pull` beta-2, rebuild, and run `play.ps1` as usual; the log should show one line starting with `RDNA 2 adapter: … default to 0 (issue #52)`. And thanks again for the commit-limit finding, we will add it to the guide.
HandshakeHackin commented 2026-11-26 13:48:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-26T13:48:52Z.


I added the 32 GB commit-limit finding to the Windows guide in the existing docs PR #13. It points readers to Task Manager’s Committed values and credits this report for both measurements: roughly 42 GB at the limit with the shipped pools, then 36–38 GB with smaller pools and the device removal still present. The docs PR targets beta. Guide-only commit for the beta-2 docs batch.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193873708 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7193873708). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-26T13:48:52Z. --- I added the 32 GB commit-limit finding to the Windows guide in the existing docs PR #13. It points readers to Task Manager’s **Committed** values and credits this report for both measurements: roughly 42 GB at the limit with the shipped pools, then 36–38 GB with smaller pools and the device removal still present. The docs PR targets `beta`. [Guide-only commit for the beta-2 docs batch](https://github.com/HandshakeHackin/klbf-lab/commit/7d75d0fa8eec620eb41c9dbf41e561cbc78cda27).
PastiiJay commented 2026-11-26 13:59:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T13:59:32Z.


Thanks @HandshakeHackin for writing that up with the Committed values and credit. @a15106479638-hub, the guide note is in #13; the next useful thing from you is still the run on the updated beta-2 (git pull, rebuild, play.ps1 as usual).

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7194120819 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7194120819). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T13:59:32Z. --- Thanks @HandshakeHackin for writing that up with the Committed values and credit. @a15106479638-hub, the guide note is in #13; the next useful thing from you is still the run on the updated beta-2 (`git pull`, rebuild, `play.ps1` as usual).
a15106479638-hub commented 2026-11-26 14:04:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-26T14:04:21Z.


Thanks both — the fix works on the RX 6950 XT. Reporting back as asked.

Run: beta-2 at 8187780 (rebuilt from source, Rust 1.98.1). Settings are the branch's play.ps1 with only my pool reductions and no VICTORY_RELAY assignment:

VICTORY_CARD_WINDOWS_MB  4096 -> 1024
VICTORY_CARD_BUFFERS_MB  1536 -> 512
VICTORY_STAGE_POOL_MB    2048 -> 512
VICTORY_LIST_POOL_MB     2048 -> 512
VICTORY_LIST_POOL_MOST   2048 -> 512
VICTORY_TEXTURE_STAGE_MB  512 -> 256

-LowMemory, Series S + FSR (SDK 2.4.0).

The startup line confirms the adapter was recognized:

INFO victory_gpu::host: RDNA 2 adapter: AHEAD_FIRST, CARD_FLAGGED, PASSES_AHEAD and RELAY default to 0 (issue #52)

The device is no longer removed, and the world loads. I stopped it at ~9 minutes, where every previous run lost the card at 150–210 s. The prison prologue renders; I have a screenshot if it helps.

It is not playable on this machine yet: 0.3–1.8 fps. Last frame line:

0.3 fps, 3463.9 ms/frame (580.1 preparing: copies 38.1 ms 234.1 MB, textures 507.4 ms 1500.7 MB;
120.2 on the GPU; 289.3 copying back 7.9 MB), 1288 draws/frame, dropped 301 without a host pipeline
(0 being made) and 15 indirect; heap buffers 1.0 passes 1221.7 ms;
textures picked by index: 332867 uploaded so far (117062 MB), 3336 waiting

Commit charge sits at 42.8 of a 43.3 GB limit throughout, and 117 GB of textures have been uploaded — it is thrashing. The GPU itself is only ~120 ms busy per frame; the cost is on the CPU side (heap buffer passes 1221 ms, texture uploads 507 ms).

So the RDNA2 device-removal bug looks fixed. What is left here is 16 GB of VRAM and 32 GB of RAM against the title's texture churn — which I do not think any switch will fix.

The commit-limit finding still stands and is worth the guide line: on a 32 GB machine the shipped pools put the run at the Windows commit limit before the GPU ever gets going, so a machine like this fails for a second, unrelated reason and never reaches the RDNA2 bug at all.

Happy to do either of these next if useful:

  1. a DRED / diagnostics build run, now that the world loads, or
  2. RELAY=1, then RELAY=2, one at a time, to see whether any of them still holds the card now that the defaults are 0 — that would be the cheapest speed back if one does.
<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7194236597 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7194236597). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-26T14:04:21Z. --- Thanks both — the fix works on the RX 6950 XT. Reporting back as asked. **Run:** `beta-2` at `8187780` (rebuilt from source, Rust 1.98.1). Settings are the branch's `play.ps1` with **only** my pool reductions and no `VICTORY_RELAY` assignment: ``` VICTORY_CARD_WINDOWS_MB 4096 -> 1024 VICTORY_CARD_BUFFERS_MB 1536 -> 512 VICTORY_STAGE_POOL_MB 2048 -> 512 VICTORY_LIST_POOL_MB 2048 -> 512 VICTORY_LIST_POOL_MOST 2048 -> 512 VICTORY_TEXTURE_STAGE_MB 512 -> 256 ``` `-LowMemory`, Series S + FSR (SDK 2.4.0). **The startup line confirms the adapter was recognized:** ``` INFO victory_gpu::host: RDNA 2 adapter: AHEAD_FIRST, CARD_FLAGGED, PASSES_AHEAD and RELAY default to 0 (issue #52) ``` **The device is no longer removed, and the world loads.** I stopped it at ~9 minutes, where every previous run lost the card at 150–210 s. The prison prologue renders; I have a screenshot if it helps. **It is not playable on this machine yet: 0.3–1.8 fps.** Last frame line: ``` 0.3 fps, 3463.9 ms/frame (580.1 preparing: copies 38.1 ms 234.1 MB, textures 507.4 ms 1500.7 MB; 120.2 on the GPU; 289.3 copying back 7.9 MB), 1288 draws/frame, dropped 301 without a host pipeline (0 being made) and 15 indirect; heap buffers 1.0 passes 1221.7 ms; textures picked by index: 332867 uploaded so far (117062 MB), 3336 waiting ``` Commit charge sits at 42.8 of a 43.3 GB limit throughout, and 117 GB of textures have been uploaded — it is thrashing. The GPU itself is only ~120 ms busy per frame; the cost is on the CPU side (heap buffer passes 1221 ms, texture uploads 507 ms). So the RDNA2 device-removal bug looks fixed. What is left here is 16 GB of VRAM and 32 GB of RAM against the title's texture churn — which I do not think any switch will fix. **The commit-limit finding still stands and is worth the guide line:** on a 32 GB machine the shipped pools put the run at the Windows commit limit before the GPU ever gets going, so a machine like this fails for a second, unrelated reason and never reaches the RDNA2 bug at all. Happy to do either of these next if useful: 1. a DRED / diagnostics build run, now that the world loads, or 2. `RELAY=1`, then `RELAY=2`, one at a time, to see whether any of them still holds the card now that the defaults are 0 — that would be the cheapest speed back if one does.
PastiiJay commented 2026-11-26 14:09:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T14:09:29Z.


Great news, thank you for reporting back so carefully: no more device removal on RDNA 2 and the world loads, which is exactly what #52 was meant to fix. Please keep the screenshot to yourself though; we keep game images out of the repo, and your log lines say more anyway. Your numbers point at memory, not the GPU: commit stuck at 42.8 of 43.3 GB while textures keep re-uploading. One experiment that would tell us a lot: a fixed, larger page file (for example 64 GB) so the commit limit is far above the peak, then the same run, to see whether the 1.2 s heap-buffer passes and texture churn shrink.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7194357928 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7194357928). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T14:09:29Z. --- Great news, thank you for reporting back so carefully: no more device removal on RDNA 2 and the world loads, which is exactly what #52 was meant to fix. Please keep the screenshot to yourself though; we keep game images out of the repo, and your log lines say more anyway. Your numbers point at memory, not the GPU: commit stuck at 42.8 of 43.3 GB while textures keep re-uploading. One experiment that would tell us a lot: a fixed, larger page file (for example 64 GB) so the commit limit is far above the peak, then the same run, to see whether the 1.2 s heap-buffer passes and texture churn shrink.
a15106479638-hub commented 2026-11-26 15:42:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-26T15:42:38Z.


Three more experiments since the last report, all on beta-2 @ 8187780, RX 6950 XT (16 GB, Adrenalin 32.0.21045.29003), i5-12600KF, 32 GB RAM, Windows 11 26300.8935, FSR SDK 2.4.0, -LowMemory, Series S + FSR, with my pool reductions only (no explicit RELAY assignment).

The short version. The split point is RELAY, and on this card it is all-or-nothing:

RELAY=0 RELAY=1
world fps 1.5 7.0 mean, 12.4 max
device removed never (9 min) at ~6 min

Turning the relay on is worth 5x — and it is also what takes the device. The 5x is the copy-back leaving the submitting thread (463.3 ms → 43.6 ms); the copy-back is the thing that kills the card. I could not find anything between the two ends, and a larger page file is neither possible here nor the missing piece (the commit limit was 4.1–4.4 GB above the peak in both runs). Details below.

1. The larger page file: cannot be done here, and the numbers already answer it

A fixed 64 GB page file is not possible on this machine. The only internal disk is a 118 GB NVMe with 13.9 GB free; 64 GB of commit with 31.8 GB of RAM needs a ~32 GB page file. The second disk is USB-attached and Windows will not create a page file on it (I set d:\pagefile.sys 24576 24576, rebooted, and it was never created). Even clearing every cache I can reach leaves about 15 GB free, which caps the page file at ~12 GB — a commit limit of ~43.7 GB, against the 42.8 GB already in place.

But the experiment has effectively already run, because the commit limit was not binding in the last two runs:

run commit peak limit headroom left
RELAY=0 38.2 GB 42.3 GB 4.1 GB unused
RELAY=1 38.4 GB 42.8 GB 4.4 GB unused

So do not spend a reboot on this at my end; there was nothing left to give.

2. What the baseline did change

I did run the closest version of it: closing the background apps (browser, chat client, Radeon Software) took idle commit from 15.4 GB to 8.0 GB, which gave the run 31.3 GB of room under the limit instead of 26.9 GB.

It fixed one thing and not the other:

high pressure low pressure
commit peak 42.8 / 43.3 GB 38.2 / 42.3 GB
frame 3463.9 ms 660.4 ms
draws/frame 1288 3478
heap-buffer passes 1221.7 ms 25.8 ms
copying back 289.3 ms 463.3 ms
on the GPU 120.2 ms 107.7 ms
fps 0.3 1.5

You were right that memory pressure was doing damage — the heap-buffer passes go from 1221 ms to 25.8 ms once the limit is out of the way, which is also what those 3.4 s frames were. But the frame that is left is dominated by the copy-back, not by memory.

3. RELAY, three configurations

configuration world fps (>500 draws) device removed
RELAY=0 (new default) 1.5 none in 9 min
RELAY=1 7.0 mean, 12.4 max ~360 s
RELAY=1 + RELAY_OWN_QUEUE=0 3.7 mean, 7.1 max ~210 s

With RELAY=1, copying back drops 463.3 ms → 43.6 ms and the GPU time 107.7 → 23.9 ms — the 5x isexactly the copy-back moving off the submitting thread. And that is exactly what takes the card:

KLBF Lab: host GPU failure: host GPU device removed after 30 submissions sent ahead
(VICTORY_RELAY=1) of 223 lists; no breadcrumbs (0x887A0004)

The RELAY_OWN_QUEUE=0 variant was my guess at a middle ground. It is worse on both counts, so the queue of its own is not the culprit — it is buying speed and time here, not costing them.

Two things worth having on record: RELAY=1 survives about twice as long as the old RELAY=2 did (360 s against 150–210 s), so this is not "any relay dies at once"; and the relay looks all-or-nothing — RELAY=0 never loses the card, RELAY=1 always does.

Where that leaves it

This machine has 1.5 fps that never drops the device, or ~7 fps for six minutes. I could not find a configuration between the two, and I do not think the remaining gap is a switch: it is 16 GB of VRAM and 32 GB of RAM against a title that re-uploads 84–117 GB of textures per run.

If there is a design direction in this, the numbers say it is this: a relay that can fail and be rebuilt instead of taking the device down with it. The five-fold difference between RELAY=0 and RELAY=1 is what that would be worth here.

I still have every run's full stderr and the 18 crashes.log entries and can paste any of it, and I can run a DRED/diagnostics build on request.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7196644229 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7196644229). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-26T15:42:38Z. --- Three more experiments since the last report, all on `beta-2` @ `8187780`, RX 6950 XT (16 GB, Adrenalin 32.0.21045.29003), i5-12600KF, 32 GB RAM, Windows 11 26300.8935, FSR SDK 2.4.0, `-LowMemory`, Series S + FSR, with my pool reductions only (no explicit `RELAY` assignment). **The short version.** The split point is `RELAY`, and on this card it is all-or-nothing: | | `RELAY=0` | `RELAY=1` | |---|---|---| | world fps | 1.5 | **7.0 mean, 12.4 max** | | device removed | never (9 min) | **at ~6 min** | Turning the relay on is worth **5x** — and it is also what takes the device. The 5x is the copy-back leaving the submitting thread (463.3 ms → 43.6 ms); the copy-back is the thing that kills the card. I could not find anything between the two ends, and a larger page file is neither possible here nor the missing piece (the commit limit was 4.1–4.4 GB above the peak in both runs). Details below. ## 1. The larger page file: cannot be done here, and the numbers already answer it A fixed 64 GB page file is not possible on this machine. The only internal disk is a 118 GB NVMe with **13.9 GB free**; 64 GB of commit with 31.8 GB of RAM needs a ~32 GB page file. The second disk is USB-attached and Windows will not create a page file on it (I set `d:\pagefile.sys 24576 24576`, rebooted, and it was never created). Even clearing every cache I can reach leaves about 15 GB free, which caps the page file at ~12 GB — a commit limit of ~43.7 GB, against the 42.8 GB already in place. But the experiment has effectively already run, because **the commit limit was not binding in the last two runs**: | run | commit peak | limit | headroom left | |---|---|---|---| | `RELAY=0` | 38.2 GB | 42.3 GB | **4.1 GB unused** | | `RELAY=1` | 38.4 GB | 42.8 GB | **4.4 GB unused** | So do not spend a reboot on this at my end; there was nothing left to give. ## 2. What the baseline did change I did run the closest version of it: closing the background apps (browser, chat client, Radeon Software) took idle commit from **15.4 GB to 8.0 GB**, which gave the run **31.3 GB** of room under the limit instead of 26.9 GB. It fixed one thing and not the other: | | high pressure | low pressure | |---|---|---| | commit peak | 42.8 / 43.3 GB | 38.2 / 42.3 GB | | frame | 3463.9 ms | 660.4 ms | | draws/frame | 1288 | 3478 | | **heap-buffer passes** | **1221.7 ms** | **25.8 ms** | | **copying back** | 289.3 ms | **463.3 ms** | | on the GPU | 120.2 ms | 107.7 ms | | fps | 0.3 | 1.5 | **You were right that memory pressure was doing damage** — the heap-buffer passes go from 1221 ms to 25.8 ms once the limit is out of the way, which is also what those 3.4 s frames were. But the frame that is left is dominated by the copy-back, not by memory. ## 3. `RELAY`, three configurations | configuration | world fps (>500 draws) | device removed | |---|---|---| | `RELAY=0` (new default) | 1.5 | **none in 9 min** | | `RELAY=1` | **7.0 mean, 12.4 max** | ~360 s | | `RELAY=1` + `RELAY_OWN_QUEUE=0` | 3.7 mean, 7.1 max | ~210 s | With `RELAY=1`, copying back drops **463.3 ms → 43.6 ms** and the GPU time 107.7 → 23.9 ms — the 5x isexactly the copy-back moving off the submitting thread. And that is exactly what takes the card: ``` KLBF Lab: host GPU failure: host GPU device removed after 30 submissions sent ahead (VICTORY_RELAY=1) of 223 lists; no breadcrumbs (0x887A0004) ``` The `RELAY_OWN_QUEUE=0` variant was my guess at a middle ground. It is worse on both counts, so the queue of its own is not the culprit — it is buying speed and time here, not costing them. Two things worth having on record: `RELAY=1` survives about **twice as long as the old `RELAY=2` did** (360 s against 150–210 s), so this is not "any relay dies at once"; and the relay looks **all-or-nothing** — `RELAY=0` never loses the card, `RELAY=1` always does. ## Where that leaves it This machine has 1.5 fps that never drops the device, or ~7 fps for six minutes. I could not find a configuration between the two, and I do not think the remaining gap is a switch: it is 16 GB of VRAM and 32 GB of RAM against a title that re-uploads 84–117 GB of textures per run. If there is a design direction in this, the numbers say it is this: a relay that can **fail and be rebuilt** instead of taking the device down with it. The five-fold difference between `RELAY=0` and `RELAY=1` is what that would be worth here. I still have every run's full stderr and the 18 `crashes.log` entries and can paste any of it, and I can run a DRED/diagnostics build on request.
PastiiJay commented 2026-11-26 15:47:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T15:47:11Z.


Thank you, this is the clearest picture we have had of the relay on RDNA 2: the memory pressure part is solved by freeing commit, and what is left is a clean trade between RELAY=0 (stable, slow) and RELAY=1 (5x faster, loses the card at ~6 min). Your design point, a relay that can fail and be rebuilt instead of taking the device down, is noted. Next step that would help most: one RELAY=1 run with VICTORY_D3D12_DEBUG=1 (DRED), so the removal names the command it died on.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7196748091 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7196748091). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T15:47:11Z. --- Thank you, this is the clearest picture we have had of the relay on RDNA 2: the memory pressure part is solved by freeing commit, and what is left is a clean trade between `RELAY=0` (stable, slow) and `RELAY=1` (5x faster, loses the card at ~6 min). Your design point, a relay that can fail and be rebuilt instead of taking the device down, is noted. Next step that would help most: one `RELAY=1` run with `VICTORY_D3D12_DEBUG=1` (DRED), so the removal names the command it died on.
a15106479638-hub commented 2026-11-26 16:14:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-26T16:14:26Z.


Ran it. beta-2 @ 8187780, built with cargo build --profile diag -p victory --features diagnostics (target\diag\victory.exe), VICTORY_RELAY=1, VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, otherwise the same settings as before. Same outcome as the release build — removed at ~360 s, ~6,400 draws, 1.4 fps at the end — so the diagnostic build does not change the behaviour.

One thing you should know first: this machine has no D3D12 debug layer. The run logged

WARN victory_gpu::host: no D3D12 debug layer error=0x887A002D

so D3D12GetDebugInterface fails and DRED's auto-breadcrumbs come back empty (breadcrumbs (done/count, list) []). Installing the Graphics Tools optional feature (admin) would fix that — say the word and I will do it and repeat the run.

But the diagnostics build's own record still names the command, which is what we needed:

host GPU device removed after 29 submissions sent ahead (VICTORY_RELAY=1) of 198 lists;
breadcrumbs (done/count, list) [];
list 2 of 198, of its 8: copy to 0x179cb604460 64x320 f41 sub/kind 0 at 0,0,0
  from 0x17893b55fd0 kind 1 footprint Some(PlacedFootprint { offset: 0, format: 41,
  width: 64, height: 320, depth: 1, row_pitch: 256 }) box None;
list 2 of 198, of its 8: dispatch 8x1x1 [compute ce684a9201818f3f] |
ce684a9201818f3f: u4=0xd3fc00 [heap 434144: Unordered(1622742642512, 0,
  Some([0, 1, 0, 0, 512, 8, 0, 0, 0, 32765])) title 0x98dc5c8c0+0x1000 host Some(...

So it dies in list 2 of 198, at command 8 of that list's 8: a 64×320 format-41 copy through a placed footprint with row pitch 256, recorded next to an 8×1×1 compute dispatch of ce684a9201818f3f writing an unordered buffer at heap 434144 (title memory 0x98dc5c8c0+0x1000).

Two questions:

  1. Is ce684a9201818f3f enough to identify the program on your side? If it translates cleanly I can dump its translation, the containing shader container, and the exact list contents around command 8 from the diagnostics build — just tell me which of those would help.
  2. Would real DRED data still add something over the above, now that we have the list and the command index? If yes I will install Graphics Tools and repeat — it is one admin command and a reboot-free change here.
<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7197375290 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7197375290). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-26T16:14:26Z. --- Ran it. `beta-2` @ `8187780`, built with `cargo build --profile diag -p victory --features diagnostics` (`target\diag\victory.exe`), `VICTORY_RELAY=1`, `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, otherwise the same settings as before. Same outcome as the release build — removed at ~360 s, ~6,400 draws, 1.4 fps at the end — so the diagnostic build does not change the behaviour. **One thing you should know first: this machine has no D3D12 debug layer.** The run logged ``` WARN victory_gpu::host: no D3D12 debug layer error=0x887A002D ``` so `D3D12GetDebugInterface` fails and DRED's auto-breadcrumbs come back empty (`breadcrumbs (done/count, list) []`). Installing the *Graphics Tools* optional feature (admin) would fix that — say the word and I will do it and repeat the run. **But the diagnostics build's own record still names the command**, which is what we needed: ``` host GPU device removed after 29 submissions sent ahead (VICTORY_RELAY=1) of 198 lists; breadcrumbs (done/count, list) []; list 2 of 198, of its 8: copy to 0x179cb604460 64x320 f41 sub/kind 0 at 0,0,0 from 0x17893b55fd0 kind 1 footprint Some(PlacedFootprint { offset: 0, format: 41, width: 64, height: 320, depth: 1, row_pitch: 256 }) box None; list 2 of 198, of its 8: dispatch 8x1x1 [compute ce684a9201818f3f] | ce684a9201818f3f: u4=0xd3fc00 [heap 434144: Unordered(1622742642512, 0, Some([0, 1, 0, 0, 512, 8, 0, 0, 0, 32765])) title 0x98dc5c8c0+0x1000 host Some(... ``` So it dies in **list 2 of 198**, at **command 8 of that list's 8**: a 64×320 format-41 copy through a placed footprint with row pitch 256, recorded next to an 8×1×1 compute dispatch of `ce684a9201818f3f` writing an unordered buffer at heap 434144 (title memory `0x98dc5c8c0+0x1000`). Two questions: 1. Is `ce684a9201818f3f` enough to identify the program on your side? If it translates cleanly I can dump its translation, the containing shader container, and the exact list contents around command 8 from the diagnostics build — just tell me which of those would help. 2. Would real DRED data still add something over the above, now that we have the list and the command index? If yes I will install Graphics Tools and repeat — it is one admin command and a reboot-free change here.
PastiiJay commented 2026-11-26 16:16:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T16:16:48Z.


Thank you, that record is exactly what we needed. Yes, ce684a9201818f3f identifies the program on our side. The most useful next thing is its translation dump plus the list contents around command 8, from the same diagnostics build. Hold off on Graphics Tools for now: we would rather look at that program first, and come back to you if real DRED breadcrumbs are still needed.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7197430411 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7197430411). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T16:16:48Z. --- Thank you, that record is exactly what we needed. Yes, `ce684a9201818f3f` identifies the program on our side. The most useful next thing is its translation dump plus the list contents around command 8, from the same diagnostics build. Hold off on Graphics Tools for now: we would rather look at that program first, and come back to you if real DRED breadcrumbs are still needed.
a15106479638-hub commented 2026-11-26 17:25:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-26T17:25:44Z.


ce684a9201818f3f.zip
Reproduced it, and this time with the whole list — all 8 commands, not the last 6.

Run: diagnostics build, VICTORY_RELAY=1, VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, VICTORY_SHADER_SAVE, my pool reductions, -LowMemory, Series S + FSR. Removed at ~270 s.

The failing list, all 8 commands (last_notes raised from 6 to 64 in my build so all of them print):

list 2 of 210, of its 8:
1. copy 64x128 f28   footprint { format 28, 64x128, row_pitch 256 }, from 0x1de822e9680
2. copy 64x150 f29   footprint { format 29, 64x150, row_pitch 256 }, from 0x1de822e8ea0
3. copy 64x320 f41   footprint { format 41, 64x320, row_pitch 256 }, from 0x1de822e9a00
4. dispatch 8x1x1    [compute ce684a9201818f3f] u4 -> heap 1159144 Unordered(2055431610800, 0,
                     Some([0, 1, 0, 0, 512, 8, 0, 0, 0, 32765])) title 0x98dc5c8c0+0x1000 host 0x4107c0000
5. dispatch 1x1x1    [compute 8bb272e763f76148] Uav s1+0 buffer(41162518272, 1434624), s1+8 buffer(…, 4096), Cbv s1+16
6. dispatch 1x1x1    [compute 02384a60fda6f2d0] u5 -> heap 1159137 Unordered(2055470460208, 0, Some([34, 8, 0, 0, 66, …]))
7. indirect kind 2 max 1 at 0x9939ffce0 [compute 339d476c267c03c7] u5 -> heap 1159132 Shader(2055617588256, …)
8. dispatch 1x1x1    [compute 8bb272e763f76148] u5 -> heap 1159129 Placed(false, [3, 0, 0, 0, 32, 0, 32, …])

Three runs now, three different submissions — 198 lists, then 7, then 210 — and every one of them dies with the same pair at the same place: the 64x320 f41 copy and then the dispatch [compute ce684a9201818f3f]. It is deterministic and it is that program.

The translation dump is attached as ce684a9201818f3f.zip (2.9 KB — GitHub will not take .dxil/.cdxil directly). VICTORY_SHADER_SAVE wrote 6,153 files (209 MB) over the run; these two are the program in question:

file bytes sha256 what
ce684a9201818f3f.compute.cdxil 1,124 24ce7c29…a79f28 the container as the title has it
ce684a9201818f3f.compute.dxil 2,424 a57955df…418292 the same program as translated

Both are DXBC containers (44 58 42 43), and small enough that the whole program is in there. If the attachment does not come through, the same two files are below as base64 — both decode with certutil -decode on Windows or base64 -d.

ce684a9201818f3f.compute.cdxil — base64, 1,124 bytes
RFhCQ+SkSx+PO1v0BWyd0/4owvoBAAAAZAQAAAcAAAA8AAAATAAAAFwAAABsAAAAIAEAADwBAACM
AwAAU0ZJMAgAAAAAAAAAAAAAAElTRzEIAAAAAAAAAAgAAABPU0cxCAAAAAAAAAAIAAAAUFNWMKwA
AAA0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////BQAAAAAAAAAAAAAAQAAAAAEAAAABAAAAAQAA
AAIAAAAYAAAABgAAAAEAAAAUAAAAFAAAAAoAAAAAAAAACAAAAAEAAAAVAAAAFQAAAAwAAAAAAAAA
NAAAAABDU19FbWl0X0FwcGVuZENsZWFyQ291bnRCdWZmZXJfNDJhMWU2YmJfV3JhcHBlZAAAAAAA
AAAASEFTSBQAAAAAAAAA9c9yfoN0meJUsJjRhyBuNERYSUxIAgAAZgAFAJIAAABEWElMBgEAADwC
AAAEAAAAWERBVAMAAAAkAAAAEgAAAEgAAAAQAAAADQAAAFgAAADRAQAABwAAACwCAAAcAAAAfmfm
4jzCjdS9P1gROKQirFhCQ0gDAAAAuQEAAAAAAADnBAAAAAAAAHicxZO/T0IxEMevfX2PB6IiPwYT
B0Y3oyFODijK5oSJiwmBAImJIiEwijXGyGCcdcJEVxM2N+A/cCJsxvgPuOBiItiWI7a4mRib3PXd
5+59e32vTaZS24QA9Bio4YwmeGs9PP+FNVGfgqXmTfjdGOvFCQKiZz0/6uN0NMdwn/OqB7Ffi0JH
q7NFpEvtsW/5hLAGxldSE7le//7Eu+XPgXVWuXndafLu9d3QuogWYxbctrl13gJI9jx+wii4fVH+
UWP1Fof7Yy/U25S4/ahgnNIap0yYI8ytnXQu2wALL0AId9mgNRR5cAFkjcpFKyIHHOBU1DX+1Zj2
LWZw1pmDH5NN/iBqsoB0lslcFNNZUDrbZFO4kM5s6TwmC6MoM9sA8JpMnVSfyfy4kM6mMaGzWUzo
bE66GZN5sVhnPukCJmMooDN1/oImUzcgZLKQdGHcD74XQU3JXGRhZLauj7EzwWRsoWAENRgbMVfT
YlojQzFGT0uQSKW3Dvcr6fVSKV/MJQ7ymXLiqFqsbFQLhXw5HVvJLOdXs9n0bjkjKnLja/+IclHc
6qJsifhVC7K1NRX71PIEAL4AdFLOCgAAAGYABQDHAQCARFhJTAYBAAAQAAAABAAAAE5PQkNQUklW
0AAAANziAQAMAQAVJAAAIgCtAAAAAABEFAEYGHhOFAAREQEYGHhGAAAzEwEYGHhAFQBEFAEYGHhQ
FQAREQEYGHhIFQBEE0EYGHhSFQBEFEEYGHhLFAAREQEYGHhFFQATEQEYGHhUFQAzEwEYGHhCFAAz
EwEYGHhDFQBEFAEYGHhMFQBEFAEYGHhNFQBEFAEYGHhPlQBEQ0EYGHhRFQAxEwEYGHhJFQAxEwEY
GHhKFAAzEwEYGHhEFQAzEwEYGHhBFQAREQEYGHhHlQAzQwEYGHhTAAA=
ce684a9201818f3f.compute.dxil — base64, 2,424 bytes
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
<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7198999841 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7198999841). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-26T17:25:44Z. --- [ce684a9201818f3f.zip](https://github.com/user-attachments/files/35476038/ce684a9201818f3f.zip) Reproduced it, and this time with the whole list — all 8 commands, not the last 6. **Run:** diagnostics build, `VICTORY_RELAY=1`, `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, `VICTORY_SHADER_SAVE`, my pool reductions, `-LowMemory`, Series S + FSR. Removed at ~270 s. **The failing list, all 8 commands** (`last_notes` raised from 6 to 64 in my build so all of them print): ``` list 2 of 210, of its 8: 1. copy 64x128 f28 footprint { format 28, 64x128, row_pitch 256 }, from 0x1de822e9680 2. copy 64x150 f29 footprint { format 29, 64x150, row_pitch 256 }, from 0x1de822e8ea0 3. copy 64x320 f41 footprint { format 41, 64x320, row_pitch 256 }, from 0x1de822e9a00 4. dispatch 8x1x1 [compute ce684a9201818f3f] u4 -> heap 1159144 Unordered(2055431610800, 0, Some([0, 1, 0, 0, 512, 8, 0, 0, 0, 32765])) title 0x98dc5c8c0+0x1000 host 0x4107c0000 5. dispatch 1x1x1 [compute 8bb272e763f76148] Uav s1+0 buffer(41162518272, 1434624), s1+8 buffer(…, 4096), Cbv s1+16 6. dispatch 1x1x1 [compute 02384a60fda6f2d0] u5 -> heap 1159137 Unordered(2055470460208, 0, Some([34, 8, 0, 0, 66, …])) 7. indirect kind 2 max 1 at 0x9939ffce0 [compute 339d476c267c03c7] u5 -> heap 1159132 Shader(2055617588256, …) 8. dispatch 1x1x1 [compute 8bb272e763f76148] u5 -> heap 1159129 Placed(false, [3, 0, 0, 0, 32, 0, 32, …]) ``` Three runs now, three different submissions — 198 lists, then 7, then 210 — and every one of them dies with the same pair at the same place: the `64x320 f41` copy and then the `dispatch [compute ce684a9201818f3f]`. It is deterministic and it is that program. **The translation dump** is attached as `ce684a9201818f3f.zip` (2.9 KB — GitHub will not take `.dxil`/`.cdxil` directly). `VICTORY_SHADER_SAVE` wrote 6,153 files (209 MB) over the run; these two are the program in question: | file | bytes | sha256 | what | |---|---|---|---| | `ce684a9201818f3f.compute.cdxil` | 1,124 | `24ce7c29…a79f28` | the container as the title has it | | `ce684a9201818f3f.compute.dxil` | 2,424 | `a57955df…418292` | the same program as translated | Both are DXBC containers (`44 58 42 43`), and small enough that the whole program is in there. If the attachment does not come through, the same two files are below as base64 — both decode with `certutil -decode` on Windows or `base64 -d`. <details><summary>ce684a9201818f3f.compute.cdxil — base64, 1,124 bytes</summary> ``` RFhCQ+SkSx+PO1v0BWyd0/4owvoBAAAAZAQAAAcAAAA8AAAATAAAAFwAAABsAAAAIAEAADwBAACM AwAAU0ZJMAgAAAAAAAAAAAAAAElTRzEIAAAAAAAAAAgAAABPU0cxCAAAAAAAAAAIAAAAUFNWMKwA AAA0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////BQAAAAAAAAAAAAAAQAAAAAEAAAABAAAAAQAA AAIAAAAYAAAABgAAAAEAAAAUAAAAFAAAAAoAAAAAAAAACAAAAAEAAAAVAAAAFQAAAAwAAAAAAAAA NAAAAABDU19FbWl0X0FwcGVuZENsZWFyQ291bnRCdWZmZXJfNDJhMWU2YmJfV3JhcHBlZAAAAAAA AAAASEFTSBQAAAAAAAAA9c9yfoN0meJUsJjRhyBuNERYSUxIAgAAZgAFAJIAAABEWElMBgEAADwC AAAEAAAAWERBVAMAAAAkAAAAEgAAAEgAAAAQAAAADQAAAFgAAADRAQAABwAAACwCAAAcAAAAfmfm 4jzCjdS9P1gROKQirFhCQ0gDAAAAuQEAAAAAAADnBAAAAAAAAHicxZO/T0IxEMevfX2PB6IiPwYT B0Y3oyFODijK5oSJiwmBAImJIiEwijXGyGCcdcJEVxM2N+A/cCJsxvgPuOBiItiWI7a4mRib3PXd 5+59e32vTaZS24QA9Bio4YwmeGs9PP+FNVGfgqXmTfjdGOvFCQKiZz0/6uN0NMdwn/OqB7Ffi0JH q7NFpEvtsW/5hLAGxldSE7le//7Eu+XPgXVWuXndafLu9d3QuogWYxbctrl13gJI9jx+wii4fVH+ UWP1Fof7Yy/U25S4/ahgnNIap0yYI8ytnXQu2wALL0AId9mgNRR5cAFkjcpFKyIHHOBU1DX+1Zj2 LWZw1pmDH5NN/iBqsoB0lslcFNNZUDrbZFO4kM5s6TwmC6MoM9sA8JpMnVSfyfy4kM6mMaGzWUzo bE66GZN5sVhnPukCJmMooDN1/oImUzcgZLKQdGHcD74XQU3JXGRhZLauj7EzwWRsoWAENRgbMVfT YlojQzFGT0uQSKW3Dvcr6fVSKV/MJQ7ymXLiqFqsbFQLhXw5HVvJLOdXs9n0bjkjKnLja/+IclHc 6qJsifhVC7K1NRX71PIEAL4AdFLOCgAAAGYABQDHAQCARFhJTAYBAAAQAAAABAAAAE5PQkNQUklW 0AAAANziAQAMAQAVJAAAIgCtAAAAAABEFAEYGHhOFAAREQEYGHhGAAAzEwEYGHhAFQBEFAEYGHhQ FQAREQEYGHhIFQBEE0EYGHhSFQBEFEEYGHhLFAAREQEYGHhFFQATEQEYGHhUFQAzEwEYGHhCFAAz EwEYGHhDFQBEFAEYGHhMFQBEFAEYGHhNFQBEFAEYGHhPlQBEQ0EYGHhRFQAxEwEYGHhJFQAxEwEY GHhKFAAzEwEYGHhEFQAzEwEYGHhBFQAREQEYGHhHlQAzQwEYGHhTAAA= ``` </details> <details><summary>ce684a9201818f3f.compute.dxil — base64, 2,424 bytes</summary> ``` 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
PastiiJay commented 2026-11-26 17:26:55 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T17:26:55Z.


Thank you, three runs dying on the same pair makes this deterministic, and with the full list plus both containers we have everything we need to look at ce684a9201818f3f (it is an append-counter clear in the title). One cheap experiment meanwhile: the same RELAY=1 run with $env:VICTORY_SKIP_PIPELINES = 'ce684a9201818f3f' set. If the card then survives past the usual point, that confirms the program as the trigger rather than the copies around it.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7199033661 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7199033661). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T17:26:55Z. --- Thank you, three runs dying on the same pair makes this deterministic, and with the full list plus both containers we have everything we need to look at `ce684a9201818f3f` (it is an append-counter clear in the title). One cheap experiment meanwhile: the same `RELAY=1` run with `$env:VICTORY_SKIP_PIPELINES = 'ce684a9201818f3f'` set. If the card then survives past the usual point, that confirms the program as the trigger rather than the copies around it.
a15106479638-hub commented 2026-11-27 04:36:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T04:36:52Z.


Ran the skip test. It came back the other way: the program is not the trigger.

Run: diagnostics build, VICTORY_RELAY=1, VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, your VICTORY_SKIP_PIPELINES with ce684a9201818f3f appended to the repo's skip-amd.txt, my pool reductions, -LowMemory, Series S + FSR. Removed at ~270 s.

The skip took effect. The failing list went from 8 commands to 7, ce684a9201818f3f is not in it, and the log says so directly:

victory_gpu::host: dropped 1.0/frame without a host pipeline: skipped shader ce684a9201818f3f

It was still removed. This is the list that was in flight:

list 2 of 208, of its 7:
1. copy 64x128 f28   placed, row_pitch 256
2. copy 64x150 f29   placed, row_pitch 256
3. copy 64x320 f41   placed, row_pitch 256
4. dispatch 1x1x1    [compute 8bb272e763f76148]
5. dispatch 1x1x1    [compute 02384a60fda6f2d0]
6. indirect kind 2 max 1 at 0x9939ffce0 [compute 339d476c267c03c7]
7. dispatch 1x1x1    [compute 8bb272e763f76148]

So ce684a9201818f3f is ruled out as the trigger. What every failing list has had in common, with it and without it, is the three small placed copies at the head — 64×128 f28, 64×150 f29, 64×320 f41, all with row_pitch 256 — and the removal always lands inside the list right after them.

One more run would separate those two: the same test with 8bb272e763f76148 skipped as well. If it still comes down, the copies are all that is left in the list; if it does not, the remaining dispatches are back in play. Five minutes either way if you want it.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7209941505 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7209941505). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T04:36:52Z. --- Ran the skip test. It came back the other way: the program is **not** the trigger. **Run:** diagnostics build, `VICTORY_RELAY=1`, `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, your `VICTORY_SKIP_PIPELINES` with `ce684a9201818f3f` appended to the repo's `skip-amd.txt`, my pool reductions, `-LowMemory`, Series S + FSR. Removed at ~270 s. **The skip took effect.** The failing list went from 8 commands to 7, `ce684a9201818f3f` is not in it, and the log says so directly: ``` victory_gpu::host: dropped 1.0/frame without a host pipeline: skipped shader ce684a9201818f3f ``` **It was still removed.** This is the list that was in flight: ``` list 2 of 208, of its 7: 1. copy 64x128 f28 placed, row_pitch 256 2. copy 64x150 f29 placed, row_pitch 256 3. copy 64x320 f41 placed, row_pitch 256 4. dispatch 1x1x1 [compute 8bb272e763f76148] 5. dispatch 1x1x1 [compute 02384a60fda6f2d0] 6. indirect kind 2 max 1 at 0x9939ffce0 [compute 339d476c267c03c7] 7. dispatch 1x1x1 [compute 8bb272e763f76148] ``` So `ce684a9201818f3f` is ruled out as the trigger. What every failing list has had in common, with it and without it, is the **three small placed copies at the head** — 64×128 f28, 64×150 f29, 64×320 f41, all with row_pitch 256 — and the removal always lands inside the list right after them. One more run would separate those two: the same test with `8bb272e763f76148` skipped as well. If it still comes down, the copies are all that is left in the list; if it does not, the remaining dispatches are back in play. Five minutes either way if you want it.
a15106479638-hub commented 2026-11-27 05:09:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T05:09:09Z.


Cross-project summary: the same break, three trees, one RX 6950 XT.

Since this issue is where it got worked out, I want to put the whole picture in one place. All of the below is one PC: RX 6950 XT (16 GB, RDNA2), i5-12600KF, 32 GB RAM, Windows 11 26300.8935, Series S + FSR where the tree offers it.

The common shape. RELAY=1 or 2 → host GPU device removed within 2–6 minutes, every time. RELAY=0 → no removal for as long as I let it run, but the copy-back goes back onto the submitting thread and the frame roughly doubles or worse.

Tree RELAY Result Frame
klbf-lab beta-2 @ 8187780 0 stable, 9 min+ 660 ms (copy-back 463, GPU 108)
klbf-lab beta-2 @ 8187780 1 removed at ~360 s 143 ms (copy-back 43.6, GPU 24)
klbf-lab beta-2 1 + RELAY_OWN_QUEUE=0 removed at ~210 s worse on both counts
Belobug a-publier (the XTX build) 2, as shipped removed at ~180 s —
Belobug a-publier 0 stable, 10 min+ 3–4 fps
Belobug a-publier 0 + all five PORT_* patches OOM at ~180 s, 1.6 fps —
CGBJ / cool_fox share package 2 or 1, as shipped removed at ~120 s —
CGBJ / cool_fox share package 0 stable, 9 min+ 5–6 fps, the prologue renders

Three independent code trees, one trade. RELAY=0 is the only mode that holds this card, and it costs 2–4x. The skip test above rules out one specific program; this rules out "it is one fork's bug".

What the frame says under RELAY=0. The card is busy about half the frame and idle the other half — 300 ms frames with 150 ms on the GPU, 10,600 draws. When RELAY=1 did hold briefly, the copy-back fell from 463 ms to 43.6 ms and the frame from 660 to 143 ms. So the cost of RELAY=0 is exactly the relay work, and the speed RELAY=1 buys is real, not noise.

The 6950 XT reports elsewhere, for anyone who wonders whether it is one machine:

  • Marvisak/VIctory #3417 — RX 6950 XT, 62 GB RAM, Fedora/Proton: 0.3 fps at one point, 1,295 "memory allocation failed, falling back to system memory" warnings, crash at 1 min 49 s / frame 1,148.
  • Belobug #2 — RX 6950 XT, Windows 11: the tests run, the game was never started.
  • Belobug #262 — RX 6950 XT + 32 GB, Windows 11: a contributor is working on memory reduction to get under 32 GB.

Every public 6950 XT record I can find ends the same way: a few fps at best, then a device removal or a null-write crash. None of them reads like a tuning mistake on the user's side.

What I think would help most. Not making RELAY=0 faster — making the relay able to fail without taking the device with it. If a flight's landing can fault, be dropped and the device rebuilt, then RELAY=1's 5x would be available on RDNA2 at the cost of a hiccup instead of a run. That is the same point as before, but the table above is what makes it worth the work: it is 2–4x on every RDNA2 card, in every tree that has the relay.

I have logs, crashes.log entries and frame breakdowns for any row above, and I can run any configuration on this card in about five minutes.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7210392578 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7210392578). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T05:09:09Z. --- **Cross-project summary: the same break, three trees, one RX 6950 XT.** Since this issue is where it got worked out, I want to put the whole picture in one place. All of the below is one PC: RX 6950 XT (16 GB, RDNA2), i5-12600KF, 32 GB RAM, Windows 11 26300.8935, Series S + FSR where the tree offers it. **The common shape.** `RELAY=1` or `2` → host GPU device removed within 2–6 minutes, every time. `RELAY=0` → no removal for as long as I let it run, but the copy-back goes back onto the submitting thread and the frame roughly doubles or worse. | Tree | RELAY | Result | Frame | |---|---|---|---| | klbf-lab `beta-2` @ `8187780` | 0 | stable, 9 min+ | 660 ms (copy-back 463, GPU 108) | | klbf-lab `beta-2` @ `8187780` | 1 | removed at ~360 s | 143 ms (copy-back 43.6, GPU 24) | | klbf-lab `beta-2` | 1 + `RELAY_OWN_QUEUE=0` | removed at ~210 s | worse on both counts | | Belobug `a-publier` (the XTX build) | 2, as shipped | removed at ~180 s | — | | Belobug `a-publier` | 0 | stable, 10 min+ | 3–4 fps | | Belobug `a-publier` | 0 + all five `PORT_*` patches | OOM at ~180 s, 1.6 fps | — | | CGBJ / `cool_fox` share package | 2 or 1, as shipped | removed at ~120 s | — | | CGBJ / `cool_fox` share package | 0 | stable, 9 min+ | 5–6 fps, the prologue renders | Three independent code trees, one trade. `RELAY=0` is the only mode that holds this card, and it costs 2–4x. The skip test above rules out one specific program; this rules out "it is one fork's bug". **What the frame says under `RELAY=0`.** The card is busy about half the frame and idle the other half — 300 ms frames with 150 ms on the GPU, 10,600 draws. When `RELAY=1` did hold briefly, the copy-back fell from 463 ms to 43.6 ms and the frame from 660 to 143 ms. So the cost of `RELAY=0` is exactly the relay work, and the speed `RELAY=1` buys is real, not noise. **The 6950 XT reports elsewhere**, for anyone who wonders whether it is one machine: - Marvisak/VIctory #3417 — RX 6950 XT, **62 GB RAM**, Fedora/Proton: 0.3 fps at one point, 1,295 "memory allocation failed, falling back to system memory" warnings, crash at 1 min 49 s / frame 1,148. - Belobug #2 — RX 6950 XT, Windows 11: the tests run, the game was never started. - Belobug #262 — **RX 6950 XT + 32 GB**, Windows 11: a contributor is working on memory reduction to get under 32 GB. Every public 6950 XT record I can find ends the same way: a few fps at best, then a device removal or a null-write crash. None of them reads like a tuning mistake on the user's side. **What I think would help most.** Not making `RELAY=0` faster — making the relay **able to fail without taking the device with it**. If a flight's landing can fault, be dropped and the device rebuilt, then `RELAY=1`'s 5x would be available on RDNA2 at the cost of a hiccup instead of a run. That is the same point as before, but the table above is what makes it worth the work: it is 2–4x on every RDNA2 card, in every tree that has the relay. I have logs, `crashes.log` entries and frame breakdowns for any row above, and I can run any configuration on this card in about five minutes.
a15106479638-hub commented 2026-11-27 06:29:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T06:29:57Z.


The cause is identified and a fix exists — and it is not a relay synchronisation bug.

kyokyotosh/VIctory-6700XT (an RDNA2, 32 GB fork of avatarmanz/VIctory-7900XTX) traced it with a GPU ETW capture. From their FINDINGS-6700XT.md:

  • The device removal is video memory manager exhaustion of the 2 GB aperture segment (segment 2 to D3DKMTQueryStatistics, 3 in ETW). It holds the driver's command buffers (1 MB + 64 KB per D3D12 command list, growing with what the list records), the upload scratch chunks and the D3D12_HEAP_TYPE_CUSTOM write-back buffers.
  • The next allocation that can only live there cannot be made resident (ReserveResource → 0xC0000001, 46 tries), and the kernel marks the device faulted (VidSchMarkDeviceAsError, reason 12). No GPU hang, no page fault, no timed-out packet — which is exactly why TdrDelay / TdrDdiDelay never changed anything for me.
  • Send-ahead is what fills it. At the world load the host list count climbs from ~830 to 1,150–1,250, because land() keeps the newest 64 flights' lists (up to 716 of them) and up to 240 title lists are in flight. With every submission waited for (VICTORY_RELAY=0) the count stays at 674 and the segment never fills — which is why RELAY=0 "works" and costs 2–4x.

Their fixes (f173347, 018d372, e3c0703, 63a773e): finished lists return to the pool at once; preludes are shared from a pool instead of one per host list for life (101 made instead of ~950); while the segment is above 80% every flight lands as it is sent and idle lists are trimmed; plus the 1 MiB / 1024 MiB card-buffer limits from PR #225.

Confirmed on a different RDNA2 card. I built that fork and ran it on my RX 6950 XT (16 GB), i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003, Series X 1.0.2.1 files:

before after
device removals in 10+ minutes every run, 60–360 s 0
world frame rate 2.8 fps (RELAY=0), otherwise removed 18.1 fps average, 28.8 max (Series S, textures capped at 1024)

91 samples in the world, 10th percentile 11.7 fps, 2,500–6,500 draws a frame. The remaining failure is memory, not the card: os error 1450 (no system resources) in DirectStorage at about 34 GB of commit on a 32 GB machine.

So RELAY=0 is not the answer and never was — the answer is to stop the live list count from climbing. Anyone hitting this on RDNA2 can read that findings document instead of re-deriving it, and the four commits above are the ones to port.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7211581494 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7211581494). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T06:29:57Z. --- **The cause is identified and a fix exists — and it is not a relay synchronisation bug.** [kyokyotosh/VIctory-6700XT](https://github.com/kyokyotosh/VIctory-6700XT) (an RDNA2, 32 GB fork of avatarmanz/VIctory-7900XTX) traced it with a GPU ETW capture. From their [FINDINGS-6700XT.md](https://github.com/kyokyotosh/VIctory-6700XT/blob/main/FINDINGS-6700XT.md): - The device removal is **video memory manager exhaustion of the 2 GB aperture segment** (segment 2 to `D3DKMTQueryStatistics`, 3 in ETW). It holds the driver's command buffers (**1 MB + 64 KB per D3D12 command list**, growing with what the list records), the upload scratch chunks and the `D3D12_HEAP_TYPE_CUSTOM` write-back buffers. - The next allocation that can only live there cannot be made resident (`ReserveResource` → `0xC0000001`, 46 tries), and the kernel marks the device faulted (`VidSchMarkDeviceAsError`, reason 12). **No GPU hang, no page fault, no timed-out packet** — which is exactly why `TdrDelay` / `TdrDdiDelay` never changed anything for me. - Send-ahead is what fills it. At the world load the host list count climbs from ~830 to 1,150–1,250, because `land()` keeps the newest 64 flights' lists (up to 716 of them) and up to 240 title lists are in flight. With every submission waited for (`VICTORY_RELAY=0`) the count stays at 674 and the segment never fills — which is why `RELAY=0` "works" and costs 2–4x. Their fixes (`f173347`, `018d372`, `e3c0703`, `63a773e`): finished lists return to the pool at once; preludes are shared from a pool instead of one per host list for life (101 made instead of ~950); while the segment is above 80% every flight lands as it is sent and idle lists are trimmed; plus the 1 MiB / 1024 MiB card-buffer limits from PR #225. **Confirmed on a different RDNA2 card.** I built that fork and ran it on my RX 6950 XT (16 GB), i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003, Series X 1.0.2.1 files: | | before | after | |---|---|---| | device removals in 10+ minutes | every run, 60–360 s | **0** | | world frame rate | 2.8 fps (`RELAY=0`), otherwise removed | **18.1 fps average, 28.8 max** (Series S, textures capped at 1024) | 91 samples in the world, 10th percentile 11.7 fps, 2,500–6,500 draws a frame. The remaining failure is memory, not the card: `os error 1450` (no system resources) in DirectStorage at about 34 GB of commit on a 32 GB machine. So `RELAY=0` is not the answer and never was — the answer is to stop the live list count from climbing. Anyone hitting this on RDNA2 can read that findings document instead of re-deriving it, and the four commits above are the ones to port.
PastiiJay commented 2026-11-27 09:52:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T09:52:21Z.


Thanks @a15106479638-hub, the ETW trace finally explains why TdrDelay never helped, and the three-tree table rules out a one-fork bug. We'll port kyokyotosh's f173347, 018d372, e3c0703 and 63a773e onto beta-amd with credit and post the build here. When it's up, one RELAY=2 run on your 6950 XT would tell us if it holds.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7215196486 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7215196486). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T09:52:21Z. --- Thanks @a15106479638-hub, the ETW trace finally explains why `TdrDelay` never helped, and the three-tree table rules out a one-fork bug. We'll port kyokyotosh's `f173347`, `018d372`, `e3c0703` and `63a773e` onto [`beta-amd`](https://github.com/PastiiJay/klbf-lab/tree/beta-amd) with credit and post the build here. When it's up, one `RELAY=2` run on your 6950 XT would tell us if it holds.
a15106479638-hub commented 2026-11-27 10:44:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T10:44:34Z.


Yes — post it and I will run it on this card the same day.

What I will do with the beta-amd build, unless you want something else:

  1. RELAY=2 with -Console series-s and textures capped at 1024, 8–10 minutes, twice, so a pass is not one lucky run.
  2. Report frames (average, max, 10th percentile, frame time), device removals, and how many times the aperture segment passed 80% — that last number says whether the back-off carried it or the run just happened to be light.
  3. If it holds, also RELAY=2 at Series X, since that is the profile that pushed my card hardest.

Hardware for the record: RX 6950 XT 16 GB (Navi 21), i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003, Series X files 1.0.2.1, nothing overclocked.

One thing worth knowing before you build it: on this 32 GB machine the four commits got the device through the load but the run then died of memory (os error 1450 from DirectStorage at ~34 GB of commit, and memory allocation of … failed on the newest tree). The 6700XT fork that the commits come from also fits the layer into 32 GB; on its own the four commits fixed the removal but not the wall behind it. With 64 GB that would not matter, and on a 12 GB card their tuning may already be the part that matters most.

VICTORY_BURY_LAG=0 is worth knowing as a fallback: on my card it kept the segment under 80% for a whole run (0 back-offs against 6 with the default), which says the retained flights' lists are exactly the memory in question — it did not make it faster on a tree that already gives them back early.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7216250605 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7216250605). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T10:44:34Z. --- Yes — post it and I will run it on this card the same day. What I will do with the `beta-amd` build, unless you want something else: 1. `RELAY=2` with `-Console series-s` and textures capped at 1024, 8–10 minutes, twice, so a pass is not one lucky run. 2. Report frames (average, max, 10th percentile, frame time), device removals, and how many times the aperture segment passed 80% — that last number says whether the back-off carried it or the run just happened to be light. 3. If it holds, also `RELAY=2` at Series X, since that is the profile that pushed my card hardest. Hardware for the record: RX 6950 XT 16 GB (Navi 21), i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003, Series X files 1.0.2.1, nothing overclocked. One thing worth knowing before you build it: on this 32 GB machine the four commits got the device through the load but the run then died of memory (`os error 1450` from DirectStorage at ~34 GB of commit, and `memory allocation of … failed` on the newest tree). The 6700XT fork that the commits come from also fits the layer into 32 GB; on its own the four commits fixed the removal but not the wall behind it. With 64 GB that would not matter, and on a 12 GB card their tuning may already be the part that matters most. `VICTORY_BURY_LAG=0` is worth knowing as a fallback: on my card it kept the segment under 80% for a whole run (0 back-offs against 6 with the default), which says the retained flights' lists are exactly the memory in question — it did not make it faster on a tree that already gives them back early.
PastiiJay commented 2026-11-27 10:55:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T10:55:28Z.


Thanks @a15106479638-hub, your plan is the kind of test that tells us something: two runs instead of one, and the aperture-segment number. Please post the frame stats and the device-removal count from both runs, on beta-amd v12 (commit 84a4f67).

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7216469211 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7216469211). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T10:55:28Z. --- Thanks @a15106479638-hub, your plan is the kind of test that tells us something: two runs instead of one, and the aperture-segment number. Please post the frame stats and the device-removal count from both runs, on `beta-amd` v12 (commit 84a4f67).
a15106479638-hub commented 2026-11-27 11:19:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T11:19:23Z.


Baseline on beta-amd v12 (84a4f67), built from source here, two runs as asked. Short version: the device is removed in both, so v12 is the "before" the four commits need to beat.

One blocker first, because anyone else building v12 from source will hit it. A source build has no D3D12\ folder beside victory.exe, so D3D12SDKVersion = 620 / D3D12SDKPath = ".\\D3D12\\" point at nothing and the host device fails before anything renders:

WARN victory_gpu::host: no host D3D12 device; command lists will not run
  error=the D3D12 SDK version configuration of the host exe is invalid (0x887E0003)
KLBF Lab: unhandled exception 0xe06d7363 (0x887e0003 thrown)
At D3D12SerializeVersionedRootSignature: Unexpected internal Failure

Copying the OS's System32\D3D12Core.dll (10.0.26100.8935) into D3D12\ does not fix it — the loader wants 1.620. Fetching Agility SDK 1.620.2 from NuGet (Microsoft.Direct3D.D3D12, build/native/bin/x64/D3D12Core.dll, file version 1.620.2.0) and putting it in target\diag\D3D12\ does; host D3D12 device ready follows. If the release build already ships that folder, ignore this — but the source tree does not.

The runs. Settings: RELAY=2, --console series-s, textures capped at 1024, everything else as play.ps1 ships. No -Fsr. Same PC as before (RX 6950 XT 16 GB, i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003), page file grown by demand.

Run Removed after Removals Frames seen in the world What was going on
1 ~2 min 2 4 fps at 232 ms, 1k draws shader compile still going ("compiling 720 shaders")
2 ~3 min 3 3 fps at 351 ms, still compiling "compiling 548 shaders" at the removal

The removal is the same shape as before:

ERROR victory_gpu::host: host GPU device removed after 1 submissions sent ahead
  (VICTORY_RELAY=1) of 43 lists; breadcrumbs (done/count, list) []
device removed: 0x887A0007

Two caveats on what this baseline can say. First, both runs died during pipeline compilation, not after the world settled — on this card v12 does not reach a steady state at all, so there is no frame rate to compare against the patched build; the comparison will be "removed at 2–3 min" against "still running at 10". Second, v12 has no aperture counter, so the segment number I promised needs the patched build — that is the number that will say whether the back-off carried it.

When beta-amd has f173347, 018d372, e3c0703, 63a773e I will run the same two runs and post the same table, plus how often the segment passed 80% and how far the back-off brought it down. If you want the first patched run at Series X instead of Series S, say so and I will do that one first.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7216939580 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7216939580). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T11:19:23Z. --- Baseline on `beta-amd` v12 (`84a4f67`), built from source here, two runs as asked. Short version: **the device is removed in both**, so v12 is the "before" the four commits need to beat. **One blocker first, because anyone else building v12 from source will hit it.** A source build has no `D3D12\` folder beside `victory.exe`, so `D3D12SDKVersion = 620` / `D3D12SDKPath = ".\\D3D12\\"` point at nothing and the host device fails before anything renders: ``` WARN victory_gpu::host: no host D3D12 device; command lists will not run error=the D3D12 SDK version configuration of the host exe is invalid (0x887E0003) KLBF Lab: unhandled exception 0xe06d7363 (0x887e0003 thrown) At D3D12SerializeVersionedRootSignature: Unexpected internal Failure ``` Copying the OS's `System32\D3D12Core.dll` (10.0.26100.8935) into `D3D12\` does **not** fix it — the loader wants 1.620. Fetching **Agility SDK 1.620.2** from NuGet (`Microsoft.Direct3D.D3D12`, `build/native/bin/x64/D3D12Core.dll`, file version 1.620.2.0) and putting it in `target\diag\D3D12\` does; `host D3D12 device ready` follows. If the release build already ships that folder, ignore this — but the source tree does not. **The runs.** Settings: `RELAY=2`, `--console series-s`, textures capped at 1024, everything else as `play.ps1` ships. No `-Fsr`. Same PC as before (RX 6950 XT 16 GB, i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003), page file grown by demand. | Run | Removed after | Removals | Frames seen in the world | What was going on | |---|---|---|---|---| | 1 | ~2 min | 2 | 4 fps at 232 ms, 1k draws | shader compile still going ("compiling 720 shaders") | | 2 | ~3 min | 3 | 3 fps at 351 ms, still compiling | "compiling 548 shaders" at the removal | The removal is the same shape as before: ``` ERROR victory_gpu::host: host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 43 lists; breadcrumbs (done/count, list) [] device removed: 0x887A0007 ``` Two caveats on what this baseline can say. First, **both runs died during pipeline compilation**, not after the world settled — on this card v12 does not reach a steady state at all, so there is no frame rate to compare against the patched build; the comparison will be "removed at 2–3 min" against "still running at 10". Second, v12 has no aperture counter, so the segment number I promised needs the patched build — that is the number that will say whether the back-off carried it. When `beta-amd` has `f173347`, `018d372`, `e3c0703`, `63a773e` I will run the same two runs and post the same table, plus how often the segment passed 80% and how far the back-off brought it down. If you want the first patched run at Series X instead of Series S, say so and I will do that one first.
PastiiJay commented 2026-11-27 11:27:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T11:27:12Z.


Thanks @a15106479638-hub, the baseline is what we needed, and the Agility SDK 1.620.2 note will help anyone building from source. Could you attach the full console log from one of the two runs, so we can see where the device is removed?

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7217091037 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7217091037). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T11:27:12Z. --- Thanks @a15106479638-hub, the baseline is what we needed, and the Agility SDK 1.620.2 note will help anyone building from source. Could you attach the full console log from one of the two runs, so we can see where the device is removed?
PastiiJay commented 2026-11-27 11:30:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T11:30:21Z.


thanks, good catch: since 0f51200 play.ps1 fetches the Agility SDK 1.620.2 from Microsoft's NuGet package when D3D12\ is missing beside the exe. Could you pull and run once more?

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7217151606 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7217151606). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T11:30:21Z. --- thanks, good catch: since 0f51200 `play.ps1` fetches the Agility SDK 1.620.2 from Microsoft's NuGet package when `D3D12\` is missing beside the exe. Could you pull and run once more?
a15106479638-hub commented 2026-11-27 12:14:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T12:14:39Z.


�f51200 works: I deleted target\diag\D3D12 and the launcher fetched it, host D3D12 device ready, no manual step. Fetched D3D12Core.dll 1.620.2.0.20261106.5 (4.65 MB).

The re-run, and a difference from the earlier baseline you should know about. With the root play.ps1 (Series X, RELAY=2, CARD_BUFFERS_MIN_KB=64, CARD_AWAKE=0, LATE_WAIT_LISTS=1024) instead of scripts\play.ps1:

scripts\play.ps1, series-s root play.ps1, series X
device removals 2 and 3, at ~2 and ~3 min 0
how it ended device removed during shader compile memory allocation of 1196222 bytes failed at ~6 min, 45.9 GB of commit
frames 3–4 fps while compiling 24 samples, average 7.2, max 20.7, min 0.2

So the two launchers do not fail the same way on this card: the root one carries the device through the load and then runs out of 32 GB instead. Worth knowing before the patched build is compared against "v12" — say which launcher you want it run with, because they are not the same baseline.

The log you asked for, the last 52 lines before the removal on scripts\play.ps1 (series-s). Times are stripped; the lines are the log's own "N ms before" form, newest last:

ext 10886.6 ms before, thread 22236: pipeline library: made [compute 5e197ce95da2d6ad] in 4691.2 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10854.5 ms before, thread 21164: pipeline library: made [compute 7a071f906f98311b] in 4609.4 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10600.1 ms before, thread 21376: pipeline library: made [compute 5b919f378a79b1a1] in 4641.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10581.5 ms before, thread 2292: pipeline library: made [compute a1b20bc47e3c9597] in 1756.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10170.5 ms before, thread 17088: pipeline library: made [compute b461734931c923ed] in 4510.3 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10070.8 ms before, thread 19344: pipeline library: made [compute 17829ac71aab4e8d] in 826.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 9917.6 ms before, thread 21596: pipeline library: made [compute d1934235b4c1a802] in 4454.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 9309.3 ms before, thread 2292: pipeline library: made [compute afeea48bbb9913ad] in 1148.9 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 8660.5 ms before, thread 21164: pipeline library: made [compute e8c962358d862e3f] in 2127.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 8643.3 ms before, thread 21164: pipeline library: made [compute d2f4f8e0e2610d8c] in 13.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 8303.4 ms before, thread 21856: pipeline library: made [vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78] in 1.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 7849.4 ms before, thread 10748: sweep: 5 host copies of windows of title memory let go (28672 KiB), held by no list and no slot 6860.7 ms before, thread 21576: pipeline library: made [compute 6697dff15287e544] in 4026.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6647.2 ms before, thread 10748: sweep: 9 host copies of windows of title memory let go (40960 KiB), held by no list and no slot 6299.7 ms before, thread 21376: pipeline library: made [compute a9983f75e1e974a1] in 4222.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6284.8 ms before, thread 21376: pipeline library: made [compute b2efa9e53e9aa087] in 8.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6028.3 ms before, thread 19344: pipeline library: made [compute 782e8e19cfa21ce1] in 3961.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6013.9 ms before, thread 22236: pipeline library: made [compute 4c9cd93d98b9347f] in 4782.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6012.0 ms before, thread 19344: pipeline library: made [compute a119712dc08b0171] in 11.4 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 5676.4 ms before, thread 17088: pipeline library: made [compute 06796b9a23b4a7b1] in 4390.3 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 5411.9 ms before, thread 21596: pipeline library: made [compute 2d1a812e23c2b70f] in 4399.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 5273.6 ms before, thread 10748: sweep: 9 host copies of windows of title memory let go (45056 KiB), held by no list and no slot 5150.1 ms before, thread 2292: pipeline library: made [compute 4a88a9732b2f30c4] in 3925.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4689.7 ms before, thread 17088: pipeline library: made [compute 191ecaed66eea3b1] in 900.6 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4515.2 ms before, thread 2292: pipeline library: made [compute 65de113e23fa4fdd] in 593.3 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4334.5 ms before, thread 21164: pipeline library: made [compute 8d0899ce5fcf72a7] in 4238.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4257.2 ms before, thread 10748: sweep: 8 host copies of windows of title memory let go (36864 KiB), held by no list and no slot 3178.9 ms before, thread 10748: sweep: 1 host copies of windows of title memory let go (4096 KiB), held by no list and no slot 3030.3 ms before, thread 21576: pipeline library: made [compute 2dc1a06791036e46] in 3765.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 2376.2 ms before, thread 21576: pipeline library: made [compute 804b342cb4b9d1e9] in 614.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 2021.5 ms before, thread 22236: pipeline library: made [compute 0d6e8ac93ccea91b] in 3902.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1784.9 ms before, thread 2292: pipeline library: made [compute be6ce5d849d51127] in 2505.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1784.3 ms before, thread 21376: pipeline library: made [compute 962a7cfc5520cf4f] in 4411.6 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1780.0 ms before, thread 19344: pipeline library: made [compute 4c97c2ac777ebc3c] in 4146.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1484.2 ms before, thread 21596: pipeline library: made [compute 7398df71d31fc190] in 3849.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1480.2 ms before, thread 21596: pipeline library: saved 44088 bytes, renamed over the library's file 1077.4 ms before, thread 19344: pipeline library: made [compute 31d703207b51549a] in 648.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1039.9 ms before, thread 22236: pipeline library: made [compute ab5455fc6abb804f] in 864.2 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1033.4 ms before, thread 10748: sweep: 25 host copies of windows of title memory let go (126976 KiB), held by no list and no slot 1033.4 ms before, thread 10748: sweep: 1 staging buffers of textures let go (15 KiB), held by no list 696.4 ms before, thread 21596: pipeline library: made [compute 240cb516c1af0bc3] in 727.6 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 574.0 ms before, thread 21164: pipeline library: made [compute ab8bd5a9904baf76] in 3599.7 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 427.0 ms before, thread 17088: pipeline library: made [compute 20ab5ea44cad8dca] in 4183.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 260.4 ms before, thread 19344: pipeline library: made [compute 1d44a723bdebbf27] in 754.2 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) ERROR victory_gpu::host: device-removed data; breadcrumbs (done/count, list) [] ERROR victory_gpu::host: host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 43 lists; breadcrumbs (done/count, list) []; device removed: GPU 涓嶅搷搴旀洿澶氱殑鍛戒护锛屾渶涓哄彲鑳界殑鍘熷洜鏄叾浠栧簲鐢ㄧ▼搴忛€掍氦浜嗘棤鏁堢殑鍛戒护銆? 璋冪敤搴旂敤绋嬪簭搴旇閲嶆柊鍒涘缓璁惧骞剁户缁€?(0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command KLBF Lab: host GPU failure: host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 43 lists; breadcrumbs (done/count, list) []; device removed: GPU 涓嶅搷搴旀洿澶氱殑鍛戒护锛屾渶涓哄彲鑳界殑鍘熷洜鏄叾浠栧簲鐢ㄧ▼搴忛€掍氦浜嗘棤鏁堢殑鍛戒护銆? 璋冪敤搴旂敤绋嬪簭搴旇閲嶆柊鍒涘缓璁惧骞剁户缁€?(0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_21' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_22' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_23' -- falling back to NewBE

Two things in it that I did not expect, and that may matter more than the relay settings:

  1. The removal lands in the middle of a pipeline-compilation storm. Almost every line above is a compute pipeline being made, taking 0.6–4.8 seconds each, dozens of them inside the last ten seconds. The device does not go while the frame is heavy — it goes while the layer is building pipelines.
  2. None of them load from the library. Every one says the library did not load it: 0x80070057 (parameter incorrect), even though pipeline library: saved … renamed over the library's file a moment earlier. That is the same 0x80070057 that #329 reports on an RX 6700 XT with 1.6–9.8 s per pipeline. So on this card the library is written but never read back, and every start pays the full compilation again.

That is also why the second launcher changed the outcome: warming the cache first (it precompiled 25,000-odd shaders before the run) means far fewer pipelines are built in the first minutes, so the device never meets the storm — and the run gets far enough to hit the memory wall instead.

Full log is here if you want to grep it (11,749 lines, 2.5 MB) — say how you want it sent and it goes.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7218008619 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7218008619). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T12:14:39Z. --- �f51200 works: I deleted `target\diag\D3D12` and the launcher fetched it, host D3D12 device ready, no manual step. Fetched `D3D12Core.dll` 1.620.2.0.20261106.5 (4.65 MB). **The re-run, and a difference from the earlier baseline you should know about.** With the root `play.ps1` (Series X, `RELAY=2`, `CARD_BUFFERS_MIN_KB=64`, `CARD_AWAKE=0`, `LATE_WAIT_LISTS=1024`) instead of `scripts\play.ps1`: | | `scripts\play.ps1`, series-s | root `play.ps1`, series X | |---|---|---| | device removals | 2 and 3, at ~2 and ~3 min | **0** | | how it ended | device removed during shader compile | **`memory allocation of 1196222 bytes failed` at ~6 min, 45.9 GB of commit** | | frames | 3–4 fps while compiling | 24 samples, average 7.2, max 20.7, min 0.2 | So the two launchers do not fail the same way on this card: the root one carries the device through the load and then runs out of 32 GB instead. Worth knowing before the patched build is compared against "v12" — say which launcher you want it run with, because they are not the same baseline. **The log you asked for**, the last 52 lines before the removal on `scripts\play.ps1` (series-s). Times are stripped; the lines are the log's own "N ms before" form, newest last: ` ext 10886.6 ms before, thread 22236: pipeline library: made [compute 5e197ce95da2d6ad] in 4691.2 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10854.5 ms before, thread 21164: pipeline library: made [compute 7a071f906f98311b] in 4609.4 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10600.1 ms before, thread 21376: pipeline library: made [compute 5b919f378a79b1a1] in 4641.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10581.5 ms before, thread 2292: pipeline library: made [compute a1b20bc47e3c9597] in 1756.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10170.5 ms before, thread 17088: pipeline library: made [compute b461734931c923ed] in 4510.3 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 10070.8 ms before, thread 19344: pipeline library: made [compute 17829ac71aab4e8d] in 826.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 9917.6 ms before, thread 21596: pipeline library: made [compute d1934235b4c1a802] in 4454.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 9309.3 ms before, thread 2292: pipeline library: made [compute afeea48bbb9913ad] in 1148.9 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 8660.5 ms before, thread 21164: pipeline library: made [compute e8c962358d862e3f] in 2127.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 8643.3 ms before, thread 21164: pipeline library: made [compute d2f4f8e0e2610d8c] in 13.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 8303.4 ms before, thread 21856: pipeline library: made [vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78] in 1.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 7849.4 ms before, thread 10748: sweep: 5 host copies of windows of title memory let go (28672 KiB), held by no list and no slot 6860.7 ms before, thread 21576: pipeline library: made [compute 6697dff15287e544] in 4026.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6647.2 ms before, thread 10748: sweep: 9 host copies of windows of title memory let go (40960 KiB), held by no list and no slot 6299.7 ms before, thread 21376: pipeline library: made [compute a9983f75e1e974a1] in 4222.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6284.8 ms before, thread 21376: pipeline library: made [compute b2efa9e53e9aa087] in 8.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6028.3 ms before, thread 19344: pipeline library: made [compute 782e8e19cfa21ce1] in 3961.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6013.9 ms before, thread 22236: pipeline library: made [compute 4c9cd93d98b9347f] in 4782.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 6012.0 ms before, thread 19344: pipeline library: made [compute a119712dc08b0171] in 11.4 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 5676.4 ms before, thread 17088: pipeline library: made [compute 06796b9a23b4a7b1] in 4390.3 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 5411.9 ms before, thread 21596: pipeline library: made [compute 2d1a812e23c2b70f] in 4399.8 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 5273.6 ms before, thread 10748: sweep: 9 host copies of windows of title memory let go (45056 KiB), held by no list and no slot 5150.1 ms before, thread 2292: pipeline library: made [compute 4a88a9732b2f30c4] in 3925.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4689.7 ms before, thread 17088: pipeline library: made [compute 191ecaed66eea3b1] in 900.6 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4515.2 ms before, thread 2292: pipeline library: made [compute 65de113e23fa4fdd] in 593.3 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4334.5 ms before, thread 21164: pipeline library: made [compute 8d0899ce5fcf72a7] in 4238.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 4257.2 ms before, thread 10748: sweep: 8 host copies of windows of title memory let go (36864 KiB), held by no list and no slot 3178.9 ms before, thread 10748: sweep: 1 host copies of windows of title memory let go (4096 KiB), held by no list and no slot 3030.3 ms before, thread 21576: pipeline library: made [compute 2dc1a06791036e46] in 3765.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 2376.2 ms before, thread 21576: pipeline library: made [compute 804b342cb4b9d1e9] in 614.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 2021.5 ms before, thread 22236: pipeline library: made [compute 0d6e8ac93ccea91b] in 3902.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1784.9 ms before, thread 2292: pipeline library: made [compute be6ce5d849d51127] in 2505.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1784.3 ms before, thread 21376: pipeline library: made [compute 962a7cfc5520cf4f] in 4411.6 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1780.0 ms before, thread 19344: pipeline library: made [compute 4c97c2ac777ebc3c] in 4146.5 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1484.2 ms before, thread 21596: pipeline library: made [compute 7398df71d31fc190] in 3849.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1480.2 ms before, thread 21596: pipeline library: saved 44088 bytes, renamed over the library's file 1077.4 ms before, thread 19344: pipeline library: made [compute 31d703207b51549a] in 648.1 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1039.9 ms before, thread 22236: pipeline library: made [compute ab5455fc6abb804f] in 864.2 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 1033.4 ms before, thread 10748: sweep: 25 host copies of windows of title memory let go (126976 KiB), held by no list and no slot 1033.4 ms before, thread 10748: sweep: 1 staging buffers of textures let go (15 KiB), held by no list 696.4 ms before, thread 21596: pipeline library: made [compute 240cb516c1af0bc3] in 727.6 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 574.0 ms before, thread 21164: pipeline library: made [compute ab8bd5a9904baf76] in 3599.7 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 427.0 ms before, thread 17088: pipeline library: made [compute 20ab5ea44cad8dca] in 4183.0 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) 260.4 ms before, thread 19344: pipeline library: made [compute 1d44a723bdebbf27] in 754.2 ms (the library did not load it: 鍙傛暟閿欒銆?(0x80070057)) ERROR victory_gpu::host: device-removed data; breadcrumbs (done/count, list) [] ERROR victory_gpu::host: host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 43 lists; breadcrumbs (done/count, list) []; device removed: GPU 涓嶅搷搴旀洿澶氱殑鍛戒护锛屾渶涓哄彲鑳界殑鍘熷洜鏄叾浠栧簲鐢ㄧ▼搴忛€掍氦浜嗘棤鏁堢殑鍛戒护銆? 璋冪敤搴旂敤绋嬪簭搴旇閲嶆柊鍒涘缓璁惧骞剁户缁€?(0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command KLBF Lab: host GPU failure: host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 43 lists; breadcrumbs (done/count, list) []; device removed: GPU 涓嶅搷搴旀洿澶氱殑鍛戒护锛屾渶涓哄彲鑳界殑鍘熷洜鏄叾浠栧簲鐢ㄧ▼搴忛€掍氦浜嗘棤鏁堢殑鍛戒护銆? 璋冪敤搴旂敤绋嬪簭搴旇閲嶆柊鍒涘缓璁惧骞剁户缁€?(0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_21' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_22' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_23' -- falling back to NewBE ` Two things in it that I did not expect, and that may matter more than the relay settings: 1. **The removal lands in the middle of a pipeline-compilation storm.** Almost every line above is a compute pipeline being *made*, taking **0.6–4.8 seconds each**, dozens of them inside the last ten seconds. The device does not go while the frame is heavy — it goes while the layer is building pipelines. 2. **None of them load from the library.** Every one says `the library did not load it: 0x80070057` (parameter incorrect), even though `pipeline library: saved … renamed over the library's file` a moment earlier. That is the same `0x80070057` that #329 reports on an RX 6700 XT with 1.6–9.8 s per pipeline. So on this card the library is written but never read back, and every start pays the full compilation again. That is also why the second launcher changed the outcome: warming the cache first (it precompiled 25,000-odd shaders before the run) means far fewer pipelines are built in the first minutes, so the device never meets the storm — and the run gets far enough to hit the memory wall instead. Full log is here if you want to grep it (11,749 lines, 2.5 MB) — say how you want it sent and it goes.
PastiiJay commented 2026-11-27 12:27:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T12:27:15Z.


Thanks @a15106479638-hub for confirming the Agility SDK fetch works on 0f51200.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7218260929 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7218260929). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T12:27:15Z. --- Thanks @a15106479638-hub for confirming the Agility SDK fetch works on 0f51200.
a15106479638-hub commented 2026-11-27 12:28:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T12:28:12Z.


I ported the three commits onto beta-amd v12 locally rather than wait, because the answer is short and you need it before doing the work: three of the four commits are enough to carry the device through. The prelude pool (63a773e) is the one I did not take — v12 already has PreludeSlot and the idle-age trim, and porting a second pool over it would have been a rewrite, not a port. So this is f173347 + 018d372 + e3c0703 only.

Same machine, same settings as the baseline above (RELAY=2, --console series-s, textures 1024, everything else as play.ps1 ships):

v12, RELAY=2, series-s baseline + the three commits
device removals 2 and 3, at ~2 and ~3 min 0
how it ended removed during shader compile still running at 9 min, stopped by me
aperture segment over 80% — (no counter) 1 time, 1,653 MB of 2,048 MB, back-off landed flights as they were sent
frames in the world 3–4 fps, compiling 70 samples, average 8.0, max 14.2, 10th percentile 2.9, 182 ms a frame
memory — 44.6 GB of commit at the end

Two things worth reading into that:

  1. The counter fired once and the run survived. That is the mechanism working: at 1,653 of 2,048 MB the flights land as they are sent and idle lists are trimmed, and the device stays. Without the back-off the same moment is the removal.
  2. the library did not load it was 0 times in this run, against dozens in the baseline. I think that is the warm cache from the baseline runs (the shaders were compiled then), not the patches — worth knowing so it is not over-credited.

The frame rate is low here for a reason unrelated to the fix: this tree does not fit 32 GB (44.6 GB commit) and the settings are heavier than the other forks I ran. On the 6700XT fork, which fits the layer into 32 GB, the same commits gave me 18.1 fps average / 28.8 max. So the removal is the part these three commits solve; the memory is a separate piece, and 63a773e is part of it (952 preludes held for the life of their lists is not nothing).

The patches are a diff against 84a4f67: host.rs (+~90), list.rs (+~60), host/segments.rs (new, 128 lines), Cargo.toml (one feature line). list.rs needs one change the fork does not have — Idle carries a third field here, so trim_idle matches Idle(_, bytes, _).

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7218279696 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7218279696). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T12:28:12Z. --- I ported the three commits onto `beta-amd` v12 locally rather than wait, because the answer is short and you need it before doing the work: **three of the four commits are enough to carry the device through.** The prelude pool (`63a773e`) is the one I did not take — v12 already has `PreludeSlot` and the idle-age trim, and porting a second pool over it would have been a rewrite, not a port. So this is `f173347` + `018d372` + `e3c0703` only. Same machine, same settings as the baseline above (`RELAY=2`, `--console series-s`, textures 1024, everything else as `play.ps1` ships): | v12, `RELAY=2`, series-s | baseline | + the three commits | |---|---|---| | device removals | **2 and 3**, at ~2 and ~3 min | **0** | | how it ended | removed during shader compile | **still running at 9 min**, stopped by me | | aperture segment over 80% | — (no counter) | **1 time**, 1,653 MB of 2,048 MB, back-off landed flights as they were sent | | frames in the world | 3–4 fps, compiling | 70 samples, **average 8.0, max 14.2**, 10th percentile 2.9, 182 ms a frame | | memory | — | 44.6 GB of commit at the end | Two things worth reading into that: 1. **The counter fired once and the run survived.** That is the mechanism working: at 1,653 of 2,048 MB the flights land as they are sent and idle lists are trimmed, and the device stays. Without the back-off the same moment is the removal. 2. **`the library did not load it` was 0 times in this run**, against dozens in the baseline. I think that is the warm cache from the baseline runs (the shaders were compiled then), not the patches — worth knowing so it is not over-credited. The frame rate is low here for a reason unrelated to the fix: this tree does not fit 32 GB (44.6 GB commit) and the settings are heavier than the other forks I ran. On the 6700XT fork, which fits the layer into 32 GB, the same commits gave me 18.1 fps average / 28.8 max. So the removal is the part these three commits solve; the memory is a separate piece, and `63a773e` is part of it (952 preludes held for the life of their lists is not nothing). The patches are a diff against `84a4f67`: `host.rs` (+~90), `list.rs` (+~60), `host/segments.rs` (new, 128 lines), `Cargo.toml` (one feature line). `list.rs` needs one change the fork does not have — `Idle` carries a third field here, so `trim_idle` matches `Idle(_, bytes, _)`.
PastiiJay commented 2026-11-27 12:42:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T12:42:22Z.


This is great, thank you: 0 device removals against 2-3 before is exactly what the RDNA2 cards needed, and skipping 63a773e makes sense since v12 has PreludeSlot. Could you push your three ports to a public branch and link it here? We'll take them onto beta-amd with an A/B bench and credit you and @kyokyotosh by name.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7218575179 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7218575179). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T12:42:22Z. --- This is great, thank you: 0 device removals against 2-3 before is exactly what the RDNA2 cards needed, and skipping 63a773e makes sense since v12 has PreludeSlot. Could you push your three ports to a public branch and link it here? We'll take them onto beta-amd with an A/B bench and credit you and @kyokyotosh by name.
PastiiJay commented 2026-11-27 13:00:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T13:00:58Z.


Thanks @a15106479638-hub, you're credited in the Quick fixes table in the README.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7218953111 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7218953111). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T13:00:58Z. --- Thanks @a15106479638-hub, you're credited in the Quick fixes table in the README.
PastiiJay commented 2026-11-27 13:28:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T13:28:17Z.


@a15106479638-hub New stable v12 is up (stable branch, 4c79ac5): bench fix for slower cards (the opening fade no longer counts as black frames), Linux fix for the 2 fps stall, quick-fix table in the README. If you tested before, please re-test, and before any bench or comparison: start the game once and let it translate the shaders (a few minutes, automatic), then play about 10 minutes so the effects are built. Otherwise they compile during the run and the figures aren't comparable. Results with the bench card on github.com/PastiiJay/klbf-lab 🙏

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7219517131 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7219517131). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T13:28:17Z. --- @a15106479638-hub New stable v12 is up (`stable` branch, 4c79ac5): bench fix for slower cards (the opening fade no longer counts as black frames), Linux fix for the 2 fps stall, quick-fix table in the README. If you tested before, please re-test, and before any bench or comparison: start the game once and let it translate the shaders (a few minutes, automatic), then play about 10 minutes so the effects are built. Otherwise they compile during the run and the figures aren't comparable. Results with the bench card on github.com/PastiiJay/klbf-lab 🙏
PastiiJay commented 2026-11-27 13:35:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T13:35:56Z.


A test branch for RDNA2 is up: rdna2-test (eb6feb8) = stable v12 + kyokyotosh's three aperture fixes (thanks @a15106479638-hub for proving them on v12) + a few memory fixes. Could you run it with the default RELAY (no RELAY=0 workaround) and tell us if the device still gets removed? Let the shaders translate and play ~10 min before a bench. Credit to kyokyotosh and to you in the commits.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7219696822 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7219696822). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T13:35:56Z. --- A test branch for RDNA2 is up: `rdna2-test` (eb6feb8) = stable v12 + kyokyotosh's three aperture fixes (thanks @a15106479638-hub for proving them on v12) + a few memory fixes. Could you run it with the default `RELAY` (no RELAY=0 workaround) and tell us if the device still gets removed? Let the shaders translate and play ~10 min before a bench. Credit to kyokyotosh and to you in the commits.
a15106479638-hub commented 2026-11-27 18:11:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T18:11:33Z.


rdna2-test (eb6feb8), built from source here: the device is not removed. Default RELAY=2, --console series-s, ten minutes, one aperture-segment back-off, zero removals.

eb6feb8, RELAY=2, series-s result
device removals 0 in 10 minutes
aperture segment over 80% 1 time — 1,652 MB of 2,048 MB — and the run held through it
memory allocation failures 0
frames in the world 85 samples, average 9.0, max 15.2, 10th percentile 3.1, 157 ms a frame
where it ended still running at 10 min, stopped by me

Against the same settings on v12 before the commits: device removed twice and three times, at ~2 and ~3 minutes. So the branch answers the question you asked it to answer.

Two caveats on the numbers, so they are not over-read. This machine had another game running while I tested (a Java process holding ~9 GB), so system commit started at 27 GB; I capped textures at 256 to make room and it still reached 43.4 GB. The frame figures are therefore not comparable with a clean machine — treat this run as "the removal is gone", not as a bench. The second is that one back-off is a thin sample: the segment crossed 80% once in ten minutes, so the back-off was exercised once, not repeatedly. A run that spends longer in a heavy scene (Series X, or a busy street) would exercise it more.

The Agility SDK fetch in the root play.ps1 is in this branch and works: I deleted D3D12\ and it came back without a manual step.

Same card and OS throughout: RX 6950 XT 16 GB, i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7225226075 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7225226075). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T18:11:33Z. --- `rdna2-test` (`eb6feb8`), built from source here: **the device is not removed.** Default `RELAY=2`, `--console series-s`, ten minutes, one aperture-segment back-off, zero removals. | `eb6feb8`, `RELAY=2`, series-s | result | |---|---| | device removals | **0** in 10 minutes | | aperture segment over 80% | **1 time** — 1,652 MB of 2,048 MB — and the run held through it | | memory allocation failures | 0 | | frames in the world | 85 samples, average 9.0, max 15.2, 10th percentile 3.1, 157 ms a frame | | where it ended | still running at 10 min, stopped by me | Against the same settings on v12 before the commits: device removed twice and three times, at ~2 and ~3 minutes. So the branch answers the question you asked it to answer. **Two caveats on the numbers, so they are not over-read.** This machine had another game running while I tested (a Java process holding ~9 GB), so system commit started at 27 GB; I capped textures at 256 to make room and it still reached 43.4 GB. The frame figures are therefore not comparable with a clean machine — treat this run as "the removal is gone", not as a bench. The second is that **one back-off is a thin sample**: the segment crossed 80% once in ten minutes, so the back-off was exercised once, not repeatedly. A run that spends longer in a heavy scene (Series X, or a busy street) would exercise it more. The Agility SDK fetch in the root `play.ps1` is in this branch and works: I deleted `D3D12\` and it came back without a manual step. Same card and OS throughout: RX 6950 XT 16 GB, i5-12600KF, 32 GB, Windows 11 26300.8935, driver 32.0.21045.29003.
PastiiJay commented 2026-11-27 18:15:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T18:15:16Z.


Thanks @a15106479638-hub, zero removals in 10 minutes where v12 lost the device twice and three times is the answer we wanted, and your caveats keep it honest. Next step when you have a quiet machine: the heavier run you suggested (Series X or a busy street, 15 min or more) so the back-off gets exercised more than once.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7225294572 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7225294572). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T18:15:16Z. --- Thanks @a15106479638-hub, zero removals in 10 minutes where v12 lost the device twice and three times is the answer we wanted, and your caveats keep it honest. Next step when you have a quiet machine: the heavier run you suggested (Series X or a busy street, 15 min or more) so the back-off gets exercised more than once.
a15106479638-hub commented 2026-11-27 18:29:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by a15106479638-hub on 2026-11-27T18:29:23Z.


No separate branch from me — rdna2-test already carries the three fixes, so a second public port would only be a rival copy of the same diff for you to reconcile. Take kyokyotosh's commits as the source of truth; they are the ones I applied.

The two things I learned porting them onto v12 that are not in the commits, and that cost me time:

  1. list.rs needs one change of its own. v12's Idle carries a third field (the idle moment), so trim_idle's byte sum matches Idle(_, bytes, _), not Idle(_, bytes). Small, but the compiler stops there and the message reads like a typo.
  2. 63a773e should be skipped here, not ported. v12's PreludeSlot plus the idle-age trim already cover what the pool was for, and stacking the fork's pool on top would have been a rewrite. Skipping it is why the three-commit version fits v12 at all.

Everything else is verbatim: Held, take_held, land → recycle_landed, keep_idle, host/segments.rs, the Wdk_Graphics_Direct3D feature, and the tight check in the send path. eb6feb8 is the same code in your tree, so if it benches as you want, there is nothing of mine left to take.

On your other note: I will start once, let the shaders translate, play ten minutes to build the effects, then bench — and post the bench card rather than my ad-hoc frame counts. That will be on a machine with nothing else running, unlike the run above.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7225540562 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7225540562). Originally posted by [a15106479638-hub](https://github.com/a15106479638-hub) on 2026-11-27T18:29:23Z. --- No separate branch from me — `rdna2-test` already carries the three fixes, so a second public port would only be a rival copy of the same diff for you to reconcile. Take kyokyotosh's commits as the source of truth; they are the ones I applied. The two things I learned porting them onto v12 that are not in the commits, and that cost me time: 1. **`list.rs` needs one change of its own.** v12's `Idle` carries a third field (the idle moment), so `trim_idle`'s byte sum matches `Idle(_, bytes, _)`, not `Idle(_, bytes)`. Small, but the compiler stops there and the message reads like a typo. 2. **`63a773e` should be skipped here, not ported.** v12's `PreludeSlot` plus the idle-age trim already cover what the pool was for, and stacking the fork's pool on top would have been a rewrite. Skipping it is why the three-commit version fits v12 at all. Everything else is verbatim: `Held`, `take_held`, `land` → `recycle_landed`, `keep_idle`, `host/segments.rs`, the `Wdk_Graphics_Direct3D` feature, and the tight check in the send path. `eb6feb8` is the same code in your tree, so if it benches as you want, there is nothing of mine left to take. On your other note: I will start once, let the shaders translate, play ten minutes to build the effects, then bench — and post the bench card rather than my ad-hoc frame counts. That will be on a machine with nothing else running, unlike the run above.
PastiiJay commented 2026-11-27 18:44:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-27T18:44:19Z.


Thanks, those two porting notes (the third Idle field and skipping 63a773e on v12) are exactly what saves time on our side. Noted with the kyokyotosh commits as the source.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7225814303 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/82#issuecomment-7225814303). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-27T18:44:19Z. --- Thanks, those two porting notes (the third `Idle` field and skipping `63a773e` on v12) are exactly what saves time on our side. Noted with the kyokyotosh commits as the source.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
PastiiJay/klbf-lab#82
No description provided.