logoalt Hacker News

AAA Gaming on Asahi Linux

944 pointsby 6a7410/10/2024365 commentsview on HN

Comments

dcchambers10/10/2024

From a performance and technical perspective this is incredible. Well done!

It will never happen, but my dream is for the Asahi devs, Valve, and Apple to all get together to build out a cross-platform Proton to emulate and play games built for Windows on both x86 and ARM hardware running Linux.

A Steam Deck with the performance and power efficiency of an M-series ARM chip and the entire library of games that run on Proton is just...dreamy.

show 10 replies
Wowfunhappy10/10/2024

> Tessellation enables games like The Witcher 3 to generate geometry. The M1 has hardware tessellation, but it is too limited for DirectX, Vulkan, or OpenGL. We must instead tessellate with arcane compute shaders

> Geometry shaders are an older, cruder method to generate geometry. Like tessellation, the M1 lacks geometry shader hardware so we emulate with compute.

Is this potentially a part of why Apple doesn't want to support Vulkan themselves? Because they don't want to implement common Vulkan features in hardware, which leads to less than ideal performance?

(I realize performance is still relatively fast in practice, which is awesome!)

show 5 replies
gigatexal10/11/2024

I’m just blown away at all the work they’re able to do with a platform that they basically reverse engineered. I’m glad to be contributing to their efforts. I’m also waiting for when M3 support comes! Such a cool group of engineers and hackers. I love it.

spease10/10/2024

This is super cool.

So, wait, does this mean that gaming is better on Linux, on a Mac?

show 7 replies
bee_rider10/10/2024

The M-series chips from Apple have some special hardware to help emulate x86 with near-native performance, right? I wonder if they take advantage of those features (actually I forget exactly what the features were).

I mean this is an incredible achievement either way. Everything is emulated, but they are still running AAA games. Wow.

show 4 replies
anotherhue10/10/2024

Incredible work. May I also interest you in retrowin32 https://github.com/evmar/retrowin32/blob/main/README.md

Which is an attempt to collapse the stack so that fewer translation and virtualisation stages are needed.

show 1 reply
mikhael2810/10/2024

Fantastic! A great proof of concept on Linux - lots of AAA gaming is already possible on Mac with Crossover and/or Parallels or VMWare Personal, which is free! While I have a Steam Deck, gaming on Mac works for me - I refuse to play Baldurs Gate 3 on a controller.

show 7 replies
amoss10/11/2024

I'm slightly confused after reading about page alignment. Why would a 16k page be less aligned than a 4k page causing assumptions about pointers within those pages to break? The 4k pages on x86 are aligned on 4k boundaries, are the 16k pages on M1 aligned on <4k boundaries?

show 1 reply
joelthelion10/11/2024

Realisticly speaking, is Asahi Linux usable right now for a random schmuck who just wants to use his computer?

show 1 reply
lynguist10/10/2024

May I use this space to ask the question: is the M3 substantially different from the M1 and M2 that it is not supported?

show 8 replies
ZiiS10/11/2024

For people like me who have been using Ashai for a while but are not Fedora natives; TIL `sudo dnf system-upgrade download --releasever=40; sudo dnf system-upgrade reboot` is necessary first as the normal upgrades left me on 39.

andrewmcwatters10/10/2024

I think at the moment, this is probably the only way to feasibly game on a Mac. Crossover and other Wine-based apps as well as Parallels are... not really truly possible. If you bought the top-of-the-line MacBook Pro 16-inch, 2021 with M1 Max and tried to play anything reasonably modern on it, you'd find the performance is basically not playable .

show 3 replies
Thaxll10/10/2024

I see that they're using FEX, what about box86? Is it comparable in term of performance?

show 1 reply
MBCook10/11/2024

I think my favorite little bit from the article is that they’re using a VM to “fix“ the page size differences between macOS and Windows.

What an ingenious idea.

freddydumont10/12/2024

I’d be curious to know how it compares to gaming on macOS with Game porting toolkit.

show 1 reply
macrolime10/11/2024

Does this mean we're closer to getting GPU support on Docker on Apple devices?

show 2 replies
psanford10/10/2024

I'm a little sad that this has seemingly taken precedence over all other hardware support. M3 support, dp-alt mode, making the microphone work are all things that I was hoping were going to land in the past year.

show 6 replies
WorldPeas10/11/2024

all I need is DP alt mode and I'm switching!

Balvarez10/12/2024

Nice so is this full Linux possibly running on an iPad, or just desk top?

show 1 reply
whimsicalism10/10/2024

Wish NixOS (or at least Arch) were supported on the level that Fedora is

show 1 reply
qkhhly10/11/2024

can i play black myth wukong with it?

jayd1610/11/2024

This makes me think of the classic clip of George Carlin telling a joke about the difference between heaven and hell [1].

Is there a modern equivalent with FAANG, Microsoft, Sony, Valve, etc.?

[1]https://www.youtube.com/watch?v=oR8xPC4NEro

show 3 replies
hentrep10/10/2024

I noticed the URL was updated for this post. Previously it linked to asahilinux.org which showed an anti-HN manifesto from the HN referral. Curious as I haven’t seen this before. Seems it has been covered by previous commenters: https://news.ycombinator.com/item?id=36227103

show 5 replies
xbar10/10/2024

Thank you

    Alyssa Rosenzweig
    Asahi Lina
    chaos_princess
    Davide Cavalca
    Dougall Johnson
    Ella Stanforth
    Faith Ekstrand
    Janne Grunau
    Karol Herbst
    marcan
    Mary Guillemard
    Neal Gompa
    Sergio López
    TellowKrinkle
    Teoh Han Hui
    Rob Clark
    Ryan Houdek
show 2 replies
gertop10/10/2024

Marcan and asahi Lina are the same person.

show 2 replies
shmerl10/10/2024

[flagged]

xuQH9W3HP810/11/2024

[flagged]

fl0id10/10/2024

Yeah yeah great, now please m3 support, or maybe before that support for internal mic and external displays/dp-alt. Pretty please? (Not complaining happy about any progress)

show 1 reply
nxobject10/11/2024

If only I had "canapplesiliconemulatewindowsgames.com"!

dancemethis10/10/2024

Where's the real inspiration for Asahi, Fandaniel in FFXIV?

show 1 reply
sylware10/11/2024

I still wonder why valve is that much reluctant at porting its proton stuff into the simple and plain C99 of wine/vkd3d.

show 2 replies
paulryanrogers10/10/2024

It is shocking the effort required to have a good gaming experience on Apple computers (excluding iOS). They always struck me as agnostic to games, yet in recent years it appears to border on open hostility.

show 3 replies
wly_cdgr10/10/2024

Ok, but why would a hardcore Linux person want to play games that embody everything they hate about Windows in their mode of production, data gathering practices, politics, etc?

show 6 replies