3 ms·
Apple's hypervisor.framework lets other OS instances run very very fast with the UTM app (open source on github, but i use the prebuilt version from the App Sto
by jjtheblunt 28d ago
Apple's hypervisor.framework lets other OS instances run very very fast with the UTM app (open source on github, but i use the prebuilt version from the App Store). In my case i've used arm native linuxes (arch with various compositors, kde, gnome, fedora) all on M2, M2 Max, M5 and the experience is indistinguishable from native. MacOS is running too. I think hardcore graphics folks might want direct accelerator access, or there'd be curiously little reason for Asahi (other than that it's awesome work).
I use UTM in emulation mode, NOT Qemu simulation mode, which is wasteful.
just my $0.02.
- smashed 28d agoWhat is the purpose here? You are still stuck with a full blown MacOS running the system no? That is what Asahi tries to replace, not the other way around.
- jjtheblunt 28d agoI'd recommend reading up on it, and perhaps trying it, because it's very useful. For folks lamenting that the (awesome) Asahi efforts are challenged by reverse engineering of changes from M2 to M3, and so on, those changes vanish into the abstraction, but their benefits do not. That's why i switched from Asahi a couple years ago to UTM in apple silicon hypervisor mode. https://developer.apple.com/documentation/hypervisor https://developer.apple.com/documentation/hypervisor https://apps.apple.com/us/app/utm-virtual-machines https://apps.apple.com/us/app/utm-virtual-machines
- trompetenaccoun 27d agoThe point is some people who want to run Linux mostly do not want MacOS. You suggest to "just run MacOS" (the thing they want to avoid) and virtualize Linux. That defeats the entire purpose, then you could just as well skip the VM and run Mac apps. Yes, there are a few specialized applications people might need Linux for but that's mostly not why they install an entirely different OS. For the occasional obscure programm that doesn't exist in the Apple ecosystem VMs are a good option, absolutely. Everything you do in the VM still runs on Mac though and you depend on Apple for security, privacy and trust in general.
- jjtheblunt 27d agoyeah i get it, and run native linux myself, but also have apple silicon. for some, but not everyone (to your point), the apple hypervisor.framework is itself an adequate trick.
- MomsAVoxell 28d agoThe purpose is to be able to run a decent Linux setup while also having MacOS for things. Not everyone is stuck on the anti-Apple train; some of us put software on all the platforms and thus using the hypervisor for this use case is quite comfortable. Disclaimer: personal experience - I too use UTM for highly productive things..
- nsonha 28d agoWanting to run a single OS at a time is anti Apple now? Run MacOS or run Linux, why run both and create more problems than it solves and waste resources?
- MomsAVoxell 28d agoRun both when you need to build for both. Why not run both when you need to?
- nsonha 27d agoyes, but you're arguing for running both whenever you need (only) linux?
- MomsAVoxell 27d agoI’d need both, so I’d use both.
- GeekyBear 28d agoIt serves the exact same purpose that WSL does in Windows. You can run any flavor of Linux you like in a virtual machine, while booted into the native OS.
- boredatoms 28d agoThis misses the point entirely. What happens when apple inevitably discontinues support for this hardware.
- jjtheblunt 28d agoi have no idea how you think apple silicon will discontinue support for itself. the hypervisor framework documentation, that i linked above, is pretty clear; the linux builds for arm run extremely fast on apple silicon because hypervisor framework gives them hardware access, in some subsystems directly (memory mapping for example), in other systems through a shim (graphics hardware).
- vlovich123 28d agoApple discontinues support for this HW, not Apple discontinues support for running Linux in a hypervisor.
- jjtheblunt 27d agowhen apple discontinues support for older hardware, it doesn't get OS software updates. that doesn't disable the hardware from running the latest OS before OS updates for the hardware were ended. On the frozen-in-time OS, you'd still have a working instance of apple silicon hypervisor wrapping optimized drivers that make whatever linux arm build you're running still see the hardware.
- vlovich123 27d agoSome people would like to keep running a system that’s connected to the internet that’s still receiving security updates. Running an outdated host isn’t the best idea.
- happymellon 27d agoSo you are wrapping Linux in an insecure and never updating wrapper connected to the internet? Sounds awesome!
- VCFundedGenYer 28d agoI don't think you understand what Asahi Linux is. This isn't about running VMs.
- jjtheblunt 27d agoI used Asahi linux on M1 for a couple years, and dual booted, and worked as an engineer in an inner part of Apple. I definitely know what Asahi is.
- codethief 27d agoI spent this past weekend giving UTM w/ Apple Virtualization a shot and can confirm that it really does work fantastically well! The only downside seems to be that it's not possible to pass USB devices through to the VM guest yet?
- dylanger 27d agoI just don't trust macOS enough to run the hw, AsahiLinux/Linux Kernel I do, I love Apple hardware but want to run Linux.