Asahi Linux Brings Support For AAA Gaming To Apple Silicon Macs (liliputing.com)
(Friday October 11, 2024 @11:22AM (BeauHD)
from the happy-gaming dept.)
- Reference: 0175231401
- News link: https://linux.slashdot.org/story/24/10/11/0426252/asahi-linux-brings-support-for-aaa-gaming-to-apple-silicon-macs
- Source link: https://liliputing.com/asahi-linux-brings-support-for-aaa-gaming-to-apple-silicon-macs-running-linux/
An anonymous reader quotes a report from Liliputing:
> The [1]Fedora Asahi Remix GNU/Linux distribution is [2]now shipping with alpha versions of OpenGL, OpenCL, and Vulkan graphics drivers that [3]allow you to play some games on Macs with M1 or M2 series processors . But there are a few things to keep in mind. One is that most of the PC games you're likely going to want to play are designed to run on Windows PCs with DirectX drivers and x86 processors. So there's some emulation required to get them to run on Macs with ARM-based processors, a Linux-based operating system, and Vulkan drivers.
>
> Some of the work was also made possible by the folks at Valve, who developed the Proton software that allows many PC games to run on Linux. And during a live demo at XDC 2024, developer Alyssa Rosenzweig [4]demonstrated the Steam game client loading and running on an Apple Silicon Mac running Asahi Linux. For that reason, it takes a lot of RAM -- according to the Asahi team, "most games require 16GB of memory due to emulation overhead." So you're probably not going to be able to do much entry-level gaming on an entry-level Mac with just 8GB of RAM.
>
> Some of the titles that have been confirmed to be playable include Cyberpunk 2077, The Witcher 3, Fallout 4, Control, Portal 2, and Ghostrunner. But there's a difference between playable and smooth. Developers say performance improvements will be required before "newer AAA titles" can run at 60 frames per second or higher. But less demanding games like Hollow Knight should run at full speed.
[1] https://asahilinux.org/fedora/
[2] https://www.youtube.com/live/pDsksRBLXPk?si=AaNrSDmMxArB2b08
[3] https://liliputing.com/asahi-linux-brings-support-for-aaa-gaming-to-apple-silicon-macs-running-linux/
[4] https://www.youtube.com/live/pDsksRBLXPk?si=AaNrSDmMxArB2b08
> The [1]Fedora Asahi Remix GNU/Linux distribution is [2]now shipping with alpha versions of OpenGL, OpenCL, and Vulkan graphics drivers that [3]allow you to play some games on Macs with M1 or M2 series processors . But there are a few things to keep in mind. One is that most of the PC games you're likely going to want to play are designed to run on Windows PCs with DirectX drivers and x86 processors. So there's some emulation required to get them to run on Macs with ARM-based processors, a Linux-based operating system, and Vulkan drivers.
>
> Some of the work was also made possible by the folks at Valve, who developed the Proton software that allows many PC games to run on Linux. And during a live demo at XDC 2024, developer Alyssa Rosenzweig [4]demonstrated the Steam game client loading and running on an Apple Silicon Mac running Asahi Linux. For that reason, it takes a lot of RAM -- according to the Asahi team, "most games require 16GB of memory due to emulation overhead." So you're probably not going to be able to do much entry-level gaming on an entry-level Mac with just 8GB of RAM.
>
> Some of the titles that have been confirmed to be playable include Cyberpunk 2077, The Witcher 3, Fallout 4, Control, Portal 2, and Ghostrunner. But there's a difference between playable and smooth. Developers say performance improvements will be required before "newer AAA titles" can run at 60 frames per second or higher. But less demanding games like Hollow Knight should run at full speed.
[1] https://asahilinux.org/fedora/
[2] https://www.youtube.com/live/pDsksRBLXPk?si=AaNrSDmMxArB2b08
[3] https://liliputing.com/asahi-linux-brings-support-for-aaa-gaming-to-apple-silicon-macs-running-linux/
[4] https://www.youtube.com/live/pDsksRBLXPk?si=AaNrSDmMxArB2b08
And the 30%? (Score:1)
by Vranitzky ( 5222955 )
I hardly doubt apple would allow games to run without taking their cut. Watch them sue asahi once the technology matures enough to allow proper gaming. I hope the asahi people had some very very good lawyer comb all the TOS apple ever released since introducing arm processors
And to be clear (Score:2)
> Developers say performance improvements will be required before "newer AAA titles" can run at 60 frames per second or higher.
Yes, improvements in the performance of the underlying hardware, not just the emulation software.
Soon Linux will have NTSYNC and Wine performance will take another big step forwards... but not on Mac OS.
Re: (Score:3)
Apple take a different approach to WINE here. Apple don't emulate (within the broad use of the word 'emulate' - wine is not an emulator etc.), they recompile. The API calls are looked for, translated to ARM and Metal, then run natively.
Whether this is better or worse isn't really what I'm saying here. It's that the whole "soon this will be kernel compatible" bit isn't needed, because they recompile the code anyway,
Re: (Score:2)
> Whether this is better or worse isn't really what I'm saying here. It's that the whole "soon this will be kernel compatible" bit isn't needed, because they recompile the code anyway,
Oh, the article is garbage? Bummer. I should have expected that from Slashdot, I guess. The article says literally nothing about that and gives the impression by talking about drivers that they are just running Proton under emulation, same for the summary. The article says emulation repeatedly and doesn't say translation or recompilation even once; The summary does the same. I guess I should have figured out the author didn't know what he was talking about when he said "the folks behind the Asahi Linux team
Re: (Score:2)
For their Linux distro they likely are running Proton or a Protonalike. For Apple's official game-porting-toolkit, it's a bit different. They do have the glue that Proton provides between say Vulkan and Metal, but once the x86 code is hit it is recompiled to ARM and directly library calls. Like a one-time JIT, if you will.
I run Elder Scrolls Online on my M2 - zero issues, and Zenimax don't officially support it on anything other than x86.
Re: (Score:2)
I'm not surprised the translation works, that's a pretty mature technology at this point and Apple clearly can employ competent programmers. It's a nice bonus for people who bought a Macintosh because they wanted to run some specific software. The price:performance is still poor though, and the power:performance is about the same as AMD. On balance I'd rather just run Linux. Luckily, I don't need any software which won't run on it, and if I do I can run it in a VM because I'm not doing e.g. live audio recor
Re: (Score:1)
Modern emulation (like QEMU and various others) do often not just emulate an entire CPU in software like what you're thinking of is done with 8-bit CPU - [1]https://www.qemu.org/docs/mast... [qemu.org]
[1] https://www.qemu.org/docs/master/devel/tcg-ops.html#tcg-ops-ref
Re: (Score:2)
The good article is here:
[1]https://asahilinux.org/2024/10... [asahilinux.org]
It goes something like this:
cyberpunk
wine
FEX -> x86 to arm translation
DXVK/vkd3d-proton -> DirectX to vulkan.
muvm -> VM running a 4K page size linux kernel (Asahi is 16K)
hardware
[1] https://asahilinux.org/2024/10/aaa-gaming-on-asahi-linux/