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

Open
github-bot wants to merge 1 commit from github-bot/gh-785 into main AGit
Owner

@⁠hugo0024 on GitHub · 2026-11-24 13:48 UTC · original
hugo0024:gpu-apple-m5 → main · +54 −0 · 2 files · 1 commits · open

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

**@⁠hugo0024** on GitHub · 2026-11-24 13:48 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/785) `hugo0024:gpu-apple-m5` → `main` · +54 −0 · 2 files · 1 commits · open Claimed in the coordination issue as: GPU-M5 ([claim](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14)) 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)
A record for the base Apple M5 (8-core GPU), the second Apple chip after
the M5 Pro, with its row in docs/gpu_test_results.md.

build.py 281/281, check.py 175/220 (39 skipped, 6 failed),
run_gpu_tests.py 185/249 native (61 skipped, 3 failed) and 215/249 with
LEONIDA_W64_EMULATE=1 (30 skipped, 4 failed), ctest 72/72. Two full
passes gave the same counts. The failures are the ones the M5 Pro record
has: cs_fma_fused, cs_imgload_tfe, cs_imgload_d16_tfe and the
intermittent ps_imgatomic.

Synthetic fixtures only, no game files.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:21:21 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/785/head:github-bot/gh-785'
git switch 'github-bot/gh-785'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-785'
git switch 'github-bot/gh-785'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-785'
git switch 'github-bot/gh-785'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-785'
git switch 'main'
git merge --squash 'github-bot/gh-785'
git switch 'main'
git merge --ff-only 'github-bot/gh-785'
git switch 'main'
git merge 'github-bot/gh-785'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.