III November 2026

Omarchy on the 15-inch 2018 MacBook Pro

A guide to installing and configuring Omarchy on the 15-inch 2018 MacBook Pro (MacBookPro15,1), dual-booting alongside macOS.

I wanted to install Omarchy on my 2018 Intel MacBook Pro now that Apple has stopped bringing new versions of macOS to it. I wasn’t starting from scratch: the t2linux community has spent years making Linux work on Macs with Apple’s T2 chip, and Omarchy has officially supported those Macs since version 3. The KAIT2EN project has also done remarkable work on sound, Touch ID and power for individual models.

When I sat down to install it, though, I couldn’t find a guide written for my particular model. The 15-inch 2018 MacBook Pro (MacBookPro15,1) has one thing most T2 Macs don’t: a second graphics chip, an AMD Radeon Pro 560X, alongside the Intel processor’s built-in graphics. That chip caused complications with battery life, sleep, power use and more. So I wrote this guide for this one model: every step I took, in order, with every file I changed, along with the problems I ran into and how I fixed them (and the few that are still open, listed below). I hope it helps you anticipate those problems before they happen, and have the fixes ready if they do.

A note for AI agents reading this for someone: there is a condensed checklist in For agents near the end, and every file mentioned is printed in full on this page.

Read this first. This guide changes your disk partitions, your Mac’s security settings and how it boots. A wrong choice in Steps 1, 4 or 5 can erase macOS and everything on the laptop, with no way to undo it.

  • Back up everything first, for example with Time Machine to an external drive, and check that the backup works.
  • Keep the laptop plugged into power for the whole process.
  • This was done and tested on one machine, a 15-inch 2018 MacBook Pro (MacBookPro15,1). On any other model, parts of it may be wrong.
  • Every step starts with a short note on what it changes, how risky it is and how to undo it. Read the note before running anything. If something doesn’t match what you see on your screen, stop and ask before carrying on.
  • Ideally, keep a terminal-based AI agent (such as Claude Code) running alongside you, on another computer during the install and on the laptop once Omarchy is running, to help troubleshoot errors and guide you through each step.

You follow this guide at your own risk. I can’t take responsibility for lost data or a laptop that won’t start.

What works, and what doesn’t

This guide was written in November 2026 for Omarchy 4.5.0, with the linux-t2 7.2.11 kernel. On that version, almost everything works well. Wi-Fi, the keyboard and trackpad, the Retina screen, sound, the webcam, Touch ID and an external monitor all work, and the laptop sleeps reliably when you close the lid and wakes in a few seconds when you open it. A few things need workarounds that this guide sets up: the screen runs on the Intel graphics to keep the laptop cool, the speakers need a sound profile to sound good, and the CPU needs a power limit so it doesn’t run hot. A few things don’t work: the keyboard and trackpad can’t wake the laptop from sleep (opening the lid or pressing the power button does), the Touch Bar is blank in boot menus, and you can’t set a battery charge limit.

Wi-Fi, Bluetooth, USB-C EthernetWork
Keyboard, trackpad, webcamWork, with palm rejection added in Step 10
ScreenWorks, on the Intel graphics
External monitorWorks when connected before you log in
Speakers and microphoneWork; sound close to macOS with the Step 14 profile
Touch IDWorks for sudo and the lock screen (Step 15)
SleepReliable; wakes in 2–5 seconds by opening the lid or pressing power
Waking with the keyboard or trackpadDoesn’t work
Touch Bar in boot menus, battery charge limitDon’t work

Before you start

You’ll need:

  • The laptop, with a backup of anything important. We’ll keep macOS, but resizing disks always deserves a backup.
  • A USB stick of at least 8 GB for the installer.
  • A USB keyboard, just in case. The Touch Bar doesn’t work in boot menus, and it’s handy for the rare moment you need a function key there.
  • About half a day, and some comfort with copying commands into a terminal.

Everything here was tested on a MacBookPro15,1 with a Core i9-8950HK, 32 GB of memory and the Radeon Pro 560X, running macOS 15.8.3 alongside Omarchy 4.5.0 (kernel linux-t2 7.2.11). The version with the Radeon Pro 555X very likely behaves the same, but I haven’t tried it. The version with Radeon Vega graphics is different enough that the graphics and sleep steps may not apply.

The steps

Step 1 — Make room for Linux (in macOS)

What this does: shrinks the part of the disk macOS lives on, freeing space for Linux. Your files stay in place.

Risk: high. Resizing a disk is the step most likely to lose data if it goes wrong: a power cut halfway through, the wrong disk name, or a size smaller than what macOS already uses. Back up first, stay plugged in, and check the disk name as shown below. Undo: growing macOS back is possible later, but only after removing the Linux partitions.

I gave Omarchy 100 GB and kept the rest for macOS. First, see how the disk is laid out and how much macOS is using:

diskutil list
diskutil apfs list

On this Mac the internal disk is disk0, and macOS lives in an Apple_APFS container on its second partition, disk0s2. Check that yours matches before going further: the next command acts on whatever name you give it. Then shrink the macOS container (here to 400 GB; choose a size comfortably larger than what macOS uses now):

sudo diskutil apfs resizeContainer disk0s2 400g

Leave the freed space empty; the installer will use it. If the command complains about errors, restart into Recovery (hold Cmd+R at startup), run First Aid on Macintosh HD - Data in Disk Utility, and try again.

Step 2 — Save the Wi-Fi firmware (in macOS)

What this does: copies Apple’s Wi-Fi and Bluetooth firmware files into the Mac’s small EFI startup partition, so Linux can use them later.

Risk: low. It adds a few files and doesn’t touch your data. As with any script from the internet, it’s worth reading before you run it.

Linux needs Apple’s Wi-Fi firmware, and the only place to get it is macOS. The t2linux project has a script for this. Follow their Wi-Fi and Bluetooth guide, run firmware.sh in macOS, and choose the first method, which copies the firmware to the Mac’s EFI partition. Linux will pick it up from there later, without needing a network.

Step 3 — Allow the Mac to start Linux

What this does: lets the Mac start operating systems that Apple hasn’t signed, and start from a USB stick.

Risk: low for your data, but it lowers security. Anyone with physical access could boot another system. Undo: set both options back in the same utility (macOS will still start; Omarchy won’t while Secure Boot is on).

Restart into Recovery (Cmd+R), open Utilities → Startup Security Utility and set:

  • Secure Boot: No Security
  • External Boot: Allow booting from external or removable media

Once Omarchy is installed you can switch External Boot back. Secure Boot has to stay off.

Step 4 — Make the installer

What this does: erases the USB stick and writes the Omarchy installer onto it.

Risk: high if you pick the wrong disk. Writing the image to the wrong device erases that device, and if it’s your internal disk, that means macOS and everything else. Run diskutil list with only the USB stick plugged in, and make sure the disk you write to is the stick (it shows as external, physical with the stick’s size). Everything already on the stick is lost.

Download the Omarchy ISO from omarchy.org and write it to the USB stick. A tool like balenaEtcher is the safest way, because it only offers removable drives. If you use dd in macOS instead, double-check the disk number from diskutil list first.

Step 5 — Install Omarchy

What this does: creates new partitions in the free space from Step 1 and installs Omarchy into them.

Risk: high. The installer offers to use the whole disk, and it lists that option first. Choosing it erases macOS and all your files. Read every screen before pressing Enter, and only continue when it says it will install into the free space.

Plug in the USB stick, power on while holding Option, and pick the orange EFI Boot entry. In the installer:

  • Choose Free space install (alongside existing data). Be careful: Full disk is listed first and would erase macOS.
  • I skipped disk encryption. On Omarchy 4.5.0 the built-in keyboard doesn’t work at the encryption password prompt (Omarchy #17755). If you want encryption anyway, keep a USB keyboard plugged in for that prompt.

The installer recognises the T2 chip and sets up the special kernel, the keyboard driver and the fan control by itself.

Step 6 — First boot and Wi-Fi

What this does: checks you’re on the right kernel, then copies the firmware from Step 2 out of the EFI partition and into Linux.

Risk: low. You temporarily mount the Mac’s EFI startup partition. Don’t delete or change anything else on it, and unmount it when you’re done, as the commands do.

Power on holding Option again and pick EFI Boot, which is now Omarchy on the internal disk. Open a terminal (Super+Enter) and check that you’re running the T2 kernel; the name must end in -t2:

uname -r

Now fetch the Wi-Fi firmware you saved in Step 2 and restart the Wi-Fi and Bluetooth drivers:

sudo mkdir -p /tmp/apple-wifi-efi
sudo mount /dev/nvme0n1p1 /tmp/apple-wifi-efi
bash /tmp/apple-wifi-efi/firmware.sh    # choose "Retrieve the firmware from the EFI partition"
sudo umount /tmp/apple-wifi-efi
sudo modprobe -r brcmfmac_wcc brcmfmac && sudo modprobe brcmfmac
sudo modprobe -r hci_bcm4377 && sudo modprobe hci_bcm4377
sudo rfkill unblock all

Connect with impala or the network icon in the top bar. Networks that only allow WPA3 may refuse; WPA2/WPA3 mixed is fine. Once you’re online, run omarchy update to bring everything up to date.

Step 7 — Run the screen on the Intel graphics

What this does: tells the screen switcher to connect the built-in screen to the Intel graphics at startup, and rebuilds the boot files.

Risk: low. Undo: sudo rm /etc/modprobe.d/apple-gmux.conf && sudo limine-update, then restart.

Out of the box the Radeon drives everything, which costs battery, makes the laptop warm, and (as we’ll see) causes most sleep trouble. The Intel graphics handle the built-in screen perfectly well, so switch the screen over to them:

echo 'options apple_gmux force_igd=y' | sudo tee /etc/modprobe.d/apple-gmux.conf
sudo limine-update

Step 8 — Pick the graphics chip at login

What this does: adds a small settings file to your user account that decides, at each login, which graphics chip the desktop uses.

Risk: low. It only affects your desktop session. Undo: delete the file and log out and back in.

There is one catch: the USB-C ports are wired only to the Radeon. So when you use an external monitor, the Radeon has to do the drawing. This small file makes the choice each time you log in. If a monitor is plugged in, the Radeon is used; if not, only the Intel graphics are used and the Radeon is left alone completely. Leaving it alone matters more than it sounds: if Hyprland holds on to the Radeon and the Radeon fails after sleep, it takes your whole desktop down with it.

Create ~/.config/uwsm/env.d/50-macbook-gpu with this content:

Show the file
# MacBookPro15,1 GPU setup for Hyprland (Aquamarine), decided once at login.
# The internal panel is wired to the Intel iGPU (apple_gmux force_igd=y); USB-C/Thunderbolt ports only to the Radeon.
#   External monitor connected at login -> Radeon renders (monitor hot-plug works this session).
#   Nothing connected at login           -> Intel renders (cooler). Plugging a monitor in later needs a re-login.
# Force a mode by creating ~/.config/uwsm/gpu-mode containing "radeon" or "intel".
_igpu=$(readlink -f /dev/dri/by-path/pci-0000:00:02.0-card 2>/dev/null)
_dgpu=$(readlink -f /dev/dri/by-path/pci-0000:01:00.0-card 2>/dev/null)
_mode=$(cat "$HOME/.config/uwsm/gpu-mode" 2>/dev/null)
if [ -z "$_mode" ]; then
  _mode=intel
  if [ -n "$_dgpu" ]; then
    for _c in /sys/class/drm/"$(basename "$_dgpu")"-*; do
      case "$_c" in *-eDP-*) continue ;; esac
      [ "$(cat "$_c/status" 2>/dev/null)" = connected ] && _mode=radeon
    done
  fi
fi
if [ "$_mode" = radeon ] && [ -n "$_dgpu" ]; then
  export AQ_DRM_DEVICES="$_dgpu${_igpu:+:$_igpu}"
elif [ -n "$_igpu" ]; then
  # Intel mode: give Hyprland the Intel GPU only, so a Radeon that fails to resume
  # can't crash the session, and the sleep hook can unbind it.
  export AQ_DRM_DEVICES="$_igpu"
fi
unset _igpu _dgpu _mode _c

It takes effect the next time you log in.

Step 9 — Refer to the screen by name

What this does: changes one line of your display settings.

Risk: low. If a line is wrong, Hyprland shows an error banner and keeps working. Undo: put the old line back.

Hyprland names the built-in screen eDP-1 on some boots and eDP-2 on others, depending on which graphics driver starts first. A setting written for one name quietly stops working on the other. Use the screen’s description instead, which never changes. In ~/.config/hypr/monitors.lua:

hl.monitor({ output = "desc:Apple Computer Inc Color LCD", mode = "preferred", position = "auto", scale = 2 })

If you use an external monitor, add a line for it too (find its name with hyprctl monitors all), and set the positions so the screens sit side by side.

Step 10 — Palm rejection for the trackpad

What this does: adds a one-line hardware rule telling Linux the trackpad is built in.

Risk: low. Undo: delete the file and run the same two commands again.

Linux thinks the built-in trackpad is an external one, because it reaches the system through the T2 chip. That silently switches off palm rejection, so your palm can move the pointer while you type (systemd #43934). One small rule fixes it:

sudo tee /etc/udev/hwdb.d/61-macbook-touchpad.hwdb <<'EOF'
evdev:name:Apple Internal Keyboard / Trackpad*:*
 ID_INPUT_TOUCHPAD_INTEGRATION=internal
EOF
sudo systemd-hwdb update && sudo udevadm trigger

Step 11 — Make sleep reliable

What this does: changes a startup option of the Linux kernel (11a), adds a script that runs before sleep (11b), and sets what closing the lid does (11c).

Risk: medium for 11a. A typo in a kernel option can stop Linux from starting. Copy the line exactly. If Omarchy ever fails to start afterwards, pick one of the Snapshots entries in the Limine boot menu: they still use your previous options, and from there you can fix or delete the file. 11a also means Thunderbolt PCIe devices (see Living with it) must be connected before you turn the laptop on. Risk: low for 11b and 11c. Undo: delete the file you created and, for 11a, run sudo limine-update again.

This is the step that took the longest to work out, and it comes in three parts. The story behind it is further down if you’re curious.

11a. A faster wake. Without this, waking takes over 20 seconds with a black screen, which feels like the power button didn’t work. Create /etc/limine-entry-tool.d/90-mbp151-sleep.conf with:

KERNEL_CMDLINE[default]+=" pcie_ports=compat i915.enable_guc=2"

and apply it:

sudo limine-update

11b. Keep the Radeon out of sleep. The Radeon sometimes fails to come back after sleep, leaving a black or frozen screen. This script switches the Radeon’s driver off just before the laptop sleeps (only when you’re not using an external monitor), so there’s nothing to fail. Save it as /usr/lib/systemd/system-sleep/mbp151-dgpu and make it executable with sudo chmod 755:

Show the script
#!/bin/sh
# MacBookPro15,1: keep the Radeon Pro 560X from breaking S3 resume.
# In an Intel-render session (nothing has the Radeon's card node open), unbind amdgpu before
# sleep and leave it unbound after resume. Bring it back with:  mbp151-dgpu rebind  (as root)
# Disable: touch /etc/mbp151-dgpu.disable        Logs: journalctl -t mbp151-dgpu

DEV=0000:01:00.0
SYS=/sys/bus/pci/devices/$DEV
DRV=/sys/bus/pci/drivers/amdgpu
log() { logger -t mbp151-dgpu "$*"; }

[ -e "$SYS" ] || exit 0
bound() { [ "$(basename "$(readlink -f "$SYS/driver")" 2>/dev/null)" = amdgpu ]; }

case "$1/$2" in
rebind/*)
	if bound; then
		echo "amdgpu already bound"
	elif echo "$DEV" >"$DRV/bind"; then
		log "amdgpu re-bound manually"; echo "amdgpu bound"
	else
		log "manual amdgpu bind FAILED"; echo "bind failed (see journalctl -k)" >&2; exit 1
	fi
	;;
pre/suspend | pre/hybrid-sleep | pre/suspend-then-hibernate)
	[ -e /etc/mbp151-dgpu.disable ] && exit 0
	bound || exit 0
	card=$(ls -d "$SYS"/drm/card* 2>/dev/null | head -1)
	card=${card:+/dev/dri/$(basename "$card")}
	holders=""
	for p in /proc/[0-9]*; do
		for f in "$p"/fd/*; do
			case "$(readlink "$f" 2>/dev/null)" in
			"$card") holders="$holders $(cat "$p/comm" 2>/dev/null)[${p#/proc/}]"; break ;;
			esac
		done
	done
	if [ -n "$holders" ]; then
		log "Radeon $card is in use by:$holders (Radeon-render session); leaving amdgpu bound"
		exit 0
	fi
	if echo "$DEV" >"$DRV/unbind"; then
		log "unbound amdgpu from $DEV before sleep; it stays off until reboot or 'mbp151-dgpu rebind'"
	else
		log "unbind failed; continuing with amdgpu bound"
	fi
	;;
esac
exit 0

11c. Sleep when the lid closes. Create /etc/systemd/logind.conf.d/50-lid.conf:

[Login]
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore

With an external monitor connected you can close the lid and keep working; unplug the monitor with the lid closed and the laptop goes to sleep.

Step 12 — Restart and try it

What this does: nothing new; it checks that sleep works.

Risk: none. Close and open the lid while plugged in the first time, just in case.

Reboot so the new settings apply, log in without an external monitor, and close the lid for a minute. Opening it should bring you to the lock screen in a few seconds. The script from 11b leaves a note in the log each time it runs:

journalctl -b -t mbp151-dgpu

That’s the essential part done. The remaining steps are optional, but I’d recommend all of them.

Step 13 (optional) — Keep the CPU cool

What this does: caps how much power the processor may draw, makes it slow down earlier when hot, and gives the fans a gentler curve.

Risk: low. The laptop gets a little slower under sustained heavy load, and stays cooler and quieter. Undo: sudo systemctl disable --now mbp-cpu-power-limits, remove the tjoffset line, restore the fan file, and restart.

The Mac’s firmware lets this Core i9 draw up to 100 W, which macOS reins in but Linux doesn’t. Under load it hit 100 °C within a second. This service sets Intel’s intended limit of 45 W, at boot and after every wake. Save it as /etc/systemd/system/mbp-cpu-power-limits.service:

[Unit]
Description=Set MacBookPro15,1 CPU power limits (PL1 45 W, PL2 60 W)
After=sysinit.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'R=/sys/class/powercap/intel-rapl:0; echo 45000000 > $R/constraint_0_power_limit_uw && echo 27983872 > $R/constraint_0_time_window_us && echo 60000000 > $R/constraint_1_power_limit_uw'

[Install]
WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
sudo systemctl enable --now mbp-cpu-power-limits

To also make the CPU slow down at 90 °C instead of 100 °C, install intel-undervolt, add the line tjoffset -10 to /etc/intel-undervolt.conf, and enable intel-undervolt.service. Under heavy load it then holds 90 °C at about 5% less speed. (Actual undervolting is locked on this machine.)

For calmer fans, I set this in both the [Fan1] and [Fan2] sections of /etc/t2fand.conf, then ran sudo systemctl restart t2fanrd:

low_temp=65
high_temp=88
speed_curve=exponential
always_full_speed=false

At idle the laptop then sits around 67–71 °C with the fans at their quietest. An Omarchy update may reset this file, so check it now and then.

Step 14 (optional) — Better speakers and microphone

What this does: adds sound-processing settings for your user account only.

Risk: low. At worst the sound is off or distorted. Undo: delete the three files and restart the sound system with the command below.

The speakers sound thin until they get a sound profile. KAIT2EN publishes one made specifically for this model in KaiT2en-Fedora (dsp/profiles/15_1), with the same kind of tuning macOS uses. I installed it for my user as a PipeWire filter: the speaker profile in ~/.config/pipewire/pipewire.conf.d/51-t2-dsp-15_1.conf with its sound files in ~/.local/share/t2-dsp/15_1/, and the microphone profile in 52-t2-dsp-15_1-mic.conf. It needs two packages: omarchy pkg add lsp-plugins-lv2 and omarchy pkg aur add bankstown. One more small file helps headphones take over when plugged in, ~/.config/wireplumber/wireplumber.conf.d/51-t2-dsp.conf:

monitor.alsa.rules = [
  { matches = [ { alsa.card_name = "Apple T2 Audio", api.alsa.pcm.stream = "playback" } ]
    actions = { update-props = { audio.allowed-rates = [ 96000, 88200, 48000, 44100 ] } } }
  { matches = [ { alsa.card_name = "Apple T2 Audio", device.profile.name = "HiFi: Headphones: sink" } ]
    actions = { update-props = { priority.session = 1500 } } }
]

Restart the sound system with systemctl --user restart pipewire wireplumber. You’ll find Mac 15,1 native DSP Speakers and Mac 15,1 DSP Mic in the sound settings.

Step 15 (optional) — Touch ID

What this does: installs a background service that talks to the T2’s fingerprint sensor, and changes the login rules for sudo and system prompts.

Risk: medium. The login rule files (/etc/pam.d/…) control who can become administrator. A mistake there can lock you out of sudo. Make a backup copy of each file before editing, and keep a second terminal open with sudo -s already running until you’ve confirmed sudo still works. Undo: restore the backups, or run omarchy remove security fingerprint, then sudo pacman -R kait2en-t2-touchid.

KAIT2EN’s t2-touchid connects the T2’s fingerprint sensor to Linux’s standard fingerprint service, using the finger you already enrolled in macOS. It’s written for Fedora, so I packaged it for Arch myself (a short PKGBUILD around the project’s own make install). After installing it:

  1. Set T2_TOUCHID_BIND_USER=<your user name> in /etc/kait2en/t2-touchid.conf.
  2. Run sudo systemctl reload NetworkManager && sudo udevadm control --reload, then sudo systemctl enable --now kait2en-t2-touchid.service.
  3. Check it with fprintd-verify.
  4. Add pam_fprintd.so to /etc/pam.d/sudo and /etc/pam.d/polkit-1, the way Omarchy’s own fingerprint setup does.

Don’t run omarchy setup security fingerprint on this Mac: it doesn’t recognise the T2 sensor and installs a fingerprint library meant for Apple Silicon. If Touch ID ever stops working after the battery ran flat or a forced shutdown, log into macOS once; the T2 keeps fingerprints locked until macOS has seen your password.

Step 16 (optional) — A proper boot menu

What this does: installs the rEFInd boot menu onto the Mac’s own EFI startup partition and makes it the default.

Risk: medium. You’re writing to the partition the Mac starts from. Done wrong, the Mac may start straight into one system or show a blank menu. Your data isn’t at risk, and macOS can always be started by holding Option at power-on and picking it. Undo: in macOS, choose the startup disk in System Settings → General → Startup Disk.

Holding Option at every start gets old. rEFInd gives you a menu that remembers your last choice:

omarchy pkg add refind
sudo refind-install --usedefault /dev/nvme0n1p1

Then replace EFI/BOOT/refind.conf on that partition with something like:

timeout 10
default_selection +
use_nvram false
scanfor manual,internal
dont_scan_volumes "OMARCHY_EFI","omarchy-root-image"
showtools reboot,shutdown

menuentry "Omarchy" {
    volume   "OMARCHY_EFI"
    loader   /EFI/BOOT/BOOTX64.EFI
}

macOS is found automatically. To make rEFInd the default, hold Option at startup, highlight its EFI Boot entry and press Ctrl+Enter.

Living with it

A few things worth knowing day to day:

  • External monitors: plug the monitor in before logging in, since the graphics choice is made at login. Plugging it in later needs a log-out and back in.
  • After sleeping without a monitor, the Radeon stays switched off until you restart. If you want to use a monitor without restarting, run sudo /usr/lib/systemd/system-sleep/mbp151-dgpu rebind, then log out and back in with the monitor connected.
  • Thunderbolt devices that use PCIe (docks with their own network chips, external graphics, Thunderbolt SSDs) should be plugged in before you turn the laptop on. Ordinary USB-C hubs, USB drives and display adapters work any time.
  • Battery: check its health early with upower -i $(upower -e | grep BAT). Mine was at 996 charge cycles and about half its original capacity, which said more about my battery than about Linux.

The story behind the sleep fixes

If you just want a working laptop, you can stop here. This part is for anyone curious how the sleep problems were tracked down, or anyone debugging a similar Mac.

The Radeon that didn’t come back. After some sleeps the laptop woke to a frozen screen and needed a forced restart. Others have run into the same thing on this model (Omarchy #13210, t2linux #217). The log showed Linux itself waking up fine, while the Radeon’s power-management firmware failed to restart:

amdgpu: SMU Firmware start failed!
amdgpu 0000:01:00.0: amdgpu_device_ip_resume failed (-22).
amdgpu 0000:01:00.0: ring sdma1 timeout, signaled seq=6377, emitted seq=6379

The desktop crashed because Hyprland had the Radeon open in the background even though it drove nothing. There’s no upstream fix for resuming this GPU from sleep, but there is one for starting it fresh after a sleep: the patch “drm/amdgpu: reset VI ASIC on MacBookPro15,1”, already in linux-t2. So the script in Step 11b simply makes sure the Radeon never has to resume: its driver is off during sleep. It isn’t switched back on automatically after waking, because Hyprland grabs any graphics chip that appears mid-session, whatever its settings say, and would then hold it during the next sleep. One thing I tried and don’t recommend: hiding the Radeon from the desktop by moving it to another “seat” with a udev rule. The login manager noticed the new seat, opened a login screen on it, and logged me out of my session.

The 22-second wake. Waking took over 20 seconds and seemed to need several presses of the power button. It turned out the first press always worked, and the laptop then sat with its screen off. The kernel’s own clock showed every single wake stalling for 18.85 seconds at the same point. Timing each device during resume (echo 1 | sudo tee /sys/power/pm_print_times) named the culprits, the two Thunderbolt controllers:

pcieport 0000:7a:00.0: PM: pci_pm_resume_noirq returned 0 after 14711010 usecs
pcieport 0000:04:00.0: PM: pci_pm_resume_noirq returned 0 after 14694148 usecs
thunderbolt 0000:7c:00.0: PM: pci_pm_resume_noirq returned 0 after 7126217 usecs
thunderbolt 0000:06:00.0: PM: pci_pm_resume_noirq returned 0 after 7122829 usecs

(The numbers are inflated by the tracing; together they came to the 18.85 seconds.) I had the kernel option pcie_ports=native, which an earlier sleep recommendation for this model included. It hands the Thunderbolt ports to Linux’s own PCIe port driver, and on this Mac their wake-up then crawls. Omarchy #8668 describes exactly this, and the fix is pcie_ports=compat. The trade-off is the Thunderbolt PCIe hot-plugging mentioned above. The difference:

Kernel optionStall on wakingTotal wake (kernel)
pcie_ports=native (10 wakes)18.85 s21–24 s
pcie_ports=compat (3 wakes, including two 80-minute sleeps)0.03 s2.3–4.2 s

With the stall gone, opening the lid wakes the laptop directly. It probably always did; the black screen just hid it.

Why the keyboard can’t wake it. On T2 Macs the keyboard, trackpad and power button all sit behind the T2 chip. The keyboard device doesn’t even announce that it can wake the computer. I also tried the firmware’s own wake settings. Linux tells Apple’s firmware it is macOS, so the firmware leaves those settings for the operating system to fill in. I worked out the meaning of most of them from the firmware tables (lid, Thunderbolt, Wi-Fi, Bluetooth, charger, very likely the power button) and switched on every plausible one, plus the T2’s own PCIe wake signal. The keyboard and trackpad still didn’t wake it, so whatever controls that lives inside the T2 itself.

Two traps when testing sleep. rtcwake skips the scripts that systemd runs around sleep, so it won’t test Step 11b. And the times the journal shows next to kernel messages from around sleep are when the journal received them, after waking, not when they happened. To time a wake properly, use the kernel’s own clock. This script prints, for every wake since boot, the stall and the total time. Save it as wake-timing.py and run journalctl -b -k -o json | python3 wake-timing.py:

import json, sys, time
w = e = None
for l in sys.stdin:
    r = json.loads(l)
    sm = r.get("_SOURCE_MONOTONIC_TIMESTAMP"); m = r.get("MESSAGE", "")
    if not sm or not isinstance(m, str): continue
    t = int(sm) / 1e6
    if "Waking up from system sleep state" in m:
        w = t; wr = int(r["__REALTIME_TIMESTAMP"]) / 1e6; e = None
    elif w is not None and "EC: interrupt unblocked" in m:
        e = t
    elif w is not None and "PM: suspend exit" in m:
        print("%s  stall %6.2fs   total %6.2fs" % (
            time.strftime("%m-%d %H:%M", time.localtime(wr)), (e or t) - w, t - w))
        w = None

For agents

Confirm the machine first: cat /sys/class/dmi/id/product_name must print MacBookPro15,1, and lspci -nn | grep 1002:67ef must show the Polaris Radeon. If either differs, Steps 7–12 may not apply. Tested on firmware 2103.160.2.0.0 (iBridge 24.16.6005.0.0), Omarchy 4.5.0, linux-t2 7.2.11, Hyprland 0.56, systemd 262.

  1. macOS: shrink APFS; t2linux firmware.sh method 1; Startup Security to No Security and Allow external boot.
  2. Install Omarchy with Free space install; skip LUKS (internal keyboard fails at the prompt on 4.5.0).
  3. Verify uname -r ends in -t2; retrieve firmware from /dev/nvme0n1p1 with firmware.sh; reload brcmfmac and hci_bcm4377.
  4. /etc/modprobe.d/apple-gmux.conf: options apple_gmux force_igd=y; sudo limine-update.
  5. ~/.config/uwsm/env.d/50-macbook-gpu as in Step 8: AQ_DRM_DEVICES = Intel only unless a non-eDP Radeon connector is connected at login.
  6. monitors.lua: address the panel as desc:Apple Computer Inc Color LCD, never eDP-1/eDP-2.
  7. /etc/udev/hwdb.d/61-macbook-touchpad.hwdb with ID_INPUT_TOUCHPAD_INTEGRATION=internal; systemd-hwdb update; udevadm trigger.
  8. /etc/limine-entry-tool.d/90-mbp151-sleep.conf: pcie_ports=compat i915.enable_guc=2; sudo limine-update. Never pcie_ports=native on this model (18.85 s Thunderbolt resume stall). Keep Omarchy’s pm_async=off mem_sleep_default=deep.
  9. /usr/lib/systemd/system-sleep/mbp151-dgpu as in Step 11b, mode 0755. On systemd 262 only this directory is read, not /etc/systemd/system-sleep/.
  10. /etc/systemd/logind.conf.d/50-lid.conf as in Step 11c.
  11. Optional: RAPL service (Step 13), tjoffset -10, t2fand curve, KAIT2EN 15_1 DSP, t2-touchid, rEFInd.
  12. Verify: one lid-close cycle, journalctl -b -t mbp151-dgpu shows the unbind, wake-timing.py shows a stall near 0.03 s (not 18.85 s), no SMU Firmware start failed in journalctl -k -b.

Do not: list the Radeon in AQ_DRM_DEVICES in Intel mode; bind amdgpu mid-session (Aquamarine adopts hot-added GPUs regardless of AQ_DRM_DEVICES); set ID_SEAT or strip seat tags on the GPU with udev (logind creates a graphical seat and SDDM ends the user’s session); test with rtcwake (bypasses sleep hooks); install libfprint-git or run omarchy setup security fingerprint. Keyboard and trackpad wake from S3 is not achievable: the EC wake mask (EW bank at EC offset 0x68) and T2 bridge PME (02:00.1) were tested and have no effect.

Thanks and sources

This guide stands on other people’s work. Thank you to the t2linux contributors, the Omarchy maintainers, and Andre Eikmeyer and the KAIT2EN project. I did the work over a long session with Claude Code doing much of the digging; the measurements come from the laptop’s own logs.