Asahi Linux 是一個旨在將Linux 移植到Apple Silicon晶片 的麥金塔電腦 (Mac)之計劃,使其可運行macOS 以外的操作系統 。該計劃已在2021年初啟動,由西班牙籍黑客 赫克托·馬丁 ( 英语 : Hector Martin (hacker) ) (Hector Martin )領導。工作於2021年初開始,2022年將發布初始Alpha版本 。由於缺乏Apple專有韌體 的公開可用技術資料,該計劃面臨挑戰[ 2] [ 3] 。
此計劃的名稱「Asahi」為日語的「旭日」之意,「旭苹果 」是蘋果 的品種之一。麦金塔电脑名称来源于麦金塔品种的苹果,而旭苹果正是麦金塔苹果品种的日语名[ 4] 。
自從蘋果公司 執行長提姆·庫克 (Tim Cook )於2020年6月22日的世界開發者大會 (WWDC)宣佈Mac向苹果芯片迁移 的計劃後,人們一直有興趣讓Linux在Apple Silicon上運行。此後不久,Linux創造者林納斯·托瓦茲 (Linus Torvalds )表示有興趣使用運行Linux的Apple M1 Mac電腦,但認為要實現這件事太費勁了[ 5] 。
赫克托·馬丁在2020年12月宣布了這個計劃,並在獲得每月約4,000美元的資金後一個月後正式啟動計劃。开發開源圖形驅動程式堆疊Panfrost ( 英语 : Panfrost ) 的加拿大女性程式設計師艾莉莎·羅森茨維格 ( 英语 : Alyssa Rosenzweig ) (Alyssa Rosenzweig)加入了計劃,以協助Apple Silicon GPU Linux驅動程式開發[ 6] [ 7] 。
開發人員很快意識到,僅僅嘗試啟動為Apple Silicon的處理器架構(AArch64 )編譯 的Linux內核 將是一項挑戰,因為它涉及到解決啟動過程中使用之蘋果公司專有程式碼的功能。這項工作非常耗時,並且花費了一年中的大部分時間,包括向主要的Linux內核開發人員提交拉取請求 以保持開發同步並避免回歸。然而,它隨後對之前未記錄的引導過程 進行了徹底而全面之解釋,赫克托·馬丁和其他人在GitHub 上公布了該過程[ 8] [ 9] 。由于缺乏Apple专有固件 的公开文档,该项目变得颇具挑战性。[ 8] [ 10]
2022年3月18日,開發團隊發布了Asahi Linux安裝程式的實驗性Alpha版本。安裝程式提供了基於Arch Linux ARM 的桌面或最小環境選項,或用於安裝OpenBSD ,抑或替代Linux發行版 的基本UEFI 環境,支援Apple Silicon以可開機的USB儲存裝置啟動[ 10] 。儘管能夠啟動 UEFI shell,但不支持啟動微軟Windows ,並且沒有計劃這樣做,因為這將涉及修改微軟公司 專有的Windows核心 [ 11] 。
在第一個Alpha版本發布後的一兩年內,預計不會全面支援所有Apple Silicon的Mac電腦[ 12] 。2022年7月,Asahi Linux團隊發布了更新,支援搭載M1 Ultra 的Mac Studio ,並早期初步支援M2處理器 的MacBook Pro [ 13] 。
在2023年8月,宣布Asahi与Fedora专案 合作发布Fedora Asahi Remix,该版本将取代基于Arch的原版发行版,成为Asahi的旗舰操作系统。[ 14] 这一努力始于2021年末,是一个优先上游的项目。该项目的最终目标是将所有更改合并到上游 ,从而使得该项目的发行为不必要的。
在2023年10月,Fedora Asahi Remix发布了Beta版,三个月后发布了稳定版。[ 15] [ 16]
2025年2月,Asahi Linux的创始人兼首席开发者赫克托·马丁因职业过劳 和正面临的Linux内核社区的困难,宣布辞去该项目的领导职务。尽管如此,Asahi Linux项目预计仍会继续进行。[ 17]
Vulkan 驱动程序处于工作原型阶段[ 18] ,并且支持 OpenGL 4.6 和 OpenGL ES 3.2。[ 19] 该驱动程序目前是唯一完全符合 AGX(Apple Silicon GPU)的任何广泛图形标准的驱动程序。[ 20] [ 21] [ 22] 最初使用 Panfrost 驱动程序实现,Asahi Linux 项目还使用了 Gallium-3D 和基于Rust for Linux ( 英语 : Rust for Linux ) 的 API 进行驱动程序开发。OpenCL 得到了支持。[ 23] KDE Plasma 渲染是硬件加速的,而视频解码则不是。
HDMI 视频输出仅在 Apple SiliconMac mini 上得到支持,且不支持通过Thunderbolt 的视频输出[ 20] ,尽管可以通过 DisplayLink 扩展坞连接外部显示器。
操作系统的内核已配置为仅支持 16 kB(出于性能原因)分页。未按该指定分页编译(例如,期望 4 kB 或 64 kB 分页)的程序在被映射到内存时会遇到对齐问题。[ 24] Linux 设置的分页大小是全局的(不支持操作中使用多个分页大小)。[ 25] Apple GPU 驱动程序支持 4 kB 和 16 kB 分页。[ 26] [ 27]
Asahi Linux這個計劃受到好評。英國科技新聞網站The Register 上的一篇評論指出,對於仍處於Alpha版本階段的軟體來說,它運作得非常好[ 28] 。同樣,Ars Technica 網站的一篇評論對於Asahi Linux計劃在生命週期初期就已支援的硬體數量印象深刻[ 12] 。
^ About Asahi Linux . [April 22, 2022] . (原始内容存档 于April 17, 2022). ^ Sharma, Mayank.Porting Linux to Apple M1 Macs is proving trickier than previously imagined .TechRadar . March 15, 2021 [March 23, 2021] . (原始内容存档 于March 21, 2022). ^ Martin, Hector.The first Asahi Linux Alpha Release is here! – Asahi Linux . asahilinux.org. [March 20, 2022] . (原始内容存档 于March 20, 2022)(英语) . ^ About Asahi Linux . Asahi Linux. [2022-10-27 ] . (原始内容存档 于2022-04-17)(英语) . ^ Linus Torvalds would like to use an M1 Mac for Linux, but… . ZDNet. November 24, 2020 [April 5, 2022] . (原始内容存档 于April 1, 2022). ^ Tung, Liam.Linux on Apple's Arm silicon Macs? This crowdfunded project wants to give it a try . ZDnet. 8 Jan 2021 [31 May 2021] . (原始内容存档 于20 January 2021). ^ Grüner, Sebastian.Asahi Linux: Stabiler Linux-Support für M1-Macs dauert noch [Asahi Linux: Stable Linux support for M1 Macs still takes time] .Linux-Magazin . 2021-02-18 [2024-06-16 ] (de-DE) . 引文格式1维护:未识别语文类型 (link ) ^8.0 8.1 Sharma, Mayank.Porting Linux to Apple M1 Macs is proving trickier than previously imagined .TechRadar . March 15, 2021 [March 23, 2021] . (原始内容存档 于March 21, 2022). ^ Calligeros, James.Apple Silicon Subsystems - Platform Initialisation and Boot . GitHub. [August 1, 2022] . (原始内容存档 于June 9, 2022)(英语) . ^10.0 10.1 Martin, Hector.The first Asahi Linux Alpha Release is here! – Asahi Linux . asahilinux.org. [March 20, 2022] . (原始内容存档 于March 20, 2022)(英语) . ^ Windows support? . Asahi Linux GitHub. May 21, 2021 [April 5, 2022] . (原始内容存档 于April 5, 2022). ^12.0 12.1 Asahi Linux is reverse-engineering support for Apple Silicon, including M1 Ultra . Ars Technica. March 25, 2022 [April 5, 2022] . (原始内容存档 于April 5, 2022). ^ Cunningham, Andrew.Linux distro for Apple silicon Macs is already up and running on the brand-new M2 . Ars Technica. July 18, 2022 [20 July 2022] . (原始内容存档 于July 19, 2022). ^ Proven, Liam.Asahi Linux project hooks up with Fedora: Remix that's not a remix coming soon . The Register. 7 August 2023 [7 August 2023] . (原始内容存档 于August 8, 2023). ^ We've updated our front page to direct new users to Fedora Asahi! . Asahi Linux Official Mastodon Account. 21 Oct 2023. ^ We've updated our front page to direct new users to Fedora Asahi! . Asahi Linux Official Webpage. 19 Dec 2023 [December 20, 2023] . (原始内容存档 于December 20, 2023). ^ Resigning as Asahi Linux project lead . marcan.st. [2025-02-15 ] (英语) . ^ Vulkan 1.3 on the M1 in 1 month . rosenzweig.io. [2024-08-16 ] (英语) . ^ Conformant OpenGL 4.6 on the M1 . rosenzweig.io. [2024-02-22 ] . (原始内容存档 于February 18, 2024)(英语) . ^20.0 20.1 Crume, Jacob.Asahi Linux Distro Improves Apple M1 Support With First Alpha Release . It's FOSS. March 21, 2022 [April 5, 2022] . (原始内容存档 于March 21, 2022). ^ We take Asahi Linux alpha for a spin on an M1 Mac Mini . The Register. March 22, 2022 [April 5, 2022] . (原始内容存档 于April 5, 2022). ^ Purdy, Kevin.Four-person dev team gets Apple's M-series GPU working in Linux . Ars Technica. December 7, 2022 [8 December 2022] . (原始内容存档 于December 8, 2022). ^ AAA gaming on Asahi Linux . rosenzweig.io. [2024-10-14 ] (英语) . ^ Broken Software . GitHub. [2023-09-29 ] . (原始内容存档 于August 26, 2023)(英语) . ^ Linux does support mixed page sizes (that's how huge pages work) and the page si... | Hacker News . news.ycombinator.com. [2023-09-29 ] . (原始内容存档 于June 4, 2023). ^ Progress Report: September 2021 - Asahi Linux . asahilinux.org. [2023-08-11 ] . (原始内容存档 于August 11, 2023)(英语) . ^ Paving the Road to Vulkan on Asahi Linux - Asahi Linux . asahilinux.org. [2023-08-11 ] . (原始内容存档 于August 11, 2023)(英语) . ^ 引用错误:没有为名为register的参考文献提供内容
产品
服務
帳戶及雲端 安全機制 商店 媒體 生產力 金融 健康 支援 開發者
人物
公司
相关