Repository navigation
Description
I got XCL running on a Mac and want to upstream it. Asking first how you'd like that done, since the merge rules assume a Windows machine.
Where it is
xcl.exe cross-compiled with mingw-w64, run under CrossOver 26.3 (Wine) with Apple's D3DMetal as the D3D12 host and Rosetta 2 for the x86-64 code. One machine: MacBook Pro M5 Max, 64 GB, macOS 27.3.
The newer retail game from the README table shows its first frame at ~35 s, holds 30 fps, and gets through the account prompt and the first-run menus (navigation, brightness, legal notices, the terms page) with complete text. The intro video plays on a separate branch (one run so far). After the terms page it queues ~33,000 pipelines and the process grows to ~38 GB, but that was on 956a476, before pipelines were built at first use.
Branches are in my fork (https://github.com/Ahmet-Dedeler/xcl): mac (on 956a476, with docs/macos.md), mac-video, and mac-on-main-wip (the same work being moved onto current main, not run yet).
What the host needed
- D3DMetal reads type info in front of an object's vtable and calls virtuals past the public interface, so the replaced vtables crash at device creation. The ext tables now mirror 16 words in front of the table and guard every upper slot. Looks like the same family as Linux (Wine + vkd3d-proton): a retail game reaches what
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175 and VKD3D Assertion - "iface->lpVtbl == &d3d12_heap_vtbl" #241. - No
OpenExistingHeapFromAddress(E_NOTIMPL). The committed window gets a video-memory copy, CPU writes are uploaded before each submit and GPU copies are read back after it. - Metal aborts the process on a depth-only view of a depth+stencil texture (Windows drivers return an error). On this host the depth+stencil families become depth-only R32, so stencil is lost for now.
- Title textures in memory that isn't write-watched here are compared by content and uploaded again when they change. That's what fixed the missing menu letters on this host: the glyph cache is written through a pointer the title keeps after Unmap.
- Rosetta doesn't run INSERTQ, CLZERO, MONITORX/MWAITX, ADX, RDSEED, MOVNTSS/SD or CLWB.
- The title's stall watchdog (the write to address 0 at +0x2215c35) fires whenever the host is slow for a moment, so its crash is skipped.
Questions
- Would you take macOS support in main if it comes as small PRs that only change behaviour on a native host (D3DMetal, detected at device creation)?
- How should those PRs meet the regression rule? Without these changes XCL crashes at device creation on this host (last checked on 956a476), so a
mainsmoke block here is always a crash, andsmoke.ps1is PowerShell. I don't have a Windows GPU machine. I can post a block from the PR head on the Mac (same fields, from a shell port of the script) and the suite's counts under CrossOver. Is that enough if someone on Windows confirms nothing changes there, or do you want something else? - Some of this isn't Mac-specific and I'd send it first, each on its own: the content compare for unwatched title textures, the watchdog skip, the page-pool GPU views (queue Launcher: honor configured executable before auto-detection #31) the intro video needs, and a window mode that doesn't take the focus plus button presses read from a file, for unattended runs. Tell me if any of these overlap something already in flight.
Not attaching game files or frames.
Activity
Kalmarv commentedon Nov 23, 2026
On question 3, what is already in flight. Checked against
main9ab7d76and the open PRs' diffs:(a) Content compare for unwatched title textures
title_textureshashes or compares texels); textures are kept in step throughGetWriteWatch.kernelx.rs): allocates the title's plain-memory reservation withMEM_WRITE_WATCH, so the CPU-filled glyph atlas is uploaded again. Same symptom (missing short lowercase letters), different mechanism: write watch instead of compare. On a host without write watch the compare would still be needed.ALLOW_RENDER_TARGETtextures the CPU fills are kept in step. Covers the 256x256 glyph caches, not the 2048x2048 atlas.(b) Stall-watchdog skip at the
+0x2215c35null writekernelx/ sparse windows (its tester: without it the title's hang watchdog ends the game at ~32 s); #194 reports another cause of the same write (an allocation returned NULL with the page file full) and adds a memory line at every crash; #214 and #162 avoid it by not blocking title threads on pipeline creation. #267 (new) caps a draw's wait for pipelines still building at 4 s a frame, aimed at this watchdog.(c) Page-pool GPU views via queue #31
called_stubs, and he asked for one slot per PR with evidence of its arguments and effect. That evidence is what a PR for Launcher: honor configured executable before auto-detection #31 would need.(d) No-focus window mode and button presses from a file
XCL_PRESS_AT=s:BUTTON,...andXCL_PRESS_A_AT=s,...(hle/gameinput.rs), read from environment variables, not from a file.NOACTIVATE,no focusandXCL_PRESSfound none. Window position and cursor release are on main (#176).(e) Vtable-prefix / upper-slot guard
ID3D12Heap1 - 10 PC methods, 0 internal slots under the guard, +64 stubs), so the open part is the words in front of the table and the identity check.d3d12core.dllholds the assertion. It does not change how XCL replaces the vtable.Also relevant to his
OpenExistingHeapFromAddressnotegpu/recomp/runner.rs) and checks at start-up that the GPU sees CPU writes (#220, merged); #239 (open) refactors that code path, so a host fallback would touch the same lines.🤖 Claude Sonnet 5.5, Claude Opus 5.5
Ahmet-Dedeler commentedon Nov 23, 2026
@ivall two quick questions that only you can answer:
smoke.ps1. What should a PR from me include so you can merge it? I can post the same smoke numbers from a Mac run of the PR head.If the answer to 1 is no that's fine too. I'll keep the Mac part in my fork and only send the fixes that help every host. The intro video one (queue #31) is probably the most useful, nobody has it yet.
Thanks @Kalmarv for the overlap check, that saved me a lot of searching.
ivall commentedon Nov 23, 2026
Welcome - yes, upstream it. How it fits the merge rules (CONTRIBUTING.md, "What a PR needs to be merged"):
cfgwhere it is build-time), so a Windows run is unaffected by construction.xcl-smokepair from your Mac (main and the PR's head) is accepted -scripts/smoke.ps1runs under PowerShell on macOS too; say in Not tested that Windows was not run. A change that touches the shared path needs the usual Windows pair as well (someone with a Windows PC can post it).Please open the PRs as drafts until your CI run is green, and name the exact model in AI use if one wrote the code.
Kalmarv commentedon Nov 24, 2026
@Ahmet-Dedeler: rerun of
mac-on-main-wipat c032920 (your rebase onto upstream 7ebf1b8), done the same way as the 7894747 run below: same machine (M3 8 GB, macOS 26.2, CrossOver 26.3, D3DMetal), same DXC 1.9.2609, synthetic inputs only.No test that exists at both commits changed its outcome.
Method (unchanged): each test binary on its own, with an 8-minute cap and
--test-threads=4. In the lib unit binary, the non-GPU tests ran one at a time, restarted past each hang or crash (60 s without output counts as stuck), and each::gpu_test ran in its own process with a 30 s cap.Build
The same commands work. There are now 2 warnings:
unknown lint: function_casts_as_integer(also at 7894747) and, new,function copies is never used. c032920 has #270'stest = falsefor testgame-mw, so its harness exe is no longer built (at 7894747 it didn't start, exit 53).docs/macos.mdis still not on this branch.Counts, 7894747 → c032920
::gpu_running 1 testwith no output; passed on a rerun)* The 7894747 report below left out
xg_oracle; it has now been run on that build too.Both commits print the same 2 SKIPPED lines (
no wave64).detile_level_fast_path_matches_elementsis counted as passed on both: it stalls in the serial run and passes alone in 64 s.console_depth_buffers_and_their_views_are_the_pcsfails in the serial run on both commits and passes alone on both.What the rebase changed
The lib unit binary went from 641 to 682 tests: 43 added, 2 removed (
rect_list_ps_reads_flatandcontent_hash_tells_a_one_byte_change, both passing at 7894747). Of the added tests, 40 pass (six of them are counted under::gpu_by their names:gpu_views::…,gpu_mirror_upload…,gpu_view_reservations…,gpu_visible_fallback…), 1 is ignored (kernelx::tests::scatter_timing) and 2 get stuck:gpu::recomp::tests::gpu_rect_list_flat_outputs(tests.rs:1710) hangs alone, like the otherrect_listtests.hle::d3d12x::list_x::tests::timestamps_outside_unified_memory_land_after_the_queuereads 0x40 from a null table inorig_fn(real.rs:705). Its fixture also puts the original table atext[-1](ext_vt[0] = orig_vt, table at.add(1),list_x.rs:3731) whileHDR = PREFIX + 1is unchanged. That makes 8 one-word-header fixtures:list_x.rs2668, 3173, 3264, 3394, 3541, 3731;bind.rs1055;real.rs5420.e2e: the access violation (read at 0x18) is gone, and the run takes 4.9 s instead of 203 s. The title still doesn't reach its end: xcl's stderr shows
thread 'main' has overflowed its stackafter[PASS] D3D12.X: queue + fence signal on the GPU, and the title exits with 0x0. Failed checks went from 3 to 2:xmem: working-set statisticsnow passes (c86be92);user32 … W: not cloakedandstorage … pls dir S:\still fail.Unchanged:
gpu_atomic_fcmpswap_x2(4552) andgpu_atomic_fmin_fmax_x2(4695) are 64-bit integer atomics, not f64: they compile toInterlockedCompareExchange64/InterlockedMin64/InterlockedMax64with SFI00xc000(no Doubles flag, per us3r40456 in macOS (Apple Silicon, CrossOver + D3DMetal): the newer retail game reaches its first-run menus at 30 fps #258 (comment)), and they fail on D3DMetal because of its 64-bit integer atomics, not for want of doubles (corrected: earlier this said float). Nothing readsDoublePrecisionFloatShaderOps. Intests.rsthe later f64 ones moved by +46 lines:gpu_f64_compares_with_nan6080,gpu_f64_math_random6232,gpu_float_compares_random6325,gpu_f64_literal_high_word6908.gpu_valu_16_and_64_bit(tests.rs:2644),gpu_more_atomics_sub_dword_scratch_valu(4522),gpu_ps_image_sample_offset_implicit_lod_between_mips(1997),gpu_uma_import_check_at_init(3196).gpu_graphics_vs_ps_draw,gpu_rect_list_corners,gpu_rect_list_fullscreen_order,gpu_wave64_ps_spill_slots,gpu_wave64_ps_whole_wave_reductions,gpu_wave64_vs_spill_slots_and_identity.real::orig_fn,real.rs:705).kernelx::tests::xmem_virtual_query_marks_cpu_readable_memory: misalignedMEMORY_BASIC_INFORMATION(nowkernelx.rs:717; the[0u8; 64]buffers are at 2074 and 2083).present.rs:1121EnumWarpAdapter: 0x887A0004.xaudio2.rs:1599current_buffer_context0, want 0x3003.Not covered: no game run (
xcl runonly through the e2e test title);macandmac-videonot rebuilt; the new e2e stack overflow not traced; no Windows run to confirm the fixture crashes there.The offer at the end of the earlier run still stands.
Earlier run at 7894747
@Ahmet-Dedeler: second Apple Silicon run of
mac-on-main-wipat 7894747, synthetic inputs only (unit tests, the repo's test title, no game files).Machine: MacBook Pro M3, 8 GB, macOS 26.2 (25C56), Rosetta 2 present. CrossOver 26.3 (26.3.0.39832, Homebrew cask), D3DMetal backend; the D3D12 adapter reports itself as "AMD Compatibility Mode".
vmmapof a running test process showslib64/apple_gptk/wine/x86_64-windows/d3d12.dll,dxgi.dllandD3DMetal.frameworkloaded. Rust 1.90.0, mingw-w64 14.0.0 (GCC 16.2.0), DXC 1.9.2609.Build (all worked)
One warning:
unknown lint: function_casts_as_integer(crates/xcl/src/lib.rs:6, rustc 1.90).Bottle without the GUI:
Tests ran through a cargo runner:
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER=<script that runs "$CX/bin/wine" --bottle xcl-258 "$@" < /dev/null>andXCL_DXC_DIR='Z:\…\dxc\bin\x64'.Counts
cargo test --workspace -- --test-threads=4doesn't finish: the lib unit binary hangs or aborts (below). So every binary ran on its own. The lib binary's non-GPU tests ran one thread at a time, restarted past each hang or crash, and eachgpu_*test ran in its own process with a 30 s cap.gpu_*(87)SKIPPED lines (2, both counted as passed):
gpu_geometry_wave32_prefix_count_over_a_mask: no wave64,gpu_wave32_program_in_wave64_hardware: no wave64.f64: the device has no doubles
A probe exe in the same bottle reads
CheckFeatureSupport:D3D12_OPTIONS.DoublePrecisionFloatShaderOps = FALSEMinPrecisionSupport = 2(16-bit)D3D12_OPTIONS1.Int64ShaderOps = TRUE,WaveLaneCountMin/Max = 32/32HighestShaderModel = 6.6Every f64 result reads 0, for example
v_sqrt_f64(5e-1) = 0e0, want 7.071067811865476e-1andv_ldexp_f64(-0e0, 5) = 0e0, want -0e0. Ingpu_float_compares_random, F32 and F16 have 0 failures and F64 has 25107. Nothing in xcl readsDoublePrecisionFloatShaderOps(grep finds no use).Tests in
crates/xcl/src/gpu/recomp/tests.rsthat would need a "no doubles" skip:gpu_f64_class_comparegpu_rndne_f64gpu_frexp_f64_exp_and_mantgpu_f64_rounding_and_conversionsgpu_f64_rootsgpu_ldexp_f64gpu_clamp_and_omod_per_instructionV_ADD_F64/V_CVT_F32_F64part)gpu_f64_compares_with_nangpu_f64_math_randomgpu_float_compares_randomgpu_f64_literal_high_wordNot in this list:
gpu_atomic_fcmpswap_x2(4506) andgpu_atomic_fmin_fmax_x2(4649) are 64-bit integer atomics (InterlockedCompareExchange64/InterlockedMin64/InterlockedMax64, SFI00xc000, per #258 (comment)). They fail on D3DMetal because of its 64-bit integer atomics, not for want of doubles (corrected: earlier this said float).The other
gpu_*failures are not f64:gpu_valu_16_and_64_bit(2547):lane 0 v_add_f16 keeps the high half, left 0, right 3203351424 (vakaobr's probes, macOS (Apple Silicon, CrossOver + D3DMetal): the newer retail game reaches its first-run menus at 30 fps #258 (comment), show this f16 failure comes from the f64 instructions in the same program; corrected: earlier this was listed as not f64)gpu_more_atomics_sub_dword_scratch_valu:tests.rs:4476global_atomic_inc wraps at 10, left 0, right 9gpu_ps_image_sample_offset_implicit_lod_between_mips:tests.rs:1951pixel (0,0) = 25.21875, expected 26gpu_uma_import_check_at_init:tests.rs:3150not run: the coherent window has a copy in video memory (no host-memory heaps on this D3D12). This is the UMA shadow path, so it probably wants a skip as well.Hangs in graphics tests
These hang with no output when run alone. Each was killed at a 30 s cap;
gpu_graphics_vs_ps_drawalso hung for 20 min in a single-thread run, and therect_listpair also stalled in parallel:gpu_graphics_vs_ps_drawgpu_rect_list_cornersgpu_rect_list_fullscreen_ordergpu_wave64_ps_spill_slotsgpu_wave64_ps_whole_wave_reductionsgpu_wave64_vs_spill_slots_and_identityWith
--test-threads=4, other GPU tests stall while one of these runs and pass alone in under a second:gpu_images_a16_d16,gpu_grouped_loads_bounds_and_inactive_lanes,gpu_image_sample_offset,gpu_images_sample_load_store_atomicandgpu_mesh_mode_two_passes.Crashes from test fixtures (not Mac-specific)
The port sets
HDR = PREFIX + 1(17 words) ind3d12x/real.rs, andorig_fn(real.rs:705) reads the original table atext[-17]. Seven unit tests still build their fake extended vtable with the original atext[-1], soorig_fnreads a null or garbage table. Four of them fault reading 0x40 / 0xC0 / 0x158 / 0x170, which is slot × 8 from a null table;addr2lineputs the fault atreal.rs:705. One faults executing a garbage address (0x400000003E800000). In parallel, one panics withmisaligned pointer dereference … 0x203a3436572024e2(ASCII text) and aborts the binary. Alone, the abort test hangs:bind.rs:1055async_compute_pso_success_and_failure_in_dispatch_and_execute_indirectreal.rs:5314copy_descriptors_remaps_xbox_extra_cbv_srv_uav_to_pc_enumlist_x.rs:2566reset_commits_state_only_after_native_success_and_always_restores_vtablelist_x.rs:3067resolve_query_data_applies_buffer_delta_to_pc_resolve_and_occlusion_writebacklist_x.rs:3162draw_indexed_x_routes_through_bind_and_restores_index_bufferlist_x.rs:3292kickoff_x_render_targets_preserve_mrt_count_for_single_descriptor_rangelist_x.rs:3439set_predication_buffer_state_transitions_and_lifecyclehle::kernelx::tests::xmem_virtual_query_marks_cpu_readable_memoryaborts withmisaligned pointer dereference: address must be a multiple of 0x8 but is 0x1b0f3fcatkernelx.rs:604. The test passes[0u8; 64](kernelx.rs:1850,1859) as aMEMORY_BASIC_INFORMATION, so it depends on where that buffer lands on the stack.Other failures
e2e::test_title_runs_and_game_folder_is_untouched: the title takes an access violation reading 0x18 at 0x211138f87 (outside xcl.exe's image, 0x140000000–0x1455da000), just after[SHADER] ps 8a5d1b6c5b50f11e … RDNA2 code found. Wine's auto debugger (winedbg --auto) then holds the process until it's killed. Failed title checks:xmem: working-set statistics … limit / used 0x360000000 / 0x0,user32: … the hidden 1920x1080 console screen: W: not cloaked,storage: save folder + persistent local storage: pls dir S:\.predication_e2e::set_predication_buffer_state_and_kickoff(predication_e2e.rs:360):EQUAL_ZERO(0) must skip dst[0], left 0xAAAA0000 (the copy's source value), right 0x11111111. The predicated copy ran.pls_quota::disk_free_space_ex_reports_pls_quota(pls_quota.rs:144):GetDiskFreeSpaceExW(S:\missing)gives error 2, the test wants 3 (ERROR_PATH_NOT_FOUND). The error comes from Wine.hle::d3d12x::present::frame_dump_tests::mapped_frame_dump_distinguishes_dark_bright_and_undecoded_content(present.rs:1047):EnumWarpAdapterfails with 0x887A0004 (DXGI_ERROR_UNSUPPORTED). There is no WARP here.hle::xaudio2::tests::xma2_source_voice_decodes_and_manages_lifetime(xaudio2.rs:1570):current_buffer_contextis 0, the test wantsCTX_VALID(0x3003).hle::d3d12x::device_x::tests::console_depth_buffers_and_their_views_are_the_pcsfailed once in the serial run and passes alone.gpu::tiling::tests::detile_level_fast_path_matches_elementsis not a hang. It passes alone in 64 s in the debug build under Rosetta, with no output during that time.kernelx.dllraw-dylib import. Small fixes found running the tests and the test title under Wine #270's c858190 (test = false) cherry-picks cleanly onto 7894747. With it the harness exe is gone,cargo test -p testgame-mwruns nothing, andcargo build --workspacestill buildstestgame_mw.dll.docs/macos.md gaps
mac-on-main-wiphas nodocs/macos.md; it is only onmac. The doc's "State" still says "on top of upstream 956a476".CX="$HOME/Applications/CrossOver.app/..."doesn't exist afterbrew install --cask crossoveror the default install. The app is in/Applications.cxbottle --create --template win10_64plus"CX_GRAPHICS_BACKEND" = "d3dmetal"incxbottle.conf.-p xcl --release. Tests also needcargo build --workspace --target x86_64-pc-windows-gnu(test title +testgame_mw.dll), andcargo testneedsCARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNERpointing at awine --bottlewrapper with stdin from/dev/null. There is no test section, andscripts/test.ps1needs pwsh, which a Mac doesn't have.target/…/deps.XCL_DXC_DIRas aZ:\path does.winedbg --auto, which waits with no output, so a crashing test looks like a hang. To stop leftover processes it takesWINEPREFIX=<bottle> "$CX/bin/wineserver" -k. Plainwineserver -kdoesn't reach the bottle, and Wine'swinedevice.exekeeps a pipe from the test open after the test is killed.--test-threads=4(as in HANDOFF/test.ps1) doesn't complete on this setup, for the reasons above.Offer
If useful, I can open a tests-only PR that skips the f64 tests above when the device reports no doubles, with the check in
tests.rs(next togpu_waves) so the runtime is untouched. Are you already on that, or on theHDRfixtures?🤖 Claude Opus 5.5
mikebuckets171 commentedon Nov 24, 2026
Independent retail test on an M5 Pro (48 GB), macOS 27.2.1, CrossOver 26.3, Windows 10 x64 bottle, D3DMetal, networking disabled. Both revisions built from source using Rust 1.100.0 and the x86_64-pc-windows-gnullvm target; DXC 1.9.2609.5.
macrevision748fe889e891, cold cache, four DXC workers: first 3840×2160 frame at 16.182 s. The timed 217 s run ended normally with 4,910 frames shown / 4,910 PresentX calls. Last 300-frame interval: 30.0 fps. Four separate frame readbacks confirmed a visible account picker. No controller input, terms acceptance, or gameplay tested in this run.mac-on-main-wipatfeb49be68144: bothgpu_compute_e2etests passed with no skips on D3DMetal. Retail first frame at 18.574 s; the activity samples summed to 378 presents before progress stalled and the stall watchdog fired five times. This used default shader worker count and no frame readbacks, so it is not a controlled branch regression comparison.The Mac branch reaching a visible interactive prompt is independently reproducible on a 48 GB Pro, not just the 64 GB Max. No game data or raw traces attached. AI-assisted testing.
Reproduction details (M5 Pro): Rust 1.100.0; LLVM-MinGW clang 23.1.6;
cargo build --locked --release -p xcl --bin xcl --target x86_64-pc-windows-gnullvm. For the dedicated Mac build:XCL_NETWORK=0,XCL_BACKGROUND=1,XCL_DXC_THREADS=4,XCL_ACTIVITY=1,XCL_FRAME_DUMP=600,XCL_RUN_SECONDS=217. For the WIP GPU check:cargo test --locked --release -p xcl --test gpu_compute_e2e --target x86_64-pc-windows-gnullvm --no-run, then ran that test binary under CrossOver with--nocapture(2 passed, 0 failed, 0 ignored, no skip messages). Not tested: Windows, the full GPU suite, gameplay. AI use: OpenCode / GPT-6.2 Astra ran the checks and wrote the report.M5 Pro follow-up: early presentation stall. On
mac-on-main-wipbasec032920and our graphics fallback head44515ba,scripts/smoke.ps1with fresh caches and identical 120 s settings reported 256 and 270 frames respectively, exit 0 and no device removals/crashes in either run. Both stopped presenting early. Exit 0 here was the timed stop, not successful gameplay; Wine’s 0 MB peak commit is not a usable memory measurement.Two samples of the stalled patched process showed
sparse::readback_nowand the resource-release path waiting insparse::forget_buffer, with the activity thread blocked invram::arena_bytes. These are observed waiters, not proof of a particular lock owner. A local experiment deferring both cleanup operations when contended showed 1,324 frames over 90 s, no watchdog firing and 60 presents per 2 s in the final samples. Some intermediate intervals still had no presents. This is one experimental run; we have not isolated which change matters, established resource-lifetime correctness, or reached gameplay.The test fixtures and Mac graphics fallback work are on the test branch. The synthetic test title now presents a frame and finishes with three failed assertions (window cloaking, timestamps, XMA2 voice state), rather than terminating at the first unknown shader container. No complete passing workspace run claimed. AI-assisted measurements and report: OpenCode / GPT-6.2 Astra.
Isolated Mac test-fixture patch: one commit, eight fixtures, directly on
db065d8. Thanks to Kalmarv for identifying the remaining reset and query-routing fixtures. This branch only changes test code: it excludes the runtime experiment and the timestamp skip.cargo test --offline --locked -p xcl --lib --target x86_64-pc-windows-gnullvm --no-runcompiled this exact commit. On exact commit9a9adb44, ran each of the eight affected lib tests separately in the offline CrossOver D3DMetal bottle (<lib-test.exe> <test-name> --nocapture; one matching test per invocation): 7 passed, 1 failed, 0 ignored/skipped. Reset, descriptor copy, indirect dispatch, indexed draw, render target count, predication and query routing passed.timestamps_outside_unified_memory_land_after_the_queuereturned exit 101 after 5.33 s (both values zero), not a crash. Full workspace suite not claimed. On this host the timestamp assertion still needs separate investigation: the fixture header and the timestamp values returned by D3DMetal are distinct issues.Retail evidence: local integration
43debe8(Mac WIPdb065d8plus our experimental changes): 3,171 frames shown / 3,171 PresentX calls in 142 s, last 300-frame interval 30.0 fps, no stall-watchdog events. Offline, fresh profile, same 48 GB M5 Pro. Two frame readbacks showed the account picker. This is a menu result, not a gameplay claim. No raw game data attached.After accepting first-run terms: On
43debe8(Mac basedb065d8, offline M5 Pro, 48 GB, four DXC workers), loading ended with process exit 5 at the same title-relative offset documented by the Mac author:+0x23cf683, null write. The final 16 consecutive two-second activity samples had zero presents. The log contains 107 translated compute-pipeline creation messages. These observations identify the stop, not its cause. Gameplay was not reached.Warm-profile retry and window counters: A saved-profile retry on the same binary showed loading artwork after a blank screen (0.0 then 10.0 fps, screenshots 58 s apart), then exited 5. The same null write recurred. The caption showed 0 DXC compiles running, 2 done, and 58,745 then 58,735 “pipelines queued”. In
pso_async::countsthe third count includes lazy stand-ins never submitted to a worker; it is not a compiler backlog or a progress estimate. Caption-only patch against main, cross-checked withcargo check --locked --offline -p xcl --target x86_64-pc-windows-gnullvm. No gameplay claim.Compute pipeline cache follow-up (#636): On
dd2ae9a, two builders that miss the same driver-blob key before either finishes can both charge the byte budget even though only one entry remains. This is a code-level accounting finding, not an explanation for the loading crash. Focused fix and regression test. Cross-compiled the full Windows lib test target withcargo test --locked --offline -p xcl --lib --target x86_64-pc-windows-gnullvm --no-run; the exact pure Rust insertion function and its regression test also ran natively on arm64 (1 pass).Pre-fault timing on both M5 Pro runs: From the timestamp of the last nonzero two-second present sample to the first logged unhandled exception: 29.405 s on the first accepted-profile run and 30.360 s on the warm retry. In those respective intervals the log recorded 71 and 185 translated compute pipeline creation completions. This excludes messages after the exception. The main presentation path stopped making visible progress while pipeline creation still completed; this does not establish why presents stopped. Measured from sample timestamps, not individual frame times.
First Mac trial including upstream #636:
cd18062over43debe8, using a copy of the same accepted profile, exited 5 at 24.425 s, before any scripted input. One translated compute pipeline was logged and none logged driver-blob reuse. The xcl.exe fault instruction symbolized toIUnknown::clone; stack addresses also resolved intotitle_textures::refresh_oncecollecting resource references. This is a different stop than the later title watchdog. This run does not test #636’s loading benefit, establish a cause, or show that #636 introduced the crash.us3r40456 commentedon Nov 24, 2026
@Ahmet-Dedeler: third Apple Silicon run of
mac-on-main-wip, at c032920, unit and integration tests only (no game files), compared test by test withmain508a0c7 on the same machine.mainwas run with #553 on top, so the 7 draw tests do not hang there.Machine: MacBook Pro M5 Pro (20-core GPU), 24 GB, macOS 27.2.1. CrossOver 26.3.0.39832, D3DMetal 3.0. DXC 1.9.2609.
Build: a different toolchain from the other runs. MSVC target, cross-built with cargo-xwin 0.24.1 (Rust 1.100.0, clang-cl / lld 23.1.6), debug. The branch builds for
x86_64-pc-windows-msvcwith no error and 4 warnings.Run: the lib's unit tests one module group at a time (
--test-threads=4); a group that hangs or crashes is rerun one test per process. Integration binaries with--test-threads=1. The same script was used for both.mac-on-main-wipc032920 (682)SKIPPED: no wave64)main508a0c7 + #553 (661)Better on the branch
OpenExistingHeapFromAddressfallback works.gpu_unified_memory_arena,gpu_memory_windows_above_4_gib,gpu_mesh_mode_reads_memory_windows,gpu_bvh64_intersect_ray_across_memory_windows_and_grazingandgpu_sparse_vram_descriptors_buffers_and_xmempass; they fail onmain.gpu_uma_import_check_at_initfails on both.tests/gpu_compute_e2e.rs: 2 passed. Onmainthere is no result after 300 s, afterUMA not available to the GPU: OpenExistingHeapFromAddress (window 3) ... 0x80004001.hle::d3d12x:bind::tests::create_list_reset_and_clear_state_track_initial_pso_on_d3d12,title_textures::tests::placed_title_textures_share_vram_and_preserve_pixelsandvram::tests::d32s8_targets_take_their_own_size_of_video_memorycrash onmainand pass here;title_textures::tests::gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changeshangs onmainand passes here.gpu::shader::tests::readable_answers_from_the_working_set_without_touching_pagesandhle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failurefail onmainand pass here.Worse on the branch
hle::d3d12xtests crash here. All of them pass onmainwhen run the same way, one per process:bind::tests::async_compute_pso_success_and_failure_in_dispatch_and_execute_indirectpanics inorig_fnatreal.rs:705(misaligned pointer dereference: address must be a multiple of 0x8 but is 0x1d9);list_x::tests::{draw_indexed_x_routes_through_bind_and_restores_index_buffer, kickoff_x_render_targets_preserve_mrt_count_for_single_descriptor_range, reset_commits_state_only_after_native_success_and_always_restores_vtable, resolve_query_data_applies_buffer_delta_to_pc_resolve_and_occlusion_writeback, set_predication_buffer_state_transitions_and_lifecycle}andreal::readback_routing_tests::copy_descriptors_remaps_xbox_extra_cbv_srv_uav_to_pc_enumpage-fault reading 0x158 or 0xc0, all at the same address.orig_fnreads*ext.sub(HDR)on the branch and*ext.sub(1)onmain. I did not check whether these tests rely on the one-word header.list_x::tests::timestamps_outside_unified_memory_land_after_the_queuefails onmainand crashes here.tests/predication_e2e.rs,set_predication_buffer_state_and_kickoff: passes onmain, fails here withEQUAL_ZERO(0) must skip dst[0], left 0xaaaa0000, right 0x11111111. The predicatedCopyBufferRegionran.gpu_graphics_vs_ps_draw, the threegpu_rect_list_*, the threegpu_wave64_{ps,vs}_*) hang. They also hang onmainwithout Recompiler: keep a draw's descriptor heaps alive until the list has run #553, which this branch does not have.Same on both:
gpu_float_compares_random,gpu_more_atomics_sub_dword_scratch_valu,gpu_ps_image_sample_offset_implicit_lod_between_mipsandgpu_valu_16_and_64_bit;hle::xaudio2::tests::xma2_source_voice_decodes_and_manages_lifetimeandhle::d3d12x::present::frame_dump_tests::mapped_frame_dump_distinguishes_dark_bright_and_undecoded_content;tests/pls_quota.rs(Wine returns error 2 where the test wants 3);tests/e2e.rstest_title_runs_and_game_folder_is_untouched(the test title page-faults writing address 0 at 0x6FFFFFF78D55);Not tested: a retail title, Windows, a release build.
AI use: Claude Code, Claude Opus 5.5 ran the builds and tests on this machine and wrote this report.
Kalmarv commentedon Nov 24, 2026
@us3r40456, on the 7
orig_fncrashes: they do rely on the one-word header. At c032920 the branch hasHDR = PREFIX + 1, but 8 test fixtures still build the fake vtable the old way, with the original table atext[-1](list_x.rs2668, 3173, 3264, 3394, 3541, 3731;bind.rs1055;real.rs5420). Soorig_fn(real.rs:705) reads through a null table, which is why the same tests pass on main. The 8th istimestamps_outside_unified_memory_land_after_the_queue, new in c032920. It's in our rerun above (#258 (comment)).🤖 Claude Opus 5.5
vakaobr commentedon Nov 24, 2026
@Ahmet-Dedeler: a fix for the 8 test fixtures Kalmarv traced above, tested on
mac-on-main-wipatdb065d8.Each fixture now builds its fake extended vtable the way
class_fordoes: the original table at index 0, the 16 mirror words (zero here), then the slots, with the object's vtable at.add(HDR). Soorig_fnreads the original atext[-HDR]. The only non-test change isHDRbecomingpub(super), so thelist_xandbindtests can use it. That's 3 files, +31 / -28.Tested
cargo test -p xcl --lib --target x86_64-pc-windows-gnu --no-runwith Rust 1.100.0 and mingw-w64 GCC 16.2.0, debug build. DXC 1.9.2609 throughXCL_DXC_DIR.<exe> --exact <name> --test-threads=1), on the same build with and without the diff. "Crash" is an exit with no test result (exit code 5, an access violation):db065d8as isbind::tests::async_compute_pso_success_and_failure_in_dispatch_and_execute_indirectreal::readback_routing_tests::copy_descriptors_remaps_xbox_extra_cbv_srv_uav_to_pc_enumlist_x::tests::reset_commits_state_only_after_native_success_and_always_restores_vtablelist_x::tests::resolve_query_data_applies_buffer_delta_to_pc_resolve_and_occlusion_writebacklist_x::tests::draw_indexed_x_routes_through_bind_and_restores_index_bufferlist_x::tests::kickoff_x_render_targets_preserve_mrt_count_for_single_descriptor_rangelist_x::tests::set_predication_buffer_state_transitions_and_lifecyclelist_x::tests::timestamps_outside_unified_memory_land_after_the_queuelist_x.rs:3765, "non-UMA GPU timestamp never landed"The last one now gets past the fixture and fails the way us3r40456 reports it failing on
main: the GPU timestamp never arrives on D3DMetal. So it's a separate issue from the fixtures.Not tested
feb49be, without this diff) is still going on this machine, and I'll post those counts separately.The diff, on
db065d8Edit: the f64 tests, and why some f16 checks failed as well
On D3DMetal a GPU program with any f64 instruction writes nothing at all, not just wrong f64 results. I checked with single-instruction probe kernels on this machine (local only, not in either diff), lane 0:
V_CVT_F16_F32with clamp, 3.00x3C000x3C00OMOD×20x46000x4600V_ADD_F16, 1.0 + 1.0, high half kept0xBEEF40000xBEEF4000V_ADD_F64then the clampedV_CVT_F16_F320xDEAD3C000x00000000V_CVT_F16_F32thenV_ADD_F640xDEAD3C000x00000000V_LSHLREV_B64then the clampedV_CVT_F16_F320xDEAD3C000xDEAD3C00So f16 conversions are fine on their own. The
v_cvt_f16_f32 clampfailure ingpu_clamp_and_omod_per_instructionand thev_add_f16 keeps the high halfone ingpu_valu_16_and_64_bitcome from the f64 instructions in the same programs. 64-bit integer operations aren't affected. For the Mac port this means any console shader with an f64 instruction would draw nothing on D3DMetal, unless the recompiler emulates f64 there.For the tests, here is a tests-only diff against
main, which also applies todb065d8. It addsdoubles_ready()next tomesh_ready()ingpu/recomp/tests.rs, which readsD3D12_OPTIONS.DoublePrecisionFloatShaderOpson the adapterrunnerpicks and skips withno doubleswhen it's false:gpu_valu_16_and_64_bit. Their programs have f64 instructions, so nothing in them can be checked on such a device.gpu_float_compares_randomskips only its F64 round, because F32 and F16 are separate programs. On a device without doubles that changes the random inputs its F16 round gets.runner.rsisn't touched, so the runtime doesn't change. Windows GPUs and WARP report doubles, so nothing skips there.XCL_REQUIRE_GPU=wave64would treat ano doublesskip as a failure, as it does every reason exceptno mesh shaders.Tested on
main18c105awith the diff, on the machine above, each test in its own process: all 14 giveokwithSKIPPED <test>: no doubles. Without the diff, all 14 failed in my per-test run of the branch atfeb49be. Not tested: Windows,mainwithout the diff, and the rest of the suite with it.Update: the f64 skip is now #787 by @Lucasyudi, which skips the same 14 tests and keeps the F32 and F16 rounds of
gpu_float_compares_random. I'm not opening mine, to avoid a duplicate. Thanks to @Kalmarv for the Windows run of my diff and to @us3r40456 for the SFI0 check, which also applies to #787 (see my note there). The WARP frame-dump skip from my full run is #957.The f64 diff, on
main18c105aEdit: full run of
main9aec53d(same machine, debug, one test per process, 60 s cap forgpu_*, 180 s otherwise). xcl lib (704): 641 passed, 28 failed, 12 timed out, 21 ignored, 2 skipped (no wave64). Every failure has a known cause: f64 (12, #787), 64-bit atomics (3, #983), sample offset (#982), UMA import check (#1024), WARP frame dump (#957), XMA2 (#890), GPU timestamps (#317 + the plan above), and 8 tests that need host-memory heaps or write watch, which D3DMetal doesn't have: #1060 skips six of them with "no GPU UMA" (E_NOTIMPL fromOpenExistingHeapFromAddressonly);list_xwrite_buffer_immediate_on_open_existing_heap_visible_to_cpuhas the same cause, andshaderreadable_answers_from_the_working_set_without_touching_pagesfails because Wine'sQueryWorkingSetExdoesn't report the pages resident. The 12 timeouts are the draw / list hang: 8 GPU draw tests,bindcreate-list, twotitle_texturestests andvramd32s8. Other binaries: console_dlls_e2e 13, gpu_pso_e2e 7, xg_oracle 6 (12 ignored), console_shaders 3 (4 ignored), rpf_e2e 2, disasm_e2e 1, texture_states 1 passed; gpu_compute_e2e 1 passed, 1 timed out; e2e 1 passed, 1 failed (#750), 1 skipped; pls_quota 1 failed (#937); predication_e2e and sparse_reinit skip (no GPU UMA); heap_probe 4 ignored.AI use: Claude Code with Claude Opus 5.5 found and wrote both changes and the probe kernels, built them, ran the tests on this machine and wrote this comment. I checked the diffs and the results before posting.
us3r40456 commentedon Nov 24, 2026
@Ahmet-Dedeler:
pr/native-host-vtables(ddf3be7) on the same Mac as my run above, before you open it. It was built and tested at its head and compared test by test withmain508a0c7 (its base) with #553 on top, using the same script.pr/standin-dual-sourcewent to #666.Machine and build: as above. M5 Pro (20-core GPU), 24 GB, macOS 27.2.1, CrossOver 26.3.0.39832, D3DMetal 3.0. MSVC target via cargo-xwin 0.24.1, Rust 1.100.0, debug, DXC 1.9.2609. It builds for
x86_64-pc-windows-msvcwith no new warning.SKIPPED: no wave64), 26 failed, 7 hung, 0 crashed, 21 ignored. The 7 hangs are the draw tests, because Recompiler: keep a draw's descriptor heaps alive until the list has run #553 is not in the branch.hle::d3d12xnow runs in one process: 90 passed, 2 failed (present::frame_dump_tests::mapped_frame_dump_distinguishes_dark_bright_and_undecoded_contentandlist_x::tests::timestamps_outside_unified_memory_land_after_the_queue, both failing onmaintoo), 1 ignored. Onmainthe group crashes.main, on this branch and onpr/standin-dual-source/ D3D12.X: stand-in pixel shaders write both dual-source colours #666 as a control (same base):bind::tests::create_list_reset_and_clear_state_track_initial_pso_on_d3d12,title_textures::tests::placed_title_textures_share_vram_and_preserve_pixelsandvram::tests::d32s8_targets_take_their_own_size_of_video_memorycrash onmainand on the control, and pass here;title_textures::tests::gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changeshangs onmainand on the control, and passes here;tests/gpu_compute_e2e.rshas no result in 120 s onmainand on the control, and has 2 passed here.a_native_hosts_table_keeps_its_prefix_and_other_tables_keep_theirspasses.tests/predication_e2e.rspasses, so its failure onmac-on-main-wipcomes from another commit there.mainfails here.hle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failurefailed once inmain's group run, but it passes one per process on all three, so I did not count it.Not tested: Windows, a retail title, a release build.
AI use: Claude Code, Claude Opus 5.5 ran the builds and tests on this machine and wrote this report.
us3r40456 commentedon Nov 24, 2026
@Ahmet-Dedeler: a follow-up on
tests/predication_e2e.rs, with a correction to my two reports above.Correction: on
main508a0c7 and onpr/native-host-vtables, this test does not run on this Mac. It printsSKIPPED set_predication_buffer_state_and_kickoff: no GPU UMAand counts as passed. So my reports should have said "skipped", not "passes".Bisect:
git bisect runover 508a0c7..db065d8 (the test failed twice in a row at db065d8 first) took 4 steps and gives c70bf8a ("Unified memory without OpenExistingHeapFromAddress") as the first failing commit. That is the commit that makes the test run: withXCL_UMA_SHADOW=0at db065d8 it skips again.Why it fails: predication is not applied at all on D3DMetal.
eprintln!(not committed), all four predicated copies of case 1 ran:dst[..4] = [aaaa0000, bbbb0001, cccc0002, dddd0003], which issrc, wheredst[0]anddst[2]should have keptinit.dst[1](EQUAL_ZERO onslot_one) anddst[2](NOT_EQUAL_ZERO onslot_one) read the same slot with opposite ops, so no predicate value explains both running.apply_predication_copycopies the predicate into its own default buffer and calls the host'sSetPredicationon that buffer, so the UMA copy is not in this path. D3DMetal acceptsSetPredicationand does not skip anything.Not checked: draws and dispatches (this test only predicates copies), and whether D3DMetal reports this anywhere. A native host would need either predication done by XCL or a skip with that reason. I did not write either.
Machine: as above. M5 Pro, 24 GB, macOS 27.2.1, CrossOver 26.3.0.39832, D3DMetal 3.0, MSVC debug build, DXC 1.9.2609.
AI use: Claude Code, Claude Opus 5.5 ran the bisect and the tests on this machine and wrote this note.
us3r40456 commentedon Nov 24, 2026
@Ahmet-Dedeler, @vakaobr: about
list_x::tests::timestamps_outside_unified_memory_land_after_the_queue("non-UMA GPU timestamp never landed") onmain508a0c7 (+ #553). XCL's side works; D3DMetal's timestamp queries produce nothing.What I measured, with temporary
eprintln!s (not committed), one run each:xcl-cpu-writesworker does its job: the fence reaches its value and it writes the readback value to both targets. That value is 0.0xdeadbeefcafef00dinto the readback slot before the list runs. It is still there after the fence, and the test then passes with that value. SoResolveQueryDataof the TIMESTAMP query writes nothing into the READBACK buffer. Mapping the buffer again before the read changes nothing.ExecuteCommandListschanges nothing.GetTimestampFrequencyreturns 60.GetClockCalibrationreturns GPU and CPU values 42 apart (65903180759708 / 65903180759750), i.e. the CPU clock.XCL passes the host's
GetTimestampFrequencythrough, so a title on this host would see 60 Hz and timestamps of 0.Possible approach (not written): at device creation, check whether a resolved timestamp overwrites a sentinel. On a host where it does not, fill the
ReadbackU64writes from the CPU clock when the fence completes, and report that clock's frequency, behind the native-host check. Top-of-pipe timestamps would then also be the completion time.Machine: as above. M5 Pro, 24 GB, macOS 27.2.1, CrossOver 26.3.0.39832, D3DMetal 3.0, MSVC debug build.
AI use: Claude Code, Claude Opus 5.5 ran these checks on this machine and wrote this note.
mikebuckets171 commentedon Nov 24, 2026
Two questions about contributions from an Apple Silicon bench, because the Mac runs posted in this thread keep running into both.
1. Host-port patches. Most of what a Mac host forces is XCL-side work in
crates/xcl/src: Rosetta 2 cannot resume a faulting AVX2 masked store, D3DMetal has noOpenExistingHeapFromAddress, no write watch and 32-lane waves only. I am the author, I have read every line of the diff, and I can answer review questions about it. Are patches of that kind welcome upstream even when the code was drafted by a small local model, or should macOS-specific work stay on the port branch and only the findings and measurements come here?2. Tested / Regression.
scripts/smoke.ps1is PowerShell on Windows, and this bench has no Windows machine. A run here is CrossOver 26.3 + D3DMetal 3.0, x86_64 under Rosetta 2, with presents counts, frame dumps, exit codes andreport.json. CONTRIBUTING says a PR with no Windows test run "waits until someone runs one". Is there a form of those two blocks you would accept from this host, or should Mac-host PRs always carry "Not tested: Windows" and wait for a Windows contributor to run them?#536is mine and sits in the same file as #527, #513 and #497: I will leave it as it is unless you want it reworked or closed.Written with help from a local assistant; the questions and everything I claim here are mine.
Kalmarv commentedon Nov 24, 2026
@mikebuckets171, on (2): ivall answered this above (#258 (comment)):
If a Mac PR of yours touches the shared path, ask on the PR and we can post the Windows pair, as we're doing for #666. (1) is for the maintainers.
🤖 Claude Opus 5.5
Kalmarv commentedon Nov 24, 2026
@vakaobr: here is the Windows GPU run your f64 skip diff needed. It does what you described on a GPU with doubles: nothing skips, and the suite is unchanged.
Tested
git applytomaindd2ae9a.gpu/recomp/tests.rshasn't changed since18c105a, and the diff applied cleanly. Each build had its own worktree and target directory.doubles_ready(), by exact name,--test-threads=1:maindd2ae9add2ae9a+ diffSKIPPEDlinedd2ae9a+ diff, withdevice_doubles()returningDoublePrecisionFloatShaderOps && false(local only)ok, each withSKIPPED <test>: no doublesThe forced case includes
gpu_float_compares_random, which also reportsno doubleswhen only its F64 round is left out.cargo test --workspace -- --test-threads=4, with and without the diff: 690 passed, 0 failed, 41 ignored. Compared test by test, the same 731 tests give the same outcomes. In both runs the only SKIPPED lines aregpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware, bothno wave64.Not tested
XCL_REQUIRE_GPU=wave64with ano doublesskip.🤖 Claude Opus 5.5
us3r40456 commentedon Nov 24, 2026
@vakaobr, @Kalmarv: some Mac-side data for the f64 skip diff (06ffc1b). It comes from an M5 Pro with D3DMetal 3.0 and from the shader flags (SFI0) that DXC 1.9.2609 writes into each test's DXIL on
main. I did not run your branch itself here; I used an equivalent check of the same flag.DoublePrecisionFloatShaderOps = 0but still creates the pipelines, where the A770 in GPU test results: NVIDIA RTX 3080 (wave32) and AMD RDNA2 iGPU (no mesh shaders) #42 refuses them withE_INVALIDARG. The doubles then read 0, and other results of the same program can be wrong too. Ingpu_clamp_and_omod_per_instruction,v_cvt_f16_f32with clamp gives 0 while the five f64 instructions are in the program; with them removed, all its other checks pass here. So skipping whole programs that contain doubles, as your diff does, is the right shape on this host. Skipping only the f64 checks of a program that still runs would not be.gpu_f64_roots,gpu_f64_compares_with_nan,gpu_f64_class_compare,gpu_f64_literal_high_word,gpu_f64_rounding_and_conversions,gpu_f64_math_random,gpu_frexp_f64_exp_and_mant,gpu_ldexp_f64,gpu_rndne_f64,gpu_clamp_and_omod_per_instructionandgpu_valu_16_and_64_bit, plusgpu_float_compares_random. That last one compiles three programs, and only one has the flag, which matches your partial skip.gpu_atomic_fcmpswap_x2andgpu_atomic_fmin_fmax_x2compile without the flag (SFI00xc000, 64-bit integers only). The translator emits them asInterlockedCompareExchange64/InterlockedMin64/InterlockedMax64. They are not among the A770's failures in GPU test results: NVIDIA RTX 3080 (wave32) and AMD RDNA2 iGPU (no mesh shaders) #42, so skipping them on "no doubles" would drop passing coverage there. On D3DMetal they fail for another reason: its 64-bit integer atomics, which it reports as supported. I have not looked into that yet.no doubles. My check did not covergpu_valu_16_and_64_bitor the partial skip.AI use: Claude Code, Claude Opus 5.5 read the shader flags, ran these checks on this machine and wrote this note.
60 remaining items
D3D12.X: extended vtables keep a native host's prefix and tail words (x…
us3r40456 commentedon Nov 24, 2026
Apple Silicon test run on an M5 Pro — a data point next to the M3 runs above.
Machine: MacBook Pro M5 Pro, 24 GB, macOS 27.2.1 (26B131), Rosetta 2 present. CrossOver 26.3 (bottle, D3DMetal backend); the D3D12 adapter reports itself as "AMD Compatibility Mode (18186 MiB VRAM)", wave 32/32, SM 6.6. Rust 1.100.0 (stable-aarch64), mingw-w64 (Homebrew), DXC 1.9.2609.5 (
01b62ad4) + dxil 1.9.2609.5. Synthetic inputs only, no retail sample data (XCL_SAMPLE_*unset).Build (all worked)
Two warnings:
unknown lint: function_casts_as_integer, andfetch_updatedeprecated (renamed totry_update,hle/xgameruntime/mod.rs:547).Tests run through a CrossOver wine runner (
wine --bottle xcl),XCL_DXC_DIR='C:\XCL',XCL_MAC_HOST=1,XCL_NETWORK=0.Counts — lib unit binary, one test per process, 12 s cap each
gpuin path)FAILED, grouped
DoublePrecisionFloatShaderOpson D3DMetal) — matches the M3 run:gpu_f64_class_compare,gpu_f64_compares_with_nan,gpu_f64_literal_high_word,gpu_f64_math_random,gpu_f64_roots,gpu_f64_rounding_and_conversions,gpu_frexp_f64_exp_and_mant,gpu_ldexp_f64,gpu_rndne_f64,gpu_float_compares_random,lower_dxil::tests::f64_programs_on_the_gpu,ops_tests::doubles_match_cpu,round_tests::gpu_direct_f32_round_modes_{static,dynamic_and_denormals}.gpu_atomic_fcmpswap_x2,gpu_atomic_fmin_fmax_x2(SFI00xc000, no doubles flag).gpu_memory_windows_above_4_gib,gpu_memory_windows_from_the_heap,gpu_memory_windows_reject_out_of_uma_aliasing,gpu_heap_windows_reject_out_of_uma_aliasing,gpu_unified_memory_arena,gpu_sparse_vram_descriptors_buffers_and_xmem,gpu_uma_import_check_at_init,list_x::tests::write_buffer_immediate_on_open_existing_heap_visible_to_cpu,list_x::tests::timestamps_outside_unified_memory_land_after_the_queue.ops_tests::{raw_and_structured_buffer_atomics_run, texture_ops_run, uaddc_and_usubb_match_cpu, int64_bit_ops_match_cpu, derivatives_in_compute_run, groupshared_barrier_and_atomics_run},fuzz_tests::fuzz_validate_and_gpu_0..3,gpu_bvh64_intersect_ray_across_memory_windows_and_grazing,gpu_clamp_and_omod_per_instruction,gpu_more_atomics_sub_dword_scratch_valu,gpu_ps_image_sample_offset_implicit_lod_between_mips,gpu_mesh_mode_reads_memory_windows,gpu_valu_16_and_64_bit,shader::tests::readable_answers_from_the_working_set_without_touching_pages,device_x::tests::gpu_depth_buffer_created_for_unordered_access_is_placed,title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels,vram::tests::reservable_agrees_with_the_driver.present::frame_dump_tests::mapped_frame_dump_distinguishes_dark_bright_and_undecoded_content,xaudio2::tests::xma2_source_voice_decodes_and_manages_lifetime, plus 4 counted under the memory/atomics groups above.crash/abort (31) — mostly need retail sample data
Most of the "crash" bucket are survey/bench/census/dump/timing tests that read
XCL_SAMPLE_*files I did not provide (retail_translation_survey,retail_ps_gallery,retail_shader_cost,dump_retail_interfaces,isa_coverage,repeated_pso_shader_compile,blob_dxc_cost,*_timing, …), so they abort without inputs rather than being regressions. Non-sample ones worth a look:config::tests::pls_drive_is_the_mount_onto_the_pls_folder,tls::tests::carrier_variants_probe,hle::d3d12x::bind::tests::create_list_reset_and_clear_state_track_initial_pso_on_d3d12,gpu::desc::tests::decodes_tsharp,gpu::dxil::graphics::tests::emitted_vs_ps_draw_a_triangle.stuck (14, all GPU, >12 s cap)
Long DXC/pipeline compiles and the graphics draw/rect-list family (
gpu::dxil::core_tests::*,graphics::tests::*,gpu_rect_list_*,gpu_wave64_*) — same ones the M3 run flags as stuck; the 12 s cap is likely too low for some.Retail title (stall-watchdog,
+0x2237178)An unpacked retail Scarlett title (
game_scarlett_master.exe) through a Stage-6.1 prebuilt binary: XCL initialises fully (587 imports, 0 unresolved; XGameRuntime/XSystem/XNetworking up;ID3D12Device14via D3DMetal; UMA + GameInput), then the title's own stall-watchdog fires at+0x2237178(0x80000003, nullthisvtable) before the first present (presents: 0). The coherent UMA window overflows 4 GiB (title asks ~4530 MiB, window caps at 4095 MiB) becauseOpenExistingHeapFromAddressis unsupported on D3DMetal. Same watchdog as #232; PRs #203 / #267 / #214 look relevant and are not in the prebuilt I used.Not covered: no Windows run (no MSVC /
smoke.ps1pair); no game-file run beyond the Stage-6.1 prebuilt; GPU tests capped at 12 s; single run (no re-run of the stuck/crash set).Tests: GPU tests of 64-bit atomics skip where those atomics write not…
Tests: the UMA import check test skips where D3D12 has no heaps over …
Tests: GPU UMA tests skip where D3D12 has no heaps over process memory
Recompiler: split 64-bit atomics into 32-bit ones where the host drop…
PE loader: under Rosetta 2 a title's masked stores call resumable hel…
us3r40456 commentedon Nov 25, 2026
Follow-up to my M5 Pro run above — a reproducible
+0x2237178crash with the retail title, on the full Mac config, that I can't get past and haven't seen reported here.Machine: MacBook Pro M5 Pro, 24 GB, macOS 27.2.1, Rosetta 2; CrossOver 26.3 (Wine 11.0), D3DMetal; DXC 1.9.2609.5. The adapter reports "AMD Compatibility Mode (18186 MiB VRAM)", wave 32/32, SM 6.6.
Build:
mac7(Ahmet-Dedeler/xcl) atdbd9d09with #615 merged in (clean,584e213). Cross-built forx86_64-pc-windows-msvcwith cargo-xwin (clang-cl / lld-link 23.1.6, xwin SDK). I also builtx86_64-pc-windows-gnu(mingw) — same result.Title: an unpacked retail Scarlett title,
game_scarlett_master.exe, run throughwine --bottle xcl,XCL_NETWORK=0, from a read-only folder onZ:.Result: a deterministic crash at
game_scarlett_master.exe+0x2237178(0x80000003, nullthisvtable at+0x677c997), ~6 s in, before the first present (presents: 0). It does not move with any of:windows-msvc(cargo-xwin),windows-gnu(mingw)device_typeanaconda(Series X),lockhart(Series S)XCL_BACKGROUNDXCL_DXC_THREADSIt is a different address from the
+0x2478b96the Stage 6.1 notes fixed for this same exe.Cross-confirmed on VIctory. The same dump of this exe, run through VIctory-macOS (pragyaangaur's port, latest build) under the same CrossOver 26.3 + D3DMetal, int3s at the identical game offset —
victory-image…dll+0x2237178,0x80000003, ~3 s in, right after the same GameInput enumeration — with--console series-sand both--unimplemented trapand--unimplemented zero. So this is almost certainly a property of this particular game dump, not of either layer: both loaders bind imports and reach the same point, then the title's own code asserts. For reference the title reportsTitleID 00000000,xbox.id = …0001at the crash (zeroed license/title identity).What it crashes right after — this is init, not a pipeline stall (we never get to shaders):
report.json: 587 imports, 0 unresolved;called_stubsempty;xgameruntime.unimplemented: {};shaders.submitted: 0;d3d12.presents: 0. So nothing is recorded as a stubbed/unimplemented call before it goes.Questions for anyone with the symbols:
game_scarlett_master.exe? If so, does+0x2237178ring a bell as an assert, and is it gated on Gaming Services being installed (a realSystem32\xgameruntime.dll) rather than XCL's fallback?unimplementedcall, yet the title int3s one virtual call afterGameInputCreate/ the XGameRuntime init. Is there an XGameRuntime or GameInput return the title hard-asserts on when Gaming Services is absent?report.json,xcl.log, a+0x2237178disassembly,XCL_DRED=1, etc.) on this M5 Pro / 24 GB machine.AI use: Claude Code (Claude Opus 4.8) built the trees, made the runs and drafted this; I reviewed it.
us3r40456 commentedon Nov 25, 2026
Breakthrough on the
+0x2237178crash I reported above: it was the dump layout, not the layer.The dump I was testing had each package in its own subfolder (
appdata0/appdata0.rpf,core_bvh4/core_bvh4.rpf, … — 101 of them). The title can't find its startup archives that way, so it asserts at+0x2237178right after the GameInput enumeration, before a single frame. Both XCL (mac7) and VIctory hit the identical offset on this dump, which is what put me onto "not the layer".Flattening the dump — symlink each
<name>/<file>togame_dir/<file>soappdata0.rpf,MicrosoftGame.Config, the DLLs and every.rpf/.ttpfsit at the root — gets straight past it. On VIctorymain(Series S, D3DMetal / GPTK 4.0b3, M5 Pro) it then presents 64 frames with up to 32 draws before a new assert at+0x1dac734(swapchain still black, like pragyaangaur/VIctory-macOS#15). Currentmainalready gives the useful hint here —Cannot read startup archive …\appdata0.rpf— whereas the older build just crashed silently.Full write-up and logs, Mac side: pragyaangaur/VIctory-macOS#24.
@Ahmet-Dedeler this might explain some "dies before the menu / first-run" reports where the title gives nothing — worth checking the reporter's dump isn't one-archive-per-subfolder. And for anyone on a flat dump: do you also reach
+0x1dac734after the first frames, or get further?shortside commentedon Nov 25, 2026
Loading on a 24 GB Mac: the crawl is video memory for texture levels the title has not loaded. A fix on
mac7, and two other findings.@Ahmet-Dedeler @us3r40456: follow-up to my 24 GB report above. Same machine (M5 Pro, 24 GB, macOS 27.2.1, CrossOver 26.3, D3DMetal),
mac7dbd9d09with #615 merged in,device_type = "lockhart",raytracing = "off", a warm data root, the same scripted pad presses in every run.1. What the crawl is. After the loading burst the title shows about 2 frames per 30 s. During that time macOS compresses and decompresses 2–4 GB of memory per second (under 0.1 GB/s before), and wired memory swings between 10 and 20.6 GB. Every piece of queue work gets slow, including XCL's own small sparse uploads (under 1 ms before, 1–2 s then).
2. Why. A census of the title textures kept in step: about 22,000 textures standing for 7.9 GB, of which 1.3 GB has memory behind it. The rest is levels the title has not mapped yet. Committed textures take video memory for all of it, and on this host that is wired memory. A standalone check on D3DMetal: 400 BC7 2048² textures with only level 2 written wire about 2.6 GB as committed textures and about 0.6 GB (mostly the process itself) as reserved textures with the two largest levels unmapped. Reserved textures with unmapped levels upload and read back correctly there for BC1/3/4/5/6H/7, R8, RGBA8 and RGBA16F from 128² to 4096².
3. The fix. Branch
d3d12x/streamed-texture-level-tileson my fork, one commit onmac7(2d6cc2e, 378 lines with its test): on a native host a streamed 2D texture of 512 pixels and up is a reserved resource of its own, and a level's tiles are mapped when an upload first has texels for it.XCL_TEXTURE_LEVEL_TILES=0turns it off. Each texture has its own tiles, so it does not depend on tile aliasing.Not done in it: a level the title unloads keeps its tiles until the texture is released; arrays, cubes and volumes stay committed. An
xcl-smokepair shows nothing for this on my machine, because a fresh data root does not get past the first-run page without input; the numbers above are from my own scripted runs, made with a local build that has this code plus timing and logging of mine. I have not yet repeated them on the clean branch.4. A crash in XCL's texture read on this host.
TitleMemory::readcopies directly on a Mac, and a page the title decommits mid-copy ends the process (access violation inmemcpy, about one loading run in ten here, more withXCL_GPU_PAGE_MAPPINGS=0). Branchd3d12x/native-host-tolerant-texture-read, one commit onmac7(cbf3b06, 198 lines with two tests): the copy there is a leaf routine that a vectored handler can end early, so unreadable pages are left out as on other hosts.5. Garbage reads with queue page mappings. With the default settings the title crashed in three runs out of three between 158 and 169 s, reading garbage out of its streaming pool's CPU view (once clearly texture bytes where it expected a record). With
XCL_GPU_PAGE_MAPPINGS=0that did not happen in any run, and loading went on to 6,000–7,000 frames. I have not found the cause.Tested: the new unit tests under CrossOver on this machine; the scripted runs above. Not tested: Windows, any other title, the whole test suite.
Happy to open these as PRs against whichever branch suits you, or you can take the commits as they are.
AI use: Claude Code with Claude Fable 5.2 ran the measurements, wrote both commits and this comment on my machine.
shortside commentedon Nov 25, 2026
Follow-up to my comment above: the numbers repeated on the clean branches, one correction, one more commit, and the cause of point 5.
Same machine and setup. Build:
mac7dbd9d09+ #615 +d3d12x/streamed-texture-level-tiles(2d6cc2e) +d3d12x/native-host-tolerant-texture-read(1d2d527), nothing else. Three scripted runs of 330 s:XCL_GPU_PAGE_MAPPINGS=0XCL_GPU_PAGE_MAPPINGS=0After the loading burst the title showed 22–29 fps in runs 2 and 3. Memory compression averaged 0.15–0.42 GB/s after 110 s, against 2–4 GB/s without the change.
Correction: I wrote "swap used 2–3 GB" with the change. In these runs swap peaked at 5.1–6.7 GB. Some of that may be left over from the run before (they ran back to back), but I cannot separate the two, so read the swap row of my table as "lower than before", not as a figure.
One more commit on the tolerant-read branch (
1d2d527; the branch is now 233 lines): the first clean run withXCL_GPU_PAGE_MAPPINGS=0ended at 47 s inmemory_hash_in, which read the title's memory in place as well. On a Mac it now hashes through the same copy, 64 KiB at a time, with the hash unchanged. The 19title_texturestests pass under CrossOver, and runs 2 and 3 above are with it.Point 5 has its cause: it is #1405.
mac7is older than that PR. With its change ported by hand, the garbage reads did not happen in 3 of 3 runs at default settings (3 of 6 without), and each run logged 16,384 or more page lists rewritten after enqueue.XCL_GPU_PAGE_MAPPINGS=0only avoided it. Test report on the PR: #1405 (comment)Where the runs stop now is not memory and not these branches: at world entry the title submits a frame with compute work from
XboxBvhBuilder.dll(18 small dispatches, then four 1x1x1 ones), and the queue never finishes it; the title ends itself about 30 s later. Skipping the four programs involved, one at a time, puts it on one of them: a[numthreads(1024,1,1)]program whoses_barriers becomexcl_s_barrieron this GPU (wave 32). WithXCL_SAFE_BARRIER=0the queue does not hang, and the title then crashes reading the same garbage value as when that program is skipped, so its output is wrong or empty in that form. I have the four console blobs and their translations locally and can run whatever would help whoever knows the split-wave64 code.AI use: Claude Code with Claude Fable 5.2 ran the runs, wrote the commit and this comment on my machine.
vakaobr commentedon Nov 25, 2026
@Ahmet-Dedeler, a memory-status bug on
mainthat yourmac7branch carries unchanged:process_private_bytes(crates/xcl/src/hle/kernelx.rs:787on mac7) takesPrivateUsagefromK32GetProcessMemoryInfoand falls back toPagefileUsagewhen it is 0.TitleMemoryStatus(kernelx.rs:802,used = process_private_bytes().min(total)at :808,avail = total - used) andXMemGetWorkingSetStatistics(kernelx.rs:732, :739) both use it. mac7 has no override: the only change around it is the configurable budget (title_memory_budget_mb,config.rs:117), which setstotal, notused. The activity log's commit figure (host.rs:57) readsPrivateUsagedirectly.Under CrossOver 26.3 / Wine 11.0 on macOS I measured with a probe:
PrivateUsageis always 0 (Wine returns cb = 72), andPagefileUsageis a near-constant ~42 GB that does not move with commits (it looks like the virtual size). Only aVirtualQuerysum ofMEM_COMMIT+MEM_PRIVATEregions follows commits (+256 MB on a 256 MB commit, back on free). Sousedis clamped to the budget and a title on a Mac is told it has 0 bytes of title memory available.I posted a fix on #1097 (#1097 (comment)). The Mac half: when
PrivateUsageis 0 and the host is not Linux, use theVirtualQuerysum, both forprocess_private_bytesand for the activity log, with a test that a 256 MB commit shows up. The code is the same on mac7, so it should apply there as is. This is narrower than the loading-memory item in your notes: I only know the title sees no available memory; I have not checked whether fixing it changes how it streams.AI use: Claude Code. Claude Opus 5.5 checked the code paths and wrote this note; the counter measurements came from a probe run by a Claude Opus 5.5 agent on this machine.
vakaobr commentedon Nov 25, 2026
@Ahmet-Dedeler @shortside I stacked the open Mac fixes on top of
mac7in one branch, so they can be tested together on a Mac: https://github.com/vakaobr/xcl/tree/mac/integration (head1f9eebe). It's for testing, not for merging; each part has or will get its own PR.What's in it, on top of
mac7(dbd9d09)d3d12x/streamed-texture-level-tilesandd3d12x/native-host-tolerant-texture-readmac7's sparse state: a copy back after a submission doesn't wait for the title's queue. It replaces D3D12.X: sparse readbacks don't wait for a queue held by a later signal #433, which its author closed in favour of D3D12.X: a copy back after a submission does not wait for the title #1993.XCL_SAFE_BARRIER, so changing it no longer reuses shaders cached without it (Shaders: translations made with XCL_SAFE_BARRIER=0 are cached and reused by later runs #1409). On a Mac the tag follows the Mac's default. Edited: this first said it fixed three more switches; those are already incache_allowedonmainand never reuse a cached shader. Formain, Shaders: XCL_SAFE_BARRIER turns the translation caches off (#1409) #1413 fixes Shaders: translations made with XCL_SAFE_BARRIER=0 are cached and reused by later runs #1409 the same way as those and came first.kernelx: the process's commit comes fromVirtualQuerywhen Wine reportsPrivateUsageas 0s_barrieris the native group barrier by default (XCL_SAFE_BARRIER=1brings back the spin barrier). On D3DMetal, in a 1024-thread group, the waves spinning in the emulated barrier starve the one still working until the spin gives up, and then threads read LDS too early. The native barrier was correct in every case I tried, including exited waves and LDS exchange across the two halves.@shortside about the wrong output you saw with
XCL_SAFE_BARRIER=0: onmainthe translated cache doesn't key on that switch, so that run could have reused the spin-barrier shaders an earlier run cached. A rerun withXCL_TRANSLATED_CACHE=0, or on this branch, rules that out.Tested (MacBook Pro M5 Pro, macOS 27.2.1, CrossOver 26.3.0, D3DMetal 3.0, Rust 1.100.0
x86_64-pc-windows-gnu, debug, DXC 1.9.2609, every test in its own process, at1f9eebe)cargo test --workspacebuilt forx86_64-pc-windows-gnu, all 16 test binaries: 763 passed, 17 failed, 9 timed out (90 s for GPU tests, 180 s for the rest), 12 SKIPPED, 45 ignored. The lib alone: 724 passed, 14 failed, 8 timed out, 11 SKIPPED, 23 ignored.gpu_f64_*and a few others), pixel-shader draws that time out (gpu_rect_list_*,gpu_graphics_vs_ps_draw,gpu_wave64_ps_*),OpenExistingHeapFromAddress, one compositor frame dump,predication_e2e,pls_quotaand onegpu_compute_e2etest.e2ecrashes when it exits:ntdll.dll+0x38d55, a write to address 0, fromucrtbase.dllinxcl_testtitle.exe. It does that on every tree I ran today, before any of these changes too, so it isn't from this branch. I'm looking at it next.SKIPPED: no WARP device(CrossOver has no WARP adapter). With a local change that falls back to the D3DMetal adapter they pass 4 of 4; that change is not in the branch.Not tested: a title, Windows, a release build of the tests.
To try it on a Mac: build with
cargo build --release -p xcl --target x86_64-pc-windows-gnu, setXCL_DXC_DIRto a DXC 1.9bin\x64folder, and runxcl.exe run <game folder>throughwine --bottle <bottle>in a CrossOver bottle with D3DMetal on. If something breaks,logs\xcl.logandlogs\report.jsonunder%LOCALAPPDATA%\XCL\<title>\in the bottle are what helps, plus theCRASH:line it prints at exit.AI use: Claude Code with Claude Opus 5.5 ported #1405 and #1993 onto
mac7, wrote my three commits and #2327, ran the tests, and wrote this comment.Ahmet-Dedeler commentedon Nov 25, 2026
@vakaobr opened it: #2445, the ring from
fd1e593on currentmain, as a draft stacked on #1789. The bottom commit is your #1789 rebased ontomain(its base predates ares_releasechange the ring builds on), authorship kept. Your host-thread part (no hostReleaseat all on a host thread) is not in it, so it can go on top as you planned.What changed against
mac7while porting:1de6f68's main point is already onmain: D3D12.X: a buffer's last release does not wait for the sparse state's lock #1981 (merged today) makessparse::forget_bufferonly try the lock and queue the rest, so the re-entry case from my retail runs no longer waits there. Your 21:06 note thatmainstill takes that lock unconditionally predates it. D3D12.X: decommit released sparse blocks outside the driver callback #789 covers thefree_at_releasehalf, so I left both out.class_foralready callsmodule_ofon the table's first method, and when that is 0 it setsNATIVE_HOSTonce and starts the late-release thread on the adopting thread. One thing I noticed on this Mac: XCL's own device goes throughd3d12.dll(a PE module), but resources, queues, lists and fences are at addresses in no module, so the flag gets set at the first of those.late_release::holdwaits for the late-release lock, anddrain_knownkeeps that lock while it signals the queues. AReleasethat arrives inside that signal on the same thread would wait for good. I have a small fix with a test that holds the lock from another thread, but I haven't seen it happen in a run, so I'm not opening it unless one of us does.Also, for the mingw cross-build ivall asked for first: #2442 is the page on building with mingw-w64 and running under CrossOver (docs only,
mainbuilds without a change), withmain's suite counts on this host.shortside commentedon Nov 25, 2026
@vakaobr thanks for stacking these. I ran the retail title on
mac/integrationat5f9a58fthree times on my 24 GB machine. Short version: it gets further than anything I had, one of your commits brings the texture memory back, and the queue still stops right after the first world frames.Setup: MacBook Pro M5 Pro, 24 GB, macOS 27.2.1, CrossOver 26.3, D3DMetal; release build for
x86_64-pc-windows-msvc, DXC 1.9.2609.device_type = "lockhart",raytracing = "off", a warm data root, the same scripted pad presses, 330 s cap. I stop a run when wired memory reaches 17 GB or swap grows by 5 GB, because a run froze this machine earlier today.XCL_VRAM_ARENAS=1game_scarlett_master.exe+0x23cf683ends it at 192 s, with 64 compute pipelines built in betweenXCL_VRAM_ARENAS=1 XCL_PSO_WAIT_MS=501. Sampled textures on shared pages (
6a78ce4) undoes the level-by-level memory on a Mac. As I read it, my level tiles only take a texture whenplace_pagesgives nothing, and withsampled_on_pagestrue on a Mac it no longer does, so those textures have pages under every level again. At the same point in loading (about 80 s) my earlier builds with the two branches were at 12.3 – 14.0 GB wired and run 2 was at 12.6 GB; run 1 was at 16.5 GB. On 24 GB that is the difference between loading and swapping. Either #2306's level pages (now onmain) on that path, or leaving it off by default on a Mac until then, would keep both.2. Run 3 is the furthest I have seen. Presents go on until about 190 s, then nothing for 30 s while the world is set up, then two frames between 221 and 226 s with 2,533 and 6,044 dispatches and 74 and 222 draws in their 2 s windows (my screen went from black to one flat colour there, nothing recognisable). Then at 229 s:
four of those at once, then
writes after the GPU … although their queue had not got there after 10000 msevery 10 – 20 s, no further present, andD3D12 queue drain: GPU fences still pending after 10 sat exit. The title's stall watchdog fired three times after that and was skipped each time. In run 2, withoutXCL_PSO_WAIT_MS, the stall crash at+0x23cf683was not skipped and ended the process; I have not checked whether the three skipped ones are the same site.3. Your question about
XCL_SAFE_BARRIER=0. You may well be right that my wrong output came from cached spin-barrier shaders: that run reused a warm data root. On your branch, with the native barrier as the default, the queue no longer hangs at world entry the way it did for me onmac7; it gets through the set-up and two frames first. I cannot tell you whether the compute output is right, because nothing recognisable was drawn, and I do not know yet which piece of work the queue stops on at 229 s.Not tested: more than one run per configuration; the default configuration past 82 s; which dispatch or draw hangs the queue; Windows.
AI use: Claude Code with Claude Fable 5.2 built the branch, ran the three runs on my machine, read the logs and wrote this comment.