103
submitted 3 days ago by lemmee_in@lemm.ee to c/linux@programming.dev

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.

Rosenzweig's post shows off screenshots of Control, Fallout 4, The Witcher 3, Ghostrunner, Cyberpunk 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.

"Correctness comes first. Performance improves next," she writes.

you are viewing a single comment's thread
view the rest of the comments
[-] TheGrandNagus@lemmy.world 32 points 3 days ago* (last edited 3 days ago)

The work the Asahi team have done boggles my mind.

They've got further with gaming on Apple silicon than Apple has with their game-porting-toolkit.

Despite:

  • being on a completely unsupported OS

  • running through a virtual machine

  • having to rewrite all the hardware drivers from scratch, without the benefit of having hardware schematics/documentation

  • not having the benefit of using APIs that were made from the ground up to work well on this hardware specifically

And probably some other stuff I'm completely in the dark on because their work is so beyond me.

[-] RandomLegend@lemmy.dbzer0.com 10 points 3 days ago

Asahi Team is literally poking around some dark magic at this point

load more comments (3 replies)
this post was submitted on 14 Oct 2024
103 points (95.6% liked)

Linux

5081 readers
30 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS