What's the go to for virtualization on apple silicon macs?
-
What's the go to for virtualization on apple silicon macs?
Requirements:
* Free or one time purchase, not subscriptionware
* Can run macos guests with full metal support
* CLI for spawning, terminating, snapshotting, and revertingStretch goals:
* Can run arm64 Linux guests with vulkan supportvirtualbox?
-
@rfc6919 if so then that's fine. i'll have to check but utm is free so i'll try it first
-
What's the go to for virtualization on apple silicon macs?
Requirements:
* Free or one time purchase, not subscriptionware
* Can run macos guests with full metal support
* CLI for spawning, terminating, snapshotting, and revertingStretch goals:
* Can run arm64 Linux guests with vulkan support@azonenberg Definitely try UTM first. Last time I tried macOS guests, tjey looked GPU accelerated, but didn’t dig in the features.
Linux guests have the usual QEMU backends, some of which are GPU enabled, but might be beta-ish.
Bonus points for linux guests, if you don’t require QEMU for them: you can use rosetta, so you can run x86 apps/libs also in Linux.
There is also libkrun which advertises gpu accelerated containers on macOS via venus. Haven’t tried this tho.
-
@azonenberg Definitely try UTM first. Last time I tried macOS guests, tjey looked GPU accelerated, but didn’t dig in the features.
Linux guests have the usual QEMU backends, some of which are GPU enabled, but might be beta-ish.
Bonus points for linux guests, if you don’t require QEMU for them: you can use rosetta, so you can run x86 apps/libs also in Linux.
There is also libkrun which advertises gpu accelerated containers on macOS via venus. Haven’t tried this tho.
@toader I already have a big iron x86 machine to run x86 stuff. The only reason I have the mac mini is to test on MacOS.
But I might try qemu with Linux guests since we do not currently have an ARM64 Linux test environment and it'll probably run faster virtualized than software emulated on x86.
-
@toader I already have a big iron x86 machine to run x86 stuff. The only reason I have the mac mini is to test on MacOS.
But I might try qemu with Linux guests since we do not currently have an ARM64 Linux test environment and it'll probably run faster virtualized than software emulated on x86.
@azonenberg Definitely give it a try, never not a good reason to also have ARM64 support.
Regarding performance, my M4 Mini is giving a lot of Ryzen boxes a run for their money in Vivado synthesis (in a Linux VM, ‘emulating’ x86 via Rosetta). The single core perf is that good and virtualization is seamless.
UTM is stable, and also has a server for managing VMs via an API. -
@azonenberg Definitely give it a try, never not a good reason to also have ARM64 support.
Regarding performance, my M4 Mini is giving a lot of Ryzen boxes a run for their money in Vivado synthesis (in a Linux VM, ‘emulating’ x86 via Rosetta). The single core perf is that good and virtualization is seamless.
UTM is stable, and also has a server for managing VMs via an API.@toader The mac mini has 16GB of RAM and the Xeon box has 512. I'm not running any VMs on the mac that don't actually *need* apple silicon.
But yeah, one mac runner and one Debian arm64 runner or something, taking turns because I probably won't have the RAM to do both simultaneously, is probably doable.
-
What's the go to for virtualization on apple silicon macs?
Requirements:
* Free or one time purchase, not subscriptionware
* Can run macos guests with full metal support
* CLI for spawning, terminating, snapshotting, and revertingStretch goals:
* Can run arm64 Linux guests with vulkan support@azonenberg @whitequark OrbStack: easy, intuitive, just works, https://orbstack.dev/
-
@azonenberg @whitequark OrbStack: easy, intuitive, just works, https://orbstack.dev/
@hywan @azonenberg that runs macos guests?
-
@hywan @azonenberg that runs macos guests?
@whitequark @azonenberg Probably not.
-
What's the go to for virtualization on apple silicon macs?
Requirements:
* Free or one time purchase, not subscriptionware
* Can run macos guests with full metal support
* CLI for spawning, terminating, snapshotting, and revertingStretch goals:
* Can run arm64 Linux guests with vulkan support@azonenberg take a look to tart
-
Quick summary from preliminary doc reading having not tried any of them yet:
* VMware does not appear to support virtualizing macos apple silicon guests
* Parallels appears to be subscriptionware but will probably do what I want if I buy the pro edition (seems the lower tier doesn't have the CLI)
* UTM is free and seems to support MacOS guests, so I'm gonna try to install it and see what happens
@azonenberg There is also VirtualBuddy https://github.com/insidegui/VirtualBuddy