Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions bin/omarchy-mac-asahi-install
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ mac_generation_for() {
local target
target=$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')
case $target in
j433ap | j434ap | j504ap | j575dap | j613ap | j615ap | j514sap | j514cap | j514map | j516sap | j516cap | j516map) echo m3 ;;
j433ap | j434ap | j504ap | j613ap | j615ap | j514sap | j514cap | j514map | j516sap | j516cap | j516map) echo m3 ;;
j575dap) echo m3ultra ;;
j413ap | j493ap | j414cap | j414sap | j416cap | j416sap | j473ap | j474sap | j415ap | j475cap | j475dap | j180dap) echo m2 ;;
j274ap | j293ap | j313ap | j456ap | j457ap | j314cap | j314sap | j316cap | j316sap | j375cap | j375dap) echo m1 ;;
*) echo unknown ;;
Expand Down Expand Up @@ -137,13 +138,13 @@ fetch_installer() {
print_m3_briefing() {
cat <<BRIEF

This is an M3-generation Mac. Asahi Linux has not released for it yet; the
installer runs only in expert mode and the resulting system has:
This is an M3-generation Mac. Asahi Linux supports it in expert mode; the
resulting system has:

working CPU, NVMe, Wi-Fi, Bluetooth, keyboard, trackpad, speakers,
microphones, USB, battery, sleep
microphones, USB, battery, webcam, video decoding
missing GPU acceleration (software rendering), display brightness,
external displays, webcam, Touch ID
external displays, sleep, Touch ID

When the installer asks:
"Enable expert mode?" answer y (M3 requires it)
Expand Down Expand Up @@ -180,6 +181,9 @@ main() {

generation=$(mac_generation)
log "Mac: $(sysctl -n hw.model) ($(sysctl -n hw.target)), $(sysctl -n machdep.cpu.brand_string), generation $generation"
if [[ $generation == "m3ultra" ]]; then
fail "M3 Ultra Macs are not supported by Asahi yet"
fi
if [[ $generation == "unknown" ]]; then
warn "This Mac is not in the table; running the stock installer unchanged."
patch=0
Expand Down
26 changes: 18 additions & 8 deletions bin/omarchy-mac-setup
Original file line number Diff line number Diff line change
Expand Up @@ -1148,16 +1148,26 @@ print_status() {

# The M3 generation boots the public Asahi kernel but has no display or GPU
# driver yet, so the desktop this installs runs in software on the firmware
# framebuffer. Said before "Start?", from the device tree directly: the SoC
# command lives in the checkout, which does not exist yet at this point.
# framebuffer. Sleep is also unavailable until full DCP support lands. Said
# before "Start?", from the device tree directly: the SoC command lives in the
# checkout, which does not exist yet at this point.
notice_apple_m3() {
local compatible=${OMARCHY_APPLE_COMPATIBLE:-/proc/device-tree/compatible}
local compatible=${OMARCHY_APPLE_COMPATIBLE:-/proc/device-tree/compatible} soc
[[ -f $compatible ]] || return 0
tr '\0' '\n' <"$compatible" | grep -qxE 'apple,(t8122|t6030|t6031|t6032|t6034)' || return 0
warn "This is an M3-generation Mac. Asahi has not released for it: the desktop"
warn "will render in software with no brightness control and no external"
warn "displays until the M3 display and GPU drivers land. See docs/apple-m3.md"
warn "in the checkout, and omarchy-mac-kernel-wip for trying a newer kernel."
soc=$(tr '\0' '\n' <"$compatible" | sed -nE 's/^(apple,(t8122|t6030|t6031|t6032|t6034))$/\1/p')
[[ -n $soc ]] || return 0
if [[ $soc == "apple,t6032" ]]; then
warn "This is an M3 Ultra Mac Studio. Asahi does not support this model yet."
warn "The M3 Ultra device tree is present, but the Expert-mode M3 release"
warn "does not include it. See docs/apple-m3.md in the checkout."
echo
return 0
fi
warn "This is an M3-generation Mac. Asahi support is gated behind Expert mode:"
warn "the desktop will render in software with no brightness control or external"
warn "displays, and sleep is unavailable until full DCP support lands. See"
warn "docs/apple-m3.md in the checkout, and omarchy-mac-kernel-wip for trying"
warn "a newer kernel."
echo
}

Expand Down
6 changes: 3 additions & 3 deletions docs/apple-m3.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ State of Omarchy Mac on M3, M3 Pro, M3 Max and M3 Ultra Macs, what the repo does

Asahi's kernel (`asahi` branch, tagged releases from 7.1.6 on, which is what Asahi Alarm ships) carries device trees for every M3 machine, including the 14 and 16-inch MacBook Pros (`t6030-j514s`, `t6030-j516s`), the M3 Max variants (`t6031`, `t6034`), the plain M3 machines (`t8122`) and the Mac Studio M3 Ultra (`t6032`, `j575d`). m1n1 1.6.1 boots them. U-Boot knows the SoC. The Asahi installer lists every M3 device, gated to expert mode, against the macOS 14.8.3 firmware. Asahi's own M3 release still excludes M3 Ultra.

What boots on that kernel: CPU frequency scaling, NVMe, PCIe, Wi-Fi, Bluetooth, keyboard, trackpad, speakers and microphones, USB and Thunderbolt, battery, suspend. Asahi's own table: https://asahilinux.org/docs/platform/feature-support/m3/
Asahi merged official M3 installer support on 2026-09-06, gated behind Expert mode. What works on that release: CPU frequency scaling, NVMe, PCIe, Wi-Fi, Bluetooth, keyboard, trackpad, speakers and microphones, webcam, USB up to 10 Gb/s, battery and hardware video decoding including AV1. Sleep currently does not work because of the firmware-provided framebuffer. The Mac Studio M3 Ultra is not yet supported. See Asahi's [M3 announcement](https://asahilinux.org/2026/09/m2-episode-1/) and [feature table](https://asahilinux.org/docs/platform/feature-support/m3/).

What does not exist in any public tree:

- **The display driver for M3.** The M3 needs the DCP firmware ABI from macOS 14.7/14.8.3. A first cut of that ABI is public (`iomfb_v14_7` in `asahi-wip-7.2` and in James Calligeros' `dcp/14.8.3` branch), but no branch wires it to the M3 device trees. The Asahi progress report for Linux 7.2 says the M3 DCP work is "almost at feature parity"; it is on the developers' machines. Without it the kernel draws on the framebuffer the boot firmware leaves behind (simpledrm): the internal panel works at native resolution, there is no brightness control, no external display, and sleep may not bring the panel back.
- **The display driver for M3.** The M3 needs the DCP firmware ABI from macOS 14.7/14.8.3. A first cut of that ABI is public (`iomfb_v14_7` in `asahi-wip-7.2` and in James Calligeros' `dcp/14.8.3` branch), but no branch wires it to the M3 device trees. Without it the kernel draws on the framebuffer the boot firmware leaves behind (simpledrm): the internal panel works at native resolution, there is no brightness control or external display support, and sleep does not work.
- **The GPU driver for M3 (G15).** The Asahi DRM driver knows G13 (M1) and G14 (M2); its hardware table has no M3 entry in `asahi`, `asahi-wip`, any `gpu/*` branch, or any core developer's fork. Mesa has no G15 either. Asahi lists the M3 GPU as "TBA". Everything renders through llvmpipe.

Asahi said on 2026-08-26 it is "almost ready to cut an official release" for M3. That release will bring the display driver. The GPU is a separate, later piece of work.
The display work remains separate from the GPU. The current Expert-mode release does not provide either driver, so Omarchy uses software rendering and has no full display-controller support.

## What the repo does on an M3

Expand Down
23 changes: 21 additions & 2 deletions test/shell.d/apple-m3-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,17 @@ pass "omarchy-mac-asahi-install stays within macOS bash 3.2"
grep -q 'cdn.asahilinux.org/installer' "$installer" ||
fail "omarchy-mac-asahi-install can fall back to Asahi's own installer package"
pass "omarchy-mac-asahi-install can fall back to Asahi's own installer package"
grep -q 'M3 Ultra Macs are not supported' "$installer" ||
fail "omarchy-mac-asahi-install rejects unsupported M3 Ultra Macs"
pass "omarchy-mac-asahi-install reports the M3 Ultra support boundary"
grep -q 'export EXPERT=1' "$installer" ||
fail "omarchy-mac-asahi-install turns on the expert-mode question for an M3"
pass "omarchy-mac-asahi-install turns on the expert-mode question for an M3"
grep -q 'sleep, Touch ID' "$installer" ||
fail "the M3 installer briefing warns that sleep is unavailable"
! grep -q 'microphones, USB, battery, sleep' "$installer" ||
fail "the M3 installer briefing does not claim that sleep works"
pass "the M3 installer briefing reports current sleep support"

test_tmp=$(mktemp -d)
trap 'rm -rf "$test_tmp"' EXIT
Expand Down Expand Up @@ -130,8 +138,8 @@ pass "patching is idempotent"

[[ $(mac_generation_for j516sap) == "m3" ]] || fail "J516s is an M3 Pro"
pass "J516s is an M3 Pro"
[[ $(mac_generation_for j575dap) == "m3" ]] || fail "J575d is an M3 Ultra"
pass "J575d is an M3 Ultra"
[[ $(mac_generation_for j575dap) == "m3ultra" ]] || fail "J575d is an unsupported M3 Ultra"
pass "J575d is an unsupported M3 Ultra"
[[ $(mac_generation_for j316sap) == "m1" ]] || fail "J316s is an M1 Pro"
pass "J316s is an M1 Pro"
[[ $(mac_generation_for j999ap) == "unknown" ]] || fail "an unlisted target is unknown"
Expand All @@ -140,6 +148,17 @@ pass "an unlisted target is unknown"
grep -q 't6032' "$ROOT/bin/omarchy-mac-setup" ||
fail "the guided setup warns on an M3 Ultra as well as M3/Pro/Max"
pass "the guided setup warns on an M3 Ultra as well as M3/Pro/Max"
grep -q 'sleep is unavailable' "$ROOT/bin/omarchy-mac-setup" ||
fail "the guided setup warns that M3 sleep is unavailable"
pass "the guided setup reports current sleep support"
grep -q 'M3 Ultra Mac Studio' "$ROOT/bin/omarchy-mac-setup" ||
fail "the guided setup warns that M3 Ultra is unsupported"
pass "the guided setup reports M3 Ultra support boundary"
grep -q 'Sleep currently does not work' "$ROOT/docs/apple-m3.md" ||
fail "the M3 documentation reports current sleep support"
! grep -q 'battery, suspend' "$ROOT/docs/apple-m3.md" ||
fail "the M3 documentation does not claim that suspend works"
pass "the M3 documentation reports current sleep support"

# UWSM, not apple.lua, must export AQ_NO_MODIFIERS before Aquamarine starts.
stub_soc="$test_tmp/bin/omarchy-hw-apple-soc"
Expand Down