Author Topic: Linux on Apple Silicon M1  (Read 2253 times)

0 Members and 1 Guest are viewing this topic.

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Linux on Apple Silicon M1
« on: December 12, 2022, 07:24:32 pm »
After only 2 years, it's already usable.
See here  :o :o :o
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #1 on: December 12, 2022, 07:27:50 pm »
Also a good occasion to see a driver written in Rust!
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 
The following users thanked this post: karpouzi9

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: Linux on Apple Silicon M1
« Reply #2 on: December 12, 2022, 08:44:18 pm »
After only 2 years, it's already usable.
See here  :o :o :o

It's been usable as a headless server for at least a year now. By far the highest performance ARM Linux machine you can get. Especially if you get a Mac Studio! (ok, I don't know whether that's supported yet)

I've been running Linux in a VM on my M1 Mac since late November 2020 (geez, more than two years) with great performance. On the initial 8 GB machines shipped it was pretty tight for serious work because you couldn't really give more than 4 GB to Linux, but once the 16 GB machines shipped in early 2021 it's been fine.

Here's a page I put up on 2020-11-23 that includes arm64 Ubuntu in a VM results ("minivm"):

https://hoult.org/arm64_mini.html
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #3 on: December 12, 2022, 09:25:39 pm »
They wrote an hypervisor to reverse engineering the Mac os m1 GPU driver.
The Vulkan support keeps getting better.

I have been using my ppcg4 since 2004, with nothing but mwm.
The ati128 has less support than the m1 GPU.
That's amazing!!!
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #4 on: December 12, 2022, 09:29:10 pm »
p.s.
The best ARM platform is the Ampere Altra Max with 128-cores on chip!!!
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: Linux on Apple Silicon M1
« Reply #5 on: December 13, 2022, 08:03:20 am »
p.s.
The best ARM platform is the Ampere Altra Max with 128-cores on chip!!!

What does it cost, and where can I get one?

Apple will sell you a 20 core M1 (16 performance + 4 economy) with 64 GB very very fast in-package RAM and 1 TB SSD for $3999. If you want 128 GB in-package RAM that's an extra $800.

Last I checked, a comparable x86 will cost you $2k+ just for the CPU.

So how much for that Ampere?
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #6 on: December 13, 2022, 08:18:59 am »
Dunno who?why? But last week somehow one of those crazy irons (rack version) got delivered to my boss as dev-sample-something, and she parked it on my colleague's desk with just a paper note on a little piece of paper "have fun"

Thanks God not on my desk  :phew:

I think it's enough for me  :o :o :o
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #7 on: December 13, 2022, 08:26:48 am »
Anyhow, I'd like to meet in person that nice hacker girl.
On her YouTube channel she looks like Sailor Moon,
but she wrote the first world Rust driver for Linux/m1 !!!!

Appeal-=10
Apeal+=10000

Happy hacking.

The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: Linux on Apple Silicon M1
« Reply #8 on: December 13, 2022, 08:41:04 am »
Anyhow, I'd like to meet in person that nice hacker girl.
On her YouTube channel she looks like Sailor Moon,
but she wrote the first world Rust driver for Linux/m1 !!!!

Asahi Lina. The voice on YouTube seems altered to sound female. Does good work.
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #9 on: December 13, 2022, 09:55:15 am »
Yup. May be I will date and interview a string of A.I.  :o :o :o
(exciting and terrifying at the same time)

I am going to buy a second M1 laptop.
The older one will be dedicated to Gentoo/M1.

Scheduled Linux kernel v6.*/M1-stage{1-3,4}-2023->=5 (importing stuff from archlinux).

Dream: Haiku/M1, I mean natively rather than inside a vm-x86 emulator.
One day ... in the far far future ...

The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Online BrianHG

  • Super Contributor
  • ***
  • Posts: 7738
  • Country: ca
Re: Linux on Apple Silicon M1
« Reply #10 on: December 13, 2022, 10:19:31 am »
It's sad that the corporate generated public brainwashing has created an environment where this actually needs to be said on their website.

Quote
Is this legal?

As long as no code is taken from macOS to build the Linux support, the result is completely legal to distribute and for end-users to use, as it would not be a derivative work of macOS. Please see our Copyright & Reverse Engineering Policy for more information.
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #11 on: December 13, 2022, 10:30:26 am »
well it's not an hack, Apple left the door open from the bootloader up, so ... it's 100% legal.
Ummm, still I have to understand *?WHY?* there is also an u-boot repo in their Git  :-//
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11640
  • Country: my
  • reassessing directives...
Re: Linux on Apple Silicon M1
« Reply #12 on: December 13, 2022, 11:01:19 am »
p.s.
The best ARM platform is the Ampere Altra Max with 128-cores on chip!!!

What does it cost, and where can I get one?

Apple will sell you a 20 core M1 (16 performance + 4 economy) with 64 GB very very fast in-package RAM and 1 TB SSD for $3999. If you want 128 GB in-package RAM that's an extra $800.

Last I checked, a comparable x86 will cost you $2k+ just for the CPU.

So how much for that Ampere?

its cheap... just about $45/core... https://www.tomshardware.com/news/ampere-altra-max-128-core-priced dont forget to buy big psu and heatsink as well...
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: Linux on Apple Silicon M1
« Reply #13 on: December 13, 2022, 11:21:56 am »
its cheap... just about $45/core... https://www.tomshardware.com/news/ampere-altra-max-128-core-priced dont forget to buy big psu and heatsink as well...

Comments on that story:

"Cost a fraction? Its almost 80+% of the X86 processors."

"8/10 is a fraction."

That's only the CPU but yeah a full system will work out cheaper than Apple, but considerably lower single-threaded performance.
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: Linux on Apple Silicon M1
« Reply #14 on: December 13, 2022, 11:40:20 am »
For work & running Linux, I prefer to buy a workstation that is guranteed to work with Linux by the manufacturer (e.g. Dell, Fujitsu-Siemens, etc.).
I don't like surprises...
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #15 on: December 13, 2022, 01:51:17 pm »
Certain stuff is only for brave hearts  8)
(Haiku on risc-v + hacked and GPU)
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #16 on: December 13, 2022, 01:54:37 pm »
Linux/M1 will fix, once for ever, all the Alsa/OSS/pulse/&C problems.
That's great! It's non only the kernel, it's also the rootfs, patches pushed upstream.

Great guys and girls!

Respect  :-+
« Last Edit: December 13, 2022, 10:06:32 pm by DiTBho »
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: Linux on Apple Silicon M1
« Reply #17 on: December 13, 2022, 02:27:35 pm »
By lacking audio hardware drivers in the first place?
By the SoC not having audio hardware in the first place?

Not sure what you mean :P
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11640
  • Country: my
  • reassessing directives...
Re: Linux on Apple Silicon M1
« Reply #18 on: December 13, 2022, 02:33:29 pm »
anyway since i replied.... why it always come down to audio and display? how about... Epson/Canon/Nikon printers/scanners/cameras. another vast numbers of vendors of specialized devices... Pen Stylus, Colori and Spectro meters to name a few... because.... games! my colleague has to bring my old Epson printer at the office home because her new Epson printer cant be installed in her mac machine.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: Linux on Apple Silicon M1
« Reply #19 on: December 13, 2022, 04:50:55 pm »
my colleague has to bring my old Epson printer at the office home because her new Epson printer cant be installed in her mac machine.

Why did she buy a printer that can't be installed in her mac machine?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11640
  • Country: my
  • reassessing directives...
Re: Linux on Apple Silicon M1
« Reply #20 on: December 13, 2022, 07:58:28 pm »
because new printers are trendy... besides, who wants to buy older model? esp if its not available anymore.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: Linux on Apple Silicon M1
« Reply #21 on: December 13, 2022, 08:03:24 pm »
because new printers are trendy... besides, who wants to buy older model? esp if its not available anymore.

Other new printers that can be installed in her mac machine were sold out?
« Last Edit: December 13, 2022, 08:55:03 pm by Karel »
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: Linux on Apple Silicon M1
« Reply #22 on: December 13, 2022, 08:30:46 pm »
because new printers are trendy... besides, who wants to buy older model? esp if its not available anymore.

Other new printers than can be installed in her mac machine were sold out?

What kind of recent (last 15 years, if not 25) Epson printer doesn't work on a Mac?
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #23 on: December 13, 2022, 10:09:23 pm »
By lacking audio hardware drivers in the first place?
By the SoC not having audio hardware in the first place?

Not sure what you mean :P

The sound infrastructure on GNU/Linux sucks at both kernel and usetland sides.
Those M1 guys and girls are willing to fix stuff, add new stuff, and upload everything main stream.
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7992
  • Country: gb
Re: Linux on Apple Silicon M1
« Reply #24 on: December 13, 2022, 10:19:52 pm »
By lacking audio hardware drivers in the first place?
By the SoC not having audio hardware in the first place?

Not sure what you mean :P

The sound infrastructure on GNU/Linux sucks at both kernel and usetland sides.
Those M1 guys and girls are willing to fix stuff, add new stuff, and upload everything main stream.

I don't think rewriting an entire kernel subsystem is one of their current plans.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf