pwshub.com

Asahi Linux’s bespoke GPU driver is running Windows games on Apple Silicon Macs

A few years ago, the idea of running PC games on a Mac, in Linux, or on Arm processors would have been laughable. But the developers behind Asahi Linux—the independent project that is getting Linux working on Apple Silicon Macs—have managed to do all three of these things at once.

The feat brings together a perfect storm of open source projects, according to Asahi Linux GPU lead Alyssa Rosenzweig: the FEX project to translate x86 CPU code to Arm, the Wine project to get Windows binaries running on Linux, DXVK and the Proton project to translate DirectX 12 API calls into Vulkan API calls, and of course the Asahi project's Vulkan-conformant driver for Apple's graphics hardware.

Games are technically run inside a virtual machine because of differences in how Apple Silicon and x86 systems address memory—Apple's systems use 16 KB memory pages, while x86 systems use 4 KB pages, something that causes issues for Asahi and some other Arm Linux distros on a regular basis and a gap that the VM bridges.

You'd never guess that this was the Windows version of Fallout 4 running on a Mac that was running Linux. Credit: Alyssa Rosenzweig

Rosenzweig's post shows off screenshots of ControlFallout 4The Witcher 3GhostrunnerCyberpunk 2077, Portal 2, and Hollow Knight, though as she notes, most of these games won't run at anywhere near 60 frames per second yet.

Source: arstechnica.com

Related stories
1 month ago - Oxidation consternation — How long can the C languages maintain their primacy in the kernel? Enlarge / Rust never...
1 month ago - Pics or it didn't compile — Dev behind a popular screenshot tool checks out, but the successors are good. Enlarge...
1 month ago - Community seems to C Rust more as a burden than a benefit Efforts to add Rust code to the Linux kernel suffered a setback last Thursday when one of the maintainers of the Rust for Linux project stepped down – citing frustration with...
Other stories
53 seconds ago - Trucks and Gatorade Federal officials, meanwhile, are working with Baxter to help support increasing supplies, setting up temporary imports, and...
1 minute ago - Record ocean warming was 400 times more likely due to climate change, boosting Milton from Category 2 to 3.
1 minute ago - Musk’s battle with former Twitter execs intensifies as X value reaches new low. Former...
6 minutes ago - Registration deadlines have passed in key states like Arizona and Florida, but there's time in a lot of other places.
6 minutes ago - Although Prime Day is over, you can still revamp your bedding for less with these sleep deals while they last from top brands like Casper, Nectar, Tempur-Pedic and more.