gpu-test-results: llvmpipe on arm64 Linux, 4-lane subgroups, no failures (GPU-LLVMPIPE-ARM64-LINUX) #1288

Manually merged
github merged 1 commit from gh-pr/1288/head into gh-pr/1288/base 2026-11-26 09:46:09 +00:00
Owner

@⁠PierreEbele on GitHub · 2026-11-24 21:17 UTC · original
PierreEbele:gpu-results-llvmpipe-arm64 → main · +52 −0 · 1 files · 1 commits · merged 2026-11-24 22:20 UTC

Claimed in the coordination issue as: GPU-LLVMPIPE-ARM64-LINUX

What and why

Adds gpu-test-results/llvmpipe-arm64-Linux.txt: a record of Mesa llvmpipe on arm64 (aarch64) Linux, with no GPU. As far as I can see there is no arm64 Linux record yet, and the CI runs llvmpipe only on x86-64. The main difference is the subgroup size: llvmpipe's 128-bit NEON vectors give 4 lanes on arm64, where x86-64 with AVX2 gives 8. All the extra skips come from that alone.

Tested

At main 6293c1c4f, in a Debian 13 aarch64 container with no network:

  • cmake -S runtime -B runtime/build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release plus the build: 165/165 steps, no warnings. ctest: 74/74 passed.
  • run_gpu_tests.py: 260/261 translated, all of them pass spirv-val.
    • native: 169/252 passed, 83 skipped, 0 failed
    • LEONIDA_W64_EMULATE=1 --filter cs_ (as in CI): 93/121 passed, 28 skipped, 0 failed
    • LEONIDA_BARY_FALLBACK=1: 173/252 passed, 79 skipped, 0 failed. All four shaders that got a fallback GS pass, which is the CI step's check.
  • I ran it twice, with two separate builds, and got the same counts.
  • run_semantic_tests.py tests/semantic: 6168 tests, one failure. spirv-opt -O from Debian's SPIRV-Tools v2025.1 on arm64 segfaults on the module in test_int32_to_f64. That is a crash in the optimizer tool, not the translator. The record notes it.
  • make_game.py --help and ./Build.sh --help exit 0.
  • scripts/check_no_game_data.py on the new file: clean.

GPUs tested: none. Mesa llvmpipe 25.0.7 (LLVM 19.1.7, 128 bits), Vulkan 1.4.305, Debian 13 aarch64

AI-assisted: yes. A coding agent built the runtime, ran the tests and wrote the summary. No game data.

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)
**@⁠PierreEbele** on GitHub · 2026-11-24 21:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1288) `PierreEbele:gpu-results-llvmpipe-arm64` → `main` · +52 −0 · 1 files · 1 commits · merged 2026-11-24 22:20 UTC Claimed in the coordination issue as: GPU-LLVMPIPE-ARM64-LINUX ### What and why Adds `gpu-test-results/llvmpipe-arm64-Linux.txt`: a record of Mesa llvmpipe on arm64 (aarch64) Linux, with no GPU. As far as I can see there is no arm64 Linux record yet, and the CI runs llvmpipe only on x86-64. The main difference is the subgroup size: llvmpipe's 128-bit NEON vectors give **4 lanes** on arm64, where x86-64 with AVX2 gives 8. All the extra skips come from that alone. ### Tested At `main` `6293c1c4f`, in a Debian 13 aarch64 container with no network: - `cmake -S runtime -B runtime/build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release` plus the build: 165/165 steps, no warnings. `ctest`: 74/74 passed. - `run_gpu_tests.py`: 260/261 translated, all of them pass spirv-val. - native: 169/252 passed, 83 skipped, **0 failed** - `LEONIDA_W64_EMULATE=1 --filter cs_` (as in CI): 93/121 passed, 28 skipped, 0 failed - `LEONIDA_BARY_FALLBACK=1`: 173/252 passed, 79 skipped, 0 failed. All four shaders that got a fallback GS pass, which is the CI step's check. - I ran it twice, with two separate builds, and got the same counts. - `run_semantic_tests.py tests/semantic`: 6168 tests, one failure. `spirv-opt -O` from Debian's SPIRV-Tools v2025.1 on arm64 segfaults on the module in `test_int32_to_f64`. That is a crash in the optimizer tool, not the translator. The record notes it. - `make_game.py --help` and `./Build.sh --help` exit 0. - `scripts/check_no_game_data.py` on the new file: clean. GPUs tested: none. Mesa llvmpipe 25.0.7 (LLVM 19.1.7, 128 bits), Vulkan 1.4.305, Debian 13 aarch64 AI-assisted: yes. A coding agent built the runtime, ran the tests and wrote the summary. No game data. ### 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)
Native GCC build of runtime/, ctest and run_gpu_tests.py (native,
LEONIDA_W64_EMULATE=1 --filter cs_, LEONIDA_BARY_FALLBACK=1) on Mesa
llvmpipe on aarch64 at main 6293c1c4f: no failures. llvmpipe's subgroup is
4 lanes there, not 8 as on the x86-64 CI runner, so 25 shaders that need 32
lanes skip.

AI-assisted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:46:08 +00:00
github manually merged commit e00ea64106 into gh-pr/1288/base 2026-11-26 09:46:09 +00:00
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 22:20 UTC · original

Merging.

Why merged: GPU record: new file gpu-test-results/llvmpipe-arm64-Linux.txt, claimed in #14. It doesn't collide with any other record.

Why it's good: Docs tests: 47 passed. It's the first arm64 software-renderer data point.

Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 4a50cafc7. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 573 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new subprocesses, new env vars or CI changes.

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

**@⁠QemmHD** on GitHub · 2026-11-24 22:20 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1288#issuecomment-7146102845) Merging. **Why merged:** GPU record: new file gpu-test-results/llvmpipe-arm64-Linux.txt, claimed in #14. It doesn't collide with any other record. **Why it's good:** Docs tests: 47 passed. It's the first arm64 software-renderer data point. Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 4a50cafc7. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 573 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new subprocesses, new env vars or CI changes. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.