Asahi Linux

Linux distribution for Apple CPUs

Asahi Linux

Screenshot of Arch Linux ARM of Asahi Linux with KDE Plasma 5

Developer|

* Hector Martin
* Alyssa Rosenzweig
* Asahi Lina[Note 1]
* Dougall Johnson
* Sven Peter
* Mark Kettenis
* Martin Povišer
* Neal Gompa
* Davide Calvaca
* Eric Curtin
* Janne Grunau[1]

OS family| Linux (Unix-like)
Working state| Official Stable (Fedora 39)
Source model| Open source
Repository| github.com/AsahiLinux
Platforms| Apple silicon (AArch64)
Official website| asahilinux.org

Asahi Linux is a project that ports the Linux kernel and related software to Apple silicon-powered Macs. The software design project was started and is led by Hector Martin. Work began in early 2021, a few months after Apple formally announced the transition to Apple silicon. An initial alpha release followed in 2022. The project has been made challenging by the lack of publicly available documentation of Apple's proprietary firmware.[2][3]

## History[edit]

Shortly after Apple announced their transition away from Intel x86 processors in late 2020, Linux creator Linus Torvalds expressed interest in Linux support for the Apple M1 Mac, but thought that the work to make this happen was too time-consuming for him to personally take on the necessary software development tasks.[4]

Martin announced the project in December 2020 and formally started work a month later, after securing crowd-sourced funding. Alyssa Rosenzweig, who developed the open-source graphics driver stack Panfrost, joined the project to help support the Apple silicon graphics processing unit (GPU).[5]

The developers quickly realised that just attempting to boot the Linux kernel compiled for Apple silicon's processor architecture (AArch64) would be challenging, as it involved working out the functionality of proprietary Apple code used in the boot process. The work was time-consuming and took most of the year, including submitting pull requests to the main Linux kernel developers to keep development in sync and avoid regressions. However, it subsequently led to a thorough and comprehensive explanation of the previously undocumented boot process, which Martin and others published on GitHub.[2][6]

The project released an experimental alpha version of the Asahi Linux installer on March 18, 2022. The installer offers the choice of a desktop based on Arch Linux ARM (expected to change),[7] a minimal environment, or a basic UEFI environment for installing OpenBSD or alternate Linux distributions with support for Apple silicon via a bootable USB drive.[3] Despite being able to launch a UEFI shell, booting Microsoft Windows is not supported, and there are no plans to do so, as it would involve modifying the proprietary Windows kernel.[8] While other projects that are attempting to study a possible port of Windows to these systems specified challenging roadblocks related to Windows handling the proprietary Apple Interrupt Controller (AIC), and the 16K pages only found on the IOMMU.

Full support for all Apple silicon-supported Macs is not expected for another year or two following the first alpha release.[9] In July 2022, the Asahi Linux team released an update with support for the M1 Ultra, Mac Studio, and early initial support for the M2 MacBook Pro.[10]

In August 2023, it was announced that Asahi was partnering with the Fedora Project to release the Fedora Asahi Remix, which would supersede the original Arch-based distribution as Asahi's flagship OS.[11] The effort began in late 2021, and is an upstream-first project.

On October 21, 2023, Asahi updated the front page to direct users to Fedora Asahi Remix, posted on official Mastodon account. At that time, Fedora Asahi Remix was at Beta release.[12]

On December 19, 2023, the first official stable release of Fedora Asahi Remix was announced.[13]

## Hardware and driver support[edit]

Asahi Linux is currently considered alpha software. It has a display for a graphical user interface and has early support for graphics acceleration, with initial OpenGL support being implemented for all GPUs across Apple's M-series chips. While initially using the Panfrost driver implementation, the Asahi Linux Project also made use of Gallium-3D and Rust based APIs for driver development. Vulkan and OpenCL support, as of Early-Mid 2023, are still being worked on.[14]

On June 6, 2023, OpenGL support was further expanded when support for OpenGL ES 3.0 and OpenGL 3.1 was released, and once more on August 22 when a fully-compliant driver for OpenGL ES 3.1 was released, introducing support for compute shaders and atomics.[15][16] On February 14, 2024, OpenGL support was expanded to full conformant OpenGL 4.6 and OpenGL ES 3.2. This allowed workloads such as Blender, Ryujinx, and Citra to directly run on Asahi Linux.[17]

This driver is currently the only fully-compliant graphics driver for any widespread graphics standard. The process has involved creating device drivers for Apple silicon's proprietary GPU from scratch due to the lack of documentation.[18][19][14] HDMI video output is only supported on the Apple silicon Mac mini, and there is no support for Thunderbolt video output on Apple Silicon MacBooks and iMacs.[18]

The Asahi Linux kernel has been configured with support for 16 kB pages, which may result in some problems with existing software. This was ultimately, and initially, done to address the Apple GPU only supporting 16k page outputs, but eventually, support for 4k pages was added in March 2023 to the GPU driver, which was mentioned in a blog post regarding explicit sync by Asahi Lina.[20][21] Despite this, the operating system's kernel is still 16kB pages, and programs that were to expect 4k pages, or have improper/missing support for 16kB pages, will still experience problems with alignment when being mapped to memory.[22] Marcan stated that the page sizes set by Linux were global, and that there is not a native mechanism in place to have individual page sizes.[23]

## Reception[edit]

The project has been well received. A review in The Register said that it ran surprisingly well for alpha software that is still in development.[19] Similarly, a review in Ars Technica was impressed by the amount of hardware that was already supported early in the project lifecycle.[9]

## See also[edit]

* Linux on Apple devices
* Reverse engineering

## Notes[edit]

1. ^ A pseudonymous developer only known by their VTuber identity.

## References[edit]

1. ^ "About Asahi Linux". Archived from the original on April 5, 2023. Retrieved May 4, 2023.
2. ^ a b Sharma, Mayank (March 15, 2021). "Porting Linux to Apple M1 Macs is proving trickier than previously imagined". TechRadar. Archived from the original on March 21, 2022. Retrieved March 23, 2021.
3. ^ a b Martin, Hector. "The first Asahi Linux Alpha Release is here! – Asahi Linux". asahilinux.org. Archived from the original on March 20, 2022. Retrieved March 20, 2022.
4. ^ "Linus Torvalds would like to use an M1 Mac for Linux, but ..." ZDNet. November 24, 2020. Archived from the original on April 1, 2022. Retrieved April 5, 2022.
5. ^ Tung, Liam (January 8, 2021). "Linux on Apple's Arm silicon Macs? This crowdfunded project wants to give it a try". ZDnet. Archived from the original on January 20, 2021. Retrieved May 31, 2021.
6. ^ Calligeros, James. "Apple Silicon Subsystems - Platform Initialisation and Boot". GitHub. Archived from the original on June 9, 2022. Retrieved August 1, 2022.
7. ^ "Hector Martin (@marcan@treehouse.systems)". Treehouse Mastodon. March 5, 2023. Retrieved March 28, 2023.
8. ^ "Windows support?". Asahi Linux GitHub. May 21, 2021. Archived from the original on April 5, 2022. Retrieved April 5, 2022.
9. ^ a b "Asahi Linux is reverse-engineering support for Apple Silicon, including M1 Ultra". Ars Technica. March 25, 2022. Archived from the original on April 5, 2022. Retrieved April 5, 2022.
10. ^ Cunningham, Andrew (July 18, 2022). "Linux distro for Apple silicon Macs is already up and running on the brand-new M2". Ars Technica. Archived from the original on July 19, 2022. Retrieved July 20, 2022.
11. ^ Proven, Liam (August 7, 2023). "Asahi Linux project hooks up with Fedora: Remix that's not a remix coming soon". The Register. Retrieved August 7, 2023.
12. ^ "We've updated our front page to direct new users to Fedora Asahi!". Asahi Linux Official Mastodon Account. October 21, 2023.
13. ^ "We've updated our front page to direct new users to Fedora Asahi!". Asahi Linux Official Webpage. December 19, 2023.
14. ^ a b Purdy, Kevin (December 7, 2022). "Four-person dev team gets Apple's M-series GPU working in Linux". Ars Technica. Retrieved December 8, 2022.
15. ^ "OpenGL 3.1 on Asahi Linux". rosenzweig.io. Retrieved October 13, 2023.
16. ^ "The first conformant M1 GPU driver". rosenzweig.io. Retrieved October 13, 2023.
17. ^ "Conformant OpenGL 4.6 on the M1". rosenzweig.io. Retrieved February 22, 2024.
18. ^ a b Crume, Jacob (March 21, 2022). "Asahi Linux Distro Improves Apple M1 Support With First Alpha Release". It's FOSS. Archived from the original on March 21, 2022. Retrieved April 5, 2022.
19. ^ a b "We take Asahi Linux alpha for a spin on an M1 Mac Mini". The Register. March 22, 2022. Archived from the original on April 5, 2022. Retrieved April 5, 2022.
20. ^ "Progress Report: September 2021 - Asahi Linux". asahilinux.org. Retrieved August 11, 2023.
21. ^ "Paving the Road to Vulkan on Asahi Linux - Asahi Linux". asahilinux.org. Retrieved August 11, 2023.
22. ^ "Broken Software". GitHub. Retrieved September 29, 2023.
23. ^ "Linux does support mixed page sizes (that's how huge pages work) and the page si... | Hacker News". news.ycombinator.com. Retrieved September 29, 2023.

## External links[edit]

* Official website
* Setup video

* v
* t
* e

Linux distributions

Android|

* /e/
* Android-x86
* CalyxOS
* Celadon
* ColorOS
* DivestOS
* EMUI
* Fire OS
* GrapheneOS
* LineageOS
* MIUI
* One UI
* Paranoid Android
* PixelExperience
* Replicant
* Resurrection Remix OS
* OmniROM

Arch|

* ArchBang
* ArchLabs
* Artix
* Asahi
* BlackArch
* EndeavourOS
* Frugalware
* Garuda
* Hyperbola GNU
* LinHES
* Manjaro
* Parabola GNU
* SteamOS (3.0 onwards)
* SystemRescue

Debian|

| Ubuntu|

* Official: Edubuntu
* Kubuntu
* Lubuntu
* Ubuntu Budgie
* Ubuntu Cinnamon
* Ubuntu Kylin
* Ubuntu MATE
* Ubuntu Studio
* Ubuntu Unity
* Xubuntu

* Derivatives: BackBox
* Bodhi Linux
* elementary OS
* Emmabuntüs
* KDE neon
* Freespire
* Linux Lite
* Linux Mint
* LXLE Linux
* Nova OS
* Peppermint OS
* Pop! OS
* Trisquel
* Ubuntu Touch
* Uruk
* Zorin OS

|

Other|

* antiX
* Astra
* Bharat Operating System Solutions
* BlankOn Linux
* Damn Small Linux
* deepin
* Devuan
* Elive
* Endless OS
* FreedomBox
* Kaisen
* Kali
* Kanotix
* Knoppix
* MX Linux
* Parrot OS
* PureOS
* Raspberry Pi OS
* Q4OS
* Slax
* SparkyLinux
* SolydXK
* SteamOS (1.0–2.0)
* Tails
* UOS
* Whonix

Fedora|

* AlmaLinux
* CentOS Stream
* ClearOS
* EulerOS
* Linpus Linux
* MIRACLE LINUX
* Oracle Linux
* Qubes OS
* Red Hat Enterprise Linux
* Red Star OS
* Rocks Cluster Distribution
* Rocky Linux
* Sailfish OS
* Tizen

Gentoo|

* Calculate Linux
* ChromiumOS
* ChromeOS
* Pentoo

Mandriva|

* ALT Linux
* Mageia
* OpenMandriva Lx
* PCLinuxOS
* ROSA Linux

Slackware|

* Austrumi Linux
* Porteus
* Salix OS
* Slax
* Zenwalk

SUSE|

* openSUSE
* SUSE Linux Enterprise
* Open Enterprise Server
* GeckoLinux

Other|

* 4MLinux
* Alpine
* CHAOS
* Chimera Linux
* Clear Linux OS
* CRUX
* Kwort
* GoboLinux
* Guix SD
* KaiOS
* KaOS
* NixOS
* Puppy
* Source Mage
* Solus
* T2 SDE
* Tiny Core Linux
* Void

Discontinued|

| Debian|

* Ubuntu: Asturix
* Black Lab Linux
* Cub Linux
* Gobuntu
* gOS
* Linux Caixa Mágica
* LinuxTLE
* Pinguy OS
* Sabily
* Ubuntu GNOME

* Other derivatives: BackTrack
* Corel Linux
* CrunchBang Linux
* DoudouLinux
* Dreamlinux
* Feather Linux
* gNewSense
* HandyLinux
* Libranet
* Musix GNU+Linux
* Parsix
* Sunwah Linux

|

Gentoo|

* Container Linux
* Incognito
* Sabayon Linux
* xB Machine

Red Hat/Fedora|

* BLAG Linux and GNU
* CentOS
* Korora
* Linux for PlayStation 2
* Scientific Linux
* Think Blue Linux
* Turbolinux
* Vine Linux
* Yellow Dog Linux

Slackware|

* BioSLAX
* Damn Vulnerable Linux
* KateOS
* Kongoni
* NimbleX
* Platypux
* TopologiLinux
* VectorLinux

SUSE|

* SUSE Studio Express

Other|

* Antergos
* Caldera OpenLinux
* Chakra
* CyanogenMod
* DemoLinux
* Familiar Linux
* Firefox OS
* B2G OS
* Floppyfw
* Foresight Linux
* Immunix
* Jurix
* Linux Router Project
* MCC Interim Linux
* MeeGo
* Mer
* Mobilinux
* Nitix
* OpenELEC
* Red Hat Linux
* Remix OS
* Softlanding Linux System
* Sorcerer
* Splashtop OS
* Turkix

* List
* Linux portal
* Comparison
* Category

* v
* t
* e

Apple Inc.

* History
* Outline
* Timeline of products
* Environment
* Marketing
* Supply chain

Products|

| Hardware|

| Mac|

* iMac
* Pro
* MacBook
* Air
* Pro
* Mini
* Studio
* Pro

|

iPod|

* Classic
* Mini
* Nano
* Shuffle
* Touch

iPhone|

* Hardware
* History
* iPhone models

iPad|

* Mini
* Air
* Pro
* Accessories

AirPods|

* Pro
* Max

Other|

* Apple SIM
* AirTag
* Beats
* Pill
* HomePod
* Mini
* Silicon
* TV
* Vision Pro
* Watch

Software|

| Operating
systems|

* iOS / iPadOS
* iPhones
* iPads
* iOS history
* iPadOS history
* Apps
* macOS
* History
* Server
* tvOS
* watchOS
* bridgeOS
* Darwin
* Classic Mac OS
* visionOS

|

* CarPlay
* Classroom
* HomeKit
* Core Foundation
* Developer Tools
* FileMaker
* Final Cut Pro
* X
* Compressor
* Motion
* Logic Pro
* MainStage
* iLife
* GarageBand
* iMovie
* iPhoto
* iTunes
* iWork
* Keynote
* Numbers
* Pages
* Mail
* QuickTime
* Safari
* Shazam
* Siri
* Swift
* Xcode

Services|

| Financial|

* Card
* Pay
* Wallet

|

Media|

* Arcade
* Books
* Music
* 1
* Beats Music
* Up Next
* Festival
* iTunes Radio
* App
* News
* Newsstand
* Podcasts
* TV
* +
* originals
* MLS Season Pass

Communication|

* FaceTime
* Walkie-Talkie
* iMessage
* iChat
* App
* Game Center

Retail and
digital sales|

* App Store
* macOS
* iTunes Store
* Connect
* Store
* Fifth Avenue

Support|

* AppleCare+
* AASP
* Certifications
* Genius Bar
* ProCare
* One to One

Other|

* ID
* Sign in with Apple
* One
* Developer
* iAd
* TestFlight
* WWDC
* iCloud
* MobileMe
* Find My
* Fitness
* Photos
* Maps
* Look Around

Companies|

| Subsidiaries|

* Anobit
* Apple IMC
* Apple Studios
* Beats
* Beddit
* Braeburn Capital
* Claris

|

Acquisitions|

* Completed
* Anobit
* AuthenTec
* Beats
* Beddit
* BIS Records
* Cue
* EditGrid
* Emagic
* FingerWorks
* Intrinsity
* InVisage Technologies
* The Keyboard Company
* Lala
* Metaio
* NeXT
* Nothing Real
* P.A. Semi
* Power Computing
* PrimeSense
* Shazam Entertainment Limited
* Siri
* Texture
* Topsy
* Potential
* Disney

Partnerships|

* AIM alliance
* Kaleida Labs
* Taligent
* Akamai
* Arm
* DiDi
* Digital Ocean
* iFund
* Imagination
* Rockstar Consortium

Related|

* Advertising
* "1984"
* "Think different"
* "Get a Mac"
* iPod
* Product Red
* Ecosystem
* Events
* Headquarters
* Campus
* Park
* University
* Design
* IDg
* Typography
* Book
* History
* Codenames
* Community
* AppleMasters
* Litigation
* FBI encryption dispute
* iOS app approvals
* Worker organizations
* Depictions of Steve Jobs
* Linux
* Asahi Linux
* iPodLinux
* Car project

People|

| Executives|

| Current|

* Tim Cook (CEO)
* Jeff Williams (COO)
* Luca Maestri (CFO)
* Katherine Adams (General Counsel)
* Eddy Cue
* Craig Federighi
* Isabel Ge Mahe
* John Giannandrea
* Lisa Jackson
* Greg Joswiak
* Sabih Khan
* Deirdre O'Brien
* Dan Riccio
* Phil Schiller
* Johny Srouji
* John Ternus

|

Former|

* Michael Scott (CEO)
* Mike Markkula (CEO)
* John Sculley (CEO)
* Michael Spindler (CEO)
* Gil Amelio (CEO)
* Steve Jobs (CEO)
* Jony Ive (CDO)
* Angela Ahrendts
* Fred D. Anderson
* John Browett
* Guerrino De Luca
* Paul Deneve
* Al Eisenstat
* Tony Fadell
* Scott Forstall
* Ellen Hancock
* Nancy R. Heinen
* Ron Johnson
* David Nagel
* Peter Oppenheimer
* Mark Papermaster
* Jon Rubinstein
* Bertrand Serlet
* Bruce Sewell
* Sina Tamaddon
* Avie Tevanian
* Steve Wozniak

Board of
directors|

| Current|

* Arthur D. Levinson (Chairman)
* Tim Cook (CEO)
* James A. Bell
* Alex Gorsky
* Al Gore
* Andrea Jung
* Ronald D. Sugar
* Susan L. Wagner

|

Former|

* Mike Markkula (Chairman)
* John Sculley (Chairman)
* Steve Jobs (Chairman)
* Gil Amelio
* Fred D. Anderson
* Bill Campbell
* Mickey Drexler
* Al Eisenstat
* Larry Ellison
* Robert A. Iger
* Delano Lewis
* Arthur Rock
* Eric Schmidt
* Michael Scott
* Michael Spindler
* Edgar S. Woolard Jr.
* Jerry York

Founders|

* Steve Jobs
* Steve Wozniak
* Ronald Wayne

* Italics indicate discontinued products, services, or defunct companies.
* Category

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template