@monsieuricon uhhhh
maybe im missing smth but there wouldn't actually be any benefits to putting wine in the kernel rather than just in userspace ?
@monsieuricon until we have proper secure enclave, FDE and everything else that windows provide to ensure that a game can check that nothing has been modified, I don't think we can do much.
It's just not a kernel feature, it requires a whole environment that ensures that somewhat all the code is being run in a trusted place (including the wine side).
@monsieuricon not even Windows puts entire Win32 in the kernel and run the subsystem in userspace.
@monsieuricon The purpose of anti-cheat is to prove that you haven't tampered your system in certain ways, yet Linux is FOSS and allows you to do "basically anything". The game developer would need to be able to execute code on the user's computer in a way that prevents user's control of their own computer.
On the face of it I don't see how Linux is compatible with that, and I'm not really a fan of introducing & normalizing such a mechanism either.
@monsieuricon Valve are cash-money incentivised to facilitate this, so much so that I would be surprised if they haven't been working on a solution with vendors behind closed doors already. There's really no way to "emulate" Windows kernel anti-cheat, it would have to be a new system, but it's not like it isn't an obvious roadblock to Linux gaming adoption, which Valve want
@monsieuricon The fun thing is that when I was on windows I always noped out when a game would require kernel level anti cheat. Never played Valorant for example. And there were games with good cheat detection even before kernel level anti cheat. I don't think it's needed. It just makes things easier.
@SRAZKVT @monsieuricon I've heard they got some performance improvements out of it.
@monsieuricon should be easy to vibe code this in Rust compiled to eBPF
We'll, since impossible to make any errors at all in Rust and since AI is soooo much better than humans, this seems like a more than perfect idea!