Score:0

Ros in M1 macbook air

in flag

I'm considering buying M1 macbook air.Can m1 mac run ubuntu in parallels(virtual machine)with all apps eligible to run. Could i use this for robotics(ros) and related works??

guiverc avatar
cn flag
Please refer to https://askubuntu.com/help/on-topic where you'll note "*Shopping or Hardware Recommendations*" are off-topic. Ubuntu Forums allows those sort of *opinion* based questions.
karel avatar
sa flag
@guiverc This question is not a shopping or hardware recommendation question. It's a simple compatibility question about whether the M1 CPU chip is compatible with Ubuntu which depends on the kernel version of Ubuntu, so it's not really a matter of opinion rather it's a matter of kernel compatibility. Please consider retracting your close vote.
Score:0
sa flag

Whether Apple's M1 CPU chip is compatible with Ubuntu depends on the version of the Linux kernel that is used in Ubuntu. In addition to CPU support the Apple M1 GPU is still not supported at all, so running Ubuntu Desktop 21.10 as a dual boot on Apple M1 silicon would be impractical.

The new 5.13 kernel that will be installed by default in Ubuntu 21.10 and later adds support for several chips based on the ARM architecture, including the Apple M1. This means that users will be able to run Linux natively on the new M1 MacBook Air, MacBook Pro, Mac mini, and 24-inch iMac.

Ubuntu 21.10 is currently in its beta development version and is scheduled to be released in October, 2021.

UTM

UTM is an emulation and virtualization solution that can be installed on an M1 Mac from the Apple App Store. This allows a macOS user to either run native ARM VMs or execute Intel x86 virtual machines by using emulation.

UTM uses QEMU as a back-end similar to what the Virtual Machine Manager app does in Ubuntu. Install homebrew package manager and then install the qemu package. You also need to have Xcode installed on your system. In my experience if you try to install homebrew it will prompt you to install whatever Xcode packages that homebrew needs, and once homebrew is installed any additional package dependencies that qemu needs will be automatically installed by installing the qemu package. Installing qemu this way prevents you from installing Xcode packages that you don't need. QEMU is a great virtualization program that I use for all my virtual machines in Ubuntu, but the QEMU documentation is sparse so you have to dig in the forums for information that is missing from the documentation in order to install Ubuntu with QEMU for the first time.

It is also possible to install ROS directly in macOS using homebrew, however according to http://wiki.ros.org "OS X / macOS is not officially supported by ROS and the installation might fail".

muru avatar
us flag
Note that that's just the base SoC support. The GPU isn't supported yet, IIRC, so that effectively means no display. The SoC support allows the people to run code on the system via serial console.
Sresanjai avatar
in flag
So I can't see the display Because of unsupported GPU. need to wait till October for runing ubuntu smooth with any hardware errors right?
karel avatar
sa flag
@Sresanjai CPU support for the Apple M1 chip is scheduled to arrive in the latest Linux kernel in October, however GPU support for the Apple M1 chip on Linux from Nvidia and AMD is still missing. The lack of GPU support is the biggest bottleneck preventing Linux from being dual booted in a friendly way on hardware that uses the Apple M1 chip at this point in time.
Sresanjai avatar
in flag
whether it is possible in virtualization. not in dual boot
karel avatar
sa flag
@Sresanjai I replied to your comment by editing my answer.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.