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.

  • TheGrandNagus@lemmy.world
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    1
    ·
    edit-2
    29 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.

    • astrsk@fedia.io
      link
      fedilink
      arrow-up
      5
      ·
      29 days ago

      Can you show where they’ve gone further than apples game porting toolkit or game translation layers? Genuinely curious because I haven’t seen any comparison but do know several large profile games have come to apple silicon recently.

      • nave@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        28 days ago

        It’s not quite as good as gptk. Gptk can run games like cyberpunk at 60+ fps on more powerful Mac’s but Asahi currently can’t run AAA games at 60 fps. Also gptk has support for avx which Fex technically has but doesn’t work on m1 because the chip lacks SVE(2). However I imagine in the future asahi will almost definitely be better.

      • TheGrandNagus@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        28 days ago

        I mean it more in terms of wider API support than in terms of outright performance. GPTK games, when they work, certainly run faster.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    29 days ago

    I said it a while ago and it’s getting much closer now: Linux will become the OS for people who want to game on a Mac. With all the work going into this, hopefully the devs are getting nice donations. They seem to be doing a better job than Malus at getting games to run.

    Anti Commercial-AI license

    • ravhall@discuss.online
      link
      fedilink
      arrow-up
      5
      ·
      29 days ago

      While it’s disappointing that the Mac, with all its power, hasn’t been a larger target for games, I’m happy there are more ways to play Windows games without windows.

  • jeremyparker@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    27 days ago

    Please can we destroy Bill Gates’s open source legacy before he dies. I want him to see it die. I want him to be lying on his deathbed, reading an article in Ars Technica about gamers switching to Linux.

    And by “please can we” obviously I mean “please can you,” I’m just a lowly full stack dev (aka a lamprey) who wears a Red Hat sweatshirt I got from a friend

      • jeremyparker@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        24 days ago

        Bill Gates has made anti-knowledge sharing his lifelong legacy, from crushing OpenGL by bribing game developers not to build in it, to pushing the US gov’t to give away COVID vaccines to poor countries rather than making the data available so they could make their own. His influence in the industry towards proprietary and closed source code is unmatched. Like, we all love the nerd jumping over the computer with the goofy smile but that dude is a piece of shit.

        My point was that if we (you!) were able to level the windows/Linux gaming playing field before he died, that would make him mad, and make me happy.

        • Ketata Mohamed@mastodon.tn
          link
          fedilink
          arrow-up
          1
          ·
          23 days ago

          @jeremyparker at least, I am very well developed into Linux gaming, I am not a competitive gamer, so I am in more than a good place, luckily I am already not a fan of the incompatible games like Space Marines 2
          But I can only contribute by using, testing & posting on forums, I can’t code well even if my life depended on it

      • Ketata Mohamed@mastodon.tn
        link
        fedilink
        arrow-up
        1
        ·
        27 days ago

        @jeremyparker @lemmee_in BTW I made the first blow, I was a m$ fanboy from 1994 to 2019, then they made winlol 11 & I realized that lying was in their blood, so I have been using Linux since 2019 coupled with winlol, in 2022 I used only Linux-machine but yesterday I had to have winlol also, damn Gigabyte with their winlol-only support