[PR #2125] gpu-test-results: Apple M5 Pro 20-core GPU on MoltenVK 1.4.2 (macOS 27.2.1) at 24d8af66a (GPU-M5PRO-20CORE-MACOS27) #2130

Open
opened 2026-11-26 21:20:08 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2125
Author: @kevincommits
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: gpu-m5pro-20core-macos27


📝 Commits (1)

  • c02ba33 docs: GPU test results for Apple M5 Pro (20-core GPU, MoltenVK 1.4.2, macOS 27.2.1) at 24d8af66a

📊 Changes

2 files changed (+32 additions, -0 deletions)

View changed files

📝 docs/gpu_test_results.md (+1 -0)
➕ gpu-test-results/AppleM5Pro-20core-macOS27.txt (+31 -0)

📄 Description

Claimed in the coordination issue as: GPU-M5PRO-20CORE-MACOS27 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7175415336)

What and why

GPU test results for an Apple M5 Pro with the 20-core GPU, MoltenVK 1.4.2 from Homebrew, macOS 27.2.1 (26B131), at 24d8af66a. Adds gpu-test-results/AppleM5Pro-20core-macOS27.txt and a row in docs/gpu_test_results.md under the existing M5 Pro row. The existing M5 Pro record is the 16-core GPU on macOS 26.7.3 at d42773d07; it is left as it is.

  • run_gpu_tests.py: 196/267 passed, 69 skipped, 2 failed (native); 229/267 passed, 36 skipped, 2 failed with LEONIDA_W64_EMULATE=1.
  • ctest: 98/98 passed, 2 skipped (shader_library_corpus, vk_sync_validation).
  • build.py stops at cs_dpp_cmp.asm and writes no SPIR-V, the state #1444 fixes. #1444 was not applied, so check.py is not counted.

Failures, each 20 of 20 single runs with --filter:

  • cs_fma_fused: the known MoltenVK 1.4.2 row, already in the macOS job's EXPECTED_FAILURES.
  • cs_imgatomic_ext: 6 of 64 sint words differ, first word 32 reads 0x0badf00d, want 0x00000101. The same words as the M3 record; #1518 is the open fix (not applied here).

What differs from the other Mac records:

  • ps_ssharp passes: "8 S#/T# cases, 4096 pixels each exact" in both full runs and 20 of 20 single runs. It is in the macOS job's EXPECTED_FAILURES. MoltenVK is the same 1.4.2; the OS is newer (macOS 27.2.1). I did not find out why it passes here.
  • vk_overlapping_occlusion passes in ctest on this real device; it is in EXPECTED_FAILURES for the hosted runner.
  • cs_imgload_tfe and cs_imgload_d16_tfe pass; they failed in the 16-core record at d42773d07.
  • ps_imgatomic passed in both full runs and failed 2 of 20 single runs, the flake the 16-core record describes.

Tested

On the machine above: cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON, the build, ctest, scripts/run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, then 20 single runs each of ps_ssharp, ps_imgatomic, cs_imgatomic_ext and cs_fma_fused. llvm-mc 23.1.6, SPIRV-Tools v2026.4, Apple clang 21.0.0, Python 3.14.2.

Every standalone tests/test_*.py under python -I with the two files added: 509 run, 505 pass; the 4 that fail are the same 4 that fail on main.

No game files were used. Only counts and the test programs' own pass/fail lines are recorded.

GPUs tested: Apple M5 Pro (20-core GPU), MoltenVK 1.4.2, Vulkan 1.4.357, 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. (n/a: no translator change)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2125 **Author:** [@kevincommits](https://github.com/kevincommits) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `gpu-m5pro-20core-macos27` --- ### 📝 Commits (1) - [`c02ba33`](https://github.com/ubiquitarianism/leonida/commit/c02ba33d3a77bb1b8675c2ecb79dc0552bf51f10) docs: GPU test results for Apple M5 Pro (20-core GPU, MoltenVK 1.4.2, macOS 27.2.1) at 24d8af66a ### 📊 Changes **2 files changed** (+32 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/gpu_test_results.md` (+1 -0) ➕ `gpu-test-results/AppleM5Pro-20core-macOS27.txt` (+31 -0) </details> ### 📄 Description Claimed in the coordination issue as: GPU-M5PRO-20CORE-MACOS27 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7175415336) ### What and why GPU test results for an Apple M5 Pro with the 20-core GPU, MoltenVK 1.4.2 from Homebrew, macOS 27.2.1 (26B131), at `24d8af66a`. Adds `gpu-test-results/AppleM5Pro-20core-macOS27.txt` and a row in `docs/gpu_test_results.md` under the existing M5 Pro row. The existing M5 Pro record is the 16-core GPU on macOS 26.7.3 at `d42773d07`; it is left as it is. - `run_gpu_tests.py`: 196/267 passed, 69 skipped, 2 failed (native); 229/267 passed, 36 skipped, 2 failed with `LEONIDA_W64_EMULATE=1`. - `ctest`: 98/98 passed, 2 skipped (`shader_library_corpus`, `vk_sync_validation`). - `build.py` stops at `cs_dpp_cmp.asm` and writes no SPIR-V, the state #1444 fixes. #1444 was not applied, so `check.py` is not counted. Failures, each 20 of 20 single runs with `--filter`: - `cs_fma_fused`: the known MoltenVK 1.4.2 row, already in the macOS job's `EXPECTED_FAILURES`. - `cs_imgatomic_ext`: 6 of 64 sint words differ, first word 32 reads `0x0badf00d`, want `0x00000101`. The same words as the M3 record; #1518 is the open fix (not applied here). What differs from the other Mac records: - **`ps_ssharp` passes**: "8 S#/T# cases, 4096 pixels each exact" in both full runs and 20 of 20 single runs. It is in the macOS job's `EXPECTED_FAILURES`. MoltenVK is the same 1.4.2; the OS is newer (macOS 27.2.1). I did not find out why it passes here. - `vk_overlapping_occlusion` passes in ctest on this real device; it is in `EXPECTED_FAILURES` for the hosted runner. - `cs_imgload_tfe` and `cs_imgload_d16_tfe` pass; they failed in the 16-core record at `d42773d07`. - `ps_imgatomic` passed in both full runs and failed 2 of 20 single runs, the flake the 16-core record describes. ### Tested On the machine above: `cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON`, the build, `ctest`, `scripts/run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1`, then 20 single runs each of `ps_ssharp`, `ps_imgatomic`, `cs_imgatomic_ext` and `cs_fma_fused`. llvm-mc 23.1.6, SPIRV-Tools v2026.4, Apple clang 21.0.0, Python 3.14.2. Every standalone `tests/test_*.py` under `python -I` with the two files added: 509 run, 505 pass; the 4 that fail are the same 4 that fail on `main`. No game files were used. Only counts and the test programs' own pass/fail lines are recorded. GPUs tested: Apple M5 Pro (20-core GPU), MoltenVK 1.4.2, Vulkan 1.4.357, 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. (n/a: no translator change) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#2130
No description provided.