Tests: on an AMD RDNA2 iGPU the xcl lib test binary stops itself partway ("sparse upload preparation still failed after bounded retries") since #2959 #3488
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 futurepro62 on 2026-11-30T01:23:42Z.
On
main53e85fb1,XCL_ADAPTER=radeon cargo test -p xcl --libdoesn't finish on the Radeon iGPU of a Ryzen 7 9800X3D. Partway through, the binary logsand exits with
0x80004005, with no test markedFAILED. The tests after that point never run. So a full-suite run on this GPU looks clean if you only count failures (I made that mistake in #3441, corrected there).Where it stops
--test-threads=1on53e85fb1, 1,009 tests pass, then the stop comes duringhle::d3d12x::bind::tests::gpu_two_pass_indirect_commands_keep_their_own_records. The log just before it shows the test's root signature and compute shader being loaded, then the line above.--exact, 2 of 2 on the Radeon, and 1 of 1 on an RTX 5070 Ti. All 115 tests inhle::d3d12x::bind::testsalso pass when run as a group (--test-threads=1). So the stop depends on something earlier in the full run. I haven't found what.gpu_two_pass_argument_scratch_is_shared_and_capped).When it started
#2959's mergeb0b041fd:XCL_ADAPTER=radeon cargo test -p xcl --lib -- --test-threads=4stops the same way (977 tests passed first).4577f09c: the same command runs to the end, 1,382 passed and 1 failed (gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1, which also fails on our earlier baselines).cfeb2817("D3D12.X: fail title submits closed on sparse upload loss"), inside #2959's stack. I couldn't test that commit or its parent on their own: both fail to build (error[E0428]: the name 'Claim' is defined multiple times).bc2cbb72(the start of this morning's batch) and on53e85fb1, and in five PR heads merged into53e85fb1.Something else I saw once, not looked into: running only
hle::d3d12x(--test-threads=1) gets past the bind tests, then stops duringhle::d3d12x::pso_async::used_tests::graphics_first_use_carries_the_exact_serialized_recipe_identitywith0xc0000409(STATUS_STACK_BUFFER_OVERRUN). One run only. I don't know whether it's related.Reproduce
Look for
still failed after bounded retriesand the exit code at the end. A clean run ends withtest result: ok. ... passed.Not tested / limits
53e85fb1, without this stop.Tested on
XCL_ADAPTER=radeon), driver 32.0.21036.18.AI use
Imported from ivall/xcl. Originally posted by afpruivo on 2026-12-02T23:41:50Z.
Data point from an NVIDIA card: here the stop depends on the Agility SDK.
Setup:
mainc53e9696, RTX 3090 24 GB, driver 621.40, i5-13600K, Windows 11 Pro 26300, Rust 1.100.1, debug. Agility SDK 1.620 (D3D12Core.dll,d3d12SDKLayers.dll) in%LOCALAPPDATA%\XCL\D3D12, which XCL loads by default.cargo test -p xcl --lib -- --test-threads=4, three runs each:sparse upload preparation still failed after bounded retries – the title is stopped before its GPU submission, exit0x80004005, after about 1,436 testsXCL_D3D12_DIRset to an empty folder)ok. 2852 passed; 0 failed; 32 ignoredhle::d3d12x::list_x::tests::a_reset_while_the_last_submit_runs_records_on_another_pc_listis reportedFAILED, the next line issplit command list (type 0) around mid-list Wait after Write64 (#1), and then the stop message comes.--exact, 2 of 2), and so does all ofhle::d3d12x::list_xwith--test-threads=1(116 passed). So, as on the Radeon, the stop depends on what ran earlier in the full binary.For anyone running the suite on NVIDIA with Agility installed:
XCL_D3D12_DIRpointing to an empty folder gets a full lib run, until this is fixed.AI use: Claude Code (Claude Opus 5.5) ran these and wrote this report while I was away; posted with my standing approval for this session.