Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXVK-Async interaction with anti cheats #42

Closed
orowith2os opened this issue Jul 13, 2022 · 13 comments
Closed

DXVK-Async interaction with anti cheats #42

orowith2os opened this issue Jul 13, 2022 · 13 comments

Comments

@orowith2os
Copy link
Contributor

There's been some stuff about using dxvk-async on multiplayer games and getting banned for it, some people say that this has been fixed. Is this true? Is it still a risk?
Would the answer to this be able to be included in the README to address this question in the future?

@Sporif
Copy link
Owner

Sporif commented Jul 13, 2022

I've never seen anyone banned specifically for using dxvk-async. For me personally I've used it with no issues in plenty of multiplayer games with all kind of anticheats. But that doesn't mean any game developer couldn't easily start banning people if they wanted to. So it's low risk, but not non-zero. Also, I feel dxvk-async's relative lack of popularity has contributed a huge part to why it hasn't been banned.

If you think something like this should be in the README feel free to open a pull request.

@orowith2os
Copy link
Contributor Author

I'll leave this issue to be as a tally for how many people have been banned because of using dxvk-async on a game with an anti cheat, if you don't mind. That way we can see if anybody is still getting banned because of it.

@Elendil211
Copy link
Contributor

Elendil211 commented Jul 14, 2022

This is probably about this report on reddit: https://www.reddit.com/r/linux_gaming/comments/9fkuq9/overwatch_avoid_async_option_for_dxvk_banned_for/

The person who created it, later edited the post, mentioning that other people who were not using DXVK_ASYNC were also banned. Later, Blizzard apologized for the bans, saying that they were due an error, and everyone was unbanned.

That being said, I know of many people who use it in games with anti cheat like Overwatch or Apex Legends who have not been banned for it.

@Eugevin
Copy link

Eugevin commented Aug 4, 2022

Using DXVK_ASYNC just about one year and no issues has been founded. Playing many online game, such as Apex, Overwatch, GTA 5, Fall Guys and some other multiplayer games - no bans, no warning about soon bans, etc.

I think that problem described in reddit theme from link above, is exclusive blizzard issue (maybe they're using some of theirs shit-quality unique propietary anti-cheat software and it triggers on async dxvk) , but async DXVK absolutely has no affect to other games.

@Bitwolfies
Copy link

From what I recall, the original async patch that was merged into mainline (not this one) was poorly put together and merged without any real testing, causing the bans on seemingly just overwatch. All of which were reversed.

Naturally, it was pulled because you don't want your userbase getting banned cause of you, even if you claim you're not at fault in the project readme. Even more so when your project is now being used by the biggest pc gaming store and is gonna be shipped in a retail console.

Supposedly this patch fixed what threw off the anti cheat and things have been smooth, but i'm sure the devs are now extra wary of trying to add async again, even if its benefits are massive and could even obsolete steams shader downloads in some regards.

Someone on reddit claimed this patch wont be needed anymore after 1.11, anyone know anything about that? Are they gonna try merging it again? I found nothing on the git. https://www.reddit.com/r/linux_gaming/comments/whjlcy/what_does_env_variable_gl_dxvk_optimizations_do/ij67xic/?context=3

@orowith2os
Copy link
Contributor Author

orowith2os commented Aug 6, 2022

Someone on reddit claimed this patch wont be needed anymore after 1.11, anyone know anything about that? Are they gonna try merging it again? I found nothing on the git. https://www.reddit.com/r/linux_gaming/comments/whjlcy/what_does_env_variable_gl_dxvk_optimizations_do/ij67xic/?context=3

I believe this is due to the RADV driver (soon) having asynchronous compiling enabled by default, don't quote me on that. I'll see if I can dig up anything on it.

@orowith2os
Copy link
Contributor Author

Turns out that it was because dxvk can partially make shaders during loading screens now (used to be ignored), now it's on Mesa to implement the features required. From what I can tell, bare DXVK is still inferior without the patch, but it's catching up. Feel free to correct me if I'm wrong, Sporif.

@Sporif
Copy link
Owner

Sporif commented Aug 10, 2022

Turns out that it was because dxvk can partially make shaders during loading screens now (used to be ignored), now it's on Mesa to implement the features required. From what I can tell, bare DXVK is still inferior without the patch, but it's catching up. Feel free to correct me if I'm wrong, Sporif.

DXVK master with the latest nvidia vulkan driver is pretty damn good. There is still some initial stutter for a few seconds, the first time you play a game. But after that, even different areas/maps don't seem to introduce stutter. I've tested it out on Witcher 3, Overwatch, BF1 and BFV and didn't miss async at all.

@orowith2os
Copy link
Contributor Author

Can we expect this patch to be obsolete once the AMD and Intel drivers have the required components implemented? Or will it be able to be used alongside the new DXVK versions?

@Sporif
Copy link
Owner

Sporif commented Aug 11, 2022

Can we expect this patch to be obsolete once the AMD and Intel drivers have the required components implemented? Or will it be able to be used alongside the new DXVK versions?

Well the patch will still work, but it will disable this new dxvk feature that improves stuttering. So not much point to async once the required drivers are out and stable, unless you can't stand even the slightest bit of stuttering.

@orowith2os orowith2os changed the title How well does dxvk-async work with anti cheats nowadays? DXVK-Async interaction with anti cheats Aug 11, 2022
@orowith2os
Copy link
Contributor Author

I'll close this issue, since it seems that nobody has any problems with async on multiplayer games, and it might be a useless issue anyways, if newer versions of DXVK are going to potentially replace it (with a few rare use cases). Will reopen if anybody feels it should stay open.

@Bitwolfies
Copy link

Bitwolfies commented Aug 11, 2022

Turns out that it was because dxvk can partially make shaders during loading screens now (used to be ignored), now it's on Mesa to implement the features required. From what I can tell, bare DXVK is still inferior without the patch, but it's catching up. Feel free to correct me if I'm wrong, Sporif.

Was this something that NV/Mesa built for DXVK? Or just something it was able to take advantage of? It's the VK_EXT_attachment_feedback_loop_layout right?

@orowith2os
Copy link
Contributor Author

I think the issue was that dxvk used to not be able to make partial shader caches, and now, assuming the required Vulkan extensions are there, it can make them (that's what the loading screen on Windows games does). I'm not sure on the specifics, but that seems to be how it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants