HCL:Apple M1

Jump to: navigation, search

The Apple M1 is an aarch64 SoC found in MacBook Air (M1, 2020), MacBook Pro 13″ (M1, 2020), MacBook Pro 14"/16" (M1 Pro/Max, 2021), and in the Mac mini (M1, 2020).

Technical Data

  • Cores: 8-10 (4-8 performance cores and 2-4 efficiency cores)
  • RAM: 8-64GB
  • GPU: Up to 32 cores
  • Neural Engine: 16 cores
  • SSD: 256GB - 8TB

Images

Having a look at the Upstream Feature support basic image could be build.

QEMU

Support of M1 in qemu has been merged in qemu 6.2.0. So, you need to install qemu 6.2.0 on your Apple M1 powered system.

Then, you can run any UEFI images, such as NET/DVD installer, live images or JeOS-efi image.

One possible command line to start qemu is:

ISO=myimage.iso
qemu-system-aarch64 -m 2000 -cpu host -smp 2 -M virt,highmem=off -accel hvf \
-bios /opt/homebrew/share/qemu/edk2-qqrch64-code.fd -serial stdio \
-device virtio-net,netdev=hostnet0,mac=52:54:00:09:a4:37 \
-netdev user,id=hostnet0 -drive if=none,file=$ISO,id=hd0 \
-device virtio-blk-device,drive=hd0 -device virtio-gpu-pci \
-device nec-usb-xhci -device usb-tablet -device usb-kbd \
-audiodev none,snd0 -device intel-hda -device hda-output,audiodev=snd0

Parallels

Support of M1 is official for Parallels Desktop 16, however at this time OpenSUSE is not officially supported as a guest operating system. Still, it is possible to install openSUSE using the aarch64 iso. After installation, you may face the problem that the virtual machine will not boot. Simply disable sound, mic, and camera in the VM settings. Then you should be able to boot.

More: https://forum.parallels.com/threads/installing-other-linux-distros.353606/#post-887226

VMWare Fusion (Public Tech Preview 21H1/22H2)

At the moment openSUSE Tumbleweed is not officially supported, but a standard installation of the 20211028-0 aarch64 release (with KDE Plasma desktop) mostly "just works". This includes networking with the host OS and open-vm-tools features such as shared clipboard, clock sync etc.

A few things to be aware of:

  • Kernel 5.14+ is required for the right graphics drivers
  • Wayland is currently not supported at all, only X11 (so make sure to disable Wayland)
  • Changing the display resolution in KDE Plasma to something else than 1024x768 requires KScreen 2 to be disabled in Background Services (resolution resets on restart, this is a KDE bug)

Known issues

  • VMWare Fusion 19431034: Current versions of kernel-default/kernel-firmware-* might result in a boot loop. (Latest packages known to work are kernel-default-5.14.11-2.1 and kernel-firmware-*-20220411-1.1), the responsible commit is probably this one
  • VMWare Fusion 20191287: Requires very recent versions of kernel-default/kernel-firmware-* or it will refuse to boot. If you're upgrading from 19431034, make sure to update the kernel packages (even if resulting in a boot loop) before installing the new version of VMWare Fusion, or your VMs will not be usable afterwards. The boot loop will be fixed after the update.

See also