EAC v2 is promising as a way for games to run on linux with more secure anticheat, but without the full kernel access that they get on windows. Giving full kernel access to anticheat in order to play games is risky for several reasons, so this is a better alternative.

This does require secure boot, a TPM module, and a pre-approved signed kernel. As of right now, this means it’s not possible on SteamOS, although it might be possible by enabling secure boot and changing to a different linux distro (be careful though, enabling secure boot yourself can lead to soft bricking your device if something goes wrong).

Epic actually addressed this in the annoucement:

Can I play on Steam Deck or Steam Machine?

Steam Deck and Steam Machine do not currently support the Secure Boot features that Easy Anti-Cheat v2 relies on. Fortnite will support Steam’s devices if they support Secure Boot in their BIOS settings and sign SteamOS, or help deliver an alternate solution to Linux anticheat. The ball is in Valve’s court.

  • Gigatron@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    3 hours ago

    Anti-cheats are a lie, they don’t belong on your computer, and I’ll prove it in this 10min read

    I have gathered from many sources and many game developers, including myself, what the supposed purpose of anti-cheats, how it’s implemented, and how it should actually be implemented. This is regarding the client-server networking model for multiplayer games.

    The following will be discussed:

    1. How it looks
    2. What it means to cheat in a multiplayer games.
    3. Why is almost every multiplayer game implementing anti-cheats THE WRONG WAY
    4. What anti-cheats actually look like
    5. The solution and examples

    CLIENT = the player, on their own computer, using their own copy of the player-side of the game SERVER = hardware game server used to host some parts of the multiplayer side, depends on the implementation of multiplayer CHEATER = the CLIENT who manipulates or otherwise exploits their own side of things, their own computer, on which the game and anti-cheat reside. HACKER = the person, who used many skills to illegally infultrate the SERVER, and therefor have (probably UNLIMITED) access to everything that’s on that SERVER, including everything game-related.

    1. How an anti-cheat looks like in most games In most multiplayer games, an anti-cheat looks like this: an entirely separate software on the CLIENT’s computer, that checks the computer, the game for any changes in number of sophisticated ways, but this is a very bullet-prone vest, and it’s proprietary, it can’t even, really be open source.

    2. What it means to cheat in a multiplayer games. This means bypassing the anti-cheat (if any) and editing variables or functions in memory to whatever the CHEATER wants to. How can a CHEATER - a player, in a multiplayer game even influence the entire game that is hosted on another computer (SERVER)? The simple answer is - they can’t. They don’t affect their abbilities and entire multiplayer game on/from the SERVER, they do it ON THE CLIENT, on their own computer!! How can that even be possible?

    3. Why is almost every multiplayer game implementing anti-cheats THE WRONG WAY I don’t know, they dumb? Perhaps they don’t how programming works? Or they just think that’s how it works and they don’t question it or they’re ordered to do it the way everyone else does?

    4. What anti-cheats actually look like Anti-cheats should just be what they’re meant to do: prevent any CLIENT from exploiting the game, in other words: stop the CLIENT from changing the values which they shouldn’t have power over in the 1st place! The actual anti-cheat isn’t some separate proprietary piece of shit program, it’s the way the entire game is implemented and logic that checks I/O.

    A multiplayer game in a CLIENT-SERVER networking model (not peer-to-peer, for example) which is what most games are using - should be doing this: Since the SERVER wants the game to be fair and for all CLIENTs to play according to SERVER’s rules (think of walking speed, the weapons you have, your health, etc.), the SERVER in this networking model HAS TO be authoritive. The SERVER HAS TO dictate to every CLIENT what they should do, not the other way around.

    5. The solution and examples In the past and sometimes even today - without a game engine, the developer had to implement their own networking for the game to get maximum performance out of it, have it customized the way they want to, or game engines simply didn’t exist yet. This was done by serialization and deserialization of data received by CLIENT/SERVER, the 1st variable extracted was usually the number, which was then correlated with a list of functions - each function was assigned a number.

    None of that is necessary today, really, because some game engines have good implementations of networking (such as Godot, I think).

    Okay, how about we make a few examples which will be the solution: So let’s take movement and rotation of the player for example: var position: Vector3(x, y, z) and var rotation: Vector3(x, y z)

    The way CLIENTs walk around a map isn’t by telling the SERVER where they’re at, it’s by spamming the SERVER with inputs from the user (WSAD, mouse). Then the SERVER decides many things actually, before doing anything with that information:

    • is the CLIENT a legit connection and stuff?
    • is the CLIENT sending a number that correlates with any function (if custom networking implementation)?
    • is the CLIENT sending data that’s of valid type and value?
    • is the CLIENT alive?
    • is the CLIENT allowed to move? ( the following can be implemented in various ways, this is one of them )
    • okay, then move CLIENT that’s a copy on the SERVER, in that direction at the speed and velocity the SERVER dictates *this already eliminates possibility to teleport, speedwalk and clipping trough walls and the entire map
    • anything that the CLIENT collides with, run corresponding collision logic, triggers, signals, etc.
    • send the new position and rotation and exact time to ALL CLIENTs
    • the CLIENTs interpret this new message at that exact time, then CLIENTs can use interpolation and extrapolation to smoothly move and rotate to the new position and rotation directed by the SERVER (not the CLIENT)

    This is uncheatable if done correctly. You know some of world biggest and most expensive games such as Battlefield 6 still don’t understand this. This, what you read, is worth more than the entire worth of Battlefield which is probably many millions of $$$. Why instead not create a better game?

    Even AAA games such as Battlefield 6 don’t do this, they have anti-cheat spyware they put on your computer, just like most games do.

    You can follow a game I’m creating, it will not be some slop put together under a overlord boss at a evil slave corporation, here: https://blorpblorp.xyz/home/c/[email protected]

    • HouseWolf@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      Luckily if worse comes to worse you can easily install other distros. And getting the Gamemode/Desktop mode part of SteamOS setup is possible but requires tinkering.

      I found this guide on setting it up but it hasn’t been updated in a while so no idea if everything still works until I test it myself.

    • Sina@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      It’s an interesting situation. I think out of the box getting this is basically impossible. Making it optionally supported is somewhat plausible, but considering it’s EPIC, I don’t know.

  • Gabadabs@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    They think Linux users are going to buy a new pc with TPM, enable secure boot, and install a new kernel for fortnite???

    • woelkchen@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      13 hours ago

      Most mainstream distributions work fine with TPM and secure boot, so there is little reason to disable it for those users in the first place.

      Steam Decks and Machines already support TPM and secure boot but currently SteamOS does not. For Steam hardware specifically (which this community is about), Valve can achieve this by a firmware and a SteamOS update that does not involve rocket science on their part.

      Whether Valve are interested in that is a completely different question.

  • Corngood@lemmy.ml
    link
    fedilink
    arrow-up
    30
    arrow-down
    2
    ·
    2 days ago

    a pre-approved signed kernel

    Do not comply with this shit. If enough PC gamers do, they will make it a requirement, and use it to combat modding, piracy, etc.

    Microsoft tried to do this with the windows store, ‘windows s’, etc. We only avoided games being locked into it because Steam was just about popular enough that publishers wouldn’t get on board.

    Google is doing it with android. Think of the banking apps that only work on their OS. That’s what happens when a big enough chunk of the user base accepts not having control of their computer.

    • HouseWolf@pawb.social
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      If enough PC gamers do, they will make it a requirement, and use it to combat modding, piracy, etc.

      THANK YOU! This is the point everyone is missing, we’re not just “gatekeeping” Linux because Ewww Fortnite bad.

      Online games you can currently play on Linux will start requiring this, Then other proprietary software will require it for “security reasons”, and so on.

    • SwooshBakery624 [they/them]@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Google is doing it with android. Think of the banking apps that only work on their OS.

      I’m grateful to Huawei for existing. The sizeable user base for their devices prevents banks in many regions from restricting access to devices without Google services. Typically, banks either release a separate app for AppGallery or don’t use the Play Integrity API at all.

    • steelplatedmech@piefed.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      Funny thing is at this point it is better to hope Windows users just stay with Windows if that is a concern, since adoption for the sake of adoption could just end up with the situation Android is in if this gains traction. Best if EACv2 is just used by a small niche group of linux users and doesn’t get much traction.

  • BlameTheAntifa@lemmy.world
    link
    fedilink
    arrow-up
    45
    arrow-down
    3
    ·
    2 days ago

    Secure Boot is a fucking cancer designed to limit ownership and control of your own property. Fuck any company that abuses it like this, including the fascist scum at Epic.

    • AcornTickler@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      arrow-down
      2
      ·
      2 days ago

      No. Not at all. Secure Boot is a great security feature. Most likely reason you think that way is that Microsoft managed to convince pretty much every hardware manufacturer to pre-install their signing public keys in the BIOS, and enable Secure Boot by default so only Windows (and some select Linux distros, though sometimes even that doesn’t work out of the box) can boot.

      I use sbctl on CachyOS. It lets me generate my own signing keys, enroll them in the BIOS and sign my own kernel & bootloader.

      • CalcProgrammer1@lemmy.today
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        Except from what I’ve read, EACv2 requires you only have OEM keys installed, so you can’t sign your own kernel and you can’t even have the option to dual boot a kernel you own and a kernel they own. If they at least allowed you to have dual booting it wouldn’t be that bad, but preventing you from even having an alternate kernel you own is insane and anticonsumer cancer. I was excited for Fortnite on Linux but at this point dual booting Windows with MOK and rEFInd is actually less restrictive, which is the worst possible scenario.

        • AcornTickler@sh.itjust.works
          link
          fedilink
          arrow-up
          7
          ·
          1 day ago

          The keys have to be approved by Epic. It does include Microsoft as that’s the most common one, but they did say CachyOS will be allowed, and most likely more is to come.

          I agree with you on that my own keys will not be allowed. I made my initial comment regarding just Secure Boot. But the point is that Epic needs to trust you to not have tampered with your kernel. Your own keys can never guarantee that, as nothing blocks you from signing a kernel you patched.

          I am actually quite excited for EAC v2 on Linux (even though I don’t play any online game), as it is actually not a kernel-level thing running constantly, like it is on Windows. It only leverages existing Linux kernel functionality to make sure it is not tampered with, unlike some people on other threads who don’t bother to read linked articles may claim. This might even be better in the long run for playing online games without running a kernel-level anti cheat.

          • CalcProgrammer1@lemmy.today
            link
            fedilink
            arrow-up
            2
            ·
            1 day ago

            They need a way to verify an individual kernel was signed by an approved key without requiring your entire PC not have your own keys. Restricting me from booting a second OS of my own choosing is totally unacceptable. Either that or we need PC BIOS vendors to add secure boot on/off hotkeys so that you don’t have to go flip a setting in the BIOS every time you want to play a game. The alternative is total loss of ownership over your hardware. If it can’t have your keys on it, it’s not your PC.

        • Fubarberry@sopuli.xyzOPM
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          You can dual boot kernels. For example CachyOS’s tool for setting this up just installs a signed kernel alongside your usual one, and then they have a different command that will reboot into it automatically (or just select the eac kernel at boot).

          EACv2 requires the approved kernels to be signed with OEM keys, but it doesn’t care what kernel you run (or who signed it) except when the game is running. And they also said that launching an EACv2 game with a non-approved kernel won’t result in a ban or anything, just that it wouldn’t let you play.

          • CalcProgrammer1@lemmy.today
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            If you can’t have an MOK registered then any kernel you dual boot with, along with any bootloader you use to boot it, has to also be signed with OEM keys, so you can’t not have an MOK and still own your kernel.

  • Switorik@sh.itjust.works
    link
    fedilink
    arrow-up
    25
    arrow-down
    1
    ·
    2 days ago

    "This does require secure boot, a TPM module, and a pre-approved signed kernel. "

    And

    “The ball is in Valve’s court”

    Lol.

    • oatscoop@midwest.social
      link
      fedilink
      arrow-up
      1
      ·
      8 hours ago

      If only Valve offered some kind of robust anti-cheat system for Linux. They could call it “Valve Anti-Cheat”.

      Maybe pair it with a player reporting system that would trigger manual review for the cheaters it doesn’t immediately catch.

    • Fubarberry@sopuli.xyzOPM
      link
      fedilink
      English
      arrow-up
      12
      ·
      2 days ago

      Linux not supporting anticheat in games is the biggest game incompatibility issue left. There are a lot of people who won’t ever consider leaving windows unless they can play their favorite game. This style of anticheat is also a lot less terrible than kernel anticheat, so this would let people use a less invasive/compromising anticheat and swap to linux as well.

      I generally don’t have an interest in any of the games that this will bring to linux, but this seems to be a good overall change for the platform.

      • youmaynotknow@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        I am willing to sacrifice all those that must remain in windows so that our Linux distros keep being 100% owned and controlled by US.

        That’s how much of a superhero I am.

    • Fubarberry@sopuli.xyzOPM
      link
      fedilink
      English
      arrow-up
      13
      ·
      2 days ago

      This isn’t kernel level. It restricts read/write access to the game files, and relies on a known kernel + secure boot to make sure that the kernel hasn’t been tampered with to bypass that restricted access.

  • FiniteBanjo@feddit.online
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    How terrible. The early version that allowed games like Dead By Daylight to run already gave filesystem access via Symlinks which, although not kernel level, could monitor your running processes among other nefarious deeds.

    • Fubarberry@sopuli.xyzOPM
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      That was literally just wine/proton providing symlinks to your files by default, and didn’t actually have anything to do with the anticheat. It happens for all windows games run through Steam unless you disable it, whether they have anticheat or not.

      • FiniteBanjo@feddit.online
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        If I had prepared it myself then that would be fine, but I have to trust the Dead by Daylight and Valve Employees to handle it via the Proton EasyAntiCheat Runtime which I have absolutely no idea who maintains.

        If you know how to disable symlinks for steam games please inform me and I will spread the word.

        • Fubarberry@sopuli.xyzOPM
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          You generally have to do it on a per-game basis. You can delete the z: symlink from the games proton prefix or disable it through protontricks/winetricks.

          If you’re on a different linux distro, you can install flatpak steam and limit file access that way, which will work for all Steam games. An alternative for steamOS is to use a bwrap command in launch options, which can isolate the game and restrict access. There are decky plugins that allow applying launch options to multiple/all games, so that could probably be used to apply this to a lot of games at once.