Skip to content

Support aarch64 through cached native audio backends - #22

Merged
ssupt merged 2 commits into
mainfrom
fix/aarch64-backend
Oct 7, 2026
Merged

ssupt merged 2 commits into
mainfrom
fix/aarch64-backend

Conversation

@ssupt

@ssupt ssupt commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Fixes aarch64 startup and the stale-backend failure after plugin updates by preparing an executable for the host CPU before the UI starts its protocol handshake.

The launcher checks ELF architecture before executing a binary, uses the matching bundled service when available, and otherwise builds a native backend with Cargo. Builds are cached by target and complete source identity outside the plugin checkout, serialized across concurrent launches, and reused until runtime sources change. Failed or interrupted builds do not replace a working cached release. Cache directories, executables, and build locks are validated before use; special files and unsafe cache paths are rejected. The UI shows preparation status and reports missing build requirements.

The Git installation still bundles x86_64; aarch64 users need the documented Rust/Cargo and native development dependencies. Release assembly now accepts either Linux target, and CI builds native x86_64 and aarch64 candidate artifacts. The bundled executable, metadata, manifest, and generated QML have been regenerated together.

Validation completed locally:

  • ./test/all: Rust tests, native preparation regressions, protocol/model/helper checks, Clippy, formatting, and QML lint.
  • Package assembly/verification and Omarchy validation; staged install/upgrade/rollback/removal.
  • Service lifecycle tests, including daemon reuse, crash recovery, drain, and shutdown.
  • Actual packaged QML startup, including preparation delayed beyond the five-second hello deadline.
  • Real native fallback compilation on x86_64 and cache reuse on a second launch.
  • Isolated PipeWire/native graph and QML IPC integration. Full compositor UI checks require Weston and were skipped locally.

All CI checks passed on the updated head: Rust 1.85/stable, the full PipeWire/Quickshell UI and upgrade suite, and native x86_64/aarch64 release assembly, consistency checks, and lifecycle tests.

Physical testing on the reporter's Apple Silicon/Asahi installation remains pending.

Fixes #21

@ssupt
ssupt marked this pull request as ready for review October 7, 2026 05:25
@ssupt
ssupt merged commit 14f6f5d into main Oct 7, 2026
6 checks passed
@ssupt
ssupt deleted the fix/aarch64-backend branch October 7, 2026 05:25
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.

aarch64 support: bundled omarchy-audio-service is x86-64 only; panel hangs after every update

1 participant