Skip to content

Name the GPU driver aurora in the runners and docs - #10

Closed
RyanTheTide wants to merge 1 commit into
mainfrom
purge/asahi-to-aurora
Closed

RyanTheTide wants to merge 1 commit into
mainfrom
purge/asahi-to-aurora

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Our own drivers, paths, packages and boot properties still carry the Asahi and m1n1 names. This repository is renamed to Aurora and aura together with the other repositories in the set below.

Change

Renames our own Asahi and m1n1 names to Aurora and aura, with fallbacks for names released software still uses.

Testing

The repository's own build and tests pass (details below).

Still to run

Hardware check together with the rest of the set where it applies.

Full details

Part of the Asahi to Aurora rename across the aurora-silicon repos (same branch name, purge/asahi-to-aurora, in each repo).

Change

  • tools/run-gl-pair.sh selects MESA_LOADER_DRIVER_OVERRIDE=aurora (Mesa's loader already accepts it) and writes its results to aurora/ and zink/.
  • The READMEs, the default module name in compare.py, the performance-gate test fixture and the kernel-log filters (run-linux.sh, run-record.sh, stress) say aurora.
  • The environment capture also records AURORA_* variables.

Transition (tagged LEGACY-ASAHI(2027-02-28))

  • The runners fall back to /sys/module/asahi on kernels from before the rename.
  • The environment capture still records the pre-rename Mesa ASAHI_* variables.
  • The performance gate still accepts old records whose module is named asahi.

Tests

  • pytest tools/tests: 16 passed.
  • bash -n on the four shell runners passes, and gcc -fsyntax-only stress/src/klog.c passes.
  • No CMake on the build host, so the full C build was not run. Only the regex string in klog.c changed.

Related changes

This is one part of a set of draft pull requests, all on branch purge/asahi-to-aurora, that rename Asahi to Aurora and m1n1 to aura across our repositories. Names that cross a repository boundary (the /chosen properties aura writes, the ESP Stage 2 paths, package names, Mesa build options) are changed together. Each old name that released software still uses is kept as a fallback marked LEGACY-ASAHI(2027-02-28).

The GL pair runner selects MESA_LOADER_DRIVER_OVERRIDE=aurora (Mesa's
loader already answers to it) and writes aurora/ and zink/ results;
docs, compare.py's default module name, the test fixture and the kernel
log filters use aurora. The environment capture also records AURORA_*.

Until 2027-02-28 (tagged LEGACY-ASAHI) the runners still fall back to
/sys/module/asahi on kernels before the rename, record ASAHI_* Mesa
variables, and the performance gate still accepts old records whose
module is named asahi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 19, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formal pre-PR checklist (§1–§6) review at 0f1e955a33776b5fb794f383957f80676c7acb2e (Draft PR).

Checklist summary

  • §1–§3 (Model gating / production / safety): Rename of GPU driver strings across runners, stress kernel-log monitor, and docs; however, kernel fault-detection regexes drop asahi prematurely while /sys/module/asahi fallback is still active (see Blocker #2).
  • §4 (Clean-room & attribution): FAIL (see Blocker #1).
  • §5 (Evidence): Draft PR; live CI (GL executor / llvmpipe) is 2/2 green, but .github/workflows/gl.yml only builds gpubench-gl, gpubench-vk, and test-gl-work — it does not build gpubench-stress-vk (stress/src/klog.c), and full CMake build + hardware verification with the coordinated rename stack (aurora-silicon/mesa#478, aurora-silicon/linux#2335, both still open drafts) remain pending. Also 7 commits behind main (predates Wave-1 #12, Wave-2 #13, Metal 4 #14).
  • §6 (Naming): FAIL / incomplete (see Blocker #3).

Blockers

  1. §4 Commit attribution violation (0f1e955a3377):
    • The commit carries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> and is missing a human Signed-off-by: trailer.
    • Under §4, commits must carry human identity only with a human Signed-off-by: and zero AI trailers (Co-Authored-By, Assisted-by, etc.); AI assistance belongs solely in the Assisted-by: line at the end of the PR body.
  2. Backward-compatibility regressions in GPU fault/log detection during the LEGACY-ASAHI(2027-02-28) transition window:
    • Although the commit preserves /sys/module/asahi fallback until 2027-02-28 in tools/run-linux.sh, rt/tools/run-record.sh, and tools/performance-gate.py, it removes asahi from every kernel-log fault and firmware detector in the same commit:
      • tools/run-linux.sh:84 (gpu_log): dropping asahi allows pre-rename kernels logging asahi GPU faults (without drm/agx on the line) to evade fault detection instead of stopping the run.
      • tools/run-linux.sh:88,90 (gpu_notes) and :129 (FW): drops asahi diagnostic notes and firmware-version detection on pre-rename kernels.
      • rt/tools/run-record.sh:82 (KL): drops asahi from kernel-log capture right below line 77's km=asahi fallback.
      • stress/src/klog.c:20 & stress/README.md:120: removes asahi from default_patterns[], silently weakening gpubench-stress-vk --kernel-log fault detection on pre-rename kernels.
    • Keep asahi in those fault/log/firmware patterns tagged LEGACY-ASAHI(2027-02-28) for the same transition window as /sys/module/asahi, so pre-rename kernels cannot silently pass fault checks.
  3. §6 Incomplete naming cleanup in touched and adjacent docs/env capture:
    • In suite/README.md, line 3 — directly above this PR's diff on line 4 — still calls our Vulkan driver Mesa hk, with 5 more hk references in the same file (lines 49, 91, 111, 118, 122) and another in rt/README.md:153. Under §6, our Vulkan driver is Borealis (brl_), never Honeykrisp or hk.
    • tools/lib-meta.sh:20 and rt/tools/run-record.sh:72 add AURORA_ while keeping HK_ but do not yet capture BRL_ (worth adding BRL_ alongside legacy HK_ for Borealis env parity).
  4. Coordinated stack & verification before marking Ready for Review:
    • tools/run-gl-pair.sh:10 switches unconditionally to MESA_LOADER_DRIVER_OVERRIDE=aurora (and output directory aurora/), which requires Mesa with the aurora loader alias (aurora-silicon/mesa#478, still draft).
    • Rebase onto current main (currently 7 commits behind), build gpubench-stress-vk with CMake to verify stress/src/klog.c, and run hardware verification with the coordinated rename stack before taking out of Draft.

Assisted-by: LLM (Gemini 4 Neon)

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Replaced by #31: one signed commit on current main that fixes all four items from the review (no AI trailers; asahi kept in every fault, note and firmware pattern under LEGACY-ASAHI(2027-02-28); hk -> Borealis in suite/README.md and rt/README.md, plus BRL_ capture; rebased). The branch stays here so this can be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants