58 points · by ent101 · 3y ago · 59 comments
AMD literally made an "internal cheat" for cs2. This is a widely known guaranteed ban and likely among most people (if you modify the game engine then you get banned). Even with weak anticheat like VAC.
This means AMD didn't work with valve at all on this feature, a feature I assume both parties would be interested in. This would be one of the biggest esport games for the anti-lag feature that amd could advertise as supporting.
On top of not contacting valve, they had the expertise to do this, but somehow didn't realize they would get banned?
Somewhat hilariously there's no way they did this for valorant - that game wont even launch if you have debug tools open (unless amd is so dense they worked around that).
NVIDIA's Reflex actually requires that it be integrated into the game code by developers (which they then provide) rather than trying to inject itself dynamically, but AMD wanted to have "works in every game!" as a selling point.
Which would also be fine if they had talked to any of the developers and gotten their "cheat" whitelisted, but they didn't do that. Which is the bizarre part. OK, you have a cool thing you can inject into the game code... but you can't inject anything without bringing developers/anticheat in on the release.
And literally everyone from the most basic modder upwards knows this. Gotta be real, real careful about what you inject into games with anticheat, or you'll eat a ban. Even stuff like reshade is a no-no - it's perfectly harmless, but the anticheat doesn't know that. This is basically "reflex as reshade" and has all the same problems around anticheat.
Which is to say that their anticheat system is defective because the method it uses has false positives -- as exemplified by this case, which is not an attempt to cheat.
you make it sound like this is a bad thing?
It's a feature of the GPU and driver not the game.
Developers of games add api calls to their game engines for things like antilag/nvidia reflex, that if enabled will notify the driver and allow them to do their thing before returning back to an unmodified game.
You do not modify the internal game state - that's a straight red line.
There's lots of places you _can_ generally hijack, such as the final rendering calls which is how most overlays work.
I don't think whitelisting drivers is common either for the same reason cs2 doesn't allow userland applications to be whitelisted - you can potentially hijack that application instead and then your cheats will be whitelisted.
That's strange to me. Why care at all about what individual games do? A GPU driver includes a shader compiler anyway, why can't it do a good enough job at optimizing the shader for the particular GPU architecture? It's kinda the same reason almost no one writes assembly any more, because modern compilers are so good at generating optimized machine code.
They modified where methods returned to so they could run their own code before returning to the game.
VAC cannot determine if this was a bhop-wallhack or an anti-lag feature.
It just sees that someone modified the game.
This is like walking up to someone's building and spray painting a mural without permission. No matter how innocent or well intentioned it is - internal modification is a red line.
This is the third false-VAC since the cs2 beta. First was a unprotected yaw command (no commands should get you vacced unless they're protected by sv_cheats), windows 7 users, and now amd anti-lag+.
Although in the case of AMD, this is definitely not valve's fault. They detected exactly what they're supposed to.
Shit happens and will be fixed. Still better than splitting the community. They need to work with AMD and resolve the issue.
I'm guessing a scheduling thing, but have absolutely no data. This is on Fedora Linux with a very recent kernel, Mesa, and gamescope
It should theoretically be possible to get the tear-free smoothness of vsync combined with even lower latency than vsync disabled, but in reality is it is difficult to predict how long a frame will take to render
It’s not clear how they solved this, or why it required hooking into games more than graphics drivers already do
What Anti-Lag does is throttle the CPU work to reduce this delay to as low as sub-frame, so it doesn't process input and begin frame processing until closer to display time -- so the game starts frame updates with fresher input and gets those frames out with less delay. Graphics APIs often only allow setting the frame queue length in an integer number of frames and it can be difficult to reliably tell when frames present and control frame queuing, especially with a compositor involved. This has the graphics driver involved, so it knows the absolute truth of when frames hit the output.
If you don't underestimate the render time (and miss the refresh) then the frame will be fresher.