gpu-test-results: Apple M3 on MoltenVK 1.4.2 (macOS 26.5.1) at 626d1281a (GPU-M3) #1718

Merged
Tauwni merged 10 commits from upstream-pr/1718 into main 2026-11-28 04:21:52 +00:00
Tauwni commented 2026-11-25 09:32:22 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-25T09:32:22Z.


Claimed in the coordination issue as: GPU-M3 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158464859)

Update (31e8b01a6): results again at main a73a57e13

AppleM3.txt and its row are now at a73a57e13, for MoltenVK 1.4.2, KosmicKrisp and llvmpipe (Mesa 26.3.1), each native and with LEONIDA_W64_EMULATE=1:

Driver native LEONIDA_W64_EMULATE=1 check.py (with #1444)
MoltenVK 1.4.2 195/268, 3 failed 229/268, 3 failed 185/234, 5 failed
KosmicKrisp 190/268, 5 failed 224/268, 5 failed 179/234, 6 failed
llvmpipe 177/268, 1 failed 212/268, 1 failed 120/234, 1 failed

Also new in the file:

  • ctest: 106/108 on main (a fresh build stops at cs_null_descriptors.spv), 108/108 with #2096.
  • A whole-suite run under validation on MoltenVK (with #2178): nothing beyond the three messages docs/testing.md lists.
  • The fuzzers, and the DPP fixtures on a Mac.
  • The causes found since then. KosmicKrisp's failures come from its (NAN) constants (#2229) and its fast-math library mode (#1724). With two local Mesa patches, KosmicKrisp is down to cs_imgatomic_ext alone.

Every failure left has an open PR (#1724, #1774, #1518, #2176, #2229). The text below is the first version, at 626d1281a.


What and why

GPU test results for an Apple M3 (10-core GPU, subgroup 32), MoltenVK 1.4.2 from Homebrew, macOS 26.5.1 (25F80), at 626d1281a. Adds gpu-test-results/AppleM3.txt and a row in docs/gpu_test_results.md. There was no M3 entry yet.

  • run_gpu_tests.py: 192/263 passed, 68 skipped, 3 failed (native); 225/263 passed, 35 skipped, 3 failed with LEONIDA_W64_EMULATE=1.
  • check.py: 183/231 pass, 43 skipped, 5 failed. On main, build.py stops at cs_dpp_cmp.asm and writes no SPIR-V, so these counts are with #1444 (TEST-BUILD-TEXT-ONLY) applied locally, not committed here: 297/297 translated and valid.
  • ctest: 85/85 passed, 2 skipped.

Failures, each deterministic (4 full runs, then 20/20 with --filter, the same words every time):

  • cs_fma_fused: the known MoltenVK 1.4.2 row, already in the macOS job's EXPECTED_FAILURES.
  • ps_ssharp: already in EXPECTED_FAILURES (LOD bias on a Metal sampler); the same pixel as the M4 in #564.
  • cs_imgatomic_ext: 6 of 64 sint words still hold the swap row's initial 0x0badf00d (want 0x00000101). Not Mac-specific: the same on KosmicKrisp and llvmpipe here; it regressed at #939 and #1518 fixes it (tested on all three drivers, comment).
  • check.py only: ps_ij_computed and ps_interp_f16_high (no PerVertexKHR, as on the M5 Pro).

Also on KosmicKrisp (Mesa 26.3.1), same machine and test programs: 187/263 passed, 71 skipped, 5 failed (220/263 with LEONIDA_W64_EMULATE=1); ctest 85/85. Failures: cs_bvh, cs_bvh32 (the known KosmicKrisp row), cs_imgatomic_ext (#1518), and ps_cndmask_sign_mods, ps_valu16_mad_sel, which pass on MoltenVK and llvmpipe and look like the measured KosmicKrisp NaN canonicalization; neither is listed yet.

Open pull requests, each run here against the same test programs:

PR Result on this M3
#1444 build.py text-only fixtures build.py 297/297, check.py runs
#1518 cs_imgatomic_ext volume tag passes on MoltenVK, KosmicKrisp, llvmpipe
#1724 cs_fma_fused f16 at run time passes on MoltenVK 20/20; fails on KosmicKrisp 20/20 (0x7352, want 0x7351), which passes on main
#822 check.py f16 interpolation fallback ps_interp_f16_high ok, ps_ij_computed skipped with its reason
#1426 computed I/J under --bary-fallback no change on Mac (needs a geometry stage)
#1212 / #137 NaN-pattern constants in image_bvh cs_bvh, cs_bvh32 pass on KosmicKrisp and MoltenVK
#1774 --explicit-lod-bias (MoltenVK drops the sampler's LOD bias) ps_ssharp passes; with everything here merged, MoltenVK has no failure left

All of these together (on main 57ba40bd6, test programs rebuilt; #822 and #1444 conflict in build.py, resolution in #822's thread): MoltenVK leaves only ps_ssharp failing (194/263, check.py 186/231); KosmicKrisp leaves cs_fma_fused (from #1724), ps_cndmask_sign_mods, ps_valu16_mad_sel, and in check.py cs_fmt_all; ctest 88/88; translator suite 6292 tests, standard-library loop 499 files, pytest 1912 passed, all with 0 failures.

Tested

The runs above, on this machine. scripts/check_no_game_data.py, tests/test_docs_*.py and tests/test_i18n_index.py pass on this branch and on it merged into main 57ba40bd6 (no conflict). On that merge, on this Mac: scripts/run_semantic_tests.py tests/semantic 488 files, 6287 tests, 0 failed; the standard-library loop 498 files, 4 failed, the same 4 as on main without this branch (test_runner_calls_all_tests and test_tool_stdout_encoding pass with #1673, test_runtime_paths with #1657, test_mod_pack_output_alias with #1412); the pytest files 1908 passed, 18 skipped, 2 failed, both test_translate.py[cs_dpp_cmp.asm] as on main, and they pass with #1375. This branch only adds a text file and a table row.

GPUs tested: Apple M3 (10-core GPU), MoltenVK 1.4.2 and KosmicKrisp (Mesa 26.3.1), Vulkan 1.4.357, macOS 26.5.1 (25F80), arm64; llvmpipe (Mesa 26.3.1) for the cross-checks

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption.
  • No translator rule.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5488704785 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1718). Originally posted by [Tauwni](https://github.com/Tauwni) on 2026-11-25T09:32:22Z. --- Claimed in the coordination issue as: GPU-M3 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158464859) ## Update (`31e8b01a6`): results again at `main` `a73a57e13` `AppleM3.txt` and its row are now at `a73a57e13`, for MoltenVK 1.4.2, KosmicKrisp and llvmpipe (Mesa 26.3.1), each native and with `LEONIDA_W64_EMULATE=1`: | Driver | native | `LEONIDA_W64_EMULATE=1` | check.py (with #1444) | |---|---|---|---| | MoltenVK 1.4.2 | 195/268, 3 failed | 229/268, 3 failed | 185/234, 5 failed | | KosmicKrisp | 190/268, 5 failed | 224/268, 5 failed | 179/234, 6 failed | | llvmpipe | 177/268, 1 failed | 212/268, 1 failed | 120/234, 1 failed | Also new in the file: - `ctest`: 106/108 on `main` (a fresh build stops at `cs_null_descriptors.spv`), 108/108 with #2096. - A whole-suite run under validation on MoltenVK (with #2178): nothing beyond the three messages `docs/testing.md` lists. - The fuzzers, and the DPP fixtures on a Mac. - The causes found since then. KosmicKrisp's failures come from its `(NAN)` constants (#2229) and its fast-math library mode (#1724). With two local Mesa patches, KosmicKrisp is down to `cs_imgatomic_ext` alone. Every failure left has an open PR (#1724, #1774, #1518, #2176, #2229). The text below is the first version, at `626d1281a`. --- ### What and why GPU test results for an Apple M3 (10-core GPU, subgroup 32), MoltenVK 1.4.2 from Homebrew, macOS 26.5.1 (25F80), at `626d1281a`. Adds `gpu-test-results/AppleM3.txt` and a row in `docs/gpu_test_results.md`. There was no M3 entry yet. - `run_gpu_tests.py`: 192/263 passed, 68 skipped, 3 failed (native); 225/263 passed, 35 skipped, 3 failed with `LEONIDA_W64_EMULATE=1`. - `check.py`: 183/231 pass, 43 skipped, 5 failed. On `main`, `build.py` stops at `cs_dpp_cmp.asm` and writes no SPIR-V, so these counts are with #1444 (TEST-BUILD-TEXT-ONLY) applied locally, not committed here: 297/297 translated and valid. - `ctest`: 85/85 passed, 2 skipped. Failures, each deterministic (4 full runs, then 20/20 with `--filter`, the same words every time): - `cs_fma_fused`: the known MoltenVK 1.4.2 row, already in the macOS job's `EXPECTED_FAILURES`. - `ps_ssharp`: already in `EXPECTED_FAILURES` (LOD bias on a Metal sampler); the same pixel as the M4 in #564. - `cs_imgatomic_ext`: 6 of 64 sint words still hold the swap row's initial `0x0badf00d` (want `0x00000101`). Not Mac-specific: the same on KosmicKrisp and llvmpipe here; it regressed at #939 and #1518 fixes it (tested on all three drivers, [comment](https://github.com/ubiquitarianism/leonida/pull/1518#issuecomment-7159135586)). - check.py only: `ps_ij_computed` and `ps_interp_f16_high` (no PerVertexKHR, as on the M5 Pro). Also on **KosmicKrisp** (Mesa 26.3.1), same machine and test programs: 187/263 passed, 71 skipped, 5 failed (220/263 with `LEONIDA_W64_EMULATE=1`); ctest 85/85. Failures: `cs_bvh`, `cs_bvh32` (the known KosmicKrisp row), `cs_imgatomic_ext` (#1518), and `ps_cndmask_sign_mods`, `ps_valu16_mad_sel`, which pass on MoltenVK and llvmpipe and look like the measured KosmicKrisp NaN canonicalization; neither is listed yet. Open pull requests, each run here against the same test programs: | PR | Result on this M3 | |---|---| | #1444 build.py text-only fixtures | build.py 297/297, check.py runs | | #1518 cs_imgatomic_ext volume tag | passes on MoltenVK, KosmicKrisp, llvmpipe | | #1724 cs_fma_fused f16 at run time | passes on MoltenVK 20/20; **fails on KosmicKrisp** 20/20 (`0x7352`, want `0x7351`), which passes on `main` | | #822 check.py f16 interpolation fallback | `ps_interp_f16_high` ok, `ps_ij_computed` skipped with its reason | | #1426 computed I/J under --bary-fallback | no change on Mac (needs a geometry stage) | | #1212 / #137 NaN-pattern constants in image_bvh | `cs_bvh`, `cs_bvh32` pass on KosmicKrisp and MoltenVK | | #1774 `--explicit-lod-bias` (MoltenVK drops the sampler's LOD bias) | `ps_ssharp` passes; with everything here merged, MoltenVK has no failure left | **All of these together** (on `main` `57ba40bd6`, test programs rebuilt; #822 and #1444 conflict in `build.py`, resolution in #822's thread): MoltenVK leaves only `ps_ssharp` failing (194/263, check.py 186/231); KosmicKrisp leaves `cs_fma_fused` (from #1724), `ps_cndmask_sign_mods`, `ps_valu16_mad_sel`, and in check.py `cs_fmt_all`; ctest 88/88; translator suite 6292 tests, standard-library loop 499 files, pytest 1912 passed, all with 0 failures. ### Tested The runs above, on this machine. `scripts/check_no_game_data.py`, `tests/test_docs_*.py` and `tests/test_i18n_index.py` pass on this branch and on it merged into `main` `57ba40bd6` (no conflict). On that merge, on this Mac: `scripts/run_semantic_tests.py tests/semantic` 488 files, 6287 tests, 0 failed; the standard-library loop 498 files, 4 failed, the same 4 as on `main` without this branch (`test_runner_calls_all_tests` and `test_tool_stdout_encoding` pass with #1673, `test_runtime_paths` with #1657, `test_mod_pack_output_alias` with #1412); the pytest files 1908 passed, 18 skipped, 2 failed, both `test_translate.py[cs_dpp_cmp.asm]` as on `main`, and they pass with #1375. This branch only adds a text file and a table row. GPUs tested: Apple M3 (10-core GPU), MoltenVK 1.4.2 and KosmicKrisp (Mesa 26.3.1), Vulkan 1.4.357, macOS 26.5.1 (25F80), arm64; llvmpipe (Mesa 26.3.1) for the cross-checks AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption. - [x] No translator rule. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Tauwni commented 2026-11-26 13:39:07 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-26T13:39:07Z.


Updated to main a73a57e13 (31e8b01a6). AppleM3.txt and its row now cover:

  • MoltenVK, KosmicKrisp and llvmpipe, each native and with LEONIDA_W64_EMULATE=1;
  • check.py with #1444, and ctest (106/108 on main, 108/108 with #2096);
  • a whole-suite validation run (nothing beyond the three documented messages);
  • the fuzzers;
  • the causes found since: KosmicKrisp's (NAN) constants (#2229) and its fast-math library mode (#1724).

All failures left have an open PR. Counts and pass/fail lines only.

AI-assisted (Claude Code). No game data.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7193645887 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1718#issuecomment-7193645887). Originally posted by [Tauwni](https://github.com/Tauwni) on 2026-11-26T13:39:07Z. --- Updated to `main` `a73a57e13` (`31e8b01a6`). `AppleM3.txt` and its row now cover: - MoltenVK, KosmicKrisp and llvmpipe, each native and with `LEONIDA_W64_EMULATE=1`; - `check.py` with #1444, and `ctest` (106/108 on `main`, 108/108 with #2096); - a whole-suite validation run (nothing beyond the three documented messages); - the fuzzers; - the causes found since: KosmicKrisp's `(NAN)` constants (#2229) and its fast-math library mode (#1724). All failures left have an open PR. Counts and pass/fail lines only. AI-assisted (Claude Code). No game data.
Tauwni commented 2026-11-27 13:29:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-27T13:29:53Z.


The two red checks on this run don't come from this PR, which only adds gpu-test-results/AppleM3.txt and a row in docs/gpu_test_results.md:

  • macos-python: test_calibrated_texture_extra.py fails at test_export_file_replacement_failure_cleans_temporary_file (OSError not raised). That is a known red on main without numpy, fixed by #2101.
  • check: cancelled, not failed. The job stopped after 15 minutes inside the standard-library test step.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7219549392 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1718#issuecomment-7219549392). Originally posted by [Tauwni](https://github.com/Tauwni) on 2026-11-27T13:29:53Z. --- The two red checks on this run don't come from this PR, which only adds `gpu-test-results/AppleM3.txt` and a row in `docs/gpu_test_results.md`: - `macos-python`: `test_calibrated_texture_extra.py` fails at `test_export_file_replacement_failure_cleans_temporary_file` (`OSError not raised`). That is a known red on `main` without numpy, fixed by #2101. - `check`: cancelled, not failed. The job stopped after 15 minutes inside the standard-library test step. AI-assisted (Claude Code, Claude Opus 5.5).
DadaCap commented 2026-11-28 04:45:24 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-28T04:45:24Z.


Merged into main (merge commit ef8fbf09f), approved by DadaCap. Thanks for the GPU results on the Apple M3 (MoltenVK 1.4.2, macOS 26.5.1)!

Checked before merging:

  • the record was read and judged genuine (plausible GPU, driver and OS; counts consistent with the suite at that commit);
  • no duplicate of a record already on main or in another open pull request;
  • only result files touched (gpu-test-results/AppleM3.txt and docs/gpu_test_results.md);
  • the merge was pinned to the head commit that was checked.

AI-assisted (Claude Code), posted for DadaCap.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7234239608 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1718#issuecomment-7234239608). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-28T04:45:24Z. --- Merged into `main` (merge commit ef8fbf09f), approved by DadaCap. Thanks for the GPU results on the Apple M3 (MoltenVK 1.4.2, macOS 26.5.1)! Checked before merging: - the record was read and judged genuine (plausible GPU, driver and OS; counts consistent with the suite at that commit); - no duplicate of a record already on `main` or in another open pull request; - only result files touched (`gpu-test-results/AppleM3.txt` and `docs/gpu_test_results.md`); - the merge was pinned to the head commit that was checked. _AI-assisted (Claude Code), posted for DadaCap._
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1718
No description provided.