macOS (CrossOver + D3DMetal): known host limits and open PRs #3532
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 vakaobr on 2026-11-30T15:30:04Z.
Mac work on XCL is spread over #258 (one retail title), #42 (test results) and many PRs. This issue collects it in one place: what the Mac host does differently, which open PRs address it, and what is still unexplained. Test results on a Mac still go to #42, and #258 stays about its title. I will keep this description up to date; corrections and additions are welcome in the comments.
Setup most of us use
x86_64-pc-windows-gnuorx86_64-pc-windows-gnullvm(#783 builds the latter in CI on a macOS runner).XCL_DXC_DIRat a Windows DXC (for exampleZ:\...\bin\x64) both when building and when running the tests. Without it at run time, the direct DXIL validator fails withdxcompiler.dll not found.<lib test exe> --exact <test> --test-threads=1). When a timeout killswine, the Windows test process keeps running; end it yourself before the next run.CreatePlacedResourceXcalls in 2.4 s restarted macOS WindowServer and logged me out.Known host limits
AtomicInt64On*Supportedcap reads 1*_X2atomics are lost with the rest of their programDoublePrecisionFloatShaderOpsis 0; f64 instructions give wrong results, and a program with any f64 instruction loses its other results tooUMulin some programs; the compile never returnsmainhang this way)OpenExistingHeapFromAddressfails on process memoryD3D12_FORMAT_SUPPORT2_TILEDis reported for no format; reserved textures on shared tiles read scrambled bytes unless block-compressed or made with unordered accessPrivateUsageis 0 under WineDwmGetWindowAttribute(DWMWA_CLOAKED)returnsE_NOTIMPLDLL_PROCESS_DETACHat exitreport.jsonis not rewritten when a title endsrosetta error: unexpectedly need to EmulateForward on a synchronous exception)^Ctyped in CrossOver's terminal reaches no process; closing the terminal kills everything with no reportOther open PRs that matter on a Mac
util::mac_host(), detecting a macOS host under Wine. #2402, #2492, #2363 and #3525 are stacked on it.Releaseon a thread XCL did not create is made on a Wine thread.Not explained yet
main9dfbe3e, the test title stops on a Mac after 31 checks: the cloaking check fails (#1462), then the run hangs in some tries and crashes with0xc0000005in others. On my fork'svakaobr/xclmac/integration, which carries most of the PRs above plus a few fork-only changes, it passes all 50 checks. I have not found which change makes the difference.gpu::dxil::ops_tests::groupshared_barrier_and_atomics_runfails on a Mac (ops_tests.rs:398), with or without #2363.What would help most
Nearly every PR above was tested only on a Mac. They need a Windows run of the whole suite and, for runtime changes,
scripts/smoke.ps1pairs before they can be merged. If you have a Windows GPU and some time, amerge-checkon any of them (see #3041) moves this further than anything else.AI use: Claude Code with Claude Opus 5.5 collected the issues and PRs and drafted this from my measurements and theirs. I checked it before posting.