Running macOS Apps on Windows and Linux

Yesterday I stumbled across a tweet showing off a new open-source project called WSM (Windows Subsystem for macOS) and immediately stopped to read the source. The pitch mirrors what WSLg does for Linux GUI apps on Windows: instead of trapping you inside a full-screen macOS virtual machine desktop, WSM boots a headless macOS runtime in the background (over Windows Hypervisor Platform, WHPX) and projects each Mac app into its own standalone window on the Windows desktop, complete with taskbar icons, shared clipboard, WASAPI audio, and Windows drives mounted inside the guest.

Cross-OS interoperability has always been catnip to me. Back when I was still recording YouTube videos, I dedicated Akitando #137 to gaming inside a virtual machine with GPU Passthrough, breaking down how QEMU, KVM, and libvirt hand an entire graphics card over to a guest OS.

From GPU Passthrough to Reims vGPU (Metal over Vulkan)

Traditional VFIO GPU Passthrough is still the brute-force gold standard for near-native VM graphics speed, yet it is also hands down the most annoying setup to live with day to day. It is strictly all or nothing: you have to isolate the entire GPU on the PCIe bus and hand it over to the VM. That forces your host OS onto a second GPU (usually your CPU’s iGPU), and for as long as the VM is running, your Linux or Windows desktop loses all access to your main graphics card. For x86_64 macOS guests it was even worse, since Apple never shipped drivers for modern NVIDIA RTX cards in the first place.

Over the past couple of years, that trade-off changed thanks to graphics paravirtualization, where guest graphics API calls cross a shared-memory bridge and execute natively on the host’s GPU driver. For macOS inside QEMU, the project that made WSM possible is the experimental reims-vgpu stack:

  • Inside the macOS guest: the OpenCore boot image injects custom kexts and a user-space bundle exposing a virtual PCI card (reims-graphics-pci, ID 1234:5247) that macOS sees as a native Metal 3 GPU, without modifying a single file on the macOS system volume.
  • Across the QEMU / memory bridge: whenever WindowServer or a Mac app issues Apple Metal API calls, the guest driver serializes commands and shaders into zero-copy shared memory rings (backed by /dev/udmabuf on Linux 7.2+).
  • On the host (Windows or Linux): inside a patched QEMU build, libreims_vgpu runs metal2vulkan, translating Metal command streams and shaders straight into Vulkan 1.3+ calls on your physical GPU driver (NVIDIA or AMD RADV), while your host desktop keeps using the exact same GPU without skipping a beat.

Diagram comparing traditional VFIO GPU Passthrough against Reims vGPU Metal-over-Vulkan paravirtualization and WSML

Building WSML: “Windows Subsystem for MacOS on Linux”

Once I saw how WSM wired those pieces together on Windows, I decided to fork it and build my own native Linux counterpart: WSML (Windows Subsystem for MacOS on Linux). Yes, the name is an absurd mouthful on purpose, chosen purely because it sounded funny.

WSML’s first-run setup wizard preparing a clean macOS Tahoe 26.7.3 installation fetched directly from Apple

In WSML, I ripped out every Windows-only layer (WHPX, Direct3D 11/DirectComposition, WASAPI, Edge WebView2, and .lnk shortcuts) and rebuilt the host stack in C++20 around Wayland, Vulkan, PipeWire, and KVM, packaged as a single ~54 MB AppImage (plus wsml-bin on the AUR for Arch/Omarchy). The setup wizard redistributes zero Apple bytes: it pulls the official macOS Tahoe recovery image straight from Apple’s servers onto your disk and provisions the whole runtime unattended.

Once setup finishes, any .dmg, .pkg, or .app you drop onto the manager (or double-click in your file manager) shows up right inside your Linux app launcher (Super + Space on Omarchy) with its native icon, PipeWire audio, bidirectional Wayland clipboard, and scoped access to your host files at ~/Linux over localhost WebDAV.

macOS Safari running in its own floating Wayland window on Hyprland next to Kitty and the WSML manager

Because I live in Hyprland and Omarchy all day, I treated tiling Wayland compositors as first-class citizens:

  • Rootless Wayland + Vulkan windows: each Mac app opens in its own xdg_toplevel surface with premultiplied-alpha transparency, preserving macOS’s rounded corners and traffic-light buttons without ugly black rectangles. Running wsml bench on my RTX 5090 (at 4K@240Hz) clocks dirty-rect updates at 4.83 ms median latency (181.7 FPS) and full-frame 1080p updates at 5.23 ms (138.1 FPS), with crisp Wayland fractional scaling (1.5x / 2x) free of XWayland blur.
  • Float or Tile mode on Hyprland: by default WSML injects dynamic Hyprland 0.56+ rules so Mac apps float cleanly, and flipping one toggle in Settings lets Hyprland tile Mac windows right beside your terminals (forwarding split dimensions into macOS in real time).
  • Smart shortcut mapping: Linux Ctrl maps to macOS Command (⌘) inside Mac windows (Ctrl+C, Ctrl+V, Ctrl+S, Ctrl+W), keeping Super 100% free for your Hyprland workspace and window bindings.

The Mac App Store open as a native floating Wayland window on Hyprland via WSML

How many resources does this actually burn?

There is no free lunch when a full operating system is running underneath. Even with the macOS desktop hidden out of sight, QEMU still has to keep the entire macOS Tahoe VM booted in memory. Measured on my workstation (Ryzen 9 7950X3D, 94 GB RAM, RTX 5090), here is the real bill:

ResourceMeasured FootprintPractical note
VM RAM (Guest + QEMU)~18 GiB residentQEMU preallocates 16 GiB up front for macOS (1/3 of host RAM, clamped to 5 to 16 GiB) + ~1.3 GiB of reims-vgpu overhead
WSML Daemon & Manager~0.9 GiBwsmld uses ~160 MiB in the background; closing the manager window frees ~700 MiB of WebKitGTK
GPU VRAM~1.4 GiB (idle)Held by reims-vgpu while idle; grows as you open Metal-heavy apps
vCPUs / CPU Load8 vCPUs (~0% asleep)~0.1 to 0.2 of one core while idle; after 6 min with no open windows, enters warm sleep (0% CPU) and wakes in ~2 seconds
Disk Space (SSD)~73 GB (or ~19 GB compacted)54 GB APFS disk + 19 GB cached installer; deleting the installer and running offline zstd compaction shrinks it to ~18.7 GB

On a 16 GB laptop you are definitely going to feel 5 to 6 GiB of locked RAM; on a 32 GB+ desktop, warm sleep drops CPU load to zero whenever you close your last Mac window, though the RAM allocation stays pinned for as long as the VM stays warm.

The real-world walls: x86_64, Tahoe, Xcode, and heavy apps

In my book, both WSM and WSML are a very neat novelty, yet in practice they only make sense if you are stuck with one very specific Mac-only desktop app that still ships a compatible binary.

The Affinity suite running accelerated over Metal-to-Vulkan on Hyprland through WSML

Before anyone fantasizes about throwing away a physical Mac, keep three hard walls in mind:

  • The macOS Tahoe (x86_64) ceiling: WSML downloads and installs macOS Tahoe (version 26), which Apple officially designated as the final macOS release supporting x86_64 Intel CPUs. Starting with macOS 27, macOS is exclusively Apple Silicon (arm64). Because Rosetta 2 only translates x86_64 to arm64 on Apple Silicon Macs (with zero reverse translator on PCs), any app distributed strictly as an arm64 binary will flat-out refuse to run. You are limited to x86_64 or Universal (x86_64 + arm64) apps.
  • Forget using this for Xcode and serious iOS work: even if you install Xcode 26 (the final Intel-compatible release), you hit brick walls fast. Starting in Sequoia and Tahoe, Apple tightened hypervisor detection (kern.hv_vmm_present) alongside hardware-identity checks (SMBIOS serials, en0 built-in routing, and missing T2/Secure Enclave attestation), rejecting Apple Account / iCloud sign-in inside non-Apple VMs and breaking automatic code signing and provisioning profiles. While Xcode’s compiler can emit arm64 code offline on paper, you cannot execute arm64-only binaries locally, there is no turnkey USB passthrough for a tethered iPhone, and running the iOS Simulator inside a KVM VM slams into nested virtualization plus heavy Metal simulator requirements. For actual iOS work, a cheap used Mac mini will save your sanity ten times over.
  • What about heavy creative apps like Final Cut Pro? Universal Metal apps like the new Affinity suite (shown in the screenshot above) launch and run smoothly. A heavyweight like Final Cut Pro would probably get roughly 90% of the way there over reims-vgpu (short of exotic Metal 3 compute or media-engine edge cases), though there is zero chance I am buying a Final Cut Pro license just to benchmark a weekend hack.

WSML proves how far single-GPU Metal-over-Vulkan paravirtualization has come on Linux, while remaining tied to the final x86_64 generation of macOS.

At the end of the day, I built WSM-Linux purely to see if it could be done cleanly on native Wayland and Hyprland. Personally, I have zero use cases in my daily workflow that require Mac-exclusive software. Take it for what it is: a fun systems experiment and a cool curiosity.