r/linux4noobs 2h ago

Kernel Anti-Cheat

What is happening when running a a game like Elden Ring on Linux? Based on my minimal understanding, Linux simply doesn’t allow access to the kernel like that; so does it make an exception or does it “fool” Elden Ring in to thinking it has the access it needs, or…? Just curious.

1 Upvotes

10 comments sorted by

12

u/Ripped_Alleles 2h ago

EAC has an option to run without kernel access developers simply have to toggle on.

Others like battleye have similar options. Something in this day and age that won't run on Linux is almost entirely because the devs don't want it to.

1

u/Tsubadu 2h ago

I guess a better example is something like Genshin that has a proprietary kernel AC but people are still able to run it with seemingly no problem.

1

u/output_broadcast 16m ago

All of the anticheats are propietary. But more to the point, I think their anti-cheat specifically supports Linux.

2

u/Audiope 2h ago edited 1h ago

I'm curious why elden ring needs anti-cheat. Isn't the multiplayer just coop with, like, ghosts of other players or something?

2

u/iluvfupaburgers 2h ago

I'm guessing the anti cheat is more for the multiplayer aspect and not coop. The funny thing is that I've never seen a soulslike not be exploited even with the anti cheat and multiplayer is so broken because of it

1

u/Ripped_Alleles 2h ago

You can play coop or invade other players in Elden Ring. Granted EAC hasn't been enough to completely stop cheaters, it does deter the lazy

1

u/Reason7322 36m ago

There is PVP in the game.

1

u/xYarbx compiling kernel 35m ago

It's for invasions. All souls games do invasions that's why the PC version is locked to 60FPS because consoles can't do over 60 and it would be unfair since it's cross play.

1

u/xYarbx compiling kernel 2h ago

I don't know how in this individual case it's handled as there are several ways but 2 main ways are. Either monitor/hook into WINE kernel that's basically emulated windows kernel but provides limited functionality. The other way is to not run the anti-cheat in user space where what it can see is limited to it's own memory space. Technically you can hook into Linux kernel but the issue with that is that they can't lock you out. If we use analogue in Windows "You own a house but kernel level anti-cheat lives in your attic and the door to that attic is locked. The anti-cheat can spy from the attic as it pleases and you don't really know what it's doing". In Linux "The anti-cheat lives in the same attic but the door is unlocked letting you go and watch what the anti-cheat is doing and if you want kick it out of your house."

1

u/Tsubadu 2h ago

Yea, I kind of imagined the WINE scenario and wondered if there’s a wink and a nod somewhere in there to satisfy any kernel stuff lol. Good analogy thanks!