Repository navigation
Conversation
…process memory gpu_uma_import_check_at_init failed on the Macs in xcl-dev#258 (CrossOver + D3DMetal) with an empty message. D3DMetal answers E_NOTIMPL (0x80004001) for OpenExistingHeapFromAddress, so open_uma records it in uma_error and returns before check_uma_import: the check's result stays "" ("not run"), also with XCL_UMA_CHECK=0. The runtime is right; the test assumed host-memory heaps. For exactly that error the test now asserts the check did not report "ok" and skips with "no GPU UMA". Any other UMA error, and every host that opens the windows, gets the unchanged assertion, whose message now includes uma_error. Measured with mutations in real.rs: the check reporting that the GPU does not see CPU writes (xcl-dev#175), the open failing with 0x8007000E, and the check claiming "ok" with no window imported each still fail the test. Assisted-by: Claude Code (Claude Opus 5.5)
|
Verified on a second Apple silicon host, and on the Host: MacBook Pro M5 Pro (48 GB), macOS 27.2.1, CrossOver 26 with D3DMetal (the adapter reports "AMD Compatibility Mode"), Rosetta 2. Rust 1.100.0,
Both runs print, before the test body's own result: so this host reaches the skip through the same door the description describes: Two things this pair adds: the skip is not specific to the mingw-w64 GCC build the description tested with (this is the Host: macOS 27.2.1 (Apple silicon, M5 Pro), CrossOver 26, D3DMetal; bench scripts cross-build with LLVM-MinGW and run the test binaries under Wine, with the game stopped and local inference unloaded for each run. AI use: GPT-6 Luna built both trees, ran the tests and drafted this comment; the counts and codes are from those runs. |
|
Independent verification, merged onto current Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug.
AI use: test runs by Devin (Cognition, SWE-2); no code changes. |
|
Test report from a second Mac, head Tested
Not tested
AI use
|
|
Test report for head Tested
Not tested: Intel. AI use: the tests were run and this report was written by an AI agent, Claude Code (Claude Opus 5.5), on the hardware above. The numbers are copied from the actual test output. |
|
A Linux data point with vkd3d-proton, for the hosts where this skip must not fire. Tested
Not tested
AI use
|
gpu_uma_import_check_at_initfails on the Macs in #258 (CrossOver + D3DMetal) with an empty message. D3DMetal answers E_NOTIMPL (0x80004001) forOpenExistingHeapFromAddress, soopen_umarecords it inuma_errorand returns beforecheck_uma_import: the check's result stays empty ("not run"), also withXCL_UMA_CHECK=0. The runtime is right (it reports the windows as unavailable inuma_error); the test assumed host-memory heaps. Part of #258.What is in it
crates/xcl/src/gpu/recomp/tests.rs: whenuma_erroris E_NOTIMPL fromOpenExistingHeapFromAddress, the test asserts the check did not report "ok" and skips withno GPU UMA. Any other UMA error, and every host that opens the windows, gets the unchanged assertion, whose message now includesuma_error.Tested
x86_64-pc-windows-gnu(mingw-w64 GCC 16.2.0), debug, DXC 1.9.2609.<lib test exe> --exact <test> --test-threads=1 --nocapture): the 10 tests with "uma" in their names plusgpu_sparse_vram_descriptors_buffers_and_xmem.main9aec53d: 8 passed, 3 failed (gpu_uma_import_check_at_init,gpu_memory_windows_reject_out_of_uma_aliasing,gpu_sparse_vram_descriptors_buffers_and_xmem).699975b(onmain6efdabc): 9 passed, of which 1 isSKIPPED gpu_uma_import_check_at_init: no GPU UMA, and 2 failed (gpu_memory_windows_reject_out_of_uma_aliasing,gpu_sparse_vram_descriptors_buffers_and_xmem: same cause, unchanged messages, not in this PR).real.rson9aec53d, each failing the test as it should: the check reporting that the GPU does not see CPU writes (Linux (Wine + vkd3d-proton): a retail game reaches whatmainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175),OpenExistingHeapFromAddressfailing with 0x8007000E instead of E_NOTIMPL, and the check claiming "ok" with no window imported.XCL_REQUIRE_GPU=wave64turns the skip into a failure.9aec53d: the test still fails the same way, because the check is never reached on this host.main384f7f7: the test passes with the check reportingok, 1 window(s), so the skip is not taken (@DavidM1911, Tests: the UMA import check test skips where D3D12 has no heaps over process memory #1024 (comment)); a second M5 Pro (x86_64-pc-windows-gnullvm, release): fails on6efdabcwith an empty message and skips at this head (@mikebuckets171, Tests: the UMA import check test skips where D3D12 has no heaps over process memory #1024 (comment)).Regression run
Test-only change in
tests.rs: noxcl-smokeblocks.Not tested
mac-on-main-wip, feat(mac): Stage 6 subsystems — mesh shaders on D3DMetal, GPU indirect repack, sparse safety, and watchdog bypass #980): thereuma_errorcan be empty while the check reports "not run…", which this test would still reject. Inferred from their diffs, not run.AI use