treehouse.systems is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community of friends mostly surviving in the technology industry. If you sign up, please provide a Twitter, GitHub, or personal blog or website link for us to get to know you better.

Administered by:

Server stats:

526
active users

Asahi Linux
Public

We now support all 2023 MacBook models!

Hardware support should be on par with the other machines, but please do let us know if you run into any issues.

2023 desktops will come a bit later, stay tuned.

P.S. The webcam also works now ;)

Simon John
Public

@AsahiLinux As someone considering buying an m2 Mac studio mainly for compiling aarch64 RPMS, is native much faster than via UTM? (e.g. x86_64 Linux running x86_64 Linux under qemu isn't particularly noticeable).

Or can you dual boot asahi, seems a shame to pay inflated apple prices and not have macos to play with too.

Do you have any compiling a kernel RPM timings? Colleagues say about 70mins on M1 max under UTM, about the same as Xeon+qemu

Janne Grunau
Public

@sej7278 @AsahiLinux the fedora asahi remix kernel rpm (6.5.6 plus asahi patches) takes on a m1 ultra around 75 minutes. that are 4 sequential kernel builds, 4k + 16k variants with and without debug. rpmbuild itself is unfortunately mostly just using a single core and the post build processing takes a considerable amount of time. average CPU use is 1200% while the kernel build itself uses all 20 cores.
The M2 Ultra should be a little faster.
Dual booting is no problem and for now the expected setup.

Simon John
Public

@janne @AsahiLinux thanks. Seems RPM is the problem, as pretty sure building a kernel shouldn't take that long and dual xeons or absurd amounts of ram don't help, I've seen nothing build any kernel RPM in under 73mins (baremetal, mock, VM....) and M1 max/ultra sound the same

Janne Grunau
Public

@sej7278 @AsahiLinux the m1/m2 ultra should be able to build the plain fedora aarch64 kernel rpm under 40 minutes. the asahi kernel rpm build takes twice as much since it builds the kernel once with 4k page size like the fedora build and once with 16k page size (optimal/required for apple silicon devices).

Simon John
Public

@janne @AsahiLinux oh right so the default 4kb in most distro's (or additionally 64kb) page sizes just don't work on apple silicon like they do on e.g. qemu/raspberrypi/aws kit?

Sorry for all the questions, i feel like i should be reading this on a wiki somewhere....

Janne Grunau

@sej7278 @AsahiLinux apple silicon cpus support 4k and 16k page size but the iommu supports only 16k and is required for some devices (all PCIe devices, display controller, …). using a different page size for CPU and DMA is not supported