176 points · by WithinReason · 3y ago · 140 comments
https://www.reddit.com/r/Amd/comments/177bdfg/amds_antilag_a...
You can also see this pretty telling forum thread:
https://answers.ea.com/t5/Technical-Issues/Account-Falsely-B...
AMD also openly said that they are patching game engine code, which is just bizarre. Not sure what the thought process was. Even if we assume they were aiming to be whitelisted (I'm not sure hooking into game engine code is even common, apparently it isn't), they have still pushed the updates before the whitelisting happened. What was the plan here?
There are open source projects attempting a similar approach to antilag+ ("patching" the DLLs at runtime) but they all seem to warn you about possible anticheat detection on multiplayer games. Again, this was patching the actual engine DLL, not the rendering or graphics related DLLs that drivers sometimes have to patch for specific games.
Hasn’t it been true for ages that GPU drivers contain fixes for a lot of GPU instructions from popular games that would otherwise be broken.
In that case, if they are used to fixing games already, it might not seem a big step from their side when they decided to also patch game code that runs on the CPU. It was unfortunate that they did not realise this would lead to triggering anti-cheat systems in games though.
But there is history of others altering program code too. For example Microsoft Windows included code specific to various pieces of software that would otherwise be broken. I wonder if that ever lead to trigger anti-cheat systems in any games.
Never mind anti-cheat systems. This is a huge boundary violation - like when Sony installed root kits. It's one thing to modify your own products behavior, but quite another to modify other software!
IMHO the people who OKed this have some issues.
https://devblogs.microsoft.com/oldnewthing/20040115-00/?p=41...
Those are layers the application has to trust , and also has expectations may change implementations. They’re only accessible as an API.
In this case they were stepping into code they don’t control which is a huge violation of trust
https://abload.de/img/untitled-2022-06-05-2amey2.png
Anti lag is implementable at the driver level but Anti-lag+ requires code at the game loop level.
Plus, there's a lot of cases where the server sends some pieces of information to the client but the user isn't supposed to see it. The locations of the other players is a common example, where people modify their client to render outlines of players through walls. That's a huge advantage but doesn't even affect anything hit registration related.
Upd: I did read explanation of Nvidia reflex (NVIDIA Reflex keeps the CPU perfectly in sync with the GPU to eliminate the render queue.) and still not sure that I understand. Why developers of game did not implemented this fix themselves?
The frame queue exists to eliminate GPU bubbles where the GPU sits idle waiting for the CPU to send new rendering commands. If the game developer puts in the work of eliminating these GPU bubbles as much as possible then it's possible to turn off the frame queue while maintaining a good frame rate.
This step of reducing latency does not require intercepting any calls and is probably what is being done in AMD Anti-Lag. However there is a further step to reducing input latency that AMD called Anti-Lag+ that does require extra hooks in the engine. I explained that in this comment: https://news.ycombinator.com/item?id=37879517
I guess if NVIDIA does it, then it must help. How odd.
To do this effectively is very difficult without a complete view of the pipeline all the way to the display. That is why a feature like that works best when the driver and game engine work together rather than either side attempting to implement it unilaterally.
It seems that AMD attempted to implement this feature without help from the game developer by hooking the Windows input APIs directly.
They claim to never make mistakes, but that's obviously bullshit since they make mistakes time and time again.
Just because you paid to access someone else's servers doesn't mean that you can do anything you want, with no way for the owner of the server to enforce any rules. It works like this with any kind of service on the internet. Games are not any different.
Anything else would seem to me to incentivize banning as many lifetime members as possible before significant consumer retaliation (e.g. maybe we'll just ban the lifetime members with low social clout), to reduce costs and maximize profits.
Overall though, when you make a Steam account, you agree to their terms of service, where you agree not to engage in "modification of content and services" in the context of multiplayer games. You also agree that the owners of the game the modification was made to can report you to Valve, that Valve can put that info on your profile, and that other games can decide to deny you online services for that. You still retain access to offline stuff and any online games which don't care about your VAC bans.
It sort of sucks in the sense that sometimes you might not know that something is modifying your game executable, thus getting you a ban, but otherwise a reasonable means of dealing with cheaters.
Thus, they expect that the average user is likely to only be running "average" things like Discord and the graphics driver, which should be using the benign way of injecting themselves rather than breaking into trusted mode.
My friend has auto hotkey installed for volume control automations and immediately got banned for single player call of duty. Valve at least is trying to be fair vs. Activision just saying "too bad"
(They killed all community servers two weeks ago btw)
This is such a pedantic argument that misses the point and short circuits the entire discussion. I don't think there's a single reasonable person who mistakenly believes that they're buying the IP itself when they "buy" a game on Steam.
Of course it's "just" a license to play it, what's being questioned are the terms of those licenses, both from moral and legal perspective.
Most current EULAs boil down to: "We reserve the right to suspend your account and revoke access to the software you paid for for any reason, no refunds". To the best of my knowledge these EULAs haven't been tested in court so they shouldn't be taken at face value.
There's a lot of room to balance the rights of customers who should be granted the same rights they would enjoy when buying a physical product, and the practical needs of platforms which need to ensure a fair environment for other players.
Should cheaters be allowed to ruin the experience for other players? Obviously not.
Should platforms be allowed to permanently ban suspected cheaters without a fair and transparent appeals process and without offering refunds? I don't think so.
Do you also think it's okay if a car that you bought prevents you from driving it, but oh don't worry, it's okay because you're still allowed to open the doors?
Some online games don’t have anti-cheat, and they become nothing but a cheating cesspool. Which consequently drives away actual players, and then you have a dead game except for essentially bots.
https://www.floridasafetycouncil.org/ClassName/ignition-inte....
And yes, I think that's okay.
unless games are written from scratch with security around preventing cheating first they are left with grasping for virtual straws at what is an exploit or not. in a lot of cases it's low level drivers that are suspect, game code changing in ram such as by a hook into the code, etc.
a few friends and I sat down and pondered what it would take to make a game like quake 2 robust enough and we gave up after deciding it'd be a ground up rewrite of both the client and server sides to only send specific data the client needs but no more so even wall hacks don't work and sending encrypted code to run in a VM inside the game from the server and if that memory is touched assume it's kick worthy but even then bit flips can happen etc. Could we trust video drivers from being tweaked to show wireframe renders and other things like that came up. Given this was like 1998 so I'm sure some of this has been implemented these days, I haven't kept a pulse on the tech.
I have read that even secure systems such as the PS4 have cheating going on with rooted systems so who even knows.
And admittedly their grandstanding of "VAC is always right, we never make mistakes and bans cannot and will not be reversed" hits a nerve, because that is just a blatant lie.
They actually banned players for using Windows 7, and now they're doing it again to AMD users. Both were obvious mistakes on their end.
Or another way to look at it is, you CAN do whatever you want with the software on your computer. But Valve can do whatever they want with the software on THEIR computers. They have no obligation to network with you.
Carrying your request even further, you're sort of saying websites cannot moderate content because that interferes with your ability to use your browser freely.
Other people like to play competitive games, do you have another option other than anti cheat?
They didn't ban people for using win7, they detected something that ran on win7 only. Where is this grandstanding? They've had false bans before and they reverse false bans now and then no? Usually it's a group that is banned so pretty obvious when a bunch of people starts complaining.
I don’t think a good solution exists except to keep those games to locked down consoles only.
But maybe a more transparent appeals process could help, even if it gets expensive.
Just go back to private servers, no matchmaking, no competitive ranking. And no I haven't played multiplayer since around the time Battlefield 1942 added punkbuster and vote kicking.
For example, Nvidia cards are great for cheaters because you can disable flashbangs and smoke grenades using the stock driver.
If we push it that way, any improvement of FPS due to hardware could even be considered unfair, and to ensure fairness, everybody could theoretically be limited to 30 FPS and xxHz refresh rates.
I don’t know how this design passed basic red teaming during the design phase not to mention QA.
A framerate limitation for "fairness" wouldn't make sense because you'd basically be arguing that it's unfair that someone saw one single extra frame that some player zipped across the screen and they were able to track them whereas they wouldn't without that extra frame.
But a game being networked naturally presents the same issue and it can't be solved (in an engine like source or unreal): player locations are sent to your client at a fixed sample rate. Whether you see a player zip across the screen will just be determined by a bunch of phases of cyclic phenomena: for instance your client renders every 33.33ms (for 30FPS) and the server says he's at position A, then the server says he's at position B which is in your view, but your game isn't rendering yet because it just finished rendering the previous frame. Then you get a packet saying he's at position C which is also off your screen and now finally the rendering happens, rendering another frame with the player off your screen. So you never saw him cross your screen. But another player sitting right behind you looking in the exact same direction will be on a different phase of his render loop: he may render right after receiving position B and so he will see the player zip across. This example ignores interpolation and stuff but it will still apply even then.
> No. Unfortunately, even benign applications are often a vector for cheats that hijack them in order to cheat in CS:GO. So in Trusted mode, all foreign software is blocked.
Source: https://help.steampowered.com/en/faqs/view/09A0-4879-4353-EF...
Note that by definition GPU drivers _require_ the ability to inject DLLs into the process, read/write to the process memory, and even create new threads on it...
That's the reason Chrome and derivatives put GPU stuff on a separate process. But you try to do this type of sandboxing on a game and it will utterly destroy performance.
If Nvidia requires extra hooks into the game they usually ask the developer to call certain functions in NVAPI, which is their vendor-specific driver interface.
With all due respect, I'm struggling to parse this part of your comment.
With that said, I'm pretty sure your target is calling this API method:
https://partner.steamgames.com/doc/api/steam_api#SteamAPI_Re...
If you don't care about being authenticated with a "legit" session for online play, just strip SteamStub and apply a Steam emu with the necessary config. Those will obviously not care about wherever they are being launched from. I recommend the CODEX one if your target is not too recent.
Drivers would constantly break something, some games would run poorly and I would have to fiddle with driver versions to address this (often involving annoying version rollbacks), it would randomly start overheating for no reason, sometimes it would just crash the system, etc. Upgraded to 480 later, and the exact same story repeated.
You know what happened once I got an NVidia GPU years later (1080Ti)? I never had to think about the GPU ever again. I install a driver update occasionally, it “just werks”, and I would go on my merry way. Upgraded to a 3080 about half a year after it got released, and had the same story - it just works, and I never have to think or worry about it ever.
I would love to support AMD GPUs, but I cannot, in good conscience, buy their GPU again and waste time troubleshooting it and stress over every driver update.
On the flip side, AMD CPUs are amazing. Been with them since the original Ryzen release, upgraded once (from 1700 to 3900x), no issues whatsoever and am very happy with those. My next build will be an AMD Ryzen CPU as well, but it will have an NVidia GPU.
I've since had 5770, 6770 (same card but in fire), 290X, RX580X, and now 6750 without any issues.
iGPU stuff however has been awful but then again so was my Intel/Nvidia laptop having problems with iGPU fighting the dGPU.
They've made this same mistake before, didn't learn their lesson, and repeated the same mistake. That's pretty incompetent. Like Cisco-level incompetent.
Users should be free to play without cheating and not worry that the a anti-cheat will falsely think they are.
"but wait!" one may protest, "the tool is similar to a cheat if they detect using [technique X]!"
Well, I'm not forcing them to use [technique X], and they aren't entitled to exclusively use it, if it returns false positives. Sounds like they need to think of better techniques. And if they can't, and it turns out they don't know how to solve the problem without hurting innocent people, they aren't entitled to exist, either.
Graphics cards and drivers are a marvel of engineering and maths. They work miracles, and are the product of thousands of specialists along the production chain. It’s hardly a damning indictment that they didn’t place compatibility with the anti cheat engines of competitive multiplayer games at the top of their priority list.
I'd be happy to argue the semantics of the mistakes made by AMD, and I probably could be convinced they fucked up. But the ethics of guilty until proven innocent that comes with anticheat software, are so appalling that I'm angry valve isn't getting roasted for saying "we're not going to do anything until after AMD does.
IMO, if your accusations can "ruin lives" (even if it is just a gaming life) you don't get to make mistakes if you're going to ignore them until it's convenient to.