Nvidia dev #2562

Merged
bmjask merged 429 commits from upstream-pr/2572 into main 2026-11-28 19:48:22 +00:00
bmjask commented 2026-11-25 23:18:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-25T23:18:11Z.


What is in it

Tested

  • hardware (GPU + driver, CPU), Rust version, debug / release:
  • cargo test --workspace -- --test-threads=4: N passed, N failed, N ignored (SKIPPED GPU tests: …)

Regression run

main:

PR:

Not tested

AI use

  • none / tool and model, and what it did
<!-- greyfinch-sync:ivall/xcl:issue:5500858005 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-25T23:18:11Z. --- <!-- What changes and why, in a few sentences. "Fixes #N" / "Part of #N". Stacked: "Stacked on #N". --> **What is in it** - **Tested** - hardware (GPU + driver, CPU), Rust version, debug / release: - `cargo test --workspace -- --test-threads=4`: N passed, N failed, N ignored (SKIPPED GPU tests: …) **Regression run** <!-- Required when the PR changes crates/xcl/src outside tests: `scripts/smoke.ps1` on a real title, built from main and from this PR's head commit (no uncommitted changes); paste both blocks. Rerun the PR's after every push. Not needed for docs / tests / scripts only. --> main: PR: **Not tested** - **AI use** - none / tool and model, and what it did
DavidM1911 commented 2026-11-26 00:05:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T23:28:51Z.


Verification on RTX 3060 Ti (Windows 11): merge conflict with current main (many files, e.g. crates/xcl/src/gpu/recomp/pso.rs, crates/xcl/src/hle/d3d12x/real.rs, crates/xcl/src/shaders.rs) — needs a rebase before it can be tested.

<!-- greyfinch-sync:ivall/xcl:comment:7177618292 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7177618292). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T23:28:51Z. --- Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** (many files, e.g. `crates/xcl/src/gpu/recomp/pso.rs`, `crates/xcl/src/hle/d3d12x/real.rs`, `crates/xcl/src/shaders.rs`) — needs a rebase before it can be tested.
KOLESNiii commented 2026-11-26 00:05:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-25T23:42:39Z.


What is wanted for this?

<!-- greyfinch-sync:ivall/xcl:comment:7177941553 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7177941553). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-11-25T23:42:39Z. --- What is wanted for this?
nnonno91 commented 2026-11-26 00:05:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by nnonno91 on 2026-11-25T23:45:10Z.


Tested xcl-dev:nvidia-dev at c044dc6, which is included in this PR. Release build with Rust 1.100.0 and DXC 1.8.2502.11. Retail title 1.0.2.1 on an RTX 5090 (driver 617.42), Ryzen 7 9800X3D, Windows 11 build 26200.

Two launches reached the menus at about 30 FPS, then hit DXGI_ERROR_DEVICE_HUNG (0x887A0006) during world loading at 103.4 s and 156.2 s after launch. The second run had 11,205 MB of system commit headroom at device removal. Windows logged nvlddmkm event 153 around both failures.

Common flags were XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_UMA_SHADOW=1 XCL_COHERENT_HEAPS=sparse:16 XCL_LOOK_SKIP=1 XCL_NETWORK=0.

Timed follow-up Last interval with presents Timed exit
XCL_DRED=1 62 s 240 s
DRED + XCL_SKIP_CS_KB=256 62 s 180 s
DRED + XCL_PSO_WAIT_MS=50 60 s 150 s
XCL_PAGE_MAPPINGS=0 60 s 180 s

All four follow-ups stopped presenting during world loading and showed zero presents through their scheduled cutoffs. Gameplay was not reached. Related world-loading reports are in #505.

Tests and log analysis by Codex (GPT-6).

<!-- greyfinch-sync:ivall/xcl:comment:7177999785 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7177999785). Originally posted by [nnonno91](https://github.com/nnonno91) on 2026-11-25T23:45:10Z. --- Tested `xcl-dev:nvidia-dev` at `c044dc6`, which is included in this PR. Release build with Rust 1.100.0 and DXC 1.8.2502.11. Retail title 1.0.2.1 on an RTX 5090 (driver 617.42), Ryzen 7 9800X3D, Windows 11 build 26200. Two launches reached the menus at about 30 FPS, then hit `DXGI_ERROR_DEVICE_HUNG` (`0x887A0006`) during world loading at **103.4 s** and **156.2 s** after launch. The second run had **11,205 MB of system commit headroom** at device removal. Windows logged `nvlddmkm` event 153 around both failures. Common flags were `XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_UMA_SHADOW=1 XCL_COHERENT_HEAPS=sparse:16 XCL_LOOK_SKIP=1 XCL_NETWORK=0`. | Timed follow-up | Last interval with presents | Timed exit | | --- | ---: | ---: | | `XCL_DRED=1` | 62 s | 240 s | | DRED + `XCL_SKIP_CS_KB=256` | 62 s | 180 s | | DRED + `XCL_PSO_WAIT_MS=50` | 60 s | 150 s | | `XCL_PAGE_MAPPINGS=0` | 60 s | 180 s | All four follow-ups stopped presenting during world loading and showed zero presents through their scheduled cutoffs. Gameplay was not reached. Related world-loading reports are in #505. Tests and log analysis by Codex (GPT-6).
pr1sm-dev commented 2026-11-26 00:05:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by pr1sm-dev on 2026-11-25T23:48:41Z.


Linux / RTX 3070 8 GB, nvidia-dev at c044dc6: a 600 s run crashed at 374.8 s in xcl::hle::xg::copy_from (xg.rs:713), the CopyFromSubresource crash of #662. The branch has none of its open fixes (#684, #976, #992, #1435). One run, so a data point; the head of this PR is one recompiler commit past c044dc6 and does not touch xg.rs.

Setup: RTX 3070 8 GB, NVIDIA 595.91.07 (Linux), Ryzen 7 5800X, 62 GB RAM; Wine 11.22 + vkd3d-proton master 30b0eb9b with #257's patch; x86_64-pc-windows-gnu release build of c044dc6, no local changes. The retail title, VKD3D_CONFIG=ignore_shared_fence,pipeline_library_log,no_descriptor_heap,retain_psos, XCL_SHORT_MOVIES=1, XCL_NETWORK=0, XCL_PSO_WAIT_MS unset, A / DOWN pressed by XCL_PRESS_AT; compute driver blobs mostly warm (129 compute pipelines from kept blobs, 36 built in the run).

What happened

  • No world: the screen captures (every 5 s up to 328 s) show loading art and dark frames. The three compute programs over 600 KB of DXIL built in the run took 120 s on average (215 s the longest); presents averaged 1–35 per 2 s over each 30 s from 90 s to the crash.
  • At 374.8 s: 0xc0000005, a write inside msvcrt memcpy on a title thread that records command lists, called from xcl::hle::xg::copy_from at xg.rs:713 (resolved from this build's debug info) – the 2D row loop, writing row_pitch apart.

#684 on top

  • #684 (e56dbc3) cherry-picks onto c044dc6 without conflicts and builds.
  • One run with it, same settings and length: no crash, but presents stopped at 375 s while the title's threads waited for compute pipelines still being built (the driver had just started on one of about 1 MB of DXIL with no blob yet). So that run does not show whether the copy was reached; it is not a confirmation of #684 here. @spicbully-star's report on #662 (RDNA4, Windows) is the one that shows a #684-like change removing the crash.

Edit: with the switches from #2057 (XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_UMA_SHADOW=1 XCL_COHERENT_HEAPS=sparse:16 XCL_LOOK_SKIP=1, otherwise as above), c044dc6 ends at 43.8 s and 17.4 s in two runs: status 0x3 with a winevulkan ← d3d12core stack, in the traced run during a compute pipeline's driver compile that never finished. It has the signature of the Linux NVIDIA crash on #2229's constant tables (that program's SPIR-V holds such tables), though I have not shown it is the same cause on this branch; @MacieGx's v2 of #2229 removes it on its own branch here (https://github.com/xcl-dev/xcl/pull/2229#issuecomment-7178373827), but does not cherry-pick onto this branch (conflicts in 3 files), so it would need his rebase or a merge here.

AI use: Claude Code (Claude Opus 5.5) made the runs and wrote this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7178084101 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7178084101). Originally posted by [pr1sm-dev](https://github.com/pr1sm-dev) on 2026-11-25T23:48:41Z. --- **Linux / RTX 3070 8 GB, `nvidia-dev` at `c044dc6`: a 600 s run crashed at 374.8 s in `xcl::hle::xg::copy_from` (`xg.rs:713`), the `CopyFromSubresource` crash of #662. The branch has none of its open fixes (#684, #976, #992, #1435).** One run, so a data point; the head of this PR is one recompiler commit past `c044dc6` and does not touch `xg.rs`. **Setup:** RTX 3070 8 GB, NVIDIA 595.91.07 (Linux), Ryzen 7 5800X, 62 GB RAM; Wine 11.22 + vkd3d-proton master `30b0eb9b` with #257's patch; `x86_64-pc-windows-gnu` release build of `c044dc6`, no local changes. The retail title, `VKD3D_CONFIG=ignore_shared_fence,pipeline_library_log,no_descriptor_heap,retain_psos`, `XCL_SHORT_MOVIES=1`, `XCL_NETWORK=0`, `XCL_PSO_WAIT_MS` unset, A / DOWN pressed by `XCL_PRESS_AT`; compute driver blobs mostly warm (129 compute pipelines from kept blobs, 36 built in the run). **What happened** - No world: the screen captures (every 5 s up to 328 s) show loading art and dark frames. The three compute programs over 600 KB of DXIL built in the run took 120 s on average (215 s the longest); presents averaged 1–35 per 2 s over each 30 s from 90 s to the crash. - At 374.8 s: `0xc0000005`, a write inside `msvcrt` `memcpy` on a title thread that records command lists, called from `xcl::hle::xg::copy_from` at `xg.rs:713` (resolved from this build's debug info) – the 2D row loop, writing `row_pitch` apart. **#684 on top** - #684 (`e56dbc3`) cherry-picks onto `c044dc6` without conflicts and builds. - One run with it, same settings and length: no crash, but presents stopped at 375 s while the title's threads waited for compute pipelines still being built (the driver had just started on one of about 1 MB of DXIL with no blob yet). So that run does not show whether the copy was reached; it is not a confirmation of #684 here. @spicbully-star's report on #662 (RDNA4, Windows) is the one that shows a #684-like change removing the crash. **Edit: with the switches from #2057** (`XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_UMA_SHADOW=1 XCL_COHERENT_HEAPS=sparse:16 XCL_LOOK_SKIP=1`, otherwise as above), `c044dc6` ends at 43.8 s and 17.4 s in two runs: status `0x3` with a `winevulkan` ← `d3d12core` stack, in the traced run during a compute pipeline's driver compile that never finished. It has the signature of the Linux NVIDIA crash on #2229's constant tables (that program's SPIR-V holds such tables), though I have not shown it is the same cause on this branch; @MacieGx's v2 of #2229 removes it on its own branch here (https://github.com/xcl-dev/xcl/pull/2229#issuecomment-7178373827), but does not cherry-pick onto this branch (conflicts in 3 files), so it would need his rebase or a merge here. AI use: Claude Code (Claude Opus 5.5) made the runs and wrote this comment.
GodlyBDS commented 2026-11-26 03:06:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by GodlyBDS on 2026-11-26T02:30:22Z.


RTX 3090 Ti / Windows 10 — two CPU blockers and repeatable ExecuteIndirect TDR

Tested release 22eb6f211dc1256c202e8df9dfaffff4211d61ba on RTX 3090 Ti 24 GB, driver 621.40, Windows 10 19045, Ryzen 9 5950X, 32 GiB RAM and DXC 1.8.2502.11. The patched runs used the 1 GiB app profile, four heap windows, direct DXIL, UMA shadows, DRED and unlimited PSO waits.

  1. The unmodified build reported that a valid host XCL_D3D12_DIR on another drive had no D3D12Core.dll, fell back to inbox D3D12, rejected root flags and exited at 7.594 s with the +0xb5a5f8 null-read signature from #598. Scoping Agility initialization to native host path resolution loaded SDK v620 and passed that point. The path-scope regression passed.
  2. The Agility-fixed build reached 74.398 s and faulted in xg::copy_from on a destination write. The failing call uses the extra argument before the source pointer, as in #662. Using the extra-argument wrapper and checked row copies from our local baseline cleared this failure. Five XG tests passed, including argument ordering and the unmapped destination case.
  3. With both compatibility fixes, two runs reached DXGI_ERROR_DEVICE_HUNG (0x887a0006) at ~86 and ~96 s. Both recorded nvlddmkm 153 and Display 4101. DRED reported 16 of 7,339 operations complete in the affected list. The first outstanding operation was ExecuteIndirect. In the run with DRED pipeline names, the label was VS d2a238740e50f037, PS e2bcc91e569d6d13. VA was 0, with no associated allocations. The second run reproduced the breadcrumb with the CPU D3D12 debug layer and targeted binding tracing enabled.

The same shader pair drew the UI earlier. The breadcrumb helps locate the execution failure, and more evidence is needed to identify the faulty resource or producer. No verified world geometry in either run.

AI use: OpenAI Codex (GPT-6) integrated the focused local backports, ran the tests, and analyzed the logs.

<!-- greyfinch-sync:ivall/xcl:comment:7180865764 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7180865764). Originally posted by [GodlyBDS](https://github.com/GodlyBDS) on 2026-11-26T02:30:22Z. --- **RTX 3090 Ti / Windows 10 — two CPU blockers and repeatable ExecuteIndirect TDR** Tested release `22eb6f211dc1256c202e8df9dfaffff4211d61ba` on RTX 3090 Ti 24 GB, driver 621.40, Windows 10 19045, Ryzen 9 5950X, 32 GiB RAM and DXC 1.8.2502.11. The patched runs used the 1 GiB app profile, four heap windows, direct DXIL, UMA shadows, DRED and unlimited PSO waits. 1. The unmodified build reported that a valid host `XCL_D3D12_DIR` on another drive had no `D3D12Core.dll`, fell back to inbox D3D12, rejected root flags and exited at 7.594 s with the `+0xb5a5f8` null-read signature from #598. Scoping Agility initialization to native host path resolution loaded SDK v620 and passed that point. The path-scope regression passed. 2. The Agility-fixed build reached 74.398 s and faulted in `xg::copy_from` on a destination write. The failing call uses the extra argument before the source pointer, as in #662. Using the extra-argument wrapper and checked row copies from our local baseline cleared this failure. Five XG tests passed, including argument ordering and the unmapped destination case. 3. With both compatibility fixes, two runs reached `DXGI_ERROR_DEVICE_HUNG` (`0x887a0006`) at ~86 and ~96 s. Both recorded `nvlddmkm` 153 and Display 4101. DRED reported 16 of 7,339 operations complete in the affected list. The first outstanding operation was `ExecuteIndirect`. In the run with DRED pipeline names, the label was VS `d2a238740e50f037`, PS `e2bcc91e569d6d13`. VA was 0, with no associated allocations. The second run reproduced the breadcrumb with the CPU D3D12 debug layer and targeted binding tracing enabled. The same shader pair drew the UI earlier. The breadcrumb helps locate the execution failure, and more evidence is needed to identify the faulty resource or producer. No verified world geometry in either run. AI use: OpenAI Codex (GPT-6) integrated the focused local backports, ran the tests, and analyzed the logs.
Royalflamejlh commented 2026-11-26 06:06:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Royalflamejlh on 2026-11-26T05:18:27Z.


On Linux + NVIDIA, c044dc6 with #684 lost the device in 14 of 17 runs, at 95 to 207 s, with Xid 109 (CTX SWITCH TIMEOUT) in the kernel log in 11 of them and in one run without a removal: probably the DXGI_ERROR_DEVICE_HUNG with event 153 reported above on the RTX 5090 and the RTX 3090 Ti (a guess). In 1 of the 2 runs with breadcrumbs_sync (a barrier after each command), the one queue vkd3d-proton could read had stopped in a Dispatch(320, 180, 1) of cs 3cd7bbae40a84030; the other skipped that program and placed no list. Skipping that program, or taking out 1be95b1b's spin exchange, did not stop the hang. main b49be18 with #684, #751, #1599, #1860, #2082, #2404, #2615 and #2598 (XCL_DIRECT_DXIL=1 of the four; two of the four plain runs on vkd3d-proton's standard dxil-spirv) hit Xid 109 in the 4 runs without breadcrumbs_sync (106 to 159 s), but not in the 2 with it (stopped by our memory guard at 167 and 188 s), so it may be a different hang.

Setup: RTX 4060 Ti 16 GB (NVIDIA 615.71.09), Wine 11.21 Staging, vkd3d-proton v3.1-90-g30b0eb9b with dxil-spirv 694cc674 and three local patches to it, unless named. XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_UMA_SHADOW=1 XCL_CS_PSO_WAIT_MS=50 unless named; first-run screens completed once, no story progress; 300 s asked (1,050 s in three runs).

changed from the setup runs device removed at
none 1 – (Xid 109 at 98.9 s, no removal reported; no present after 94.5 s)
breadcrumbs (the kit built with its trace option; 3 runs on a bench-only tree that waits 10 s at a removal) 5 95.3, 102.7, 104.5, 132.8 s; 94.9 s with breadcrumbs_sync
no XCL_CS_PSO_WAIT_MS 2 147.6 s; – (no present after 94.2 s)
no XCL_HEAP_WINDOWS, no XCL_UMA_SHADOW 2 207.4 s; – (no present after 94.2 s)
HLSL path (no XCL_DIRECT_DXIL) 1 177.0 s
vkd3d-proton's standard dxil-spirv, + #1860 1 132.3 s
XCL_TWO_PASS_MB=1: no two-pass ExecuteIndirect ran (the second with breadcrumbs) 2 130.8, 103.1 s
XCL_SKIP_CS=3cd7bbae40a84030 (the second with breadcrumbs_sync) 2 106.4, 99.6 s
kernel.rs:684 back to main's barrier (33..=64 => Partner::Present) 1 103.8 s
  • Read: that program (64 threads a group) has one loop, the counter spin 1be95b1b gives a 33–64-thread compute group (lanes.rs, up to 1,048,576 tries per wait), where main has the group barrier #1727 found hanging; the hang came with either (last row).
  • With XCL_TWO_PASS_MB=1 no two-pass ExecuteIndirect ran and the device was lost all the same, so the ExecuteIndirect that DRED left outstanding on the RTX 3090 Ti may be a list that waited, not the cause (a guess).

Not tested: Windows; the head 22eb6f2 (one commit past c044dc6, on static samplers; it touches neither ExecuteIndirect nor the wave exchange); main without the eight pull requests; more than one run in most rows.

AI use: Claude Code (Claude Opus 5.5) made the runs, read the logs, the breadcrumbs and the translated programs, and wrote this.

Posted without review by a person: the account owner was away and reads replies later.

<!-- greyfinch-sync:ivall/xcl:comment:7183368441 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7183368441). Originally posted by [Royalflamejlh](https://github.com/Royalflamejlh) on 2026-11-26T05:18:27Z. --- On Linux + NVIDIA, `c044dc6` with #684 lost the device in 14 of 17 runs, at 95 to 207 s, with Xid 109 (`CTX SWITCH TIMEOUT`) in the kernel log in 11 of them and in one run without a removal: probably the `DXGI_ERROR_DEVICE_HUNG` with event 153 reported above on the RTX 5090 and the RTX 3090 Ti (a guess). In 1 of the 2 runs with `breadcrumbs_sync` (a barrier after each command), the one queue vkd3d-proton could read had stopped in a `Dispatch(320, 180, 1)` of `cs 3cd7bbae40a84030`; the other skipped that program and placed no list. Skipping that program, or taking out `1be95b1b`'s spin exchange, did not stop the hang. `main` `b49be18` with #684, #751, #1599, #1860, #2082, #2404, #2615 and #2598 (`XCL_DIRECT_DXIL=1` of the four; two of the four plain runs on vkd3d-proton's standard dxil-spirv) hit Xid 109 in the 4 runs without `breadcrumbs_sync` (106 to 159 s), but not in the 2 with it (stopped by our memory guard at 167 and 188 s), so it may be a different hang. **Setup:** RTX 4060 Ti 16 GB (NVIDIA 615.71.09), Wine 11.21 Staging, vkd3d-proton `v3.1-90-g30b0eb9b` with dxil-spirv `694cc674` and three local patches to it, unless named. `XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_UMA_SHADOW=1 XCL_CS_PSO_WAIT_MS=50` unless named; first-run screens completed once, no story progress; 300 s asked (1,050 s in three runs). | changed from the setup | runs | device removed at | |---|---|---| | none | 1 | – (Xid 109 at 98.9 s, no removal reported; no present after 94.5 s) | | breadcrumbs (the kit built with its trace option; 3 runs on a bench-only tree that waits 10 s at a removal) | 5 | 95.3, 102.7, 104.5, 132.8 s; 94.9 s with `breadcrumbs_sync` | | no `XCL_CS_PSO_WAIT_MS` | 2 | 147.6 s; – (no present after 94.2 s) | | no `XCL_HEAP_WINDOWS`, no `XCL_UMA_SHADOW` | 2 | 207.4 s; – (no present after 94.2 s) | | HLSL path (no `XCL_DIRECT_DXIL`) | 1 | 177.0 s | | vkd3d-proton's standard dxil-spirv, + #1860 | 1 | 132.3 s | | `XCL_TWO_PASS_MB=1`: no two-pass `ExecuteIndirect` ran (the second with breadcrumbs) | 2 | 130.8, 103.1 s | | `XCL_SKIP_CS=3cd7bbae40a84030` (the second with `breadcrumbs_sync`) | 2 | 106.4, 99.6 s | | `kernel.rs:684` back to `main`'s barrier (`33..=64 => Partner::Present`) | 1 | 103.8 s | - **Read:** that program (64 threads a group) has one loop, the counter spin `1be95b1b` gives a 33–64-thread compute group (`lanes.rs`, up to 1,048,576 tries per wait), where `main` has the group barrier #1727 found hanging; the hang came with either (last row). - With `XCL_TWO_PASS_MB=1` no two-pass `ExecuteIndirect` ran and the device was lost all the same, so the `ExecuteIndirect` that DRED left outstanding on the RTX 3090 Ti may be a list that waited, not the cause (a guess). **Not tested:** Windows; the head `22eb6f2` (one commit past `c044dc6`, on static samplers; it touches neither `ExecuteIndirect` nor the wave exchange); `main` without the eight pull requests; more than one run in most rows. **AI use:** Claude Code (Claude Opus 5.5) made the runs, read the logs, the breadcrumbs and the translated programs, and wrote this. Posted without review by a person: the account owner was away and reads replies later.
Prime1997 commented 2026-11-26 13:53:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Prime1997 on 2026-11-26T13:53:10Z.

Review: COMMENTED


NVIDIA-related PR status — bounded review, 26 November 2026. This records the discovered 13:22 UTC cohort across all target branches, including drafts: 288 open PRs, 46 drafts: 24 good within the reviewed scope,62 need changes, 202 blocked. #2791 was subsequently rechecked and retested at 749b0e06. Other rows identify the cutoff head; later pushes require a new review. Ten unrelated candidates and two externally closed PRs are excluded. This is not an exhaustive audit of all 1492 open PRs.

Current main is b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7; this NVIDIA stack is af2cecc40886a8682ecf3267f5328c6dc4b66ad7:0 main-only / 371 NVIDIA-only commits. Targets in this cohort:272 main, 12 nvidia-dev, 4 amd-dev.

Meaning of the statuses: good means useful within the named source or targeted-test scope, not merge approval. Needs changes includes implementation defects, inherited stack prerequisites, unsafe/inaccurate fixtures and reporting errors; it does not mean every issue was introduced by that PR. Blocked means current integration, full stack, platform or device validation is incomplete. Draft status, conflicts and overlap alone are never closure reasons. No PR was closed in this pass.

Measured: 86 CPU passes across 30 distinct CPU source/test variants, plus 1 CPU-only query fixture in the device harness; 9 device-fixture passes; negative controls 2 passed / 6 expected failures; 3 synthetic script runs passed. Four repeat baseline passes are excluded. Failed/deferred setup attempts remain separate; an old-DXC failure was resolved using a private DXC 1.9 copy. No ignored/skip result is counted as coverage. Tests include current-main baselines and 12 isolated PR integrations; other reports identify clean PR heads or local repairs. Counts overlap across revisions and are not one whole-suite run.

The worker/adapter fixes remain local, including contributor #2705 plus #2712/#2555 integration. The #2731 local repair passed 6 checks after reproducing the stale-ownership failure. The refreshed #2791 passed its CPU query-failure fixture and both device fixtures, with 19 tiling cases on RTX 3060 Ti. Whole-suite/retail validation, AMD comparison, real multi-adapter recovery and the large PSO-memory benchmark remain unperformed. All native work used isolated sources, the shared lock and game-idle guards; this review made no installation or game-data change.

The cohort is accounted through 243 bounded exact-head source reviews, 10 public scoped reviews and 35 existing scoped receipts whose limits remain explicit. Bounded source review can cover an owned delta and relevant callers without certifying its entire inherited stack. Individual reports below preserve exact variants, selected tests and exclusions.

Good within the reviewed scope: 24 PRs
PR Head Draft Scope / next action
#857 aaf8aa16809d no Docs: the wave64-on-wave32 note calls closed PR #33 a draft; bounded source/script review only.
#1262 aa9c75a49cee no Docs: the split-wave64 exchange spins by default, since PR #798; bounded source/script review only.
#1270 5e4d91a7fe2c no Scripts: smoke.ps1 reads the log of a run it killed on timeout; bounded source/script review only.
#2179 9483d4363b9c no Shaders: gate offline --pipelines large DXIL builds on commit headroom; targeted result in linked report; remaining validation applies.
#2332 ab861b819677 yes D3D12.X: check shader cache capacity before copying entries; targeted result in linked report; remaining validation applies.
#2350 4cd2bc20cc28 yes D3D12.X: plan split-dispatch slabs without heap allocations; targeted result in linked report; remaining validation applies.
#2424 89bbbb4995b4 yes D3D12.X: keep inline split pipeline pieces on the foreground path; targeted result in linked report; remaining validation applies.
#2426 9c178b2d6499 no D3D12.X: a create that fails on a lost device keeps the driver's blob; targeted result in linked report; remaining validation applies.
#2437 e4269721c279 no D3D12.X: the per-draw mirror sync copies without asking readable(); targeted result in linked report; remaining validation applies.
#2475 398cefbcd74a no Recompiler: count split shader pieces in the cache budget; targeted result in linked report; remaining validation applies.
#2532 bb33ceed26be no D3D12.X: reserve split compute scratch before allocating it; targeted result in linked report; remaining validation applies.
#2535 1e4a2c787a07 no Recompiler: the rerouted shader cache checks fresh DXIL and chain pieces; targeted result in linked report; remaining validation applies.
#2579 93445592be14 no D3D12.X: a build a submit waits for is wanted from the moment its call is put off; targeted result in linked report; remaining validation applies.
#2687 df0b92ae87ff no Document shared cache history for used-only precompile; bounded source/script review only.
#2729 93e66c197c27 no D3D12.X: instrument submitting-thread call breakdown under XCL_LOOK_STATS=2; targeted result in linked report; remaining validation applies.
#2765 d7fab00e9e8a no README: translation-only --precompile; --measure-pso needs Developer Mode; bounded source/script review only.
#2767 a173e209151f no Recompiler: share translated DXIL across repeated pipeline builds; targeted result in linked report; remaining validation applies.
#2768 936bb90e17e7 no D3D12.X: anchor XCL_LOOK_SKIP per frame and clear CLOSED on list reset/release; targeted result in linked report; remaining validation applies.
#2770 7a7e161d907c no Tests: wait for late release before checking released pipelines are gone; targeted result in linked report; remaining validation applies.
#2771 6b2691e18b02 yes Tests: some_ranges in texture_upload wraps its generator instead of overflowing; targeted result in linked report; remaining validation applies.
#2773 0c0a7aa4ef1c yes Tests: a page's failed move goes to an address Windows never hands out; targeted result in linked report; remaining validation applies.
#2777 e59d1d11043b yes Shaders: keep xcl shaders out of EcoQoS execution-speed throttling; targeted result in linked report; remaining validation applies.
#2790 ccb14f7f653d no D3D12.X: stencil views get a uint T# format, so shaders load them as integers; targeted result in linked report; remaining validation applies.
#2791 749b0e06c186 no Tests: add AMD vs NVIDIA D3D12 tiling, budget, and pipeline memory parity suite; targeted result in linked report; remaining validation applies.
Needs changes: 62 PRs
PR Head Draft Scope / next action
#245 2fcb0950de68 no Include partial-wave optimizer source in translated-cache invalidation.
#546 720143505d92 yes Correct wave64 reporting on wave32-only hardware.
#562 8ec2a46974d3 no Fence assignment and enqueue can reorder same-queue payloads; baseline gap also remains.
#688 760f742b4238 no Retry ordinary DXC creation after optional private-heap/factory failure.
#759 dd66d20995e2 yes Reject missing/invalid bounds and validate input before starting work.
#827 44d69219872a no Sweep weak shader entries; Weak slice allocations otherwise retain backing bytes.
#924 a2b500731907 no Record successful signals separately from rejected attempts.
#977 47fb4bb5a831 no Short-circuit a failed backend probe before the next device probe.
#1006 ec5bac99305d no Retain pending-save state when persistence fails.
#1102 c387de21fa81 yes Track mapping/content changes so GPU-written state cannot hide later CPU writes.
#1168 0840ff5a690c no Publish queued state and count without exposing decrement-before-increment.
#1193 5ae60ad0a9ba no Include pre-body loop-budget exhaustion in EXEC analysis; local4-test repair passes.
#1385 875a60352ed3 no Revalidate mapping generation before copying old readback bytes after unlocking.
#1442 293584e0078a no Validate or saturate reserve-to-byte conversion.
#1620 3a185909fe54 no Correct the bpermute reference oracle using native half-wave semantics.
#1630 91ae2c62e89f no Preserve low-address carry when choosing scalar-load memory windows.
#1638 2639c0806ef2 no Bound handshake/reply waits and failure fallback before claiming a worker cap.
#1643 7711f4c55672 no Serialize fence/payload ordering and add queue-lifetime cleanup.
#1665 cd46e3fc2bd9 no Allow recovery from transient failures instead of permanently suppressing wanted work.
#1710 89faa8d3fd63 no Make alone-retry admission atomic relative to normal entrants.
#1723 fca46d42e5a1 no Restore nested/thread-local cap state on all exits, including unwind.
#1762 3cd15cb7e896 yes Reserve the working slot atomically with admission; spacing alone leaves a race.
#1809 f090104a9c16 no Use the selected stage backend consistently in cache identity.
#1819 0062ee19f59c no Preserve same-queue enqueue order and unblock fixture GPU waits before assertions.
#1830 6423b67d9d42 no Timeouts must not leave overlapping benchmark work; bound discovery too.
#1871 27362a08509c no Reject a trailing --records instead of starting unbounded whole-pack work.
#1883 327abc816d36 no Report the early-return case through standard skip accounting.
#1924 c09d37689f16 no Reserve aggregate BIG/GIANT capacity atomically across both lanes.
#1931 e870dd2b576f yes Reserve frame allowance atomically and settle against the original frame.
#2009 2f490889758f no Do not signal successful title completion when readback settling fails.
#2010 d30e9a969c20 no Label distinct error reasons accurately and preserve unavailable telemetry.
#2114 21c88bc26b60 no Preserve compute producers under defaults and synchronize demand priority changes.
#2208 e4720ca15041 no Recheck device loss after queued work obtains admission.
#2229 3ce7f30fa5ea no Preserve constant/SDWA source alternatives and invalidate affected cache identity.
#2234 70d5f59b42a6 no Correct documentation that assigns all cache-miss rebuilding to the title thread.
#2246 949609b2ee21 no Gate stale-blob cold retries through large-compute admission.
#2327 e56c368079bb yes Invalidate legacy default cache identity, not only explicit SAFE_BARRIER=0.
#2404 5b9d4ff6f5f4 no Prevent first-call indirect chain truncation while whole fallback is unavailable.
#2422 349970c0a7ad no Address or explicitly scope the disclosed concurrent-final-release gap.
#2438 90bfbd423fe3 no Report the actual benchmark backend and cache provenance.
#2439 336c6c2eeafb yes Handle device-removed fence sentinels and recorded completion-publication gaps.
#2446 3a71471c80b8 no Invalidate graphics reload facts for SDWA scalar destinations.
#2519 50af98ed1f5e no Remove forbidden bundle barriers and resolve multi-piece ordering/lifetime gaps.
#2547 60349e51011d no Complete submit-owned builds as failed after a caught panic; local repair passes.
#2554 ca6f17b1cf4e no Stop on failed whole fallback and enforce expanded dispatch-axis limits.
#2555 5bec587753dd no Match startup adapter fallback to title selection; local injected tests pass.
#2558 2dc76ac89461 no Retain submitted texture resources through failed fence setup/wait recovery.
#2590 004fa0f61f9c yes Verify driver-profile ownership/content before modification or deletion.
#2611 445129ba178e no Capture RTV/DSV ownership before legal descriptor overwrite/free.
#2615 a0734c9f0931 no Preserve pending compute producers under the default wait policy.
#2633 19be65904f91 yes Resolve inherited first-call chain coverage before integrating root-CBV improvement.
#2635 24e584cab160 no Bound initial lock/I/O paths and account for batches already owned by writer.
#2670 ca6a0cc0e8f5 no Do not count cached two-pass work without trace metadata as a cold build.
#2712 8b113eeb3e30 yes Correct worker error classification, adapter forwarding and recovery fixtures.
#2726 71f30c6fe84f no Inject commit headroom and avoid unconditional join after the timeout.
#2730 2e63cbcf565d no Rename lifetime created-SRV coverage currently labelled srv-sampled.
#2731 2f2bb070fafc no Clear stale SRV ownership after UAV replacement; local6-test repair passes.
#2762 496ef5780a45 no Distinguish failed null cache entries from retained textures.
#2772 18b34a9d992f yes Retain ownership metadata after failed memory release; local5-test repair passes.
#2776 d485694b2161 no Compare raw optional usage when selecting the peak ownership snapshot.
#2782 b755223752d7 no Publish drained free descriptors without a retired/free availability gap.
#2792 bfff51a7a366 yes Handle negative SDK batch returns and worker creation failure; feature build untested.
Blocked pending validation: 202 PRs
PR Head Draft Scope / next action
#172 ca66c4aeb0de yes Recompiler: structured form for programs that needed the pc chain; existing scoped evidence; current integration/runtime pending.
#202 6c6b000705e5 no Recompiler: complete remaining RDNA2 integer CLAMP=1 saturation (#105); existing scoped evidence; current integration/runtime pending.
#214 96e68a46b2b2 no D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156); existing scoped evidence; current integration/runtime pending.
#242 ff28e60b41e0 no D3D12.X: R9G9B9E5 render targets / UAVs are half floats where the device refuses them (retail title, Series S); existing scoped evidence; current integration/runtime pending.
#541 6bd8f6410400 no D3D12.X: a console MS in the AS slot is translated as the mesh shader it is; bounded source reviewed; integration/device or full-stack validation pending.
#572 14d638a3ab3c yes Shaders: bound default compile workers by available memory; bounded source reviewed; integration/device or full-stack validation pending.
#591 6c68cc703df3 no dxc: hash arguments into the DXIL cache key and honor XCL_DXC_ARGS (#559); bounded source reviewed; integration/device or full-stack validation pending.
#613 920c3807df84 yes Recompiler: honor DXC overrides with warm translation caches; bounded source reviewed; integration/device or full-stack validation pending.
#628 766b66123528 no D3D12.X: prioritize graphics pipelines in the async PSO worker pool; bounded source reviewed; integration/device or full-stack validation pending.
#642 f1e90c149b5f no Shaders: honor --precompile for a single shader file; bounded source reviewed; integration/device or full-stack validation pending.
#645 aee6962bc639 no Tests: report disabled async compute PSO as skipped; bounded source reviewed; integration/device or full-stack validation pending.
#663 ad0f0cd1d13f no Tests: cover 3D wave64 compute through the D3D12.X PSO hook; bounded source reviewed; integration/device or full-stack validation pending.
#757 4e8aaf4b393c yes D3D12.X: the PC desc of a translated VS / PS pipeline in its own function; bounded source reviewed; integration/device or full-stack validation pending.
#758 c02d05921a5d yes D3D12.X: a journal of the pipelines a title queues (\cache\pipelines.bin); bounded source reviewed; integration/device or full-stack validation pending.
#768 953f9ee0ce38 no D3D12.X: copy from the backing pages of GPU-only views; bounded source reviewed; integration/device or full-stack validation pending.
#789 bc82410abd9c no D3D12.X: decommit released sparse blocks outside the driver callback; existing scoped evidence; current integration/runtime pending.
#820 0488eceb1f4c no D3D12.X: XCL_BIG_COMPILES sets how many big compute pipelines the driver builds at once; bounded source reviewed; integration/device or full-stack validation pending.
#828 b1530ac54544 no D3D12.X: optional graphics-only pipeline preloading; bounded source reviewed; integration/device or full-stack validation pending.
#877 a553a22486ac no Memory: lazily map sparse VRAM tiles for Wine graphics heaps (#175); bounded source reviewed; integration/device or full-stack validation pending.
#881 76dcb8f560bd no Title textures: one upload batch moves its textures in two barrier calls; bounded source reviewed; integration/device or full-stack validation pending.
#889 a39c3992c7a4 no D3D12.X: compute pipelines are built ahead of their first bind; bounded source reviewed; integration/device or full-stack validation pending.
#898 dc4300da36da no D3D12.X: journal a pipeline when the title first binds it; bounded source reviewed; integration/device or full-stack validation pending.
#899 734e6e78b004 no D3D12.X: log how long a bind waits for a pipeline still being built; bounded source reviewed; integration/device or full-stack validation pending.
#900 2817c7c6ee17 no Recompiler: keep the split wave64 halves' scalar state wave-uniform; bounded source reviewed; integration/device or full-stack validation pending.
#902 90d70031f179 no D3D12.X: the driver's blob of a slow graphics pipeline is kept on disk; bounded source reviewed; integration/device or full-stack validation pending.
#904 7c2ccd9b777f no D3D12.X: draws find their pipeline facts and list state without global locks; bounded source reviewed; integration/device or full-stack validation pending.
#917 709abd7fe1a5 no Recompiler: shadow v_writelane spill slots in split-wave64; bounded source reviewed; integration/device or full-stack validation pending.
#941 91ca6cec4ddd no Tests: cover graphics PSO hooks on the GPU without game files; bounded source reviewed; integration/device or full-stack validation pending.
#944 e22a0a6e781b no Recompiler: batch consecutive v_readfirstlane/v_readlane exchanges in…; bounded source reviewed; integration/device or full-stack validation pending.
#969 23eb733a0faf no Tests: cover textured graphics PSOs and static samplers on the GPU; bounded source reviewed; integration/device or full-stack validation pending.
#1022 7e1b659cfcd9 no Recompiler: ds_bpermute_b32 in wave64 stays in each 32-lane half (#772); bounded source reviewed; integration/device or full-stack validation pending.
#1045 fcc2fd20186a no D3D12.X: distinguish the Wait64 signal queue from recording history; bounded source reviewed; integration/device or full-stack validation pending.
#1055 f532d33d695a no kernelx: queue CopyPageMappingsBatchX records the physical page each GPU-view page shows; existing scoped evidence; current integration/runtime pending.
#1111 c29bbad8cafb no Recompiler: propagate split-wave64 lane-local masks through 64-bit bitwise SALU ops; bounded source reviewed; integration/device or full-stack validation pending.
#1113 8aef2946818b no D3D12.X: only a title's run reads and writes used-pipelines.txt; bounded source reviewed; integration/device or full-stack validation pending.
#1123 c6db70c71fcf no D3D12.X: the GPU-wait watchdog says where a chain of waits ends; bounded source reviewed; integration/device or full-stack validation pending.
#1215 757ece9795bc no Recompiler: bound descriptor heap indices from T# and S# words to the heap; bounded source reviewed; integration/device or full-stack validation pending.
#1232 9af37dc2466a no Shaders: count reused compute shaders as cache hits; bounded source reviewed; integration/device or full-stack validation pending.
#1241 7b7c85359bec no Recompiler: clamp out-of-range format and sub-dword buffer loads; bounded source reviewed; integration/device or full-stack validation pending.
#1244 71d3a384d9b3 no Recompiler: split wave64 spin loops poll with a compare-exchange, not an add of 0 (#847); bounded source reviewed; integration/device or full-stack validation pending.
#1252 ec00d67e5075 no Recompiler: split wave64 halves meet before each LDS access; bounded source reviewed; integration/device or full-stack validation pending.
#1254 d88c2aa0fca8 no D3D12.X: the shared view heap logs how full it gets; bounded source reviewed; integration/device or full-stack validation pending.
#1279 d2eb1b4da080 yes Shaders: --pipelines makes programs of 4 MB DXIL or more last, by name; bounded source reviewed; integration/device or full-stack validation pending.
#1315 0d7907b385de no Recompiler: compact form that emits every distinct block text once; bounded source reviewed; integration/device or full-stack validation pending.
#1331 e860e83a1178 no D3D12.X: hold BASES lock across DEPTH_BIAS_PSOS in depth_bias_pso and forget_base; bounded source reviewed; integration/device or full-stack validation pending.
#1363 3d035cfb6fcd no Tests: skip offline compute PSO checks when D3D12 is unavailable; bounded source reviewed; integration/device or full-stack validation pending.
#1364 0da4c3589012 no Recompiler: fix the race for the last wanted DXC slot; bounded source reviewed; integration/device or full-stack validation pending.
#1368 0074749a9678 no D3D12.X: translated compute pipelines are made with node mask 0; bounded source reviewed; integration/device or full-stack validation pending.
#1380 7d43a468169f no Recompiler: big compute programs read their memory windows without a switch; bounded source reviewed; integration/device or full-stack validation pending.
#1396 ca0e1b06d85f no Shaders: restore cache-only state across nesting and unwinding; bounded source reviewed; integration/device or full-stack validation pending.
#1398 36e23fddc939 no D3D12.X: retry driver-rejected compute PSOs without DXC GVN (#756); bounded source reviewed; integration/device or full-stack validation pending.
#1410 b63a67b175d8 no D3D12.X: log once which form wave64 programs get, and why (#1407); bounded source reviewed; integration/device or full-stack validation pending.
#1413 190c97e2c357 no Shaders: XCL_SAFE_BARRIER turns the translation caches off (#1409); bounded source reviewed; integration/device or full-stack validation pending.
#1417 9a3230fa2027 no Shaders: reserve compiler memory slots atomically; bounded source reviewed; integration/device or full-stack validation pending.
#1420 867d307572af no D3D12.X: separate compute driver blobs by static sampler state; bounded source reviewed; integration/device or full-stack validation pending.
#1421 7124a95392e1 no D3D12.X: replace busy copy scratch within budget; bounded source reviewed; integration/device or full-stack validation pending.
#1428 7dbd80c275e4 no D3D12.X: dispatches of more than 65 535 groups in X are folded into Y; existing scoped evidence; current integration/runtime pending.
#1469 188f8ac84f4b no Tests: verify offline compute pipeline blobs are reused at runtime; bounded source reviewed; integration/device or full-stack validation pending.
#1477 86df8e857eed no D3D12.X: fix console_list::cl_reset initial PSO/rollback, oversized push, and null constants; bounded source reviewed; integration/device or full-stack validation pending.
#1502 c65e2c8b459d yes Shaders: --precompile --processes N builds in N processes; bounded source reviewed; integration/device or full-stack validation pending.
#1529 3386385bb1b7 no Shader compile time: DXC compiles without lifetime markers; bounded source reviewed; integration/device or full-stack validation pending.
#1552 e25f6d3a94e8 no D3D12.X: XCL_BACKGROUND_COMPILES=0 stops the driver's second compiles; bounded source reviewed; integration/device or full-stack validation pending.
#1596 524b25c1b7da no Recompiler: split-wave64 EXEC is exchanged only where it is read whole; bounded source reviewed; integration/device or full-stack validation pending.
#1597 6acbfb1f4d57 no Recompiler: a split-wave64 bitwise mask tree exchanges once, at its end; bounded source reviewed; integration/device or full-stack validation pending.
#1601 0003178b8c8b no D3D12.X: guard disk_stores removal on ShaderCacheSession SetDeleteOnDestroy; bounded source reviewed; integration/device or full-stack validation pending.
#1637 b8d92f997eba no Tests: cover split-wave64 mask liveness and mesh_wave analysis; bounded source reviewed; integration/device or full-stack validation pending.
#1652 5829b34f8efb yes d3d12x: bound PSO bind waits, guard pending draws, and auto-init uninitialized targets; bounded source reviewed; integration/device or full-stack validation pending.
#1656 8510ca021834 no xcl run: XCL_STALL_DUMP dumps every thread and ends the title when frames stop; bounded source reviewed; integration/device or full-stack validation pending.
#1661 f70293d56a46 no D3D12.X: route stream graphics PSOs through create_graphics_pso_tracked; bounded source reviewed; integration/device or full-stack validation pending.
#1674 874203435863 no Tests: offline compute pipeline test finds the driver blob with XCL_D…; bounded source reviewed; integration/device or full-stack validation pending.
#1691 f71cf2147ecd no D3D12.X: a queue the title releases is not kept alive by submit tracking; bounded source reviewed; integration/device or full-stack validation pending.
#1692 204625923242 no Recompiler: compact dispatch can switch in two levels (XCL_COMPACT_NEST); bounded source reviewed; integration/device or full-stack validation pending.
#1695 7372ef0f13fa no Recompiler: heap memory windows without a guard (min + null view), and the 64-bit atomics check; bounded source reviewed; integration/device or full-stack validation pending.
#1706 121bfea74639 no Tests: the D32S8 target test waits at most 10 s for its list; bounded source reviewed; integration/device or full-stack validation pending.
#1708 35ec9ebfae00 no D3D12.X: reuse the pipeline lookup when binding a stand-in; bounded source reviewed; integration/device or full-stack validation pending.
#1709 a57a76cd4a9c yes Recompiler: a pixel shader's ordered section uses rasterizer ordered views; bounded source reviewed; integration/device or full-stack validation pending.
#1720 94ecdd55d5f2 no Recompiler: v_pack_b32_f16 applies the abs and neg half modifiers; bounded source reviewed; integration/device or full-stack validation pending.
#1756 f86b01177dee no Scripts: stop shader precompile at a private commit budget; bounded source reviewed; integration/device or full-stack validation pending.
#1758 e2c7975dfaae no Shaders: report progress for every precompile record; bounded source reviewed; integration/device or full-stack validation pending.
#1776 3546d8dea095 no Tests: pin mesh dispatcher scratch and wave32-on-wave64 contract; bounded source reviewed; integration/device or full-stack validation pending.
#1792 f03d41181257 no kernelx: commit a mapping call's sparse pages once per run, not per page; bounded source reviewed; integration/device or full-stack validation pending.
#1793 e935debf939c no Direct DXIL: make multi-wave Compute and Mesh s_barrier early-exit-safe; bounded source reviewed; integration/device or full-stack validation pending.
#1798 55e7beb6de9f no D3D12.X: a draw does not wait for a graphics pipeline still being built; bounded source reviewed; integration/device or full-stack validation pending.
#1802 a01669b516e8 no shaders: benchmark direct DXIL PSO compilation; bounded source reviewed; integration/device or full-stack validation pending.
#1804 97e501e0dee3 no Shaders: --precompile --pipelines skips cached PSOs after canary check; bounded source reviewed; integration/device or full-stack validation pending.
#1826 7ae2bb71845c no Shaders: xcl pipelines --shard k/n splits the journal over processes; bounded source reviewed; integration/device or full-stack validation pending.
#1841 89724e5d4269 no Recompiler: round f16 add / sub / fma / ldexp results to nearest even; bounded source reviewed; integration/device or full-stack validation pending.
#1849 2cc2ba1ac89b no Scripts: measure NVIDIA PSOs with a temporary cache-off profile; existing scoped evidence; current integration/runtime pending.
#1903 13f5a7be9d1e no Tests: use the wave64 skip reason for per-lane DXIL; bounded source reviewed; integration/device or full-stack validation pending.
#1919 5835139244eb no Recompiler: LDS ds_sub_u32 hides its negation from the driver (RTX 50 refuses it); bounded source reviewed; integration/device or full-stack validation pending.
#1921 0c8f2928e938 no Tests: cover D3D12.X pipeline hooks and device extensions; bounded source reviewed; integration/device or full-stack validation pending.
#1936 6158c0cf82b4 yes D3D12.X: no VS, input layout or topology from the title in a mesh pipeline; bounded source reviewed; integration/device or full-stack validation pending.
#1942 f9c9df37703b no D3D12.X: persist both PSOs for translated mesh and geometry; existing scoped evidence; current integration/runtime pending.
#1956 a7217a4f6b1c yes Recompiler: DXC arguments come from one public function (arguments); bounded source reviewed; integration/device or full-stack validation pending.
#1962 5011a26413ed no README: XCL_PIPELINE_THREADS is only for xcl shaders --pipelines; bounded source reviewed; integration/device or full-stack validation pending.
#1997 f053f279fe89 no Shaders: bound direct sweep workers and report panics; bounded source reviewed; integration/device or full-stack validation pending.
#2001 008d9c1c443c no D3D12.X: offload PSO builds, defer lazy compile-on-draw, and wire mmap ID3D12PipelineLibrary1; bounded source reviewed; integration/device or full-stack validation pending.
#2018 908c454a5f0d no Recompiler: XCL_COMPACT_NEST=auto nests programs of 512 cases or more; bounded source reviewed; integration/device or full-stack validation pending.
#2025 eee2b862a16c no Recompiler: nest the compact dispatch of big programs by default; bounded source reviewed; integration/device or full-stack validation pending.
#2047 0e9ebc56978e no Shaders: restore direct DXIL cache ID after source deletion; bounded source reviewed; integration/device or full-stack validation pending.
#2052 b67c8f0cb5a6 yes D3D12.X: a wait an earlier signal covers does not make a signal a cycle; bounded source reviewed; integration/device or full-stack validation pending.
#2053 ea16145a4694 no D3D12.X: catch panics in async PSO builds so waiters and workers do not stall; bounded source reviewed; integration/device or full-stack validation pending.
#2057 4df1e6e3d40a yes D3D12.X: integration branch that reaches the in-world HUD on NVIDIA (reference, not for merge); existing scoped evidence; current integration/runtime pending.
#2067 9b35718ffd32 no Recompiler: emit per-instruction globallycoherent on compute flat memory (stacked on #1850); bounded source reviewed; integration/device or full-stack validation pending.
#2070 8cb43460c48b no Shaders: offline pipeline builds use the runtime workers' 64 MB stack; bounded source reviewed; integration/device or full-stack validation pending.
#2079 fa4bfd114933 no Direct DXIL: route split-wave64 GS-only entry through gate block; bounded source reviewed; integration/device or full-stack validation pending.
#2085 529d13f557a1 no Shaders: share compiled DXIL across pipeline builds; bounded source reviewed; integration/device or full-stack validation pending.
#2096 bb4dea405b5a no D3D12.X: XCL_PSO_MANIFEST=1 writes the order a run asks for its pipelines (#2088); bounded source reviewed; integration/device or full-stack validation pending.
#2097 d98d2d46131c no Recompiler: split wave64 compute groups of several waves across dispatches; bounded source reviewed; integration/device or full-stack validation pending.
#2098 d27d471b9373 no D3D12.X: scale huge pipeline compile slots with available CPUs; existing scoped evidence; current integration/runtime pending.
#2103 7743842ada44 no Direct DXIL: defer cold console_geometry during cached_only PSO probes; bounded source reviewed; integration/device or full-stack validation pending.
#2104 f1810d0c362e no Shaders: precompile compute pipelines through a recorded present; bounded source reviewed; integration/device or full-stack validation pending.
#2122 ddcda0184c4f no Recompiler: close four wave64-on-wave32 partition classifier soundness holes; bounded source reviewed; integration/device or full-stack validation pending.
#2125 765e475dbe83 no Docs: explain the NVIDIA driver-blob workaround under Wine; existing scoped evidence; current integration/runtime pending.
#2127 0e84e7406356 no Shaders: under Wine, at most 4 DXC compile threads by default; bounded source reviewed; integration/device or full-stack validation pending.
#2129 30a3ef1055ed no Scripts: cold driver benchmark of compute pipelines over thread counts (#2088); bounded source reviewed; integration/device or full-stack validation pending.
#2144 f8eeef4de89d yes D3D12.X: the looks line splits "the rest" and shows the longest look; bounded source reviewed; integration/device or full-stack validation pending.
#2146 52577f993895 no Recompiler: size a compute program's LDS block from its LDS_SIZE; bounded source reviewed; integration/device or full-stack validation pending.
#2177 244aa780c951 no Kernel.X: preserve GPU texture data when a physical page moves from home (stacked on #1182); bounded source reviewed; integration/device or full-stack validation pending.
#2210 c0d3729436c2 yes Recompiler: XCL_OUTLINE_EXCHANGE=0 keeps the split-wave64 rendezvous inline; bounded source reviewed; integration/device or full-stack validation pending.
#2220 419431cf03c2 no Shaders: trace offline precompile phases; bounded source reviewed; integration/device or full-stack validation pending.
#2224 85d79bf639d4 no D3D12.X: abort failed device batches and restore pending in title_textures::upload_all; bounded source reviewed; integration/device or full-stack validation pending.
#2252 da82f106813b no dxil: refuse wave64 VS/PS with upper-lane reads in 32-lane mode (#1895); bounded source reviewed; integration/device or full-stack validation pending.
#2270 b7f6b760e2ce no D3D12.X: unmap a superseded texture only once the work before it is done; bounded source reviewed; integration/device or full-stack validation pending.
#2288 5e502c50805e yes Recompiler: guard direct DXIL window stores with bit tests; bounded source reviewed; integration/device or full-stack validation pending.
#2291 4bad50562dd5 no Recompiler: a compute loop's passes shrink with the dispatch's size; bounded source reviewed; integration/device or full-stack validation pending.
#2297 739407b67a28 no D3D12.X: guard null and unreadable pointers in graphics and compute PSO hooks; bounded source reviewed; integration/device or full-stack validation pending.
#2299 4de52614fa58 no Recompiler: split direct compute programs that use guest LDS; bounded source reviewed; integration/device or full-stack validation pending.
#2301 c94ad8afe3a7 no Direct DXIL: compute programs over 1.5 MB of plain DXIL are retried in the compact form; bounded source reviewed; integration/device or full-stack validation pending.
#2302 30985d3f48b6 no Recompiler: replace tn[4]/id[4] local arrays in bvh_intersect with scalars; bounded source reviewed; integration/device or full-stack validation pending.
#2326 d65ae604ba81 yes Shaders: make static-sampler root signatures first, in one order; bounded source reviewed; integration/device or full-stack validation pending.
#2333 a7b93a853ec5 no D3D12.X: keep caller allocator for untracked lists and retain whole PSOs in dispatch_chain; bounded source reviewed; integration/device or full-stack validation pending.
#2341 45dbd47ccdfc no recomp: cap per-lane compute size so giant shaders use compact DXIL (#2203); bounded source reviewed; integration/device or full-stack validation pending.
#2343 3ec09d711cb1 no dxil: batch consecutive v_readfirstlane/v_readlane exchanges in split-wave64; bounded source reviewed; integration/device or full-stack validation pending.
#2344 c24f3e9743cf no DXIL split: prune piece-local features after optimize and transport f16/f64; bounded source reviewed; integration/device or full-stack validation pending.
#2348 bc43fd6dc403 no Recompiler: cube sc / tc negate by the sign bit on both backends; bounded source reviewed; integration/device or full-stack validation pending.
#2349 63131c64802a no Recompiler: split native wave32 compute groups beyond [32, 1, 1]; bounded source reviewed; integration/device or full-stack validation pending.
#2353 a81f9d536f15 no Recompiler: split single-wave compute groups of any shape; bounded source reviewed; integration/device or full-stack validation pending.
#2356 ff9716539139 yes Recompiler: compress per-class branch targets in direct DXIL compact; bounded source reviewed; integration/device or full-stack validation pending.
#2377 0c446533681f no Recompiler: split-wave64 one-wave groups can meet at a group barrier (opt-in, XCL_WAVE64_BARRIER=1); existing scoped evidence; current integration/runtime pending.
#2385 4c4c5772f74c no D3D12.X: sampled textures go without their top mips while video memory fills up; existing scoped evidence; current integration/runtime pending.
#2398 e9d7aefc3a18 no DXIL: saturate 16-bit integer valu16 ops when CLAMP=1; bounded source reviewed; integration/device or full-stack validation pending.
#2409 1ee46bda18ef no D3D12.X: record first use of synchronously created compute PSOs; bounded source reviewed; integration/device or full-stack validation pending.
#2417 1a51cb95ebd7 no D3D12.X: retain resolved async pipelines until reset and retirement; bounded source reviewed; integration/device or full-stack validation pending.
#2423 63ea17f3cf85 no Recompiler: prioritize wanted DXC compiles and reserve worker headroom; bounded source reviewed; integration/device or full-stack validation pending.
#2427 c8c2b7a6b19d no Recompiler: direct DXIL reads heap memory windows without a branch; bounded source reviewed; integration/device or full-stack validation pending.
#2428 c6e5af8690fc no Recompiler: NVIDIA compute programs take flat heap windows by default; existing scoped evidence; current integration/runtime pending.
#2440 633b1e4213c3 yes Tests: exercise direct geometry in expanded heap windows; bounded source reviewed; integration/device or full-stack validation pending.
#2448 d61ffdc435d5 no D3D12.X: canonicalize inactive two-pass stream descriptors; existing scoped evidence; current integration/runtime pending.
#2469 44a66e63d717 no D3D12.X: reuse split dispatch scratch when growth fails; bounded source reviewed; integration/device or full-stack validation pending.
#2495 bbcfc3818168 yes Scripts: reject invalid or stale cold PSO benchmark results; existing scoped evidence; current integration/runtime pending.
#2496 2e8ff6b6ce0c no Recompiler: an access may take its base address's window (XCL_WINDOW_NO_CARRY); bounded source reviewed; integration/device or full-stack validation pending.
#2500 b17262c485cc no xcl run: a profile-tracy build records a Tracy timeline of the run; bounded source reviewed; integration/device or full-stack validation pending.
#2515 f655cfdac728 yes Shaders: --pipelines blobs are made as a title's run asks for them; bounded source reviewed; integration/device or full-stack validation pending.
#2523 8b290bf2944d yes D3D12.X: MakeResident and Evict give the driver the pipeline behind a stand-in; bounded source reviewed; integration/device or full-stack validation pending.
#2526 0fd22d04dc79 yes D3D12.X: compute pipelines not used for a while are released on NVIDIA; existing scoped evidence; current integration/runtime pending.
#2540 f5cb7eaa1c54 no Recompiler: validate DXIL containers and split pieces in translated cache; bounded source reviewed; integration/device or full-stack validation pending.
#2543 12141ccbfa16 no D3D12.X: clear dispatch_chain shared scratch on list lifecycle transitions; bounded source reviewed; integration/device or full-stack validation pending.
#2548 c0d09204145a no D3D12.X: Reset, KickoffX and CreateCommandList do not wait for a compute pipeline still being built; bounded source reviewed; integration/device or full-stack validation pending.
#2551 3567b2efdc94 no Shaders: --precompile --pipelines also builds a split program's whole form; bounded source reviewed; integration/device or full-stack validation pending.
#2552 84f6bdc97a46 no Recompiler: fold finite constant legacyF16ToF32 conversions in direct DXIL; bounded source reviewed; integration/device or full-stack validation pending.
#2557 2a1fadcf8eb4 no Recompiler: generalize bitmask and zero-shift folding via known_nonzero_bits; bounded source reviewed; integration/device or full-stack validation pending.
#2559 7bf48538afde no Recompiler: simplify bfm / s_bfm_b64 and lower ffbh_i to FirstbitSHi in direct DXIL; bounded source reviewed; integration/device or full-stack validation pending.
#2565 97376ee13636 no Recompiler: lower 32-bit VALU add/sub with carry without i64 in direct DXIL; bounded source reviewed; integration/device or full-stack validation pending.
#2566 72e94879f268 yes Diagnostics: label translated pipelines in PIX captures; bounded source reviewed; integration/device or full-stack validation pending.
#2567 3c0fc4b96a6b no Recompiler: share scalar-load bodies in direct DXIL compute shaders; bounded source reviewed; integration/device or full-stack validation pending.
#2568 4094ff9cb9c3 no Recompiler: simplify integer min/max (dx.op.binary.i32) via range bounds and absorption in direct DXIL opt; bounded source reviewed; integration/device or full-stack validation pending.
#2571 ad0ded91d9fa no Recompiler: direct PS compares skip the per-quad mask where no helper bit is read; bounded source reviewed; integration/device or full-stack validation pending.
#2572 af2cecc40886 no Nvidia dev; existing scoped evidence; current integration/runtime pending.
#2574 e2aae0e87df1 no D3D12.X: persist slow driver blobs past the RAM cache cap (#1833); bounded source reviewed; integration/device or full-stack validation pending.
#2581 d5d694b04b3e no D3D12.X: with bounded pipeline waits, dispatches are not put off to the submit; bounded source reviewed; integration/device or full-stack validation pending.
#2585 2066b32e5d12 no DXC: keep LINK_GATE open on OOM and forward opt/extra args to IDxcLinker::Link; bounded source reviewed; integration/device or full-stack validation pending.
#2594 ae921b40fc1f yes Shaders: reuse the file buffer when loading unsplit cache entries; bounded source reviewed; integration/device or full-stack validation pending.
#2603 88c0f1481ff2 no Tests: isolate the streamed-texture recheck fixture; bounded source reviewed; integration/device or full-stack validation pending.
#2613 2d229b9f76b6 no Shaders: warm runtime-selected graphics DXIL variants in --precompile; bounded source reviewed; integration/device or full-stack validation pending.
#2614 cd7be10ff02b no D3D12.X: preserve replaced driver blobs after stale rejection; existing scoped evidence; current integration/runtime pending.
#2621 aad6434c1c6a no D3D12.X: preserve extended state in translated graphics PSO streams; bounded source reviewed; integration/device or full-stack validation pending.
#2622 f0f9daee2d7e no D3D12.X: a put-off call's segment that does not close is not submitted; bounded source reviewed; integration/device or full-stack validation pending.
#2628 8b15baee713b no D3D12.X: a worker waiting for a big compile turn leaves the queue to a helper; bounded source reviewed; integration/device or full-stack validation pending.
#2629 8bfaa12f1fdf no D3D12.X: a split program's failed whole build is not tried again; bounded source reviewed; integration/device or full-stack validation pending.
#2641 c9751948934e no Recompiler: simplify direct DXIL frexp_mant, frexp_exp, and alignbit helpers; existing scoped evidence; current integration/runtime pending.
#2652 88d7b0a19a27 no Recompiler: serialize dxc::wait_for_memory slot admission (#2463); bounded source reviewed; integration/device or full-stack validation pending.
#2697 50cfb321be82 no D3D12.X: a memory line by owner, against DXGI's budget; existing scoped evidence; current integration/runtime pending.
#2704 9b6811395e23 no Shaders: include HEAP_FLAT in offline precompile runtime_windows; bounded source reviewed; integration/device or full-stack validation pending.
#2705 231c4f1d06b5 no xcl run: preparation workers count the commit left in MiB, not bytes; existing scoped evidence; current integration/runtime pending.
#2706 f614add84d53 yes D3D12.X: preserve the NVIDIA world-streaming integration; existing scoped evidence; current integration/runtime pending.
#2711 dfead3702a1e yes Recompiler: canonicalize split compute pieces and prune unused bindings (#2088); existing scoped evidence; current integration/runtime pending.
#2717 23d313161e3a no D3D12.X: a mid-list split gets its next segment before it closes the list; bounded source reviewed; integration/device or full-stack validation pending.
#2723 2d14195e83eb no D3D12.X: share dispatch-chain root signatures per device and key compute blobs on NodeMask; existing scoped evidence; current integration/runtime pending.
#2725 ad9172c015a8 no D3D12.X: a title allocator takes a free spare another one put aside; existing scoped evidence; current integration/runtime pending.
#2728 ae5a2f99b02e yes README: document xcl shaders --precompile --limit; existing scoped evidence; current integration/runtime pending.
#2739 e58cd9e7945f no shaders: distinguish precompiled PSOs from saved driver blobs; bounded source reviewed; integration/device or full-stack validation pending.
#2740 9ecae592ea3a no D3D12.X: persist compute blobs when the RAM cache is full; existing scoped evidence; current integration/runtime pending.
#2749 9cfa7536e978 no D3D12.X: split sparse readback spin and submission out of STATE lock; bounded source reviewed; integration/device or full-stack validation pending.
#2750 44a7e6fe3431 no D3D12.X: count the resources XCL makes for itself, by where it makes them; existing scoped evidence; current integration/runtime pending.
#2755 4bb6b30fc5b1 no D3D12.X: preserve used-pipeline key on RT-gated compute stand-ins; bounded source reviewed; integration/device or full-stack validation pending.
#2761 7cbc65139995 no Recompiler: use u128 dependency masks for reload invalidation; bounded source reviewed; integration/device or full-stack validation pending.
#2764 24695174b1c1 no D3D12.X: a placed view's padding does not make a second texture; bounded source reviewed; integration/device or full-stack validation pending.
#2781 e1e5bbf0d9bd no Recompiler: Wave32 pixel mask writes kill one SGPR, not a pair; bounded source reviewed; integration/device or full-stack validation pending.
#2786 7587c01324cf no D3D12.X: add opt-in first-demand capture sidecar for Chain::whole fallbacks; bounded source reviewed; integration/device or full-stack validation pending.
#2788 2331f2ea810c no Tests: a console MS in the AS slot is refused by its MS translation; bounded source reviewed; integration/device or full-stack validation pending.
#2789 ed13531a2869 no Build: hash the translator sources of the tree being built; bounded source reviewed; integration/device or full-stack validation pending.

Confirmed semantic overlap is being retained where policy, target branch, residual behavior or unmerged prerequisites differ. A partial overlap is not a complete duplicate. No full-stack runtime certification is implied for this umbrella PR.

AI use: Codex (GPT-6) reviewed source with independent cross-checks, executed the selected local fixtures and reconciled raw results; historical evidence is kept separate. Optional temporary Discord for coordinating contributor work, testing and comparing results.

<!-- greyfinch-sync:ivall/xcl:review:6075300896 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#pullrequestreview-6075300896). Originally posted by [Prime1997](https://github.com/Prime1997) on 2026-11-26T13:53:10Z. **Review:** COMMENTED --- **NVIDIA-related PR status — bounded review, 26 November 2026.** This records the discovered 13:22 UTC cohort across all target branches, including drafts: **288 open PRs, 46 drafts: 24 good within the reviewed scope,62 need changes, 202 blocked.** #2791 was subsequently rechecked and retested at 749b0e06. Other rows identify the cutoff head; later pushes require a new review. Ten unrelated candidates and two externally closed PRs are excluded. This is not an exhaustive audit of all 1492 open PRs. Current main is `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`; this NVIDIA stack is `af2cecc40886a8682ecf3267f5328c6dc4b66ad7`:0 main-only / 371 NVIDIA-only commits. Targets in this cohort:272 main, 12 nvidia-dev, 4 amd-dev. **Meaning of the statuses:** good means useful within the named source or targeted-test scope, not merge approval. Needs changes includes implementation defects, inherited stack prerequisites, unsafe/inaccurate fixtures and reporting errors; it does not mean every issue was introduced by that PR. Blocked means current integration, full stack, platform or device validation is incomplete. Draft status, conflicts and overlap alone are never closure reasons. No PR was closed in this pass. **Measured:** 86 CPU passes across 30 distinct CPU source/test variants, plus 1 CPU-only query fixture in the device harness; 9 device-fixture passes; negative controls 2 passed / 6 expected failures; 3 synthetic script runs passed. Four repeat baseline passes are excluded. Failed/deferred setup attempts remain separate; an old-DXC failure was resolved using a private DXC 1.9 copy. No ignored/skip result is counted as coverage. Tests include current-main baselines and 12 isolated PR integrations; other reports identify clean PR heads or local repairs. Counts overlap across revisions and are not one whole-suite run. The worker/adapter fixes remain local, including contributor #2705 plus #2712/#2555 integration. The #2731 local repair passed 6 checks after reproducing the stale-ownership failure. The refreshed #2791 passed its CPU query-failure fixture and both device fixtures, with 19 tiling cases on RTX 3060 Ti. Whole-suite/retail validation, AMD comparison, real multi-adapter recovery and the large PSO-memory benchmark remain unperformed. All native work used isolated sources, the shared lock and game-idle guards; this review made no installation or game-data change. The cohort is accounted through 243 bounded exact-head source reviews, 10 public scoped reviews and 35 existing scoped receipts whose limits remain explicit. Bounded source review can cover an owned delta and relevant callers without certifying its entire inherited stack. Individual reports below preserve exact variants, selected tests and exclusions. <details><summary>Good within the reviewed scope: 24 PRs</summary> | PR | Head | Draft | Scope / next action | |---|---|---|---| | #857 | `aaf8aa16809d` | no | Docs: the wave64-on-wave32 note calls closed PR #33 a draft; bounded source/script review only. | | #1262 | `aa9c75a49cee` | no | Docs: the split-wave64 exchange spins by default, since PR #798; bounded source/script review only. | | #1270 | `5e4d91a7fe2c` | no | Scripts: smoke.ps1 reads the log of a run it killed on timeout; bounded source/script review only. | | [#2179](https://github.com/xcl-dev/xcl/pull/2179#pullrequestreview-6074632945) | `9483d4363b9c` | no | Shaders: gate offline --pipelines large DXIL builds on commit headroom; targeted result in linked report; remaining validation applies. | | [#2332](https://github.com/xcl-dev/xcl/pull/2332#pullrequestreview-6074976737) | `ab861b819677` | yes | D3D12.X: check shader cache capacity before copying entries; targeted result in linked report; remaining validation applies. | | [#2350](https://github.com/xcl-dev/xcl/pull/2350#pullrequestreview-6074977388) | `4cd2bc20cc28` | yes | D3D12.X: plan split-dispatch slabs without heap allocations; targeted result in linked report; remaining validation applies. | | [#2424](https://github.com/xcl-dev/xcl/pull/2424#pullrequestreview-6074977943) | `89bbbb4995b4` | yes | D3D12.X: keep inline split pipeline pieces on the foreground path; targeted result in linked report; remaining validation applies. | | [#2426](https://github.com/xcl-dev/xcl/pull/2426#pullrequestreview-6074978545) | `9c178b2d6499` | no | D3D12.X: a create that fails on a lost device keeps the driver's blob; targeted result in linked report; remaining validation applies. | | [#2437](https://github.com/xcl-dev/xcl/pull/2437#pullrequestreview-6074635495) | `e4269721c279` | no | D3D12.X: the per-draw mirror sync copies without asking readable(); targeted result in linked report; remaining validation applies. | | [#2475](https://github.com/xcl-dev/xcl/pull/2475#pullrequestreview-6074979085) | `398cefbcd74a` | no | Recompiler: count split shader pieces in the cache budget; targeted result in linked report; remaining validation applies. | | [#2532](https://github.com/xcl-dev/xcl/pull/2532#pullrequestreview-6074979632) | `bb33ceed26be` | no | D3D12.X: reserve split compute scratch before allocating it; targeted result in linked report; remaining validation applies. | | [#2535](https://github.com/xcl-dev/xcl/pull/2535#pullrequestreview-6074980257) | `1e4a2c787a07` | no | Recompiler: the rerouted shader cache checks fresh DXIL and chain pieces; targeted result in linked report; remaining validation applies. | | [#2579](https://github.com/xcl-dev/xcl/pull/2579#pullrequestreview-6074633541) | `93445592be14` | no | D3D12.X: a build a submit waits for is wanted from the moment its call is put off; targeted result in linked report; remaining validation applies. | | #2687 | `df0b92ae87ff` | no | Document shared cache history for used-only precompile; bounded source/script review only. | | [#2729](https://github.com/xcl-dev/xcl/pull/2729#pullrequestreview-6074361884) | `93e66c197c27` | no | D3D12.X: instrument submitting-thread call breakdown under XCL_LOOK_STATS=2; targeted result in linked report; remaining validation applies. | | #2765 | `d7fab00e9e8a` | no | README: translation-only --precompile; --measure-pso needs Developer Mode; bounded source/script review only. | | [#2767](https://github.com/xcl-dev/xcl/pull/2767#pullrequestreview-6074634217) | `a173e209151f` | no | Recompiler: share translated DXIL across repeated pipeline builds; targeted result in linked report; remaining validation applies. | | [#2768](https://github.com/xcl-dev/xcl/pull/2768#pullrequestreview-6074362352) | `936bb90e17e7` | no | D3D12.X: anchor XCL_LOOK_SKIP per frame and clear CLOSED on list reset/release; targeted result in linked report; remaining validation applies. | | [#2770](https://github.com/xcl-dev/xcl/pull/2770#pullrequestreview-6074812429) | `7a7e161d907c` | no | Tests: wait for late release before checking released pipelines are gone; targeted result in linked report; remaining validation applies. | | [#2771](https://github.com/xcl-dev/xcl/pull/2771#pullrequestreview-6074813201) | `6b2691e18b02` | yes | Tests: some_ranges in texture_upload wraps its generator instead of overflowing; targeted result in linked report; remaining validation applies. | | [#2773](https://github.com/xcl-dev/xcl/pull/2773#pullrequestreview-6074362866) | `0c0a7aa4ef1c` | yes | Tests: a page's failed move goes to an address Windows never hands out; targeted result in linked report; remaining validation applies. | | [#2777](https://github.com/xcl-dev/xcl/pull/2777#pullrequestreview-6074634832) | `e59d1d11043b` | yes | Shaders: keep `xcl shaders` out of EcoQoS execution-speed throttling; targeted result in linked report; remaining validation applies. | | [#2790](https://github.com/xcl-dev/xcl/pull/2790#pullrequestreview-6075140148) | `ccb14f7f653d` | no | D3D12.X: stencil views get a uint T# format, so shaders load them as integers; targeted result in linked report; remaining validation applies. | | [#2791](https://github.com/xcl-dev/xcl/pull/2791#pullrequestreview-6075217339) | `749b0e06c186` | no | Tests: add AMD vs NVIDIA D3D12 tiling, budget, and pipeline memory parity suite; targeted result in linked report; remaining validation applies. | </details> <details><summary>Needs changes: 62 PRs</summary> | PR | Head | Draft | Scope / next action | |---|---|---|---| | #245 | `2fcb0950de68` | no | Include partial-wave optimizer source in translated-cache invalidation. | | #546 | `720143505d92` | yes | Correct wave64 reporting on wave32-only hardware. | | #562 | `8ec2a46974d3` | no | Fence assignment and enqueue can reorder same-queue payloads; baseline gap also remains. | | [#688](https://github.com/xcl-dev/xcl/pull/688#pullrequestreview-6074126657) | `760f742b4238` | no | Retry ordinary DXC creation after optional private-heap/factory failure. | | #759 | `dd66d20995e2` | yes | Reject missing/invalid bounds and validate input before starting work. | | #827 | `44d69219872a` | no | Sweep weak shader entries; Weak slice allocations otherwise retain backing bytes. | | #924 | `a2b500731907` | no | Record successful signals separately from rejected attempts. | | #977 | `47fb4bb5a831` | no | Short-circuit a failed backend probe before the next device probe. | | #1006 | `ec5bac99305d` | no | Retain pending-save state when persistence fails. | | #1102 | `c387de21fa81` | yes | Track mapping/content changes so GPU-written state cannot hide later CPU writes. | | #1168 | `0840ff5a690c` | no | Publish queued state and count without exposing decrement-before-increment. | | [#1193](https://github.com/xcl-dev/xcl/pull/1193#pullrequestreview-6074768086) | `5ae60ad0a9ba` | no | Include pre-body loop-budget exhaustion in EXEC analysis; local4-test repair passes. | | #1385 | `875a60352ed3` | no | Revalidate mapping generation before copying old readback bytes after unlocking. | | #1442 | `293584e0078a` | no | Validate or saturate reserve-to-byte conversion. | | #1620 | `3a185909fe54` | no | Correct the bpermute reference oracle using native half-wave semantics. | | #1630 | `91ae2c62e89f` | no | Preserve low-address carry when choosing scalar-load memory windows. | | #1638 | `2639c0806ef2` | no | Bound handshake/reply waits and failure fallback before claiming a worker cap. | | #1643 | `7711f4c55672` | no | Serialize fence/payload ordering and add queue-lifetime cleanup. | | #1665 | `cd46e3fc2bd9` | no | Allow recovery from transient failures instead of permanently suppressing wanted work. | | #1710 | `89faa8d3fd63` | no | Make alone-retry admission atomic relative to normal entrants. | | #1723 | `fca46d42e5a1` | no | Restore nested/thread-local cap state on all exits, including unwind. | | #1762 | `3cd15cb7e896` | yes | Reserve the working slot atomically with admission; spacing alone leaves a race. | | #1809 | `f090104a9c16` | no | Use the selected stage backend consistently in cache identity. | | #1819 | `0062ee19f59c` | no | Preserve same-queue enqueue order and unblock fixture GPU waits before assertions. | | #1830 | `6423b67d9d42` | no | Timeouts must not leave overlapping benchmark work; bound discovery too. | | #1871 | `27362a08509c` | no | Reject a trailing --records instead of starting unbounded whole-pack work. | | #1883 | `327abc816d36` | no | Report the early-return case through standard skip accounting. | | #1924 | `c09d37689f16` | no | Reserve aggregate BIG/GIANT capacity atomically across both lanes. | | #1931 | `e870dd2b576f` | yes | Reserve frame allowance atomically and settle against the original frame. | | #2009 | `2f490889758f` | no | Do not signal successful title completion when readback settling fails. | | #2010 | `d30e9a969c20` | no | Label distinct error reasons accurately and preserve unavailable telemetry. | | #2114 | `21c88bc26b60` | no | Preserve compute producers under defaults and synchronize demand priority changes. | | #2208 | `e4720ca15041` | no | Recheck device loss after queued work obtains admission. | | [#2229](https://github.com/xcl-dev/xcl/pull/2229#pullrequestreview-6074127297) | `3ce7f30fa5ea` | no | Preserve constant/SDWA source alternatives and invalidate affected cache identity. | | #2234 | `70d5f59b42a6` | no | Correct documentation that assigns all cache-miss rebuilding to the title thread. | | #2246 | `949609b2ee21` | no | Gate stale-blob cold retries through large-compute admission. | | #2327 | `e56c368079bb` | yes | Invalidate legacy default cache identity, not only explicit SAFE_BARRIER=0. | | #2404 | `5b9d4ff6f5f4` | no | Prevent first-call indirect chain truncation while whole fallback is unavailable. | | #2422 | `349970c0a7ad` | no | Address or explicitly scope the disclosed concurrent-final-release gap. | | #2438 | `90bfbd423fe3` | no | Report the actual benchmark backend and cache provenance. | | #2439 | `336c6c2eeafb` | yes | Handle device-removed fence sentinels and recorded completion-publication gaps. | | #2446 | `3a71471c80b8` | no | Invalidate graphics reload facts for SDWA scalar destinations. | | #2519 | `50af98ed1f5e` | no | Remove forbidden bundle barriers and resolve multi-piece ordering/lifetime gaps. | | [#2547](https://github.com/xcl-dev/xcl/pull/2547#pullrequestreview-6074127954) | `60349e51011d` | no | Complete submit-owned builds as failed after a caught panic; local repair passes. | | #2554 | `ca6f17b1cf4e` | no | Stop on failed whole fallback and enforce expanded dispatch-axis limits. | | [#2555](https://github.com/xcl-dev/xcl/pull/2555#pullrequestreview-6074128546) | `5bec587753dd` | no | Match startup adapter fallback to title selection; local injected tests pass. | | #2558 | `2dc76ac89461` | no | Retain submitted texture resources through failed fence setup/wait recovery. | | #2590 | `004fa0f61f9c` | yes | Verify driver-profile ownership/content before modification or deletion. | | #2611 | `445129ba178e` | no | Capture RTV/DSV ownership before legal descriptor overwrite/free. | | #2615 | `a0734c9f0931` | no | Preserve pending compute producers under the default wait policy. | | #2633 | `19be65904f91` | yes | Resolve inherited first-call chain coverage before integrating root-CBV improvement. | | #2635 | `24e584cab160` | no | Bound initial lock/I/O paths and account for batches already owned by writer. | | #2670 | `ca6a0cc0e8f5` | no | Do not count cached two-pass work without trace metadata as a cold build. | | [#2712](https://github.com/xcl-dev/xcl/pull/2712#pullrequestreview-6074129092) | `8b113eeb3e30` | yes | Correct worker error classification, adapter forwarding and recovery fixtures. | | #2726 | `71f30c6fe84f` | no | Inject commit headroom and avoid unconditional join after the timeout. | | #2730 | `2e63cbcf565d` | no | Rename lifetime created-SRV coverage currently labelled srv-sampled. | | [#2731](https://github.com/xcl-dev/xcl/pull/2731#pullrequestreview-6075192937) | `2f2bb070fafc` | no | Clear stale SRV ownership after UAV replacement; local6-test repair passes. | | #2762 | `496ef5780a45` | no | Distinguish failed null cache entries from retained textures. | | [#2772](https://github.com/xcl-dev/xcl/pull/2772#pullrequestreview-6074814507) | `18b34a9d992f` | yes | Retain ownership metadata after failed memory release; local5-test repair passes. | | #2776 | `d485694b2161` | no | Compare raw optional usage when selecting the peak ownership snapshot. | | #2782 | `b755223752d7` | no | Publish drained free descriptors without a retired/free availability gap. | | #2792 | `bfff51a7a366` | yes | Handle negative SDK batch returns and worker creation failure; feature build untested. | </details> <details><summary>Blocked pending validation: 202 PRs</summary> | PR | Head | Draft | Scope / next action | |---|---|---|---| | #172 | `ca66c4aeb0de` | yes | Recompiler: structured form for programs that needed the pc chain; existing scoped evidence; current integration/runtime pending. | | #202 | `6c6b000705e5` | no | Recompiler: complete remaining RDNA2 integer CLAMP=1 saturation (#105); existing scoped evidence; current integration/runtime pending. | | #214 | `96e68a46b2b2` | no | D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156); existing scoped evidence; current integration/runtime pending. | | #242 | `ff28e60b41e0` | no | D3D12.X: R9G9B9E5 render targets / UAVs are half floats where the device refuses them (retail title, Series S); existing scoped evidence; current integration/runtime pending. | | #541 | `6bd8f6410400` | no | D3D12.X: a console MS in the AS slot is translated as the mesh shader it is; bounded source reviewed; integration/device or full-stack validation pending. | | #572 | `14d638a3ab3c` | yes | Shaders: bound default compile workers by available memory; bounded source reviewed; integration/device or full-stack validation pending. | | #591 | `6c68cc703df3` | no | dxc: hash arguments into the DXIL cache key and honor XCL_DXC_ARGS (#559); bounded source reviewed; integration/device or full-stack validation pending. | | #613 | `920c3807df84` | yes | Recompiler: honor DXC overrides with warm translation caches; bounded source reviewed; integration/device or full-stack validation pending. | | #628 | `766b66123528` | no | D3D12.X: prioritize graphics pipelines in the async PSO worker pool; bounded source reviewed; integration/device or full-stack validation pending. | | #642 | `f1e90c149b5f` | no | Shaders: honor --precompile for a single shader file; bounded source reviewed; integration/device or full-stack validation pending. | | #645 | `aee6962bc639` | no | Tests: report disabled async compute PSO as skipped; bounded source reviewed; integration/device or full-stack validation pending. | | #663 | `ad0f0cd1d13f` | no | Tests: cover 3D wave64 compute through the D3D12.X PSO hook; bounded source reviewed; integration/device or full-stack validation pending. | | #757 | `4e8aaf4b393c` | yes | D3D12.X: the PC desc of a translated VS / PS pipeline in its own function; bounded source reviewed; integration/device or full-stack validation pending. | | #758 | `c02d05921a5d` | yes | D3D12.X: a journal of the pipelines a title queues (<data>\cache\pipelines.bin); bounded source reviewed; integration/device or full-stack validation pending. | | #768 | `953f9ee0ce38` | no | D3D12.X: copy from the backing pages of GPU-only views; bounded source reviewed; integration/device or full-stack validation pending. | | #789 | `bc82410abd9c` | no | D3D12.X: decommit released sparse blocks outside the driver callback; existing scoped evidence; current integration/runtime pending. | | #820 | `0488eceb1f4c` | no | D3D12.X: XCL_BIG_COMPILES sets how many big compute pipelines the driver builds at once; bounded source reviewed; integration/device or full-stack validation pending. | | #828 | `b1530ac54544` | no | D3D12.X: optional graphics-only pipeline preloading; bounded source reviewed; integration/device or full-stack validation pending. | | #877 | `a553a22486ac` | no | Memory: lazily map sparse VRAM tiles for Wine graphics heaps (#175); bounded source reviewed; integration/device or full-stack validation pending. | | #881 | `76dcb8f560bd` | no | Title textures: one upload batch moves its textures in two barrier calls; bounded source reviewed; integration/device or full-stack validation pending. | | #889 | `a39c3992c7a4` | no | D3D12.X: compute pipelines are built ahead of their first bind; bounded source reviewed; integration/device or full-stack validation pending. | | #898 | `dc4300da36da` | no | D3D12.X: journal a pipeline when the title first binds it; bounded source reviewed; integration/device or full-stack validation pending. | | #899 | `734e6e78b004` | no | D3D12.X: log how long a bind waits for a pipeline still being built; bounded source reviewed; integration/device or full-stack validation pending. | | #900 | `2817c7c6ee17` | no | Recompiler: keep the split wave64 halves' scalar state wave-uniform; bounded source reviewed; integration/device or full-stack validation pending. | | #902 | `90d70031f179` | no | D3D12.X: the driver's blob of a slow graphics pipeline is kept on disk; bounded source reviewed; integration/device or full-stack validation pending. | | #904 | `7c2ccd9b777f` | no | D3D12.X: draws find their pipeline facts and list state without global locks; bounded source reviewed; integration/device or full-stack validation pending. | | #917 | `709abd7fe1a5` | no | Recompiler: shadow v_writelane spill slots in split-wave64; bounded source reviewed; integration/device or full-stack validation pending. | | #941 | `91ca6cec4ddd` | no | Tests: cover graphics PSO hooks on the GPU without game files; bounded source reviewed; integration/device or full-stack validation pending. | | #944 | `e22a0a6e781b` | no | Recompiler: batch consecutive v_readfirstlane/v_readlane exchanges in…; bounded source reviewed; integration/device or full-stack validation pending. | | #969 | `23eb733a0faf` | no | Tests: cover textured graphics PSOs and static samplers on the GPU; bounded source reviewed; integration/device or full-stack validation pending. | | #1022 | `7e1b659cfcd9` | no | Recompiler: ds_bpermute_b32 in wave64 stays in each 32-lane half (#772); bounded source reviewed; integration/device or full-stack validation pending. | | #1045 | `fcc2fd20186a` | no | D3D12.X: distinguish the Wait64 signal queue from recording history; bounded source reviewed; integration/device or full-stack validation pending. | | #1055 | `f532d33d695a` | no | kernelx: queue CopyPageMappingsBatchX records the physical page each GPU-view page shows; existing scoped evidence; current integration/runtime pending. | | #1111 | `c29bbad8cafb` | no | Recompiler: propagate split-wave64 lane-local masks through 64-bit bitwise SALU ops; bounded source reviewed; integration/device or full-stack validation pending. | | #1113 | `8aef2946818b` | no | D3D12.X: only a title's run reads and writes used-pipelines.txt; bounded source reviewed; integration/device or full-stack validation pending. | | #1123 | `c6db70c71fcf` | no | D3D12.X: the GPU-wait watchdog says where a chain of waits ends; bounded source reviewed; integration/device or full-stack validation pending. | | #1215 | `757ece9795bc` | no | Recompiler: bound descriptor heap indices from T# and S# words to the heap; bounded source reviewed; integration/device or full-stack validation pending. | | #1232 | `9af37dc2466a` | no | Shaders: count reused compute shaders as cache hits; bounded source reviewed; integration/device or full-stack validation pending. | | #1241 | `7b7c85359bec` | no | Recompiler: clamp out-of-range format and sub-dword buffer loads; bounded source reviewed; integration/device or full-stack validation pending. | | #1244 | `71d3a384d9b3` | no | Recompiler: split wave64 spin loops poll with a compare-exchange, not an add of 0 (#847); bounded source reviewed; integration/device or full-stack validation pending. | | #1252 | `ec00d67e5075` | no | Recompiler: split wave64 halves meet before each LDS access; bounded source reviewed; integration/device or full-stack validation pending. | | #1254 | `d88c2aa0fca8` | no | D3D12.X: the shared view heap logs how full it gets; bounded source reviewed; integration/device or full-stack validation pending. | | #1279 | `d2eb1b4da080` | yes | Shaders: --pipelines makes programs of 4 MB DXIL or more last, by name; bounded source reviewed; integration/device or full-stack validation pending. | | #1315 | `0d7907b385de` | no | Recompiler: compact form that emits every distinct block text once; bounded source reviewed; integration/device or full-stack validation pending. | | #1331 | `e860e83a1178` | no | D3D12.X: hold BASES lock across DEPTH_BIAS_PSOS in depth_bias_pso and forget_base; bounded source reviewed; integration/device or full-stack validation pending. | | #1363 | `3d035cfb6fcd` | no | Tests: skip offline compute PSO checks when D3D12 is unavailable; bounded source reviewed; integration/device or full-stack validation pending. | | #1364 | `0da4c3589012` | no | Recompiler: fix the race for the last wanted DXC slot; bounded source reviewed; integration/device or full-stack validation pending. | | #1368 | `0074749a9678` | no | D3D12.X: translated compute pipelines are made with node mask 0; bounded source reviewed; integration/device or full-stack validation pending. | | #1380 | `7d43a468169f` | no | Recompiler: big compute programs read their memory windows without a switch; bounded source reviewed; integration/device or full-stack validation pending. | | #1396 | `ca0e1b06d85f` | no | Shaders: restore cache-only state across nesting and unwinding; bounded source reviewed; integration/device or full-stack validation pending. | | #1398 | `36e23fddc939` | no | D3D12.X: retry driver-rejected compute PSOs without DXC GVN (#756); bounded source reviewed; integration/device or full-stack validation pending. | | #1410 | `b63a67b175d8` | no | D3D12.X: log once which form wave64 programs get, and why (#1407); bounded source reviewed; integration/device or full-stack validation pending. | | #1413 | `190c97e2c357` | no | Shaders: XCL_SAFE_BARRIER turns the translation caches off (#1409); bounded source reviewed; integration/device or full-stack validation pending. | | #1417 | `9a3230fa2027` | no | Shaders: reserve compiler memory slots atomically; bounded source reviewed; integration/device or full-stack validation pending. | | #1420 | `867d307572af` | no | D3D12.X: separate compute driver blobs by static sampler state; bounded source reviewed; integration/device or full-stack validation pending. | | #1421 | `7124a95392e1` | no | D3D12.X: replace busy copy scratch within budget; bounded source reviewed; integration/device or full-stack validation pending. | | #1428 | `7dbd80c275e4` | no | D3D12.X: dispatches of more than 65 535 groups in X are folded into Y; existing scoped evidence; current integration/runtime pending. | | #1469 | `188f8ac84f4b` | no | Tests: verify offline compute pipeline blobs are reused at runtime; bounded source reviewed; integration/device or full-stack validation pending. | | #1477 | `86df8e857eed` | no | D3D12.X: fix console_list::cl_reset initial PSO/rollback, oversized push, and null constants; bounded source reviewed; integration/device or full-stack validation pending. | | #1502 | `c65e2c8b459d` | yes | Shaders: --precompile --processes N builds in N processes; bounded source reviewed; integration/device or full-stack validation pending. | | #1529 | `3386385bb1b7` | no | Shader compile time: DXC compiles without lifetime markers; bounded source reviewed; integration/device or full-stack validation pending. | | #1552 | `e25f6d3a94e8` | no | D3D12.X: XCL_BACKGROUND_COMPILES=0 stops the driver's second compiles; bounded source reviewed; integration/device or full-stack validation pending. | | #1596 | `524b25c1b7da` | no | Recompiler: split-wave64 EXEC is exchanged only where it is read whole; bounded source reviewed; integration/device or full-stack validation pending. | | #1597 | `6acbfb1f4d57` | no | Recompiler: a split-wave64 bitwise mask tree exchanges once, at its end; bounded source reviewed; integration/device or full-stack validation pending. | | #1601 | `0003178b8c8b` | no | D3D12.X: guard disk_stores removal on ShaderCacheSession SetDeleteOnDestroy; bounded source reviewed; integration/device or full-stack validation pending. | | #1637 | `b8d92f997eba` | no | Tests: cover split-wave64 mask liveness and mesh_wave analysis; bounded source reviewed; integration/device or full-stack validation pending. | | #1652 | `5829b34f8efb` | yes | d3d12x: bound PSO bind waits, guard pending draws, and auto-init uninitialized targets; bounded source reviewed; integration/device or full-stack validation pending. | | #1656 | `8510ca021834` | no | xcl run: XCL_STALL_DUMP dumps every thread and ends the title when frames stop; bounded source reviewed; integration/device or full-stack validation pending. | | #1661 | `f70293d56a46` | no | D3D12.X: route stream graphics PSOs through create_graphics_pso_tracked; bounded source reviewed; integration/device or full-stack validation pending. | | #1674 | `874203435863` | no | Tests: offline compute pipeline test finds the driver blob with XCL_D…; bounded source reviewed; integration/device or full-stack validation pending. | | #1691 | `f71cf2147ecd` | no | D3D12.X: a queue the title releases is not kept alive by submit tracking; bounded source reviewed; integration/device or full-stack validation pending. | | #1692 | `204625923242` | no | Recompiler: compact dispatch can switch in two levels (XCL_COMPACT_NEST); bounded source reviewed; integration/device or full-stack validation pending. | | #1695 | `7372ef0f13fa` | no | Recompiler: heap memory windows without a guard (min + null view), and the 64-bit atomics check; bounded source reviewed; integration/device or full-stack validation pending. | | #1706 | `121bfea74639` | no | Tests: the D32S8 target test waits at most 10 s for its list; bounded source reviewed; integration/device or full-stack validation pending. | | #1708 | `35ec9ebfae00` | no | D3D12.X: reuse the pipeline lookup when binding a stand-in; bounded source reviewed; integration/device or full-stack validation pending. | | #1709 | `a57a76cd4a9c` | yes | Recompiler: a pixel shader's ordered section uses rasterizer ordered views; bounded source reviewed; integration/device or full-stack validation pending. | | #1720 | `94ecdd55d5f2` | no | Recompiler: v_pack_b32_f16 applies the abs and neg half modifiers; bounded source reviewed; integration/device or full-stack validation pending. | | #1756 | `f86b01177dee` | no | Scripts: stop shader precompile at a private commit budget; bounded source reviewed; integration/device or full-stack validation pending. | | #1758 | `e2c7975dfaae` | no | Shaders: report progress for every precompile record; bounded source reviewed; integration/device or full-stack validation pending. | | #1776 | `3546d8dea095` | no | Tests: pin mesh dispatcher scratch and wave32-on-wave64 contract; bounded source reviewed; integration/device or full-stack validation pending. | | #1792 | `f03d41181257` | no | kernelx: commit a mapping call's sparse pages once per run, not per page; bounded source reviewed; integration/device or full-stack validation pending. | | #1793 | `e935debf939c` | no | Direct DXIL: make multi-wave Compute and Mesh s_barrier early-exit-safe; bounded source reviewed; integration/device or full-stack validation pending. | | #1798 | `55e7beb6de9f` | no | D3D12.X: a draw does not wait for a graphics pipeline still being built; bounded source reviewed; integration/device or full-stack validation pending. | | #1802 | `a01669b516e8` | no | shaders: benchmark direct DXIL PSO compilation; bounded source reviewed; integration/device or full-stack validation pending. | | #1804 | `97e501e0dee3` | no | Shaders: --precompile --pipelines skips cached PSOs after canary check; bounded source reviewed; integration/device or full-stack validation pending. | | #1826 | `7ae2bb71845c` | no | Shaders: xcl pipelines --shard k/n splits the journal over processes; bounded source reviewed; integration/device or full-stack validation pending. | | #1841 | `89724e5d4269` | no | Recompiler: round f16 add / sub / fma / ldexp results to nearest even; bounded source reviewed; integration/device or full-stack validation pending. | | #1849 | `2cc2ba1ac89b` | no | Scripts: measure NVIDIA PSOs with a temporary cache-off profile; existing scoped evidence; current integration/runtime pending. | | #1903 | `13f5a7be9d1e` | no | Tests: use the wave64 skip reason for per-lane DXIL; bounded source reviewed; integration/device or full-stack validation pending. | | #1919 | `5835139244eb` | no | Recompiler: LDS ds_sub_u32 hides its negation from the driver (RTX 50 refuses it); bounded source reviewed; integration/device or full-stack validation pending. | | #1921 | `0c8f2928e938` | no | Tests: cover D3D12.X pipeline hooks and device extensions; bounded source reviewed; integration/device or full-stack validation pending. | | #1936 | `6158c0cf82b4` | yes | D3D12.X: no VS, input layout or topology from the title in a mesh pipeline; bounded source reviewed; integration/device or full-stack validation pending. | | #1942 | `f9c9df37703b` | no | D3D12.X: persist both PSOs for translated mesh and geometry; existing scoped evidence; current integration/runtime pending. | | #1956 | `a7217a4f6b1c` | yes | Recompiler: DXC arguments come from one public function (arguments); bounded source reviewed; integration/device or full-stack validation pending. | | #1962 | `5011a26413ed` | no | README: XCL_PIPELINE_THREADS is only for xcl shaders --pipelines; bounded source reviewed; integration/device or full-stack validation pending. | | #1997 | `f053f279fe89` | no | Shaders: bound direct sweep workers and report panics; bounded source reviewed; integration/device or full-stack validation pending. | | #2001 | `008d9c1c443c` | no | D3D12.X: offload PSO builds, defer lazy compile-on-draw, and wire mmap ID3D12PipelineLibrary1; bounded source reviewed; integration/device or full-stack validation pending. | | #2018 | `908c454a5f0d` | no | Recompiler: XCL_COMPACT_NEST=auto nests programs of 512 cases or more; bounded source reviewed; integration/device or full-stack validation pending. | | #2025 | `eee2b862a16c` | no | Recompiler: nest the compact dispatch of big programs by default; bounded source reviewed; integration/device or full-stack validation pending. | | #2047 | `0e9ebc56978e` | no | Shaders: restore direct DXIL cache ID after source deletion; bounded source reviewed; integration/device or full-stack validation pending. | | #2052 | `b67c8f0cb5a6` | yes | D3D12.X: a wait an earlier signal covers does not make a signal a cycle; bounded source reviewed; integration/device or full-stack validation pending. | | #2053 | `ea16145a4694` | no | D3D12.X: catch panics in async PSO builds so waiters and workers do not stall; bounded source reviewed; integration/device or full-stack validation pending. | | #2057 | `4df1e6e3d40a` | yes | D3D12.X: integration branch that reaches the in-world HUD on NVIDIA (reference, not for merge); existing scoped evidence; current integration/runtime pending. | | #2067 | `9b35718ffd32` | no | Recompiler: emit per-instruction globallycoherent on compute flat memory (stacked on #1850); bounded source reviewed; integration/device or full-stack validation pending. | | #2070 | `8cb43460c48b` | no | Shaders: offline pipeline builds use the runtime workers' 64 MB stack; bounded source reviewed; integration/device or full-stack validation pending. | | #2079 | `fa4bfd114933` | no | Direct DXIL: route split-wave64 GS-only entry through gate block; bounded source reviewed; integration/device or full-stack validation pending. | | #2085 | `529d13f557a1` | no | Shaders: share compiled DXIL across pipeline builds; bounded source reviewed; integration/device or full-stack validation pending. | | #2096 | `bb4dea405b5a` | no | D3D12.X: XCL_PSO_MANIFEST=1 writes the order a run asks for its pipelines (#2088); bounded source reviewed; integration/device or full-stack validation pending. | | #2097 | `d98d2d46131c` | no | Recompiler: split wave64 compute groups of several waves across dispatches; bounded source reviewed; integration/device or full-stack validation pending. | | #2098 | `d27d471b9373` | no | D3D12.X: scale huge pipeline compile slots with available CPUs; existing scoped evidence; current integration/runtime pending. | | #2103 | `7743842ada44` | no | Direct DXIL: defer cold console_geometry during cached_only PSO probes; bounded source reviewed; integration/device or full-stack validation pending. | | #2104 | `f1810d0c362e` | no | Shaders: precompile compute pipelines through a recorded present; bounded source reviewed; integration/device or full-stack validation pending. | | #2122 | `ddcda0184c4f` | no | Recompiler: close four wave64-on-wave32 partition classifier soundness holes; bounded source reviewed; integration/device or full-stack validation pending. | | #2125 | `765e475dbe83` | no | Docs: explain the NVIDIA driver-blob workaround under Wine; existing scoped evidence; current integration/runtime pending. | | #2127 | `0e84e7406356` | no | Shaders: under Wine, at most 4 DXC compile threads by default; bounded source reviewed; integration/device or full-stack validation pending. | | #2129 | `30a3ef1055ed` | no | Scripts: cold driver benchmark of compute pipelines over thread counts (#2088); bounded source reviewed; integration/device or full-stack validation pending. | | #2144 | `f8eeef4de89d` | yes | D3D12.X: the looks line splits "the rest" and shows the longest look; bounded source reviewed; integration/device or full-stack validation pending. | | #2146 | `52577f993895` | no | Recompiler: size a compute program's LDS block from its LDS_SIZE; bounded source reviewed; integration/device or full-stack validation pending. | | #2177 | `244aa780c951` | no | Kernel.X: preserve GPU texture data when a physical page moves from home (stacked on #1182); bounded source reviewed; integration/device or full-stack validation pending. | | #2210 | `c0d3729436c2` | yes | Recompiler: XCL_OUTLINE_EXCHANGE=0 keeps the split-wave64 rendezvous inline; bounded source reviewed; integration/device or full-stack validation pending. | | #2220 | `419431cf03c2` | no | Shaders: trace offline precompile phases; bounded source reviewed; integration/device or full-stack validation pending. | | #2224 | `85d79bf639d4` | no | D3D12.X: abort failed device batches and restore pending in title_textures::upload_all; bounded source reviewed; integration/device or full-stack validation pending. | | #2252 | `da82f106813b` | no | dxil: refuse wave64 VS/PS with upper-lane reads in 32-lane mode (#1895); bounded source reviewed; integration/device or full-stack validation pending. | | #2270 | `b7f6b760e2ce` | no | D3D12.X: unmap a superseded texture only once the work before it is done; bounded source reviewed; integration/device or full-stack validation pending. | | #2288 | `5e502c50805e` | yes | Recompiler: guard direct DXIL window stores with bit tests; bounded source reviewed; integration/device or full-stack validation pending. | | #2291 | `4bad50562dd5` | no | Recompiler: a compute loop's passes shrink with the dispatch's size; bounded source reviewed; integration/device or full-stack validation pending. | | #2297 | `739407b67a28` | no | D3D12.X: guard null and unreadable pointers in graphics and compute PSO hooks; bounded source reviewed; integration/device or full-stack validation pending. | | #2299 | `4de52614fa58` | no | Recompiler: split direct compute programs that use guest LDS; bounded source reviewed; integration/device or full-stack validation pending. | | #2301 | `c94ad8afe3a7` | no | Direct DXIL: compute programs over 1.5 MB of plain DXIL are retried in the compact form; bounded source reviewed; integration/device or full-stack validation pending. | | #2302 | `30985d3f48b6` | no | Recompiler: replace tn[4]/id[4] local arrays in bvh_intersect with scalars; bounded source reviewed; integration/device or full-stack validation pending. | | #2326 | `d65ae604ba81` | yes | Shaders: make static-sampler root signatures first, in one order; bounded source reviewed; integration/device or full-stack validation pending. | | #2333 | `a7b93a853ec5` | no | D3D12.X: keep caller allocator for untracked lists and retain whole PSOs in dispatch_chain; bounded source reviewed; integration/device or full-stack validation pending. | | #2341 | `45dbd47ccdfc` | no | recomp: cap per-lane compute size so giant shaders use compact DXIL (#2203); bounded source reviewed; integration/device or full-stack validation pending. | | #2343 | `3ec09d711cb1` | no | dxil: batch consecutive v_readfirstlane/v_readlane exchanges in split-wave64; bounded source reviewed; integration/device or full-stack validation pending. | | #2344 | `c24f3e9743cf` | no | DXIL split: prune piece-local features after optimize and transport f16/f64; bounded source reviewed; integration/device or full-stack validation pending. | | #2348 | `bc43fd6dc403` | no | Recompiler: cube sc / tc negate by the sign bit on both backends; bounded source reviewed; integration/device or full-stack validation pending. | | #2349 | `63131c64802a` | no | Recompiler: split native wave32 compute groups beyond [32, 1, 1]; bounded source reviewed; integration/device or full-stack validation pending. | | #2353 | `a81f9d536f15` | no | Recompiler: split single-wave compute groups of any shape; bounded source reviewed; integration/device or full-stack validation pending. | | #2356 | `ff9716539139` | yes | Recompiler: compress per-class branch targets in direct DXIL compact; bounded source reviewed; integration/device or full-stack validation pending. | | #2377 | `0c446533681f` | no | Recompiler: split-wave64 one-wave groups can meet at a group barrier (opt-in, XCL_WAVE64_BARRIER=1); existing scoped evidence; current integration/runtime pending. | | #2385 | `4c4c5772f74c` | no | D3D12.X: sampled textures go without their top mips while video memory fills up; existing scoped evidence; current integration/runtime pending. | | #2398 | `e9d7aefc3a18` | no | DXIL: saturate 16-bit integer valu16 ops when CLAMP=1; bounded source reviewed; integration/device or full-stack validation pending. | | #2409 | `1ee46bda18ef` | no | D3D12.X: record first use of synchronously created compute PSOs; bounded source reviewed; integration/device or full-stack validation pending. | | #2417 | `1a51cb95ebd7` | no | D3D12.X: retain resolved async pipelines until reset and retirement; bounded source reviewed; integration/device or full-stack validation pending. | | #2423 | `63ea17f3cf85` | no | Recompiler: prioritize wanted DXC compiles and reserve worker headroom; bounded source reviewed; integration/device or full-stack validation pending. | | #2427 | `c8c2b7a6b19d` | no | Recompiler: direct DXIL reads heap memory windows without a branch; bounded source reviewed; integration/device or full-stack validation pending. | | #2428 | `c6e5af8690fc` | no | Recompiler: NVIDIA compute programs take flat heap windows by default; existing scoped evidence; current integration/runtime pending. | | #2440 | `633b1e4213c3` | yes | Tests: exercise direct geometry in expanded heap windows; bounded source reviewed; integration/device or full-stack validation pending. | | #2448 | `d61ffdc435d5` | no | D3D12.X: canonicalize inactive two-pass stream descriptors; existing scoped evidence; current integration/runtime pending. | | #2469 | `44a66e63d717` | no | D3D12.X: reuse split dispatch scratch when growth fails; bounded source reviewed; integration/device or full-stack validation pending. | | #2495 | `bbcfc3818168` | yes | Scripts: reject invalid or stale cold PSO benchmark results; existing scoped evidence; current integration/runtime pending. | | #2496 | `2e8ff6b6ce0c` | no | Recompiler: an access may take its base address's window (XCL_WINDOW_NO_CARRY); bounded source reviewed; integration/device or full-stack validation pending. | | #2500 | `b17262c485cc` | no | xcl run: a profile-tracy build records a Tracy timeline of the run; bounded source reviewed; integration/device or full-stack validation pending. | | #2515 | `f655cfdac728` | yes | Shaders: --pipelines blobs are made as a title's run asks for them; bounded source reviewed; integration/device or full-stack validation pending. | | #2523 | `8b290bf2944d` | yes | D3D12.X: MakeResident and Evict give the driver the pipeline behind a stand-in; bounded source reviewed; integration/device or full-stack validation pending. | | #2526 | `0fd22d04dc79` | yes | D3D12.X: compute pipelines not used for a while are released on NVIDIA; existing scoped evidence; current integration/runtime pending. | | #2540 | `f5cb7eaa1c54` | no | Recompiler: validate DXIL containers and split pieces in translated cache; bounded source reviewed; integration/device or full-stack validation pending. | | #2543 | `12141ccbfa16` | no | D3D12.X: clear dispatch_chain shared scratch on list lifecycle transitions; bounded source reviewed; integration/device or full-stack validation pending. | | #2548 | `c0d09204145a` | no | D3D12.X: Reset, KickoffX and CreateCommandList do not wait for a compute pipeline still being built; bounded source reviewed; integration/device or full-stack validation pending. | | #2551 | `3567b2efdc94` | no | Shaders: --precompile --pipelines also builds a split program's whole form; bounded source reviewed; integration/device or full-stack validation pending. | | #2552 | `84f6bdc97a46` | no | Recompiler: fold finite constant legacyF16ToF32 conversions in direct DXIL; bounded source reviewed; integration/device or full-stack validation pending. | | #2557 | `2a1fadcf8eb4` | no | Recompiler: generalize bitmask and zero-shift folding via known_nonzero_bits; bounded source reviewed; integration/device or full-stack validation pending. | | #2559 | `7bf48538afde` | no | Recompiler: simplify bfm / s_bfm_b64 and lower ffbh_i to FirstbitSHi in direct DXIL; bounded source reviewed; integration/device or full-stack validation pending. | | #2565 | `97376ee13636` | no | Recompiler: lower 32-bit VALU add/sub with carry without i64 in direct DXIL; bounded source reviewed; integration/device or full-stack validation pending. | | #2566 | `72e94879f268` | yes | Diagnostics: label translated pipelines in PIX captures; bounded source reviewed; integration/device or full-stack validation pending. | | #2567 | `3c0fc4b96a6b` | no | Recompiler: share scalar-load bodies in direct DXIL compute shaders; bounded source reviewed; integration/device or full-stack validation pending. | | #2568 | `4094ff9cb9c3` | no | Recompiler: simplify integer min/max (dx.op.binary.i32) via range bounds and absorption in direct DXIL opt; bounded source reviewed; integration/device or full-stack validation pending. | | #2571 | `ad0ded91d9fa` | no | Recompiler: direct PS compares skip the per-quad mask where no helper bit is read; bounded source reviewed; integration/device or full-stack validation pending. | | #2572 | `af2cecc40886` | no | Nvidia dev; existing scoped evidence; current integration/runtime pending. | | #2574 | `e2aae0e87df1` | no | D3D12.X: persist slow driver blobs past the RAM cache cap (#1833); bounded source reviewed; integration/device or full-stack validation pending. | | #2581 | `d5d694b04b3e` | no | D3D12.X: with bounded pipeline waits, dispatches are not put off to the submit; bounded source reviewed; integration/device or full-stack validation pending. | | #2585 | `2066b32e5d12` | no | DXC: keep LINK_GATE open on OOM and forward opt/extra args to IDxcLinker::Link; bounded source reviewed; integration/device or full-stack validation pending. | | #2594 | `ae921b40fc1f` | yes | Shaders: reuse the file buffer when loading unsplit cache entries; bounded source reviewed; integration/device or full-stack validation pending. | | #2603 | `88c0f1481ff2` | no | Tests: isolate the streamed-texture recheck fixture; bounded source reviewed; integration/device or full-stack validation pending. | | #2613 | `2d229b9f76b6` | no | Shaders: warm runtime-selected graphics DXIL variants in --precompile; bounded source reviewed; integration/device or full-stack validation pending. | | #2614 | `cd7be10ff02b` | no | D3D12.X: preserve replaced driver blobs after stale rejection; existing scoped evidence; current integration/runtime pending. | | #2621 | `aad6434c1c6a` | no | D3D12.X: preserve extended state in translated graphics PSO streams; bounded source reviewed; integration/device or full-stack validation pending. | | #2622 | `f0f9daee2d7e` | no | D3D12.X: a put-off call's segment that does not close is not submitted; bounded source reviewed; integration/device or full-stack validation pending. | | #2628 | `8b15baee713b` | no | D3D12.X: a worker waiting for a big compile turn leaves the queue to a helper; bounded source reviewed; integration/device or full-stack validation pending. | | #2629 | `8bfaa12f1fdf` | no | D3D12.X: a split program's failed whole build is not tried again; bounded source reviewed; integration/device or full-stack validation pending. | | #2641 | `c9751948934e` | no | Recompiler: simplify direct DXIL frexp_mant, frexp_exp, and alignbit helpers; existing scoped evidence; current integration/runtime pending. | | #2652 | `88d7b0a19a27` | no | Recompiler: serialize dxc::wait_for_memory slot admission (#2463); bounded source reviewed; integration/device or full-stack validation pending. | | #2697 | `50cfb321be82` | no | D3D12.X: a memory line by owner, against DXGI's budget; existing scoped evidence; current integration/runtime pending. | | #2704 | `9b6811395e23` | no | Shaders: include HEAP_FLAT in offline precompile runtime_windows; bounded source reviewed; integration/device or full-stack validation pending. | | #2705 | `231c4f1d06b5` | no | xcl run: preparation workers count the commit left in MiB, not bytes; existing scoped evidence; current integration/runtime pending. | | #2706 | `f614add84d53` | yes | D3D12.X: preserve the NVIDIA world-streaming integration; existing scoped evidence; current integration/runtime pending. | | #2711 | `dfead3702a1e` | yes | Recompiler: canonicalize split compute pieces and prune unused bindings (#2088); existing scoped evidence; current integration/runtime pending. | | #2717 | `23d313161e3a` | no | D3D12.X: a mid-list split gets its next segment before it closes the list; bounded source reviewed; integration/device or full-stack validation pending. | | #2723 | `2d14195e83eb` | no | D3D12.X: share dispatch-chain root signatures per device and key compute blobs on NodeMask; existing scoped evidence; current integration/runtime pending. | | #2725 | `ad9172c015a8` | no | D3D12.X: a title allocator takes a free spare another one put aside; existing scoped evidence; current integration/runtime pending. | | #2728 | `ae5a2f99b02e` | yes | README: document xcl shaders --precompile --limit; existing scoped evidence; current integration/runtime pending. | | #2739 | `e58cd9e7945f` | no | shaders: distinguish precompiled PSOs from saved driver blobs; bounded source reviewed; integration/device or full-stack validation pending. | | #2740 | `9ecae592ea3a` | no | D3D12.X: persist compute blobs when the RAM cache is full; existing scoped evidence; current integration/runtime pending. | | #2749 | `9cfa7536e978` | no | D3D12.X: split sparse readback spin and submission out of STATE lock; bounded source reviewed; integration/device or full-stack validation pending. | | #2750 | `44a7e6fe3431` | no | D3D12.X: count the resources XCL makes for itself, by where it makes them; existing scoped evidence; current integration/runtime pending. | | #2755 | `4bb6b30fc5b1` | no | D3D12.X: preserve used-pipeline key on RT-gated compute stand-ins; bounded source reviewed; integration/device or full-stack validation pending. | | #2761 | `7cbc65139995` | no | Recompiler: use u128 dependency masks for reload invalidation; bounded source reviewed; integration/device or full-stack validation pending. | | #2764 | `24695174b1c1` | no | D3D12.X: a placed view's padding does not make a second texture; bounded source reviewed; integration/device or full-stack validation pending. | | #2781 | `e1e5bbf0d9bd` | no | Recompiler: Wave32 pixel mask writes kill one SGPR, not a pair; bounded source reviewed; integration/device or full-stack validation pending. | | #2786 | `7587c01324cf` | no | D3D12.X: add opt-in first-demand capture sidecar for Chain::whole fallbacks; bounded source reviewed; integration/device or full-stack validation pending. | | #2788 | `2331f2ea810c` | no | Tests: a console MS in the AS slot is refused by its MS translation; bounded source reviewed; integration/device or full-stack validation pending. | | #2789 | `ed13531a2869` | no | Build: hash the translator sources of the tree being built; bounded source reviewed; integration/device or full-stack validation pending. | </details> Confirmed semantic overlap is being retained where policy, target branch, residual behavior or unmerged prerequisites differ. A partial overlap is not a complete duplicate. No full-stack runtime certification is implied for this umbrella PR. AI use: Codex (GPT-6) reviewed source with independent cross-checks, executed the selected local fixtures and reconciled raw results; historical evidence is kept separate. Optional temporary [Discord](https://discord.gg/gK3y7WRRY) for coordinating contributor work, testing and comparing results.
Prime1997 commented 2026-11-26 15:31:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Prime1997 on 2026-11-26T15:31:06Z.

Review: COMMENTED


Merge status: these three test fixes remain blocked by CI; retain their useful changes. Using Prime1997, I approved the waiting CI runs for the reviewed NVIDIA-target revisions and applied the documented test-only label to the two changes inside test modules. Their new description checks passed. No PR was merged or closed.

All three CI attempt2 runs finished with failure:

PR Exact reviewed head CI result
#2770 7a7e161d907c91e32fbf727201806171f5580c51 Run45812413546
#2771 6b2691e18b02fd5f5efcca5c8e27db93e3ce727a Run45812422397
#2773 0c0a7aa4ef1c0ced8436ebfd9fdaf1c4182baf98 Run45812437568

The full job logs show successful dev/test compilation, followed by the xcl --lib process aborting on Microsoft Basic Render Driver with 0x887a0020. Each job exits1, contains347 GPU-skip diagnostics and has no final libtest summary. Complete suite pass/fail totals therefore cannot be reported. No named FAILED test line was observed in these three logs.

This is a real failed merge gate, not evidence that each test fix introduced a regression. It matches the earlier #2729 software-renderer abort pattern, but no same-runner AF2 baseline comparison has established causation. The earlier scoped local passes remain separate evidence. The test-only labels waive only the exact-revision smoke-description requirement; they do not waive CI, validate whole-stack behavior or turn drafts into ready PRs.

Target remains nvidia-dev at af2cecc40886a8682ecf3267f5328c6dc4b66ad7. Resolve or independently isolate the failing CI path and complete the remaining validation before merging. A failed or missing check alone is not duplicate/rejection evidence. The strongest overlap candidates also retained distinct behavior, so none was closed on that basis.

AI use: Codex (GPT-6) rechecked account/head/base, reviewed the test-only diffs and unchanged workflows, advanced the permitted checks and reconciled full CI logs. The CI counts above are observed GitHub-runner evidence, not local hardware results. Optional temporary Discord for coordinating contributor work, testing and comparing results.

<!-- greyfinch-sync:ivall/xcl:review:6076797405 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#pullrequestreview-6076797405). Originally posted by [Prime1997](https://github.com/Prime1997) on 2026-11-26T15:31:06Z. **Review:** COMMENTED --- **Merge status: these three test fixes remain blocked by CI; retain their useful changes.** Using Prime1997, I approved the waiting CI runs for the reviewed NVIDIA-target revisions and applied the documented `test-only` label to the two changes inside test modules. Their new description checks passed. No PR was merged or closed. All three CI attempt2 runs finished with failure: | PR | Exact reviewed head | CI result | |---|---|---| | #2770 | `7a7e161d907c91e32fbf727201806171f5580c51` | [Run45812413546](https://github.com/xcl-dev/xcl/actions/runs/45812413546) | | #2771 | `6b2691e18b02fd5f5efcca5c8e27db93e3ce727a` | [Run45812422397](https://github.com/xcl-dev/xcl/actions/runs/45812422397) | | #2773 | `0c0a7aa4ef1c0ced8436ebfd9fdaf1c4182baf98` | [Run45812437568](https://github.com/xcl-dev/xcl/actions/runs/45812437568) | The full job logs show successful dev/test compilation, followed by the `xcl --lib` process aborting on **Microsoft Basic Render Driver** with `0x887a0020`. Each job exits1, contains347 GPU-skip diagnostics and has no final libtest summary. Complete suite pass/fail totals therefore cannot be reported. No named `FAILED` test line was observed in these three logs. This is a real failed merge gate, not evidence that each test fix introduced a regression. It matches the earlier #2729 software-renderer abort pattern, but no same-runner AF2 baseline comparison has established causation. The earlier scoped local passes remain separate evidence. The test-only labels waive only the exact-revision smoke-description requirement; they do not waive CI, validate whole-stack behavior or turn drafts into ready PRs. Target remains `nvidia-dev` at `af2cecc40886a8682ecf3267f5328c6dc4b66ad7`. Resolve or independently isolate the failing CI path and complete the remaining validation before merging. A failed or missing check alone is not duplicate/rejection evidence. The strongest overlap candidates also retained distinct behavior, so none was closed on that basis. AI use: Codex (GPT-6) rechecked account/head/base, reviewed the test-only diffs and unchanged workflows, advanced the permitted checks and reconciled full CI logs. The CI counts above are observed GitHub-runner evidence, not local hardware results. Optional temporary [Discord](https://discord.gg/gK3y7WRRY) for coordinating contributor work, testing and comparing results.
pvfreis commented 2026-11-26 16:07:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by pvfreis on 2026-11-26T16:07:21Z.


Test report: nvidia-dev at af2cecc4 (this PR's head), RTX 3060 12 GB / 32 GB RAM, XCL_PREPARE=0, empty DXIL cache: no device removal in 463 s; no present after 282 s; our memory guard stopped the run at 37 GiB private. One run. This is not a smoke block.

Setup

  • RTX 3060 12 GB, driver 617.14; Ryzen 9 5900XT; 31.9 GB RAM (commit limit 65,385 MB); Windows 11.
  • af2cecc40886a8682ecf3267f5328c6dc4b66ad7, release build, Rust 1.100.0, no local changes.
  • Retail title, Series X profile, A pressed every 4 s by script.
  • XCL_DIRECT_DXIL=1 XCL_COHERENT_HEAPS=0 XCL_COHERENT_MB=512 XCL_PSO_WAIT_MS=50 XCL_PSO_TRACE=1 XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PREPARE=0; every other switch at its default (the ExecuteIndirect guard on).
  • Fresh XCL data folder and empty DXIL cache; NVIDIA's own driver cache was not cleared. No driver-profile change was made for this run.

What it showed (seconds from the xcl.log timestamps; MB as the log prints them)

  • Intro presents from 6 s. First large dispatch burst at 124 s: 7,228 dispatches in 2 s.
  • First chained dispatches between 140 and 150 s, then a present again at 164 s. A second gap from about 176 to 210 s.
  • 214–282 s: 84 presents and 177,069 dispatches.
  • No present from 282 s to the end (90 windows of 2 s, 6 dispatches). From 282 s, compute programs of 0.98–1.07 MB of DXIL were compiled by the driver one after another: 282–315 s (33.3 s), 315–358 s (42.3 s), 358–416 s (58.3 s, the longest in the run), and one started at 416 s that was still open at the end, with 19 smaller compiles also in flight.
  • Totals: 1,810 presents, 209,513 dispatches (197,828 after the first chained ones), 10,626 chained dispatches in 44,297 slabs, 131 programs split.
  • No device removal. Local video memory was over the DXGI budget from 90 s on (187 warnings) and stayed at 16,390 MB from 284 s, against a budget of about 11,000 MB. nvidia-smi peaked at 11,931 of 12,288 MiB.
  • No lines from the ExecuteIndirect guard. Other ExecuteIndirect skips in the log: 4 at 120 s (pipeline still being built) and 8 at 142 s (two-pass arguments not in a console buffer).
  • How it ended: our guard stopped the run when the process reached 37 GiB private (465 s on the guard's clock; the log ends at 463 s). Process commit was 33,431 MB at 150 s, 36,318 MB at 282 s and 37,957 MB at 463 s. In the last memory: line, system commit was 55,194 of 65,385 MB, about 17,200 MB of it not this process. The lowest points on the guard's samples were 0.01 GiB of available RAM and 7.7 GiB of free commit, both at about 407 s. The title did not crash or stop by itself, and Windows had not run out of commit.
  • For comparison, same machine and switches on main at b49be183 (13 commits behind today's main; no preparation step there; plus one local commit that only adds log lines), empty DXIL cache, stopped by us at 208 s: first chained dispatches by 120 s, then 956 dispatches and 0 presents to the end, with compute compiles of up to 0.9 MB of DXIL still open. nvidia-dev by 208 s: 4 presents and 15,505 dispatches after its first chained ones (150 s).

Not tested: preparation on (the XCL_PREPARE default) and its worker processes; warm caches; the #2590 shader-heap profile; #2794; whether the S# sampler fix changes anything on screen; the picture (no frame captures); the test suite at this head; AMD; a second run.

AI use: Claude Code (Claude Opus 5.5) ran this and wrote it; Claude Fable 5.2 rechecked it against the logs.

<!-- greyfinch-sync:ivall/xcl:comment:7197210489 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7197210489). Originally posted by [pvfreis](https://github.com/pvfreis) on 2026-11-26T16:07:21Z. --- **Test report: `nvidia-dev` at `af2cecc4` (this PR's head), RTX 3060 12 GB / 32 GB RAM, `XCL_PREPARE=0`, empty DXIL cache: no device removal in 463 s; no present after 282 s; our memory guard stopped the run at 37 GiB private.** One run. This is not a smoke block. **Setup** - RTX 3060 12 GB, driver 617.14; Ryzen 9 5900XT; 31.9 GB RAM (commit limit 65,385 MB); Windows 11. - `af2cecc40886a8682ecf3267f5328c6dc4b66ad7`, release build, Rust 1.100.0, no local changes. - Retail title, Series X profile, A pressed every 4 s by script. - `XCL_DIRECT_DXIL=1 XCL_COHERENT_HEAPS=0 XCL_COHERENT_MB=512 XCL_PSO_WAIT_MS=50 XCL_PSO_TRACE=1 XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PREPARE=0`; every other switch at its default (the ExecuteIndirect guard on). - Fresh XCL data folder and empty DXIL cache; NVIDIA's own driver cache was not cleared. No driver-profile change was made for this run. **What it showed** (seconds from the `xcl.log` timestamps; MB as the log prints them) - Intro presents from 6 s. First large dispatch burst at 124 s: 7,228 dispatches in 2 s. - First chained dispatches between 140 and 150 s, then a present again at 164 s. A second gap from about 176 to 210 s. - 214–282 s: 84 presents and 177,069 dispatches. - No present from 282 s to the end (90 windows of 2 s, 6 dispatches). From 282 s, compute programs of 0.98–1.07 MB of DXIL were compiled by the driver one after another: 282–315 s (33.3 s), 315–358 s (42.3 s), 358–416 s (58.3 s, the longest in the run), and one started at 416 s that was still open at the end, with 19 smaller compiles also in flight. - Totals: 1,810 presents, 209,513 dispatches (197,828 after the first chained ones), 10,626 chained dispatches in 44,297 slabs, 131 programs split. - No device removal. Local video memory was over the DXGI budget from 90 s on (187 warnings) and stayed at 16,390 MB from 284 s, against a budget of about 11,000 MB. nvidia-smi peaked at 11,931 of 12,288 MiB. - No lines from the ExecuteIndirect guard. Other ExecuteIndirect skips in the log: 4 at 120 s (pipeline still being built) and 8 at 142 s (two-pass arguments not in a console buffer). - **How it ended:** our guard stopped the run when the process reached 37 GiB private (465 s on the guard's clock; the log ends at 463 s). Process commit was 33,431 MB at 150 s, 36,318 MB at 282 s and 37,957 MB at 463 s. In the last `memory:` line, system commit was 55,194 of 65,385 MB, about 17,200 MB of it not this process. The lowest points on the guard's samples were 0.01 GiB of available RAM and 7.7 GiB of free commit, both at about 407 s. The title did not crash or stop by itself, and Windows had not run out of commit. - For comparison, same machine and switches on `main` at `b49be183` (13 commits behind today's `main`; no preparation step there; plus one local commit that only adds log lines), empty DXIL cache, stopped by us at 208 s: first chained dispatches by 120 s, then 956 dispatches and 0 presents to the end, with compute compiles of up to 0.9 MB of DXIL still open. `nvidia-dev` by 208 s: 4 presents and 15,505 dispatches after its first chained ones (150 s). **Not tested:** preparation on (the `XCL_PREPARE` default) and its worker processes; warm caches; the #2590 shader-heap profile; #2794; whether the S# sampler fix changes anything on screen; the picture (no frame captures); the test suite at this head; AMD; a second run. **AI use:** Claude Code (Claude Opus 5.5) ran this and wrote it; Claude Fable 5.2 rechecked it against the logs.
throny commented 2026-11-26 16:46:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-26T16:46:40Z.


Two notes for whoever syncs this branch with main next, from an RTX 4080 16 GB that has been testing PRs on af2cecc4 all day (runs and numbers: #2688, comment 7184950679).

  • main is 10 commits ahead (#2555, #1942, #2448, #565, merged 07:56–08:02 today). The startup preparation is not the problem: this branch's present/preparation.rs already sits on #2555's commit plus four more. A trial merge (git merge-tree) conflicts in two places only: crates/xcl/src/hle/d3d12x/real.rs (content) and crates/xcl/tests/gpu_two_pass_cache_e2e.rs (added on both sides), both from the two-pass blob PRs.
  • #684 is needed here: without it this card stops at 148.6 s in hle::xg::copy_from in 2 of 2 runs; with it, 0 of about 30. @Royalflamejlh's Linux runs above already carry it.

And one match with the reports above: on this card the device goes (0x887a0005, no nvlddmkm event, DRED without breadcrumbs) in about half of the world runs, 40–330 s after world entry, on the Series X and the Series S profile, with video memory over the budget or just at it. That looks like the Windows side of the Xid 109 losses at 95–207 s on Linux. Seven open PRs tried on top so far (#2749, #2768, #2782, #2725, #2581, #2422, the two-pass stack #2817) do not change it; reports are on each PR.

AI use: Claude Code (Claude Fable 5.2) ran the merge check and the runs and wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7198082098 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7198082098). Originally posted by [throny](https://github.com/throny) on 2026-11-26T16:46:40Z. --- Two notes for whoever syncs this branch with `main` next, from an RTX 4080 16 GB that has been testing PRs on `af2cecc4` all day (runs and numbers: #2688, comment 7184950679). - **`main` is 10 commits ahead** (#2555, #1942, #2448, #565, merged 07:56–08:02 today). The startup preparation is not the problem: this branch's `present/preparation.rs` already sits on #2555's commit plus four more. A trial merge (`git merge-tree`) conflicts in two places only: `crates/xcl/src/hle/d3d12x/real.rs` (content) and `crates/xcl/tests/gpu_two_pass_cache_e2e.rs` (added on both sides), both from the two-pass blob PRs. - **#684 is needed here**: without it this card stops at 148.6 s in `hle::xg::copy_from` in 2 of 2 runs; with it, 0 of about 30. @Royalflamejlh's Linux runs above already carry it. And one match with the reports above: on this card the device goes (`0x887a0005`, no `nvlddmkm` event, DRED without breadcrumbs) in about half of the world runs, 40–330 s after world entry, on the Series X and the Series S profile, with video memory over the budget or just at it. That looks like the Windows side of the Xid 109 losses at 95–207 s on Linux. Seven open PRs tried on top so far (#2749, #2768, #2782, #2725, #2581, #2422, the two-pass stack #2817) do not change it; reports are on each PR. AI use: Claude Code (Claude Fable 5.2) ran the merge check and the runs and wrote this.
throny commented 2026-11-26 17:23:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-26T17:23:22Z.


A picture regression on this branch: single black frames during loading, about every 16th frame, that main does not have. The owner of this machine saw it as a flicker on the loading screens; frame dumps confirm it.

Tested

  • RTX 4080 16 GB (driver 621.40), Windows 11 26300, release; the retail title of #505, first 120–135 s of a run (profile pick, intro, loading artwork); XCL_FRAME_DUMP=2 (every second presented frame as a quarter-size image), then a count of frames whose brightness differs strongly from both neighbours while the neighbours match each other.
build frames looked at such single frames spacing
main 2898511 (25 Nov, 19:47) 1,214 (frames 301–2,727) 0 –
nvidia-dev af2cecc4 + #684 + #2697 915 (1,801–3,629) 25 mostly exactly 16 frames
the same + nine more open PRs (today's test tree) 1,601 (301–3,501) 30 mostly exactly 16 frames
the same tree, three other builds of today 660–921 each 27, 5, 30 16 (one build: 5 only)
  • Looked at directly, each one is a frame that is black or shows only the dark background without the artwork, between two normal frames of the same still image. They start around frame 1,815 (about 60 s in, once the loading artwork is up) and go on through loading.
  • It is in the branch as it is (af2cecc4 with only #684 and the accounting line added), so it is not from the PRs I have been testing on top. I have not bisected the branch's own commits.
  • A fixed period of 16 presented frames suggests something periodic on the present or copy path rather than the title's content.

Not tested

  • Which commit of the branch brings it, AMD, whether it continues in the world (frame dumps time out there on this card).

AI use: Claude Code (Claude Fable 5.2) ran the runs, counted the frames with a script and wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7198931832 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7198931832). Originally posted by [throny](https://github.com/throny) on 2026-11-26T17:23:22Z. --- **A picture regression on this branch: single black frames during loading, about every 16th frame, that `main` does not have.** The owner of this machine saw it as a flicker on the loading screens; frame dumps confirm it. **Tested** - RTX 4080 16 GB (driver 621.40), Windows 11 26300, release; the retail title of #505, first 120–135 s of a run (profile pick, intro, loading artwork); `XCL_FRAME_DUMP=2` (every second presented frame as a quarter-size image), then a count of frames whose brightness differs strongly from both neighbours while the neighbours match each other. | build | frames looked at | such single frames | spacing | |---|---|---|---| | `main` `2898511` (25 Nov, 19:47) | 1,214 (frames 301–2,727) | **0** | – | | `nvidia-dev` `af2cecc4` + #684 + #2697 | 915 (1,801–3,629) | **25** | mostly exactly 16 frames | | the same + nine more open PRs (today's test tree) | 1,601 (301–3,501) | **30** | mostly exactly 16 frames | | the same tree, three other builds of today | 660–921 each | 27, 5, 30 | 16 (one build: 5 only) | - Looked at directly, each one is a frame that is black or shows only the dark background without the artwork, between two normal frames of the same still image. They start around frame 1,815 (about 60 s in, once the loading artwork is up) and go on through loading. - It is in the branch as it is (`af2cecc4` with only #684 and the accounting line added), so it is not from the PRs I have been testing on top. I have not bisected the branch's own commits. - A fixed period of 16 presented frames suggests something periodic on the present or copy path rather than the title's content. **Not tested** - Which commit of the branch brings it, AMD, whether it continues in the world (frame dumps time out there on this card). AI use: Claude Code (Claude Fable 5.2) ran the runs, counted the frames with a script and wrote this.
claudetools-gh commented 2026-11-26 17:26:34 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by claudetools-gh on 2026-11-26T17:26:34Z.


@throny we traced the same flicker on our tree: it comes from the hot-block CPU-write looks, 7c18bc41 ("looks for CPU writes take the blocks written lately; a thread walks the rest"). That commit is in nvidia-dev and not in main, which fits your table.

Why. A look before each submit takes only the 2 MiB blocks written in the last hot_for (1,500 ms); a background walk finds writes to the other blocks later. A write to a block that went cold, made just before a submit, reaches that submit unseen, and the GPU reads the stale copy. On the loading art the result is a whole frame of zeros (alpha too) or the background without the character layer.

What we measured (RTX 5070 Ti, retail title, art screens):

  • The bad frames follow a cycle of the title's (216 frames here, with 8- and 16-frame components inside), and the first ~46 frames of each cycle are clean: 1.5 s, i.e. hot_for. With XCL_WATCH_HOT_MS=4000, the bad frames at cycle positions 46–119 fell from 33–34 per run to 2; with XCL_WATCH_HOT_MS=10000, to 0.
  • A 60 fps capture of the window: 96–97 black flashes in 50 s with hot looks, 0 in 85 s with XCL_WATCH_HOT=0. Not the page budget, XCL_LOOK_SKIP or resource lifetime (each A/B'd).
  • So one run with XCL_WATCH_HOT=0 should confirm it on your 4080. @MacieGx's lab already turned hot looks off by default (240037e7).

What we run instead, to keep the cheaper looks: write guards on cold blocks. When a block leaves the hot set, a guard thread makes it read-only (VirtualProtect, whole 2 MiB block, only blocks that are fully committed and plain read-write), and the next look reads its write-watch bits once more (Windows keeps them across the protection change; a test checks that first). The first CPU write then faults; a vectored handler that takes no lock and does not allocate makes the block writable, puts it back in the hot set and lets the write retry. XCL's own writers into title memory (DirectStorage, file reads, decompression) and the title's own VirtualProtect/VirtualAlloc/VirtualFree hold a pin across the call; a synchronous ReadFile into a guarded block retries after opening it. With hot looks on: 0 flashes in 85 s, 0 writes missed, ~85 µs per protect, about 1,000 faults a minute on the loading screens and 4,000 in 5 min of world.

AI-assisted.

<!-- greyfinch-sync:ivall/xcl:comment:7199023624 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7199023624). Originally posted by [claudetools-gh](https://github.com/claudetools-gh) on 2026-11-26T17:26:34Z. --- @throny we traced the same flicker on our tree: it comes from the hot-block CPU-write looks, `7c18bc41` ("looks for CPU writes take the blocks written lately; a thread walks the rest"). That commit is in `nvidia-dev` and not in `main`, which fits your table. **Why.** A look before each submit takes only the 2 MiB blocks written in the last `hot_for` (1,500 ms); a background walk finds writes to the other blocks later. A write to a block that went cold, made just before a submit, reaches that submit unseen, and the GPU reads the stale copy. On the loading art the result is a whole frame of zeros (alpha too) or the background without the character layer. **What we measured** (RTX 5070 Ti, retail title, art screens): - The bad frames follow a cycle of the title's (216 frames here, with 8- and 16-frame components inside), and the first ~46 frames of each cycle are clean: 1.5 s, i.e. `hot_for`. With `XCL_WATCH_HOT_MS=4000`, the bad frames at cycle positions 46–119 fell from 33–34 per run to 2; with `XCL_WATCH_HOT_MS=10000`, to 0. - A 60 fps capture of the window: 96–97 black flashes in 50 s with hot looks, **0 in 85 s with `XCL_WATCH_HOT=0`**. Not the page budget, `XCL_LOOK_SKIP` or resource lifetime (each A/B'd). - So one run with `XCL_WATCH_HOT=0` should confirm it on your 4080. @MacieGx's lab already turned hot looks off by default (`240037e7`). **What we run instead, to keep the cheaper looks**: write guards on cold blocks. When a block leaves the hot set, a guard thread makes it read-only (`VirtualProtect`, whole 2 MiB block, only blocks that are fully committed and plain read-write), and the next look reads its write-watch bits once more (Windows keeps them across the protection change; a test checks that first). The first CPU write then faults; a vectored handler that takes no lock and does not allocate makes the block writable, puts it back in the hot set and lets the write retry. XCL's own writers into title memory (DirectStorage, file reads, decompression) and the title's own `VirtualProtect`/`VirtualAlloc`/`VirtualFree` hold a pin across the call; a synchronous `ReadFile` into a guarded block retries after opening it. With hot looks on: 0 flashes in 85 s, 0 writes missed, ~85 µs per protect, about 1,000 faults a minute on the loading screens and 4,000 in 5 min of world. AI-assisted.
throny commented 2026-11-26 18:17:38 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-26T18:17:38Z.


@claudetools-gh confirmed on the RTX 4080, thanks: with XCL_WATCH_HOT=0 the black frames are gone here too.

  • Same tree as the 30-frame row of my table above, one loading run with XCL_FRAME_DUMP=2: 0 single black frames in 1,650 frames (301–3,599), against 25–30 with the hot looks on.
  • Three world runs with XCL_WATCH_HOT=0 on the same tree: the device is still removed in 3 of 3 (0x887a0005, after 422 s, 110 s and 384 s of world), so the stale blocks are not what removes the device on this card; the removal is a separate problem.
  • Cost of the full looks in the world here: "look" is 9.5–13.5 ms of each ExecuteCommandLists (it was about 2.9 ms with the hot looks earlier today), at 3–4 submits per second, so it is not what limits this card either way; on a card that is not waiting for the GPU it will matter more.

AI use: Claude Code (Claude Fable 5.2) ran this and wrote it.

<!-- greyfinch-sync:ivall/xcl:comment:7200286425 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7200286425). Originally posted by [throny](https://github.com/throny) on 2026-11-26T18:17:38Z. --- @claudetools-gh confirmed on the RTX 4080, thanks: **with `XCL_WATCH_HOT=0` the black frames are gone here too.** - Same tree as the 30-frame row of my table above, one loading run with `XCL_FRAME_DUMP=2`: **0** single black frames in 1,650 frames (301–3,599), against 25–30 with the hot looks on. - Three world runs with `XCL_WATCH_HOT=0` on the same tree: the device is still removed in 3 of 3 (`0x887a0005`, after 422 s, 110 s and 384 s of world), so the stale blocks are not what removes the device on this card; the removal is a separate problem. - Cost of the full looks in the world here: "look" is 9.5–13.5 ms of each `ExecuteCommandLists` (it was about 2.9 ms with the hot looks earlier today), at 3–4 submits per second, so it is not what limits this card either way; on a card that is not waiting for the GPU it will matter more. AI use: Claude Code (Claude Fable 5.2) ran this and wrote it.
throny commented 2026-11-26 23:00:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-26T23:00:49Z.


eae01502 on an RTX 4080 16 GB (driver 621.40): the first launch's shader preparation hung the GPU at its very last record, and Windows restarted with bugcheck 0x116.

  • Tree: nvidia-dev eae01502 + #684 + #2794 (the preparation workers also build split programs' whole forms). All records translated offline before, and --precompile --only cs --pipelines --used-only done (4,825 pipelines made, 0 refused).
  • First launch with the title's own preparation (compute pipelines in 20 worker processes, those an earlier run used, 2,482 used shaders): it ran 1,637 s and its last line is 26502 of 26503 records checked for pipelines. Five seconds later the machine was down: VIDEO_TDR_FAILURE (the registry here turns a GPU hang into a restart), no nvlddmkm line before it, and no title frame had been shown yet. So the hang came from a worker building a compute pipeline, not from the title.
  • Slow before that, too: the last 500 records took about 2 minutes, with stretches of 10–15 s with no progress.
  • The workers' own logs are gone with the restart, so I can't name the record. If the preparation kept a line per record a worker starts (flushed), a hang like this would name its program.

What I do now: the runs on this head go on with XCL_PREPARE=0 (nearly everything is built and cached after those 27 minutes), so the A/B numbers I announced in #2688 still come tonight. I am not repeating the launch with the preparation on unattended; if someone wants it repeated to see whether it is the same record every time, say so.

AI use: Claude Code (Claude Fable 5.2) ran this and wrote it.

<!-- greyfinch-sync:ivall/xcl:comment:7205177976 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7205177976). Originally posted by [throny](https://github.com/throny) on 2026-11-26T23:00:49Z. --- **`eae01502` on an RTX 4080 16 GB (driver 621.40): the first launch's shader preparation hung the GPU at its very last record, and Windows restarted with bugcheck `0x116`.** - Tree: `nvidia-dev` `eae01502` + #684 + #2794 (the preparation workers also build split programs' whole forms). All records translated offline before, and `--precompile --only cs --pipelines --used-only` done (4,825 pipelines made, 0 refused). - First launch with the title's own preparation (`compute pipelines in 20 worker processes, those an earlier run used`, 2,482 used shaders): it ran **1,637 s** and its last line is `26502 of 26503 records checked for pipelines`. Five seconds later the machine was down: `VIDEO_TDR_FAILURE` (the registry here turns a GPU hang into a restart), no `nvlddmkm` line before it, and no title frame had been shown yet. So the hang came from a worker building a compute pipeline, not from the title. - Slow before that, too: the last 500 records took about 2 minutes, with stretches of 10–15 s with no progress. - The workers' own logs are gone with the restart, so I can't name the record. If the preparation kept a line per record a worker *starts* (flushed), a hang like this would name its program. What I do now: the runs on this head go on with `XCL_PREPARE=0` (nearly everything is built and cached after those 27 minutes), so the A/B numbers I announced in #2688 still come tonight. I am not repeating the launch with the preparation on unattended; if someone wants it repeated to see whether it is the same record every time, say so. AI use: Claude Code (Claude Fable 5.2) ran this and wrote it.
throny commented 2026-11-27 00:35:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T00:35:54Z.


On our card, a compute pipeline created from its stored driver blob takes as long as a fresh compile (RTX 4080 16 GB, driver 621.40, Windows 11 26300; nvidia-dev eff3bcab + #684 + #2794, XCL_DIRECT_DXIL=1, exe named xcl.exe with the 1 GiB heap profile of #2590).

This explains two things we kept seeing on this head: the shader preparation takes 7-8 minutes at every launch (also directly after a launch that completed it), and the world shows no frame for the first 10 minutes.

Measured with a local timing line in the preparation workers (one line per pipeline over 1 s; two launches, 192 lines):

DXIL size cache hits average time to create from the blob
under 250 KB 78 1.7 s
250-500 KB 14 5.5 s
500-750 KB 2 12.3 s
750 KB-1 MB 74 14.9 s
1-1.25 MB 17 19.7 s
over 1.25 MB 1 32.0 s
  • 186 of the 192 are hits by the workers' own rule (the pipeline's blob has the size of the stored one); only 6 were rebuilt. So the blobs are kept and accepted; the driver just needs about 17 s per MB of DXIL again.
  • Same in the title: in the world part of one 700 s run, 43 compute pipelines of 0.8-1 MB were created on title threads one after another, each logged with "driver blob supplied", 12-19 s each, 536 s in all. In those 10 minutes there were 0 presents (no device loss; video memory 0.7 GB over the budget). A second run with XCL_TEXTURE_LEVEL_PAGES=1 shows the same pattern.
  • It is not contention between workers: in the title they run one at a time and take the same time.

So for these large programs the stored blob saves nothing here. Questions for the other NVIDIA testers: do you see "driver blob supplied" followed by a finish line over 10 s for compute pipelines on your driver version? If someone on an older driver sees them load in under a second, this is a driver regression and worth knowing before anyone tunes around it.

What I can try next, unless someone already has: the same launch with the profile at 2048 MB; one launch with the NVIDIA cache folder for this exe cleared and rebuilt (in case the driver's own cache entry for these programs is rejected each time); and splitting, i.e. whether the pieces of a split program load fast where the whole form does not. Tell me which is most useful.

Numbers are from logs of real runs on the hardware above. AI use: Claude Code (Claude Fable 5.2) ran the tests and wrote this; the timing line is a local diagnostic, not a PR.

<!-- greyfinch-sync:ivall/xcl:comment:7206593402 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7206593402). Originally posted by [throny](https://github.com/throny) on 2026-11-27T00:35:54Z. --- **On our card, a compute pipeline created from its stored driver blob takes as long as a fresh compile** (RTX 4080 16 GB, driver 621.40, Windows 11 26300; `nvidia-dev` eff3bcab + #684 + #2794, `XCL_DIRECT_DXIL=1`, exe named `xcl.exe` with the 1 GiB heap profile of #2590). This explains two things we kept seeing on this head: the shader preparation takes 7-8 minutes at **every** launch (also directly after a launch that completed it), and the world shows no frame for the first 10 minutes. Measured with a local timing line in the preparation workers (one line per pipeline over 1 s; two launches, 192 lines): | DXIL size | cache hits | average time to create from the blob | |---|---|---| | under 250 KB | 78 | 1.7 s | | 250-500 KB | 14 | 5.5 s | | 500-750 KB | 2 | 12.3 s | | 750 KB-1 MB | 74 | 14.9 s | | 1-1.25 MB | 17 | 19.7 s | | over 1.25 MB | 1 | 32.0 s | - 186 of the 192 are hits by the workers' own rule (the pipeline's blob has the size of the stored one); only 6 were rebuilt. So the blobs are kept and accepted; the driver just needs about 17 s per MB of DXIL again. - Same in the title: in the world part of one 700 s run, 43 compute pipelines of 0.8-1 MB were created on title threads one after another, each logged with "driver blob supplied", 12-19 s each, 536 s in all. In those 10 minutes there were 0 presents (no device loss; video memory 0.7 GB over the budget). A second run with `XCL_TEXTURE_LEVEL_PAGES=1` shows the same pattern. - It is not contention between workers: in the title they run one at a time and take the same time. So for these large programs the stored blob saves nothing here. Questions for the other NVIDIA testers: do you see "driver blob supplied" followed by a finish line over 10 s for compute pipelines on your driver version? If someone on an older driver sees them load in under a second, this is a driver regression and worth knowing before anyone tunes around it. What I can try next, unless someone already has: the same launch with the profile at 2048 MB; one launch with the NVIDIA cache folder for this exe cleared and rebuilt (in case the driver's own cache entry for these programs is rejected each time); and splitting, i.e. whether the pieces of a split program load fast where the whole form does not. Tell me which is most useful. Numbers are from logs of real runs on the hardware above. AI use: Claude Code (Claude Fable 5.2) ran the tests and wrote this; the timing line is a local diagnostic, not a PR.
ettehn commented 2026-11-27 01:03:58 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ettehn on 2026-11-27T01:03:58Z.


Re your question about other NVIDIA versions: in earlier runtime logs from a 12 GB RTX 5070 Ti Laptop on 621.24, 141 of 147 compute PSO calls of at least 750,000 B DXIL with driver blob supplied finished in under 1 s. The longest took 1.713 s, and none of the 211 logged completed compute calls with a supplied blob took 10 s.

DXIL bytes Blob supplied: calls / median driver time Blob absent: calls / median driver time
750,000–999,999 127 / 0.583 s 22 / 76.847 s
1,000,000–1,249,999 18 / 0.790 s 10 / 123.001 s
1,250,000 and up 2 / 0.962 s 0 / —

I paired start/finish lines by compile ID and verified matching thread and DXIL size. These are the title-runtime calls from the same release run on Windows 11: nvidia-dev af2cecc4 + #2815–#2817 (c1bf0e8), plus #684, #2749, #2729 and #2794 locally, XCL_DIRECT_DXIL=1, seeded cache. The two columns contain different shader records. supplied means XCL passed a blob to the driver and does not independently verify acceptance. The log covers runtime, while the preparation workers' per-PSO timings are unavailable. This gives the requested under-one-second data point on another configuration, but differs in GPU and build as well as driver, so it cannot isolate a driver regression. OpenAI Codex (6.2sol) assisted with log analysis.

<!-- greyfinch-sync:ivall/xcl:comment:7206981556 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7206981556). Originally posted by [ettehn](https://github.com/ettehn) on 2026-11-27T01:03:58Z. --- Re your question about other NVIDIA versions: in earlier runtime logs from a **12 GB RTX 5070 Ti Laptop on 621.24**, 141 of 147 compute PSO calls of at least 750,000 B DXIL with `driver blob supplied` finished in under 1 s. The longest took 1.713 s, and none of the 211 logged completed compute calls with a supplied blob took 10 s. | DXIL bytes | Blob supplied: calls / median driver time | Blob absent: calls / median driver time | | --- | ---: | ---: | | 750,000–999,999 | 127 / 0.583 s | 22 / 76.847 s | | 1,000,000–1,249,999 | 18 / 0.790 s | 10 / 123.001 s | | 1,250,000 and up | 2 / 0.962 s | 0 / — | I paired start/finish lines by compile ID and verified matching thread and DXIL size. These are the title-runtime calls from the [same release run on Windows 11](https://github.com/xcl-dev/xcl/issues/505#issuecomment-7200080589): `nvidia-dev` `af2cecc4` + #2815–#2817 (`c1bf0e8`), plus #684, #2749, #2729 and #2794 locally, `XCL_DIRECT_DXIL=1`, seeded cache. The two columns contain different shader records. `supplied` means XCL passed a blob to the driver and does not independently verify acceptance. The log covers runtime, while the preparation workers' per-PSO timings are unavailable. This gives the requested under-one-second data point on another configuration, but differs in GPU and build as well as driver, so it cannot isolate a driver regression. OpenAI Codex (6.2sol) assisted with log analysis.
throny commented 2026-11-27 01:10:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T01:10:11Z.


Follow-up to the stored-blob timing above: I posted a plan on #2088 for a small PR that lets the shader preparation skip records whose blob it has already verified (marker with driver identity and blob length), which should cut the 7-8 minutes per launch on NVIDIA to seconds: https://github.com/xcl-dev/xcl/issues/2088 (latest comment). Starting now in a branch off nvidia-dev; say so if it overlaps with #2906, #2794 or other work here. AI use: Claude Code (Claude Fable 5.2).

<!-- greyfinch-sync:ivall/xcl:comment:7207069301 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7207069301). Originally posted by [throny](https://github.com/throny) on 2026-11-27T01:10:11Z. --- Follow-up to the stored-blob timing above: I posted a plan on #2088 for a small PR that lets the shader preparation skip records whose blob it has already verified (marker with driver identity and blob length), which should cut the 7-8 minutes per launch on NVIDIA to seconds: https://github.com/xcl-dev/xcl/issues/2088 (latest comment). Starting now in a branch off `nvidia-dev`; say so if it overlaps with #2906, #2794 or other work here. AI use: Claude Code (Claude Fable 5.2).
throny commented 2026-11-27 01:15:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T01:15:28Z.


@ettehn thank you, that is exactly the comparison I needed: under 1 s with a supplied blob on 621.24, against 15-20 s here on 621.40 for the same size class. So the blobs can load fast and something on this machine prevents it.

What differs here besides the driver version: xcl.exe runs in the NVIDIA profile of #2590 (1 GiB shader heap), and the driver's own cache folder for it has grown to 18 GB. Next I time the same preparation under another exe name (no profile; the driver's cache cold at the first launch and warm at the second), which separates "profile" and "driver cache state" from "driver version". If both are slow, the remaining suspect is 621.40 itself and I will say so here. The marker PR offered on #2088 stays useful either way, since it removes the re-creation from every launch.

AI use: Claude Code (Claude Fable 5.2).

<!-- greyfinch-sync:ivall/xcl:comment:7207142010 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7207142010). Originally posted by [throny](https://github.com/throny) on 2026-11-27T01:15:28Z. --- @ettehn thank you, that is exactly the comparison I needed: under 1 s with a supplied blob on 621.24, against 15-20 s here on 621.40 for the same size class. So the blobs can load fast and something on this machine prevents it. What differs here besides the driver version: `xcl.exe` runs in the NVIDIA profile of #2590 (1 GiB shader heap), and the driver's own cache folder for it has grown to 18 GB. Next I time the same preparation under another exe name (no profile; the driver's cache cold at the first launch and warm at the second), which separates "profile" and "driver cache state" from "driver version". If both are slow, the remaining suspect is 621.40 itself and I will say so here. The marker PR offered on #2088 stays useful either way, since it removes the re-creation from every launch. AI use: Claude Code (Claude Fable 5.2).
throny commented 2026-11-27 02:46:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T02:46:40Z.


Six tests fail on the clean nvidia-dev head ecc0bb57 on this machine (RTX 4080 16 GB, driver 621.40, Windows 11 26300, Rust 1.100.0, debug, no game running; cargo test --workspace --no-fail-fast -- --test-threads=4: 1825 passed, 8 failed counts over 42 test binaries, 48 ignored, 27 SKIPPED lines, most of them "no wave64"). Each was rerun alone on the clean tree with the same result:

  • hle::d3d12x::texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays and …::pieces_hold_the_texels_of_their_levels (both panic at texture_upload.rs:1002)
  • gpu_compute_e2e: split_compute_prefers_the_offline_whole_pipeline (the child's compiled.dispatch_chain.is_some() at line 119) and async_compute_pso_registers_real_pso_and_not_standin (line 535: the released async compute pipeline is still in the translated table)
  • gpu_two_pass_cache_e2e: two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs (line 574)
  • d3d12_mesh_stream: console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly (expects the AS-slot refusal, gets "MS: no NGG hardware variant")

I have not looked into causes; posting so that nobody takes them for regressions of a PR tested on NVIDIA. If they pass for others on this head, tell me and I will dig into what differs here. AI use: Claude Code (Claude Fable 5.2) ran the tests and wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7208423689 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7208423689). Originally posted by [throny](https://github.com/throny) on 2026-11-27T02:46:40Z. --- Six tests fail on the clean `nvidia-dev` head `ecc0bb57` on this machine (RTX 4080 16 GB, driver 621.40, Windows 11 26300, Rust 1.100.0, debug, no game running; `cargo test --workspace --no-fail-fast -- --test-threads=4`: 1825 passed, 8 failed counts over 42 test binaries, 48 ignored, 27 SKIPPED lines, most of them "no wave64"). Each was rerun alone on the clean tree with the same result: - `hle::d3d12x::texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays` and `…::pieces_hold_the_texels_of_their_levels` (both panic at texture_upload.rs:1002) - `gpu_compute_e2e`: `split_compute_prefers_the_offline_whole_pipeline` (the child's `compiled.dispatch_chain.is_some()` at line 119) and `async_compute_pso_registers_real_pso_and_not_standin` (line 535: the released async compute pipeline is still in the translated table) - `gpu_two_pass_cache_e2e`: `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` (line 574) - `d3d12_mesh_stream`: `console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly` (expects the AS-slot refusal, gets "MS: no NGG hardware variant") I have not looked into causes; posting so that nobody takes them for regressions of a PR tested on NVIDIA. If they pass for others on this head, tell me and I will dig into what differs here. AI use: Claude Code (Claude Fable 5.2) ran the tests and wrote this.
throny commented 2026-11-27 04:15:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T04:15:18Z.


Follow-up on the slow blob loads (RTX 4080, driver 621.40): the 1 GiB profile is not the cause. The same build under another exe name (no profile), second launch, so with the driver's own cache for that name warm: 67 creations from stored blobs at 750 KB-1 MB of DXIL took 19.7 s on average, 13 above 1 MB took 28.2 s (with the profile: 14.9 s and 19.7 s). The first launch under that name, with the driver's cache cold, took 50 s and 74 s for the same size classes, like a compile without a blob.

So on this machine the stored blob never makes creation fast; whatever speed there is comes from the driver's own cache, and for the large programs that is 15-30 s each. @ettehn measured under 1 s on 621.24 and @andrewDoing milliseconds on 616.92 (small synthetic programs, on #2951), which leaves the driver version as the main suspect here. A rollback to 621.24 would settle it; that needs the machine's owner, so it will not happen tonight.

AI use: Claude Code (Claude Fable 5.2) ran the tests and wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7209648536 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7209648536). Originally posted by [throny](https://github.com/throny) on 2026-11-27T04:15:18Z. --- Follow-up on the slow blob loads (RTX 4080, driver 621.40): **the 1 GiB profile is not the cause.** The same build under another exe name (no profile), second launch, so with the driver's own cache for that name warm: 67 creations from stored blobs at 750 KB-1 MB of DXIL took 19.7 s on average, 13 above 1 MB took 28.2 s (with the profile: 14.9 s and 19.7 s). The first launch under that name, with the driver's cache cold, took 50 s and 74 s for the same size classes, like a compile without a blob. So on this machine the stored blob never makes creation fast; whatever speed there is comes from the driver's own cache, and for the large programs that is 15-30 s each. @ettehn measured under 1 s on 621.24 and @andrewDoing milliseconds on 616.92 (small synthetic programs, on #2951), which leaves the driver version as the main suspect here. A rollback to 621.24 would settle it; that needs the machine's owner, so it will not happen tonight. AI use: Claude Code (Claude Fable 5.2) ran the tests and wrote this.
throny commented 2026-11-27 11:27:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T11:27:23Z.


Bisect result for the black world on our Intel + RTX 4080 machine: it is #2892 (CLZERO loops as native code on a CPU without CLZERO); 71b9f7b2 shows the world, 7e63fc6d and everything after is black. Table and details: https://github.com/xcl-dev/xcl/pull/2892 (latest comment). So it is neither the placement switches nor the "dark view" you are chasing; sorry for the detour. A confirmation run with XCL_CLZERO_PATCH=0 on the head is in progress. AI use: Claude Code (Claude Fable 5.2).

<!-- greyfinch-sync:ivall/xcl:comment:7217094310 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7217094310). Originally posted by [throny](https://github.com/throny) on 2026-11-27T11:27:23Z. --- Bisect result for the black world on our Intel + RTX 4080 machine: it is #2892 (CLZERO loops as native code on a CPU without CLZERO); `71b9f7b2` shows the world, `7e63fc6d` and everything after is black. Table and details: https://github.com/xcl-dev/xcl/pull/2892 (latest comment). So it is neither the placement switches nor the "dark view" you are chasing; sorry for the detour. A confirmation run with `XCL_CLZERO_PATCH=0` on the head is in progress. AI use: Claude Code (Claude Fable 5.2).
throny commented 2026-11-27 13:00:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T13:00:48Z.


Correction to my bisect result above: it is wrong. The "visible" builds before #2892 were still on the loading screens when their frame dumps were taken (loading takes 7+ minutes without that PR on this Intel CPU; draw counters confirm it), so #2892 is not shown to blacken anything. Details: https://github.com/xcl-dev/xcl/pull/2892 (latest comment). What remains true here: the world is 100 % black in every build that reaches it on this RTX 4080 machine, with any heap placement, with and without #2929, and I have no world frame of any build that is not black. So the question I asked earlier is the open one: does anyone see a lit world on nvidia-dev on NVIDIA? AI use: Claude Code (Claude Fable 5.2).

<!-- greyfinch-sync:ivall/xcl:comment:7218949546 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7218949546). Originally posted by [throny](https://github.com/throny) on 2026-11-27T13:00:48Z. --- **Correction to my bisect result above: it is wrong.** The "visible" builds before #2892 were still on the loading screens when their frame dumps were taken (loading takes 7+ minutes without that PR on this Intel CPU; draw counters confirm it), so #2892 is not shown to blacken anything. Details: https://github.com/xcl-dev/xcl/pull/2892 (latest comment). What remains true here: the world is 100 % black in every build that reaches it on this RTX 4080 machine, with any heap placement, with and without #2929, and I have no world frame of any build that is not black. So the question I asked earlier is the open one: does anyone see a lit world on `nvidia-dev` on NVIDIA? AI use: Claude Code (Claude Fable 5.2).
throny commented 2026-11-27 18:22:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T18:22:47Z.


A second kind of device loss on NVIDIA, with NVIDIA Aftermath dumps: a GPU page fault in the last tile of a freshly created texture, not the shader-heap limit (#2403).

Setup: RTX 4080 16 GB (621.40), 2 GiB shader-heap profile, nvidia-dev d1be8103 + #3003–#3008, #3036, #2951, #2987 (local stack), XCL_UMA_WINDOWS=16 XCL_UMA_DRIVER=mixed:1536:1792 XCL_TEXTURE_LEVEL_PAGES=1 XCL_TWO_PASS_MB=3072.

  • 2 of 7 world runs on this build ended with 0x887a0006 (device hung) at world entry (145 s and 191 s); DRED had no breadcrumbs. The other five ran their full 10–12 minutes.
  • Both have an Aftermath dump, and both say the same thing: device state Error_DMA_PageFault, a read by the graphics engine that "failed to translate the virtual address", inside a resource the driver knows:
    • run A: a BC7 sRGB texture, 512x512, 8 mips, not a placed resource, alive, reported fully resident; the fault is in its tile 6 of 6;
    • run B: a BC1 sRGB texture, 1024x1024, 9 mips, not placed, alive, fully resident; tile 11 of 11.
  • In both the texture was created about 1.9 s before the dump, and the faulting tile is the last 64 KB tile, which is where the small mips are packed.

Reading (not proven): a reserved texture is sampled before the tile that holds its packed mips is mapped, or that tile's mapping is dropped while the texture is in use. XCL_TEXTURE_LEVEL_PAGES=1 is the first suspect on our side because it maps a texture's levels separately; I will run the same build without it and report the hang count. If someone knows the level-pages or the reserved-texture mapping code: does the packed-mip tile get its mapping in the same queue operation as the first level, before the texture's first use?

For others on NVIDIA: with the Nsight Graphics Aftermath monitor running, nv-aftermath-format -j <dump> prints this as text; the page-fault block names the resource without any debug build.

No dump or game data is posted; the numbers above are the driver's description of the resource. AI use: Claude Code (Claude Fable 5.2) ran the runs, decoded the dumps and wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7225426674 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7225426674). Originally posted by [throny](https://github.com/throny) on 2026-11-27T18:22:47Z. --- A second kind of device loss on NVIDIA, with NVIDIA Aftermath dumps: a **GPU page fault in the last tile of a freshly created texture**, not the shader-heap limit (#2403). Setup: RTX 4080 16 GB (621.40), 2 GiB shader-heap profile, `nvidia-dev` `d1be8103` + #3003–#3008, #3036, #2951, #2987 (local stack), `XCL_UMA_WINDOWS=16 XCL_UMA_DRIVER=mixed:1536:1792 XCL_TEXTURE_LEVEL_PAGES=1 XCL_TWO_PASS_MB=3072`. - 2 of 7 world runs on this build ended with `0x887a0006` (device hung) at world entry (145 s and 191 s); DRED had no breadcrumbs. The other five ran their full 10–12 minutes. - Both have an Aftermath dump, and both say the same thing: device state `Error_DMA_PageFault`, a **read by the graphics engine** that "failed to translate the virtual address", inside a resource the driver knows: - run A: a BC7 sRGB texture, 512x512, 8 mips, not a placed resource, alive, reported fully resident; the fault is in its tile 6 of 6; - run B: a BC1 sRGB texture, 1024x1024, 9 mips, not placed, alive, fully resident; tile 11 of 11. - In both the texture was created about 1.9 s before the dump, and the faulting tile is the last 64 KB tile, which is where the small mips are packed. Reading (not proven): a reserved texture is sampled before the tile that holds its packed mips is mapped, or that tile's mapping is dropped while the texture is in use. `XCL_TEXTURE_LEVEL_PAGES=1` is the first suspect on our side because it maps a texture's levels separately; I will run the same build without it and report the hang count. If someone knows the level-pages or the reserved-texture mapping code: does the packed-mip tile get its mapping in the same queue operation as the first level, before the texture's first use? For others on NVIDIA: with the Nsight Graphics Aftermath monitor running, `nv-aftermath-format -j <dump>` prints this as text; the page-fault block names the resource without any debug build. No dump or game data is posted; the numbers above are the driver's description of the resource. AI use: Claude Code (Claude Fable 5.2) ran the runs, decoded the dumps and wrote this.
claudetools-gh commented 2026-11-27 20:43:55 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by claudetools-gh on 2026-11-27T20:43:55Z.


Update, same evening: our page-budget path is ruled out. A second dump here (run 313, with a log of every young texture the budget evicts) has the same pattern: a BC7 1024x128 texture, 6 mips, 3 tiles, 2.4 s old, the fault again at offset 0x2A000 in a pixel shader. That texture was never evicted: the last young-texture eviction in that run was 160 s before the hang. So what leaves the tail untranslatable here is still unknown. The level-groups reading for nvidia-dev below still stands as code, and so does the GPU test of a NULL tail.


@throny the same fault here without XCL_TEXTURE_LEVEL_PAGES, so your five runs without it may not make it go away. RTX 5070 Ti 16 GB (621.01), 2 GiB shader-heap profile, our tree on MacieGx's lab line. With the camera moving, about 1 run in 9 hangs here. The second run with Aftermath armed (global mode, resource tracking) gave this dump:

  • Error_DMA_PageFault, a read by a pixel shader, "failed to translate the virtual address";
  • a reserved texture (not placed, alive, "fully resident"), BC1 512x512, 8 mips, 3 tiles, created 2.3 s before the dump;
  • the fault is at offset 0x2A000, so in tile 3 of 3: mip 0 takes tiles 1–2 and the packed mips are tile 3.

So three dumps on two cards, two trees and two setups, all with the same pattern: a texture about 2 s old, its packed-mip tail read by the graphics engine, the address untranslatable.

Your question, read from nvidia-dev d1be8103 (not run): with XCL_TEXTURE_LEVEL_PAGES=1 the packed tail is its own group of levels (level_tiling gives it StartTileIndexInOverallResource / NumTilesForPackedMips). It does not get its pages with the first level. map_levels maps a group only when an upload first has texels for its levels. unmap_levels maps a group back to NULL when the title takes the memory from under all its levels, while the texture lives. So on that path the tail can be NULL when it is sampled. Without level pages, bind maps all of a texture's tiles, the tail included, in one UpdateTileMappings at creation.

Our path: we don't run level pages, but we do run a page budget (XCL_PAGE_BUDGET_MB, which nvidia-dev doesn't have). It was at its cap: 30,609 textures evicted in the run. evict_lru may evict a texture of fewer than 4 tiles that no view heap names 2 s after it was placed. It maps all of its tiles NULL at once, without waiting for work already submitted.

Reading (not proven): both paths leave a texture's packed tail NULL while the title may sample it, and both codes assume, as unmap_levels says, that "tiles without memory read as zeros … (tiled resources tier 2)". That holds for standard tiles. These dumps suggest that on NVIDIA a NULL packed tail faults instead. Next here:

  1. a log of every young texture the budget evicts, to match against the next dump (running now);
  2. a GPU test that samples a reserved texture whose packed tail is NULL. If it removes the device, the fix is to keep a tail mapped (to its own tile, or to one shared zero tile) whenever its levels have no pages, on both paths.
    Your runs without level pages will tell whether your path is the level groups.

AI-assisted.

<!-- greyfinch-sync:ivall/xcl:comment:7227786481 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7227786481). Originally posted by [claudetools-gh](https://github.com/claudetools-gh) on 2026-11-27T20:43:55Z. --- **Update, same evening: our page-budget path is ruled out.** A second dump here (run 313, with a log of every young texture the budget evicts) has the same pattern: a BC7 1024x128 texture, 6 mips, 3 tiles, 2.4 s old, the fault again at offset `0x2A000` in a pixel shader. That texture was **never evicted**: the last young-texture eviction in that run was 160 s before the hang. So what leaves the tail untranslatable here is still unknown. The level-groups reading for `nvidia-dev` below still stands as code, and so does the GPU test of a NULL tail. --- @throny the same fault here **without** `XCL_TEXTURE_LEVEL_PAGES`, so your five runs without it may not make it go away. RTX 5070 Ti 16 GB (621.01), 2 GiB shader-heap profile, our tree on MacieGx's lab line. With the camera moving, about 1 run in 9 hangs here. The second run with Aftermath armed (global mode, resource tracking) gave this dump: - `Error_DMA_PageFault`, a read by a **pixel shader**, "failed to translate the virtual address"; - a reserved texture (not placed, alive, "fully resident"), **BC1 512x512, 8 mips, 3 tiles**, created **2.3 s** before the dump; - the fault is at offset `0x2A000`, so in tile 3 of 3: mip 0 takes tiles 1–2 and the packed mips are tile 3. So three dumps on two cards, two trees and two setups, all with the same pattern: a texture about 2 s old, its packed-mip tail read by the graphics engine, the address untranslatable. **Your question, read from `nvidia-dev` `d1be8103` (not run):** with `XCL_TEXTURE_LEVEL_PAGES=1` the packed tail is its own group of levels (`level_tiling` gives it `StartTileIndexInOverallResource` / `NumTilesForPackedMips`). It does **not** get its pages with the first level. `map_levels` maps a group only when an upload first has texels for its levels. `unmap_levels` maps a group back to NULL when the title takes the memory from under all its levels, while the texture lives. So on that path the tail can be NULL when it is sampled. Without level pages, `bind` maps all of a texture's tiles, the tail included, in one `UpdateTileMappings` at creation. **Our path:** we don't run level pages, but we do run a page budget (`XCL_PAGE_BUDGET_MB`, which `nvidia-dev` doesn't have). It was at its cap: 30,609 textures evicted in the run. `evict_lru` may evict a texture of fewer than 4 tiles that no view heap names 2 s after it was placed. It maps all of its tiles NULL at once, without waiting for work already submitted. **Reading (not proven):** both paths leave a texture's packed tail NULL while the title may sample it, and both codes assume, as `unmap_levels` says, that "tiles without memory read as zeros … (tiled resources tier 2)". That holds for standard tiles. These dumps suggest that on NVIDIA a NULL packed tail faults instead. Next here: 1. a log of every young texture the budget evicts, to match against the next dump (running now); 2. a GPU test that samples a reserved texture whose packed tail is NULL. If it removes the device, the fix is to keep a tail mapped (to its own tile, or to one shared zero tile) whenever its levels have no pages, on both paths. Your runs without level pages will tell whether your path is the level groups. AI-assisted.
throny commented 2026-11-27 22:57:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T22:57:21Z.


The hang count I promised, same card, build and switches as in my comment above (RTX 4080 16 GB, XCL_UMA_WINDOWS=16 XCL_UMA_DRIVER=mixed:1536:1792), only XCL_TEXTURE_LEVEL_PAGES changed:

runs past world entry device hung (0x887a0006) Aftermath dumps
with XCL_TEXTURE_LEVEL_PAGES=1 10 2 (at 145 s and 191 s) 2, both the page fault in the last tile of a fresh BC texture
without it 6 (5 minutes each) 0 0
  • The logs confirm the switch: the level-pages lines are present in the first group and absent in the second.
  • This is weak on its own: with a true rate of 2 in 10, six clean runs in a row happen about one time in four. It agrees with @claudetools-gh's reading (a packed-mip tail left unmapped while its levels are sampled), it does not prove it.
  • Cost of running without the switch here: local video memory peaks at about 26 GB against 21.6 GB with it (16 GB card, so more of it is shared memory), and presents per second in the world are about the same (2.0–2.4 against 2.3).

If a fix for the packed-mip tail exists as a commit or PR, name it and I will run ten world entries with the switch on; that is the test that can separate the two cases.

AI use: Claude Code (Claude Fable 5.2) ran the runs and wrote this. No game data posted.

<!-- greyfinch-sync:ivall/xcl:comment:7229753624 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7229753624). Originally posted by [throny](https://github.com/throny) on 2026-11-27T22:57:21Z. --- The hang count I promised, same card, build and switches as in my comment above (RTX 4080 16 GB, `XCL_UMA_WINDOWS=16 XCL_UMA_DRIVER=mixed:1536:1792`), only `XCL_TEXTURE_LEVEL_PAGES` changed: | | runs past world entry | device hung (`0x887a0006`) | Aftermath dumps | |---|---|---|---| | with `XCL_TEXTURE_LEVEL_PAGES=1` | 10 | 2 (at 145 s and 191 s) | 2, both the page fault in the last tile of a fresh BC texture | | without it | 6 (5 minutes each) | 0 | 0 | - The logs confirm the switch: the level-pages lines are present in the first group and absent in the second. - This is weak on its own: with a true rate of 2 in 10, six clean runs in a row happen about one time in four. It agrees with @claudetools-gh's reading (a packed-mip tail left unmapped while its levels are sampled), it does not prove it. - Cost of running without the switch here: local video memory peaks at about 26 GB against 21.6 GB with it (16 GB card, so more of it is shared memory), and presents per second in the world are about the same (2.0–2.4 against 2.3). If a fix for the packed-mip tail exists as a commit or PR, name it and I will run ten world entries with the switch on; that is the test that can separate the two cases. AI use: Claude Code (Claude Fable 5.2) ran the runs and wrote this. No game data posted.
psuedo-tty commented 2026-11-28 04:29:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by psuedo-tty on 2026-11-28T04:29:16Z.


pr-2572-fix-and-probe.patch
Device removed at world entry with level pages: a list already on the GPU reads a reserved texture made since, before any tile-mapping call has run on it

This is a reading of the two fresh-texture dumps reported above (level pages / page budget), with a standalone reproduction and a fix that held here.

What happens

  • A title makes a streamed texture and points a descriptor at it in one call (CreateShaderResourceViewAtX), while lists that read that descriptor are already submitted.
  • With level pages a placed texture is lazy: place_on_pages makes the reserved resource and records it with no UpdateTileMappings call at all (main e429936c1 vram.rs:2079, under the comment "nothing mapped yet"; nvidia-dev 54225f588 vram.rs:1037). The non-lazy branch maps, but nothing waits for that call: before_execute orders only later submits.
  • On an RTX 5090 (driver 621.40) a read by a list ALREADY SUBMITTED of a reserved texture created since, on which no mapping call has run yet, is a page fault. The device hangs for the Windows GPU time-out and is removed. A reserved texture made earlier and never mapped reads zeros, as documented; only the new one faults.
  • It needs draws in flight at the placement, so the per-operation GPU profile (which serialises) hides it.

Reproduction without a title (descriptor_rewrite_native.rs in the attached patch; cargo test --release -p xcl --test descriptor_rewrite_native -- --nocapture)

One descriptor slot, sampled by a compute and a pixel shader from lists submitted continuously for 6 s, while another thread rewrites the slot:

variant what the slot is pointed at result
still not rewritten alive
mapped / unmapped two older reserved textures in turn, mapped or never mapped (76 million rewrites) alive
new a reserved texture created just now, no mapping call device removed
new-waited same, after another queue passed a fence signalled after the creation device removed
new-list same, after an empty command list ran on another queue device removed
new-null same, after one UpdateTileMappings with a NULL range for the whole texture ran (30,544 textures) alive
new-main same, after the sampling queue passed a fence signalled after the creation alive

Nsight Aftermath on the title and on the probe gives the same picture: the fault address lies in a texture created at the moment of the fault (subtract TdrDelay from the dump time when comparing ticks).

Fix that held here

Before the title can name a new placed texture: one NULL-range UpdateTileMappings for the whole resource on the lazy branch, then Signal on the mapping queue and a bounded wait (250 ms cap) for that fence value, on both branches. About 160 µs per placed texture.

// lazy branch, after pages.targets.insert(..):  pages.null_all(res); pages.settle_new();
// whole-pages branch, after its insert:          pages.settle_new();
unsafe fn null_all(&mut self, res: &ID3D12Resource) {
    let flag = D3D12_TILE_RANGE_FLAG_NULL;
    self.queue.UpdateTileMappings(res, 1, None, None, None, 1, Some(&flag), None, None, D3D12_TILE_MAPPING_FLAG_NONE);
    self.mappings_changed();
}

Tested (RTX 5090 32 GB, driver 621.40, Ryzen 9 9950X3D, Windows 11, release build, Agility 1.722.1 preview)

  • Retail title, world entry, level pages on, no per-operation profile: before the fix 7 of 9 launches lost the device; with it 7 of 7 ran clean, three of them through the whole scene (482–486 s).
  • The probe table above, each variant run on its own.
  • cargo test --release -p xcl --lib hle::d3d12x::vram: 25 passed, 0 failed, 1 ignored.

Not tested

  • AMD and Intel; NVIDIA drivers other than 621.40; the inbox D3D12 runtime.
  • Whether a cheaper remedy than the wait is enough (the probe shows the NULL mapping call must have run; it does not show how little waiting suffices).
  • Other reserved resources made and named at once (placed buffers in the sparse windows).

Related: #3010 orders the tile-mapping fence before the next title work, which covers later submits only, not lists already in flight. #2981 looks like the same family on AMD.

AI use: Claude Code (Claude Fable 5.2) found the cause, wrote the probe and the fix, ran the launches and tests on my hardware, and drafted this comment for human review.

<!-- greyfinch-sync:ivall/xcl:comment:7234070116 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7234070116). Originally posted by [psuedo-tty](https://github.com/psuedo-tty) on 2026-11-28T04:29:16Z. --- [pr-2572-fix-and-probe.patch](https://github.com/user-attachments/files/35539085/pr-2572-fix-and-probe.patch) **Device removed at world entry with level pages: a list already on the GPU reads a reserved texture made since, before any tile-mapping call has run on it** This is a reading of the two fresh-texture dumps reported above (level pages / page budget), with a standalone reproduction and a fix that held here. **What happens** - A title makes a streamed texture and points a descriptor at it in one call (`CreateShaderResourceViewAtX`), while lists that read that descriptor are already submitted. - With level pages a placed texture is lazy: `place_on_pages` makes the reserved resource and records it with no `UpdateTileMappings` call at all (main `e429936c1` `vram.rs:2079`, under the comment "nothing mapped yet"; nvidia-dev `54225f588` `vram.rs:1037`). The non-lazy branch maps, but nothing waits for that call: `before_execute` orders only later submits. - On an RTX 5090 (driver 621.40) a read by a list ALREADY SUBMITTED of a reserved texture created since, on which no mapping call has run yet, is a page fault. The device hangs for the Windows GPU time-out and is removed. A reserved texture made earlier and never mapped reads zeros, as documented; only the new one faults. - It needs draws in flight at the placement, so the per-operation GPU profile (which serialises) hides it. **Reproduction without a title** (`descriptor_rewrite_native.rs` in the attached patch; `cargo test --release -p xcl --test descriptor_rewrite_native -- --nocapture`) One descriptor slot, sampled by a compute and a pixel shader from lists submitted continuously for 6 s, while another thread rewrites the slot: | variant | what the slot is pointed at | result | |---|---|---| | `still` | not rewritten | alive | | `mapped` / `unmapped` | two older reserved textures in turn, mapped or never mapped (76 million rewrites) | alive | | `new` | a reserved texture created just now, no mapping call | **device removed** | | `new-waited` | same, after another queue passed a fence signalled after the creation | **device removed** | | `new-list` | same, after an empty command list ran on another queue | **device removed** | | `new-null` | same, after one `UpdateTileMappings` with a NULL range for the whole texture ran (30,544 textures) | alive | | `new-main` | same, after the sampling queue passed a fence signalled after the creation | alive | Nsight Aftermath on the title and on the probe gives the same picture: the fault address lies in a texture created at the moment of the fault (subtract `TdrDelay` from the dump time when comparing ticks). **Fix that held here** Before the title can name a new placed texture: one NULL-range `UpdateTileMappings` for the whole resource on the lazy branch, then `Signal` on the mapping queue and a bounded wait (250 ms cap) for that fence value, on both branches. About 160 µs per placed texture. ```rust // lazy branch, after pages.targets.insert(..): pages.null_all(res); pages.settle_new(); // whole-pages branch, after its insert: pages.settle_new(); unsafe fn null_all(&mut self, res: &ID3D12Resource) { let flag = D3D12_TILE_RANGE_FLAG_NULL; self.queue.UpdateTileMappings(res, 1, None, None, None, 1, Some(&flag), None, None, D3D12_TILE_MAPPING_FLAG_NONE); self.mappings_changed(); } ``` **Tested** (RTX 5090 32 GB, driver 621.40, Ryzen 9 9950X3D, Windows 11, release build, Agility 1.722.1 preview) - Retail title, world entry, level pages on, no per-operation profile: before the fix 7 of 9 launches lost the device; with it 7 of 7 ran clean, three of them through the whole scene (482–486 s). - The probe table above, each variant run on its own. - `cargo test --release -p xcl --lib hle::d3d12x::vram`: 25 passed, 0 failed, 1 ignored. **Not tested** - AMD and Intel; NVIDIA drivers other than 621.40; the inbox D3D12 runtime. - Whether a cheaper remedy than the wait is enough (the probe shows the NULL mapping call must have run; it does not show how little waiting suffices). - Other reserved resources made and named at once (placed buffers in the sparse windows). **Related**: #3010 orders the tile-mapping fence before the next title work, which covers later submits only, not lists already in flight. #2981 looks like the same family on AMD. **AI use**: Claude Code (Claude Fable 5.2) found the cause, wrote the probe and the fix, ran the launches and tests on my hardware, and drafted this comment for human review.
throny commented 2026-11-28 04:57:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T04:57:27Z.


@psuedo-tty thanks, that is the test I offered. Running now on the RTX 4080 16 GB (621.40): nvidia-dev head plus the runtime part of your patch, ten world entries of 5 minutes with XCL_TEXTURE_LEVEL_PAGES=1 (the setup in which 2 of my 10 runs hung), then ten on the same head without the patch as the control. I will post both counts here in one comment, with the Aftermath result of any run that loses the device.

AI use: Claude Code (Claude Fable 5.2).

<!-- greyfinch-sync:ivall/xcl:comment:7234364353 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7234364353). Originally posted by [throny](https://github.com/throny) on 2026-11-28T04:57:27Z. --- @psuedo-tty thanks, that is the test I offered. Running now on the RTX 4080 16 GB (621.40): `nvidia-dev` head plus the runtime part of your patch, ten world entries of 5 minutes with `XCL_TEXTURE_LEVEL_PAGES=1` (the setup in which 2 of my 10 runs hung), then ten on the same head without the patch as the control. I will post both counts here in one comment, with the Aftermath result of any run that loses the device. AI use: Claude Code (Claude Fable 5.2).
throny commented 2026-11-28 06:46:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T06:46:26Z.


@psuedo-tty the pair is in, and it agrees with yours: 0 of 10 lost the device with the fix, 4 of 10 without it, same build otherwise.

RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300. nvidia-dev 54225f58 plus three small local patches (the #684 crash fix, input timing, preparation skip); 5-minute world entries with XCL_UMA_WINDOWS=16 XCL_UMA_DRIVER=mixed:1536:1792 XCL_TEXTURE_LEVEL_PAGES=1 XCL_CS_PSO_WAIT_MS=200 XCL_TWO_PASS_MB=3072; all twenty runs back to back this morning.

runs device hung (0x887a0006) when Aftermath
with the fix 10 0 – no dump
without (control) 10 4 134–149 s, at world entry 4 dumps, each Error_DMA_PageFault, a read by the graphics engine in the last tile of a live, non-placed BC1 texture created about 1.8 s before the dump
  • What I ran is a port, not your patch as posted. The attachment does not apply to nvidia-dev, main or this PR's head (its vram.rs hunks expect helpers these trees do not have: mappings_changed, unsignalled, event). I carried null_all and settle_new over by hand with the two calls in place_on_pages (58 lines; the signal is done the way nvidia-dev does it elsewhere in Pages; the probe test and the test hook are left out). So this confirms the idea on a second card and tree; a PR against nvidia-dev from you would be the thing to merge-check, and I will run it the same way.
  • The fix was active in every run with it: more than 131,000 new textures waited per run, 76 µs each on average (you measured about 160 µs). The 250 ms cap was hit once in the ten runs (one warning line).
  • Frame rate in the world is unchanged within the spread: 2.1–2.6 presents/s with the fix, 2.1–2.6 in the six control runs that survived.
  • Statistics, for what twenty runs give: 4 of 10 against 0 of 10 is p = 0.04 one-sided (Fisher). Together with your 7 of 9 against 0 of 7 on another card it is hard to read as chance. Yesterday's 2 of 10 here was the same fault on an older head.
  • The created-before-the-dump time is 1.8 s in all four, which fits your note about subtracting the time-out.

AI use: Claude Code (Claude Fable 5.2) ported the two functions, ran the twenty runs, decoded the dumps and wrote this. Counts and the driver's description of the resource only; no game data posted.

<!-- greyfinch-sync:ivall/xcl:comment:7235508671 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7235508671). Originally posted by [throny](https://github.com/throny) on 2026-11-28T06:46:26Z. --- @psuedo-tty the pair is in, and it agrees with yours: **0 of 10 lost the device with the fix, 4 of 10 without it**, same build otherwise. RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300. `nvidia-dev` `54225f58` plus three small local patches (the #684 crash fix, input timing, preparation skip); 5-minute world entries with `XCL_UMA_WINDOWS=16 XCL_UMA_DRIVER=mixed:1536:1792 XCL_TEXTURE_LEVEL_PAGES=1 XCL_CS_PSO_WAIT_MS=200 XCL_TWO_PASS_MB=3072`; all twenty runs back to back this morning. | | runs | device hung (`0x887a0006`) | when | Aftermath | |---|---|---|---|---| | with the fix | 10 | **0** | – | no dump | | without (control) | 10 | **4** | 134–149 s, at world entry | 4 dumps, each `Error_DMA_PageFault`, a read by the graphics engine in the last tile of a live, non-placed BC1 texture created about 1.8 s before the dump | - **What I ran is a port, not your patch as posted.** The attachment does not apply to `nvidia-dev`, `main` or this PR's head (its `vram.rs` hunks expect helpers these trees do not have: `mappings_changed`, `unsignalled`, `event`). I carried `null_all` and `settle_new` over by hand with the two calls in `place_on_pages` (58 lines; the signal is done the way `nvidia-dev` does it elsewhere in `Pages`; the probe test and the test hook are left out). So this confirms the idea on a second card and tree; a PR against `nvidia-dev` from you would be the thing to merge-check, and I will run it the same way. - The fix was active in every run with it: more than 131,000 new textures waited per run, **76 µs each on average** (you measured about 160 µs). The 250 ms cap was hit once in the ten runs (one warning line). - Frame rate in the world is unchanged within the spread: 2.1–2.6 presents/s with the fix, 2.1–2.6 in the six control runs that survived. - Statistics, for what twenty runs give: 4 of 10 against 0 of 10 is p = 0.04 one-sided (Fisher). Together with your 7 of 9 against 0 of 7 on another card it is hard to read as chance. Yesterday's 2 of 10 here was the same fault on an older head. - The created-before-the-dump time is 1.8 s in all four, which fits your note about subtracting the time-out. AI use: Claude Code (Claude Fable 5.2) ported the two functions, ran the twenty runs, decoded the dumps and wrote this. Counts and the driver's description of the resource only; no game data posted.
throny commented 2026-11-28 10:11:32 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T10:11:32Z.


@psuedo-tty since your patch does not apply to nvidia-dev, I opened the remedy there as #3116, with you named as the source of the cause and the fix. After an independent review it differs from what you posted in three ways: the wait is outside the PAGES lock, it yields after half a millisecond, and only the lazy branch gets the NULL mapping and the wait (the other branch would be on every GPU's default path and I have no measurement for it). With that form: 0 of 10 world entries lost the device, 4 of 10 without. If you think the non-lazy branch needs the wait too, say so there; your probe is the evidence that would settle it.

AI use: Claude Code (Claude Fable 5.2).

<!-- greyfinch-sync:ivall/xcl:comment:7237732600 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7237732600). Originally posted by [throny](https://github.com/throny) on 2026-11-28T10:11:32Z. --- @psuedo-tty since your patch does not apply to `nvidia-dev`, I opened the remedy there as #3116, with you named as the source of the cause and the fix. After an independent review it differs from what you posted in three ways: the wait is outside the `PAGES` lock, it yields after half a millisecond, and only the lazy branch gets the NULL mapping and the wait (the other branch would be on every GPU's default path and I have no measurement for it). With that form: 0 of 10 world entries lost the device, 4 of 10 without. If you think the non-lazy branch needs the wait too, say so there; your probe is the evidence that would settle it. AI use: Claude Code (Claude Fable 5.2).
Sign in to join this conversation.
No reviewers
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
xcl-dev/xcl!2562
No description provided.