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

Merged
PierreEbele merged 1 commit from upstream-pr/1288 into main 2026-11-24 22:20:13 +00:00
PierreEbele commented 2026-11-24 21:17:43 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-24T21:17:43Z.


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)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5480493275 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1288). Originally posted by [PierreEbele](https://github.com/PierreEbele) on 2026-11-24T21:17:43Z. --- 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)
QemmHD commented 2026-11-24 22:20:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T22:20:11Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7146102845 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1288#issuecomment-7146102845). Originally posted by [QemmHD](https://github.com/QemmHD) on 2026-11-24T22:20:11Z. --- 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).
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!1288
No description provided.