How virtualisation came to Apple Silicon Macs
eclecticlight.co
eclecticlight.co
> It is currently not possible to connect any USB device to a macOS Arm VM yet.
Virtualization abstracts the actual underlying hardware, creating a virtual instance. You are executing instructions directly on the host CPU with little or no overhead, so it’s fast.
Emulation mimics one system on a different system by converting the instructions of the mimicked system into instructions the host platform can understand. It is generally a very slow process.
A non vm alternative in the meantime is buying and keeping a used iMac to use target disc mode to boot a backup off the hard drive. But who wants to do that.
If so, how would I do this?
(also off-topic)
I inquire because I would actually like to do the same – newer versions of the Music app are a usability and visual downgrade. Album view, for example, only shows six fixed-dimension covers, no matter how wide your screen is. Clicking on an album takes you to another screen – annoying! I just want to see the tracklist.
I have a 2018 Macbook that's still running Mojave because I vastly prefer the UI overall. I pray for a UI refresh/patch every WWDC but Apple doesn't really seem to be taking it seriously. Sonoma is an improvement, but there are still so many inconsistent or unpolished areas of the post-Catalina interface style. The cyan-blue folders are still awful; filename selection highlights in Finder aren't centered; the taskbars have become comically large. Small details, but embarrassing for a company of such design pedigree.
But the other apps simply aren't as full-featured as iTunes; they align more with Apple's interests as an appliance maker and content vendor (original iTunes preceded the iTunes Store by several years). TV.app preserves some power-user features, like Smart Playlists, while stripping out basics like "Show In Finder". But the one that really grinds my gears is the way audiobooks have been shoe-horned into Books.app, with any semblance of user sovereignty removed.
Example: few years ago, I was planning a road trip, and wanted to quickly filter down a shortlist of audiobooks: "Unread, Genre: Science Fiction, Length < 12 hrs". Not only does the UI offer no affordances for that: it doesn't even display audiobook length, let alone allow sorting by it! I had to dig to find where the files are stored (in `~/Library/Containers`, with gibberish file names), then write a Bash script to `ffprobe` the files and parse the results. When audiobooks were managed by iTunes, this would have been trivial.
Let’s you use vintage 32bit Apple software on modern os.
I’ve had luck with Aperture.
Source: https://everymac.com/systems/apple/macbook_pro/specs/macbook...
Regarding running a newer macOS on older hardware, check out OCLP [1] — do make sure you make full backups and have a working recovery plan before trying anything with OCLP though. I know that might sound somewhat obvious to a lot of folk, but you'd be surprised at the amount of folk that jump in and try OCLP on their main system without any backup plan.
Note that are some gotchas re installing OCLP on some older h/w, and it will help to read up on possible issues before wading in. e.g. during installation it might be necessary to use a wired keyboard and mouse, via a USB hub, until the installation is done, you might also need a wired network connection during install, similarly. Depends on h/w (I've not patched MacBooks myself, yet). Once the patcher is done, these should not be needed anymore.
Official support for OCLP is only via Discord — but there is a very active unofficial peer/user support group on FB [3]
HTH!
[1] https://github.com/cormiertyshawn895/Retroactive
Am I going to run into problems, either with performance of x86 code in a translator like Parallels, or with USB connections to the target hardware from within a virtual machine on M2/M3?
The big problem with Windows on ARM seems to be that nobody is making fast enough ARM chips for a price that marches the performance expectations. The new Qualcom chips look very promising, though!
Why, though? Why do you want to use a Mac? What rationale is there for diverging from the native architecture you're targeting?
I appreciate all the comments here and think the performance hit could be too much.
It’s significantly faster than Docker and some users in the Discord community have been able to use it to run hand-built Linux x86 VMs on Apple Silicon.
It’s a paid product though, but you can download it for free and try it out before paying.
A word of warning, FPGA tools are extremely cpu intensive (and often poorly optimized) so you are not going to be happy compared to your colleagues running on native x86.
For pure compute, it would work, although with some performance hit. Look for Virtualization.Framework-based VMs and Apple Rosetta for Linux.
https://mremallin.ca/2022/10/24/xilinx-vivado-on-an-apple-m1...
Yes. Holy cow: https://news.ycombinator.com/submitted?id=ingve
It's rumored that iPad Pro M3 will see price hikes of $500-$700 to cover OLED screens and higher base memory/storage [1]. If Magic Keyboard gains an aluminum shell in MacBook style [2], iPad Pro M3 could move upmarket to MacBook Pro pricing. A 12.9" iPad Air could occupy the lower price tier [3].
If iPad Pro M3 can earn same-or-better margins/revenue as MacBook+iPad, with less physical hardware thanks to virtualization, why not save on atoms and shipping? iPad Pro has long been overpowered for the few iOS-approved use cases. Virtualization could unlock that power, freeing customers from carrying multiple devices to run multiple OSes.
[1] https://www.tomsguide.com/news/ipad-pro-2024
[2] https://www.theverge.com/2023/9/3/23857409/ipad-aluminum-magic-keyboard-apple-ipad-pro
[3] https://www.imore.com/ipad/ipad-air/129-inch-ipad-air-on-track-for-march-launch-as-display-panel-shipments-beginThere's no better mobile daily driver computer value for dollar available today.
My muscle memory is tied to keyboards and multiple windows so I just couldn’t get productive on an iPad and found the 12.9 a bit heavy and awkward for a couch computer. I see where the money went: M2, amazing screen but it’s not my first choice. Curious about your usage. eg how do you use the (janky imho) windowing and multitasking?
For multi-tasking, use Stage Manager to have thumbs of screens along the left side of the screen, and use the window affordances to resize windows with overlaps to have 2 or 3 applications open at the same time per thumbnail (a thumbnail isn't an app, it's a space or desktop).
Windows can 1/2 overlap the thumbs, so it doesn't take much screen space, and you can also overlap or leave showing the dock across the bottom.
This also works with a second monitor which can extend the desktop space instead of mirroring to it, then you can have a half dozen apps open at once.
Of course the killer feature is 5G, all day battery, and paper-notebook level of portability.
Maybe the magic keyboard is better built, but that's another $350 on top of an expensive tablet. My bad experience with the cheaper (but still $200) keyboard accessory has probably had an outsized effect on how I feel about the product as a whole.
If you want to draw and watch movies and read emails it's great for that. I've given up on using it much for productivity, where its most powerful function is having a remote desktop client if I need to connect to a real computer.
Personally I spent the extra money thinking "I could do some real work on this" but unless your work is mostly marking up PDFs (it's really great for that) and sending plaintext emails I can't recommend it. The only work tasks I use mine for regularly anymore are quick sketches/markups (synced via OneNote and screenshot into an email that I'm writing on the computer) and quickly flipping through my inbox to either deleting or flag new messages, again for me to actually deal with on the computer.
So, Blender runs on on them, unlike on IPads. :/
That being said, I haven't used a Surface tablet in years so I have no idea if they're still as good as they used to be.
For the last class I taught, I ended up using both the Surface and an iPad Pro (10"). The Surface was used in situations where I needed a full OS (as it turned out running VM's was part of that) and the iPad got used during lecture as it was simply superior for presenting slides with sketched overlays in real time.
If you could only pick a single tablet instead of being able to use two, which one would you have gone with?
Has always felt like a stretch to me for a device I'm not allowed to run my own code on.
And you can run a C compiler (or anything) inside https://ish.app/ too.
>There's no better mobile daily driver computer value for dollar available today.
I experimented with using an iPad as a daily driver (web browser plus mosh/ssh sessions) some years ago, and iOS constantly unloading apps (even when briefly switching away from them), and not restoring state exactly, drove me nuts. Has iOS improved on this?
Although my 2018 model has 4 GB of memory while the 2022 is now 8 (or 16 if you buy 1 or 2 TB version). So maybe that helps.
There’s a special entitlement for apps to request additional RAM so I would hope that having more memory means more apps can stay resident, since most apps aren’t going to request extra RAM. But iOS seems really aggressive about this even when you wouldn’t think it should be a problem so I half expect it to know you have 12 GB available and still kill recently used apps.
Here's the issue in bugzilla: https://bugs.webkit.org/show_bug.cgi?id=260722
Outside of that, I love using it and actively prefer it over a regular desktop OS for all tasks outside of software development (and with the bug fixed even that would be better)
Ain't gonna happen (such a hike, not the specs). You read it here first.
They did something similar with the M1/2 iPad Pros had 8GB of RAM while the expensive 1/2TB models ($1500/1800 for the 11/12.9") got a quiet bump up to 16GB.
I really liked using 2-in-1 Windows ultrabooks such as HP Elitebook x360. I only switched to a MacBook Pro for battery life.
Ideally, I could run MacOS in some kind of headless mode and allocate all resources to the VM.
Apple please let me use Linux ffs.
https://asahilinux.org/contribute/
Not going to lie, it seems close!
Wait what? How is that even possible in 2024?
You can run in full-screen mode by doing the normal macOS click on the green stoplight button at the top of the window. The current versions of Apple's virtualization libraries para-virtualize the GPU which runs nearly at full native speed.
It sounds like you want a type 1 VM. Unfortunately none exist for macOS that I'm aware of.
With an application level VM (type 2 I think?) I haven't found a way to lock the cursor and keyboard shortcuts to the VM - so my three finger swipe will switch my MacOS workspace rather than my Gnome one, spotlight overrides the VM's shortcuts, etc.
Also moving my cursor to the top left/right of the screen expands the MacOS window controls, breaking the 4rth wall and getting in the way of the VM's DE controls (volume, hot corner, power, etc).
I haven't been able to enable GPU paravirtualization within a Linux VM. I think it's for MacOS VMs running on MacOS.
When you go to fullscreen mode, do trackpad gestures target the host or the guest? eg, does three finger swipe switch MacOS workspace or Gnome one?
When you run your cursor to the top of the screen (like changing the volume in Gnome's the top bar, or closing a window in KDE), do the MacOS window controls pop up?
Do MacOS shortcuts override VM shortcuts? Like spotlight, screenshots and that sort of thing?
When you move the mouse against the border of the screen, the mac toolbar pops up, but unless you do, you have normal access to the full gnome top bar. On my M2 Air the Linux fullscreen ends below the notch. So the Mac toolbar pops up around the notch and so mostly above the top of the Linux screen. At the bottom, the task bar gets displayed if you move against the screen border.
So basically with extremely few exceptions, it is difficult to see that you are not running Linux natively on the machine.
(Sorry for the late answer, didn't check my old posts. Is there a way to get a notification on answers to your posts on HN?)
Tree.fm: Tune in to Forests Around the World | https://news.ycombinator.com/item?id=38961377