gpu-test-results: Apple M5 on MoltenVK 1.4.2 (macOS 27.2.1) at 47c651174 (GPU-M5) #785

Merged
hugo0024 merged 1 commit from upstream-pr/785 into main 2026-11-28 09:13:15 +00:00
hugo0024 commented 2026-11-24 13:48:17 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by hugo0024 on 2026-11-24T13:48:17Z.


Claimed in the coordination issue as: GPU-M5 (claim)

Depends on: #564 (conflict only: both add a row after the Apple M5 Pro row of docs/gpu_test_results.md; nothing here needs it)

What and why

Adds a GPU test record for the base Apple M5: gpu-test-results/AppleM5.txt and its row in docs/gpu_test_results.md. The only Apple record on main is the M5 Pro (#552). This is a second chip, on a newer macOS, and it fails the same four tests. Everything is from the repository's synthetic fixtures; no game files.

GPU Apple M5 (8-core GPU, Metal 4), 16 GB unified memory
Driver MoltenVK 1.4.2 (Homebrew), Vulkan 1.4.357, subgroup 4..32
OS macOS 27.2.1 (26B131), arm64
Commit 47c651174 (main)
Tools llvm-mc 23.1.6 (Homebrew, AMDGPU), SPIRV-Tools v2026.4, Apple clang 21.0.0, CMake 4.5.1, Python 3.14.7

Tested

Two full passes on this GPU gave the same counts and the same failures:

Script Result
build.py 281/281 translated and valid
check.py 175/220 pass, 39 skipped, 6 failed
run_gpu_tests.py 185/249 passed, 61 skipped, 3 failed
run_gpu_tests.py, LEONIDA_W64_EMULATE=1 215/249 passed, 30 skipped, 4 failed
ctest 72/72 passed, 2 skipped

Failures, none new:

  • cs_fma_fused: word 7 reads 0x00000000, want 0x00007351. It is the MoltenVK 1.4.2 row of docs/testing.md and in the macOS job's EXPECTED_FAILURES.
  • cs_imgload_tfe and cs_imgload_d16_tfe: texel(5,3) = 2071 where 71 is expected (#31; #291 was not applied here).
  • ps_imgatomic: intermittent. 12 of 20 single native runs fail with 1 to 5 of 256 image-atomic texels wrong, the render target exact. #543 measured 11 of 20 on the M5 Pro.
  • check.py only: ps_ij_computed and ps_interp_f16_high, because the device has no PerVertexKHR inputs. run_gpu_tests.py passes the second with its f16 interpolation fallback and skips the first.

With LEONIDA_W64_EMULATE=1 all 31 wave64 compute tests run and pass.

The change itself is two documentation files: tests/test_docs_*.py and tests/test_i18n_index.py pass before and after (13 files), and scripts/check_no_game_data.py passes on both files.

GPUs tested: Apple M5 (8-core GPU), MoltenVK 1.4.2, macOS 27.2.1 (26B131)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5473388091 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/785). Originally posted by [hugo0024](https://github.com/hugo0024) on 2026-11-24T13:48:17Z. --- Claimed in the coordination issue as: GPU-M5 ([claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133176752)) Depends on: #564 (conflict only: both add a row after the Apple M5 Pro row of `docs/gpu_test_results.md`; nothing here needs it) ### What and why Adds a GPU test record for the base Apple M5: `gpu-test-results/AppleM5.txt` and its row in `docs/gpu_test_results.md`. The only Apple record on `main` is the M5 Pro (#552). This is a second chip, on a newer macOS, and it fails the same four tests. Everything is from the repository's synthetic fixtures; no game files. | | | |---|---| | GPU | Apple M5 (8-core GPU, Metal 4), 16 GB unified memory | | Driver | MoltenVK 1.4.2 (Homebrew), Vulkan 1.4.357, subgroup 4..32 | | OS | macOS 27.2.1 (26B131), arm64 | | Commit | `47c651174` (main) | | Tools | llvm-mc 23.1.6 (Homebrew, AMDGPU), SPIRV-Tools v2026.4, Apple clang 21.0.0, CMake 4.5.1, Python 3.14.7 | ### Tested Two full passes on this GPU gave the same counts and the same failures: | Script | Result | |---|---| | `build.py` | 281/281 translated and valid | | `check.py` | 175/220 pass, 39 skipped, 6 failed | | `run_gpu_tests.py` | 185/249 passed, 61 skipped, 3 failed | | `run_gpu_tests.py`, `LEONIDA_W64_EMULATE=1` | 215/249 passed, 30 skipped, 4 failed | | `ctest` | 72/72 passed, 2 skipped | Failures, none new: - `cs_fma_fused`: word 7 reads `0x00000000`, want `0x00007351`. It is the MoltenVK 1.4.2 row of `docs/testing.md` and in the macOS job's `EXPECTED_FAILURES`. - `cs_imgload_tfe` and `cs_imgload_d16_tfe`: `texel(5,3) = 2071` where 71 is expected (#31; #291 was not applied here). - `ps_imgatomic`: intermittent. 12 of 20 single native runs fail with 1 to 5 of 256 image-atomic texels wrong, the render target exact. #543 measured 11 of 20 on the M5 Pro. - `check.py` only: `ps_ij_computed` and `ps_interp_f16_high`, because the device has no PerVertexKHR inputs. `run_gpu_tests.py` passes the second with its f16 interpolation fallback and skips the first. With `LEONIDA_W64_EMULATE=1` all 31 wave64 compute tests run and pass. The change itself is two documentation files: `tests/test_docs_*.py` and `tests/test_i18n_index.py` pass before and after (13 files), and `scripts/check_no_game_data.py` passes on both files. GPUs tested: Apple M5 (8-core GPU), MoltenVK 1.4.2, macOS 27.2.1 (26B131) AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
DadaCap commented 2026-11-28 09:13:35 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-28T09:13:35Z.


Thanks for the record! It is now on main through #2568, which combined 17 GPU test record PRs to avoid 17 conflicting edits of the shared table in docs/gpu_test_results.md. #2568 was merged with a merge commit, so your own commits are kept in the history under your name. Closing this one as done.

AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7237099603 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/785#issuecomment-7237099603). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-28T09:13:35Z. --- Thanks for the record! It is now on main through #2568, which combined 17 GPU test record PRs to avoid 17 conflicting edits of the shared table in `docs/gpu_test_results.md`. #2568 was merged with a merge commit, so your own commits are kept in the history under your name. Closing this one as done. AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.
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!785
No description provided.