Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-28T04:27:02Z.
On NVIDIA, current
main(e429936) fails 9 tests that pass on753e8b1: the 3e2etitle tests and 6 split-wave64 GPU tests. A first-parent bisect points to the merge of #2959 (b0b041f, the 325-commit stack). Its testing ran on the Basic Render Driver, which skipped the GPU tests.Tested: RTX 3060 12 GB (driver 610.88, wave32), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug.
cargo test --workspace --no-fail-fast -- --test-threads=4,e429936SKIPPEDlines. Of the 10,write_buffer_immediate_on_open_existing_heap_visible_to_cpupasses 3 of 3 alone. The 9 below fail 3 of 3 alone.753e8b1..e429936, on the e2e test and on 2 of the split tests4577f09(#3085) good,b0b041f(#2959) bad, for both groups1. The 3
e2etitle tests (test_title_draws_with_a_root_signature_under_the_debug_layer,test_title_runs_and_game_folder_is_untouched,test_title_runs_under_the_debug_layer_with_dred):This is the failure @KOLESNiii found on #2787 for
054270ca("sparse copy-back keeps newer CPU writes"). The title's CPU thread writes the wait cells at+0x300/+0x308, then the GPU writes+0x310in the same 64-byte chunk.land_page(sparse.rs:2052, from04de3234"D3D12.X: preserve CPU writes during sparse copy-back") then keeps the CPU's bytes for the whole chunk. Checked here:if true ||beforeland_page's hash check, all 5e2etests pass one429936.2. 6 split-wave64 GPU tests (here on a wave32 GPU):
gpu::dxil::module::split::tests::dispatch_chain_oversized_loop_matches_whole,…dispatch_chain_wave64_live_loops_and_exchange,…dispatch_chain_wave32_live_loopssplit.rs:879:assertion failed: has_memory_binding.iter().any(|&present| present)gpu::recomp::tests::gpu_compute_mode_dispatch_abitests.rs:5317:direct DXIL: split wave64 LDS access needs the HLSL pathgpu::recomp::tests::gpu_float_cas_uses_ieee_equalitytests.rs:6097:Err("split wave64 LDS access needs the HLSL path")gpu::recomp::heap_window_tests::gpu_heap_flat_reads_match_guarded_and_root_outputsplit wave64, 1 windows, lane 39: null/outside global load,left: 1039, right: 0The error string comes from
dbe6b30b("Recompiler: route split wave64 LDS through HLSL"), andhas_memory_bindingfrom2b395256("Recompiler: prune unused split-piece resource bindings"). I did not bisect inside the stack: its intermediate commits do not build alone (e.g.dd84e0a:Claimdefined twice,driver_cache::name_fornot found). Edit: group 2 is not wave32-only, as I had guessed here: DarkPanda69 sees 5 of the 6 fail on an RX 9070 XT (native wave64) too, see below.Not tested: which of the stack's commits break group 2 (only the error strings are traced); AMD; a release build; a title.
AI use: Claude Code (Claude Opus 5.5) ran the suite, the bisects and the scratch checks, and wrote this issue.
Imported from ivall/xcl. Originally posted by DarkPanda69 on 2026-11-28T04:40:28Z.
AMD data point, with an RTX 3060 in the same PC: on
maine429936the e2e failure shows on the RX 9070 XT too, and so do 5 of the 6 split/GPU tests. So group 2 isn't wave32-only.Tested:
maine429936and753e8b1, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, card picked withXCL_ADAPTER(log:backend 'real' – AMD Radeon RX 9070 XT/– NVIDIA GeForce RTX 3060). RX 9070 XT (RDNA4, native wave64) driver 32.0.32029.2010; RTX 3060 driver 32.0.16.1088.1. e2e (
cargo test -p xcl --test e2e -- --test-threads=1):e429936: 4 passed, 1 failed on both cards. The failure istest_title_runs_and_game_folder_is_untouched, with the same[FAIL] … post-Wait32/64 write failed (0x0).d3d12SDKLayers.dll, so they printSKIPPED the title under the debug layer (dred: false/true): no d3d12SDKLayers.dlland pass.753e8b1on the RX 9070 XT: 5 passed, 0 failed.2. The 6 lib tests (
cargo test -p xcl --lib -- <the six names> --test-threads=1) one429936:dispatch_chain_oversized_loop_matches_whole,dispatch_chain_wave64_live_loops_and_exchange,dispatch_chain_wave32_live_loopssplit.rs:879has_memory_bindingassertiongpu_heap_flat_reads_match_guarded_and_root_outputheap_window_tests.rs:332:native wave64, 1 windows, lane 39: null/outside global load,left: 1039gpu_compute_mode_dispatch_abitests.rs:5317with a different message:direct DXIL: s_barrier: s_barrier in a group of several hardware wavesgpu_float_cas_uses_ieee_equalityOn
753e8b1, the RX 9070 XT passes the 5 of these that exist there;gpu_heap_flat_reads_match_guarded_and_root_outputisn't in that tree.So on a native-wave64 card, the three
split.rs:879tests fail the same way, and the heap-window test fails on its native wave64 case.gpu_compute_mode_dispatch_abifails at the same line with another reason, and onlygpu_float_cas_uses_ieee_equalitypasses. I didn't bisect on AMD.Not tested: the debug-layer e2e tests (no SDK layers here), bisecting inside #2959, a release build, a title.
AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this comment.
Imported from ivall/xcl. Originally posted by Aniseto on 2026-11-28T10:30:36Z.
Second NVIDIA datapoint for the nine
mainfailures reported here, from a desktop RTX 5070 Ti:Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build. Exact tree:
maine429936c.All nine fail here too. The six unit tests fail with the same messages listed in the issue (
has_memory_binding.iter().any(|&present| present)atsplit.rs:879;direct DXIL: split wave64 LDS access needs the HLSL path;left: 1039, right: 0on the flat heap-read case). The threee2etitle tests fail as well. This adds a Blackwell desktop GPU to the RTX 3060 and RX 9070 XT reports; I did not bisect or change source. Only the measured counts are reported, not a review verdict.Not tested: a retail title, a release build, the full workspace suite, AMD cards here, a paired good-commit comparison, game data.
AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - ran the exact commands on this machine at the reported commit and wrote this report; no source was changed and no game data was used.
Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-28T12:29:21Z.
Edit, 28 Nov 17:40 UTC: both groups are fixed on
mainby KOLESNiii's #3149 and #3150, which were merged while my two PRs for the same fixes (#3162, #3163) were still running their suite and smoke pair. I closed mine as duplicates. Nothing from me is pending on this issue.AI use: Claude Code wrote this comment (Claude Fable 5.2).
Imported from ivall/xcl. Originally posted by throny on 2026-11-28T13:54:59Z.
A tenth failing test on
mainsince the merges of this afternoon (e13d6250), from the same machine as my bisect on #3041 (RTX 4080, 621.40,cargo test --workspace --no-fail-fast -- --test-threads=4, debug): 2130 passed, 10 failed, 48 ignored. Nine are the ones this issue is about; the new one isgpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions, which panics atmsaa_tests.rs:299with "dx.op.getDimensions preceded dx.op.textureLoad in the same basic block".It did not exist at
e429936c; the four merges in between are #1809, #3102, #1873 and #1908, and the test file's history ends in the MSAA commits (425b8692, then71d94e71and4070ae1donimage_get_resinfo). It reads like an assertion on the generated IR rather than on a GPU result, so it may fail without a GPU too; theBuild and test (Windows, no GPU)check one13d6250is red.AI use: Claude Code (Claude Fable 5.2) ran the suite and wrote this.
Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-28T14:09:33Z.
The tenth failure comes from #1908 (
e13d625):direct_msaa_loads_precede_get_dimensionspasses on773046d(#1873, just before) and fails 3 of 3 one13d625. Same RTX 3060 (driver 610.88), debug. It also passes one582b32.#1908 moves
getDimensionsinto a block of its own and then branches withbr(loads_block). In the DXIL the test disassembles, that branch is not there.getDimensions, the clamp and thetextureLoadall sit in one block:This is the order #1900 guarded against (the
amdxc64.dllnull dereference on a heapTexture2DMSwhengetDimensionscomes first in a block). So the test seems to catch a real change in the output, not a wrong test. Not tested: whether AMD's compiler crashes on this output (no AMD card here).AI use: Claude Code (Claude Opus 5.5) ran the checks and wrote this comment.
Imported from ivall/xcl. Originally posted by throny on 2026-11-28T14:26:36Z.
Update from the same machine (RTX 4080, 621.40): at
b937fbabthe nine failures this issue is about are gone. Five trees built on that commit today (eachmainplus one small unrelated PR;cargo test --workspace --no-fail-fast -- --test-threads=4, debug) give 2140–2141 passed, 1 failed, 48 ignored. The three merges sincee13d6250are #3150, #3157 and #3149.The one test that still fails in every tree is the one from my comment above:
gpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions. TheBuild and test (Windows, no GPU)check onb937fbabis still red.AI use: Claude Code (Claude Fable 5.2) ran the suites and wrote this.
Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-28T15:03:32Z.
Fixed on
main309c3echere as well: the whole suite passes on the RTX 3060. #3149, #3150 and #3159 fixed the 10 failures.cargo test --workspace --no-fail-fast -- --test-threads=4,309c3ec, RTX 3060 12 GB (driver 610.88), Rust 1.100.0, debug: 2142 passed, 0 failed, 48 ignored; 25SKIPPEDlines. The 3e2etitle tests pass, and both debug-layer runs give the same messages as before #2959 (3× error id 93, 1× error id 1046, 1× warning id 820, 2× warning id 926, 8× id 0). Closing.AI use: Claude Code (Claude Opus 5.5) ran the suite and wrote this comment.