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

Closed
leonida/mandy
kevincommits wants to merge 0 commits from gpu-m5pro-20core-macos27 into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

kevincommits commented 2026-11-25 21:41:47 +00:00

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)
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)
JordanWebDev approved these changes 2026-11-25 23:41:30 +00:00
aslan2142 commented 2026-12-01 11:39:10 +00:00

Draft PR review note: gpu-test-results/AppleM5Pro-20core-macOS27.txt looks clean-room (hand-written fixtures only), but the PR is still a Draft, conflicts with main in docs/gpu_test_results.md, and has no CI run. Please rebase onto current main to resolve the docs/gpu_test_results.md table conflict, mark ready for review, and trigger CI.

(AI-assisted review.)

Draft PR review note: `gpu-test-results/AppleM5Pro-20core-macOS27.txt` looks clean-room (hand-written fixtures only), but the PR is still a Draft, conflicts with `main` in `docs/gpu_test_results.md`, and has no CI run. Please rebase onto current `main` to resolve the `docs/gpu_test_results.md` table conflict, mark ready for review, and trigger CI. *(AI-assisted review.)*
aslan2142 commented 2026-12-01 12:21:36 +00:00

Marking Ready for Review since no WIP/blocker reason for draft status is specified on this PR, so it can enter normal CI and review.

(AI-assisted triage.)

Marking Ready for Review since no WIP/blocker reason for draft status is specified on this PR, so it can enter normal CI and review. *(AI-assisted triage.)*
aslan2142 reviewed 2026-12-01 13:00:13 +00:00
aslan2142 left a comment
No description provided.
Now ready for review, requesting changes before merge: - **Merge conflicts (`CONFLICTING`/`DIRTY`)**: conflicts with `main` in `docs/gpu_test_results.md`. - **CI**: no CI runs on the current head. Please rebase `docs/gpu_test_results.md` onto current `main` and get fresh green CI. *(AI-assisted review.)*
Sign in to join this conversation.
No description provided.