News: 1633541227

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Progress report: Asahi Linux brings forth a usable basic desktop on Apple's M1

(2021/10/06)


Efforts to bring Linux to Apple Silicon have resulted in a basic functional desktop, [1]according to the Asahi Linux team .

The project kicked off in earnest with a [2]lengthy blog post earlier this year detailing the challenges involved in getting the OS onto Apple's latest and greatest.

Since then Apple M1 support has been [3]sidling into the Linux kernel and by August the GNOME desktop was shown booting up with the experience [4]described as "not great, but usable."

[5]

September's progress report, published today by founder Hector Martin, was packed with good news for fans of the project, including the comment that Asahi Linux "is usable as a basic Linux desktop" albeit without GUI acceleration.

[6]

[7]

As for what desktop, Martin told The Register : "Whatever desktop you want, that's up to you!"

He went on to tell us that the plan was provide an Arch Linux ARM image preconfigured with KDE ("which happens to be my desktop of choice") and likely a barebones image so users could install their own preference.

[8]

The lowest level drivers had been merged into the Linux kernel earlier this year, but Martin said more were needed to make things usable. The goal is to eventually get everything upstreamed.

Already merged for version 5.16 of the Linux kernel (5.15 is currently in RC status) are the PCIe bindings and driver, and the USB-C PD driver. In review are other bits and pieces, including the Pinctrl drive for the GPIO pins of Apple's M1 and code to handle the M1's Device Power Management. In development is work on the Display Controller hardware among other things.

The team has also been at work on the installer. Handy, because getting the code working on a vanilla M1 Mac Mini remains somewhat challenging. "Once we have a stable kernel foundation," said Martin, "we will start publishing an 'official' installer that we expect will see more wide usage among the adventurous."

[9]

Martin told El Reg that the installer would be a script that dealt with the murky world of partitions and the like before eventually installing a Linux distribution. The completion of the install will require a reboot into Recovery Mode via the power button and the running of another script set up by the installer.

[10]'Not great, but usable': GNOME desktop boots on Asahi Linux for Apple M1

[11]Asahi Linux progress: Apple Silicon OS works – though it's 'rough around the edges' and has no GUI acceleration

[12]Asahi Linux devs merge effort to run Linux on Apple M1 silicon into kernel

[13]Asahi's plan for Linux on Apple's new silicon shows Cupertino has gone back to basics with iOS booting

Once the distribution of choice is up and running (and Martin noted interest from a Fedora developer as well as the use of Debian), ARM64 applications are expected to work without issue. Martin added: "For running x86 apps Rosetta style, there is FEX, which I'm very excited to try out. It should work with Wine to allow you to run Windows games too."

The progress report is positive stuff, even with the GPU elephant lurking in the corner of the room. Developer Alyssa Rosenzweig reported some impressive performance from the code on Apple's M1.

Everything just happens... instantly? What?

Computers haven't felt this fast since before I was born. — Alyssa Rosenzweig (@alyssarzg) [14]September 29, 2021

Martin said in his post: "While there is no GPU acceleration yet, the M1's CPUs are so powerful that a software-rendered desktop is actually faster on them," but acknowledged that plenty of rough edges still required smoothing before the desired polished experience could be delivered, not least that GPU.

"That said," he continued, "we hope this will allow those willing to be on the absolute bleeding edge to get a taste for what running Linux on these machines is like – and, for some, this might be enough for production usage." ®

Get our [15]Tech Resources



[1] https://asahilinux.org/2021/10/progress-report-september-2021/

[2] https://www.theregister.com/2021/03/13/asahi_linux_apple/

[3] https://www.theregister.com/2021/04/09/asahi_linux_merged/

[4] https://www.theregister.com/2021/08/23/gnome_asahi_linux/

[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YV4cna0qg3ZJhHTaD0vwPwAAAEI&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YV4cna0qg3ZJhHTaD0vwPwAAAEI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YV4cna0qg3ZJhHTaD0vwPwAAAEI&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[8] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YV4cna0qg3ZJhHTaD0vwPwAAAEI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[9] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YV4cna0qg3ZJhHTaD0vwPwAAAEI&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[10] https://www.theregister.com/2021/08/23/gnome_asahi_linux/

[11] https://www.theregister.com/2021/08/18/asahi_linux_progress_apple_silicon/

[12] https://www.theregister.com/2021/04/09/asahi_linux_merged/

[13] https://www.theregister.com/2021/03/13/asahi_linux_apple/

[14] https://twitter.com/alyssarzg/status/1443349503113846785?ref_src=twsrc%5Etfw

[15] https://whitepapers.theregister.com/



Looks interesting

Will Godfrey

Has there been any comment from Apple people? It would be useful to know if they were supportive, hostile or just MEH

Re: Looks interesting

TeeCee

I predict that they'll remain silent and feign total disinterest.

Then, if at some point a fully working version gains traction and has the potential to dent app store revenue, they'll sue everyone involved and their families and dogs too.

Re: Looks interesting

doublelayer

For now, they appear not to care. They've made it clear that they're not helping with driver support (Linux or Windows) or releasing the docs they already have. Neither have they been that active at blocking this from working. If at some point they're no longer happy with people running something other than Mac OS on their hardware, I have no doubt they'll release new firmware which breaks everything. Also, when they have new processors, it's almost certain they will have firmware changes which, intentionally or not, means this project has to start again for most components.

"not great, but usable"

Version 1.0

Gosh! I don't think I've seen that since the early 1980's ...

MSDOS, CP/M and RSX11m were always quite easy to use and very efficient, OK so I couldn't post on social media while I was creating corporate documentation ... no wait, I could have done that on RSX11m by just putting two VT-100 terminals on my desktop. Back in those days systems were built to be usable, it wasn't always easy but it worked., ha ha ha.

virtual

G.Y.

Any chance of running it as a virtual machine under a Mac virtualizer?

Re: virtual

Youngone

You should ask the dudes at Asahi.

I suggest you locate your hot tub outside your house, so it won't do too
much damage if it catches fire or explodes. First you decide which
direction your hot tub should face for maximum solar energy. After much
trial and error, I have found that the best direction for a hot tub to face
is up.
-- Dave Barry, "The Taming of the Screw"