Repository navigation
Conversation
…r PRELUDE::rla()" (xcl-dev#2247) This reverts commit 5081dc8 (merged in 2898511 / PR xcl-dev#2247), restoring the exact pre-xcl-dev#2247 `PRELUDE::rla()` implementation in `crates/xcl/src/gpu/recomp/emit.rs`. In xcl-dev#1452#issuecomment-7205972665, @SergeAx bisected 140 merges on `main` (`568e7db..b49be18`) on an RTX 5080 (driver 621.14, Windows 10) and isolated xcl-dev#2247 (`2898511`) as the first commit introducing `0x887a0005` (`DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT`) during retail world load (`f9f6d49` / xcl-dev#2257: 0/4 removals; `2898511` / xcl-dev#2247: bad). Confirmation on `b49be18` + xcl-dev#1435 hit 6/7 device removals with `5081dc8b` present versus 0/5 removals with only `5081dc8b` reverted. Note: `5081dc8b` is also an ancestor of `nvidia-dev` (`ecc0bb57`) and `amd-dev` (`bf7c82ee`). Reverts xcl-dev#2247 Related to xcl-dev#1452 Assisted-by: Google Antigravity (Gemini 4 Neon)
|
Tested Clean PR head With
All four passed on both revisions, with zero failures, ignores or skips. The derivative and loop cases reported no pixel mismatches. The ballot/quad test matched the expected layout across 1,024 pixels and ballot values in the tested helper neighbors. The parent-only Not tested Retail crash, performance, native wave64 hardware, full workspace suite and retail smoke. AI use T3 Code / Codex ( |
|
AMD and RTX 3060 run, moved here since #2930 closed as a duplicate. Its diff is byte-identical to this one ( Tested: pass, the diff applied on
On both cards the only differences are the three #2247 tests the revert removes. The SKIPPED sets are the same. This doesn't touch the Blackwell world-load removal; I have no RTX 50 card. Not tested: a title run, an RTX 50 card, Windows 10, release, Intel. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report. |
|
Testing this now on |
|
Test report: Tested
Not tested
Also on
AI use: Claude Code (Claude Opus 5.5) built the tree, ran the title unattended, read the logs and wrote this report. |
|
Result on
So with the revert the title lived more than twice as long in both runs, but one of the two still lost the device (again without DRED breadcrumbs, see #2920, and without an Aftermath dump). Two runs a side is thin: it agrees with the bisect in #1452 in direction, and it shows that on this card the revert alone is not the whole story. In the longer runs the next limit is commit: 45.6 GB at 352 s and 51.7 GB at 265 s, against about 40 GB at 150 s in the runs without it. I can add runs if a larger sample helps the decision here; say how many. Numbers are from the logs of these runs. AI use: Claude Code (Claude Fable 5.2) ran the tests and wrote this. |
|
More runs, same setup as the table above: without the revert a third run lost the device at 146 s (so 147, 156, 146 s). With the revert, two further runs on |
Clean revert of #2247 (
5081dc8b6e22fc74f6fe7d31de333182e8f7ec92, merged in2898511), restoring the exact pre-#2247PRELUDE::rla()implementation incrates/xcl/src/gpu/recomp/emit.rs.Reverts #2247
Related to #1452
In #1452#issuecomment-7205972665,
@SergeAxbisected 140 first-parent merges onmain(568e7db..b49be18) on an RTX 5080 (NVIDIA driver 621.14, Windows 10 22H2) and isolated #2247 (2898511) as the first commit introducing0x887a0005(DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT) during retail world load (f9f6d49/ #2257:0/4removals;2898511/ #2247: removed). Confirmation onb49be18+ #1435 hit6/7device removals with5081dc8bpresent versus0/5removals with only5081dc8breverted.Note on branch ancestry:
5081dc8bis also an ancestor oforigin/nvidia-dev(ecc0bb57) andorigin/amd-dev(bf7c82ee), so maintainers may want to cherry-pick or merge this revert into those branches once landed onmain.What is in it
git revert 5081dc8b6e22fc74f6fe7d31de333182e8f7ec92(crates/xcl/src/gpu/recomp/emit.rs,+6/-127lines):xcl_lv[min(h >> 5, 3u)], scalar?:forq/r, and theif (nib != 0u && ...)/if ((l >> 2) == ...)guards in pixel-shaderPRELUDE::rla().#2247-specific branchless-rla()unit tests added by5081dc8b, leaving all otheremit::tests::andgpu::recomp::tests intact.Tested
rustc 1.100.0(stable-x86_64-pc-windows-msvc), DXC1.9.2609.5, debug (WARP) and release (RTX 4060).cargo clippy --all-targets -- -A clippy::approx_constant: exit 0, 0 new warnings and 0 errors incrates/xcl/src/gpu/recomp/emit.rs.XCL_WARP=1):cargo test -p xcl --lib -- gpu::recomp::emit::tests:: --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored (0 skipped).cargo test -p xcl --lib -- gpu::recomp:: --test-threads=4: 398 passed, 0 failed, 20 ignored (23 expectedSKIPPEDnotices: 20 wave64, 3 per-lane refusals).cargo test --release -p xcl --lib -- gpu::recomp::emit::tests:: --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored (0 skipped).cargo test --release -p xcl --lib -- gpu::recomp:: --test-threads=4: 398 passed, 0 failed, 20 ignored (23 expectedSKIPPEDnotices: 20 wave64, 3 per-lane refusals).cargo build --release --workspace && cargo test --release --workspace --no-fail-fast -- --test-threads=4: 1439 passed, 0 failed, 47 ignored across 37 top-level test targets (29 expectedSKIPPEDnotices: 21 wave64, 3 per-lane refusals, 3 D3D12 debug layer, 1 heap-window fallback, 1 Windows driver-cache toggle).git merge-tree --write-tree origin/main HEADexits0against liveorigin/main(8b957bec).Regression run
Paired quiet 60 s release runs (
scripts/smoke.ps1 -Seconds 60,XCL_NETWORK=0, default flags, RTX 4060 8 GB, driver 621.14) on exact parent onmain(e120925e, ancestor of8b957bec) and revert head (a87d3c2a):Exact parent on
main(e120925e, ancestor of8b957bec):PR (
a87d3c2a):Not tested
@SergeAx's RTX 5080 (Blackwell, Win10 22H2) world-load0x887a0005removal from Retail game (retail title, Series X build): GPU device removal after Wait64BitValueX waits with no producer; also watchdog stalls on slow compute pipeline builds #1452 (#1452#issuecomment-7205972665already verified0/5removals with5081dc8breverted vs6/7without it).d3d12SDKLayers.dllnot installed), and Linux / Wine / vkd3d-proton.AI use
5081dc8bbranch ancestry (main,nvidia-dev,amd-dev), prepared the cleangit revertcommit offe120925e, ran clippy, Debug WARP + Release RTX 4060 unit/recompiler/workspace suites and paired 60 s retail smokes on the hardware above, and drafted this PR description.