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

Feature Request: Support for AMD Anti-Lag 2 Integration #4268

Open
cloudishBenne opened this issue Sep 16, 2024 · 9 comments
Open

Feature Request: Support for AMD Anti-Lag 2 Integration #4268

cloudishBenne opened this issue Sep 16, 2024 · 9 comments

Comments

@cloudishBenne
Copy link

Hello,

I recently came across this pull request in the R5SDK project: Mauler125/r5sdk#127, which integrates AMD's Anti-Lag 2 technology.

It appears that integrating AMD Anti-Lag 2 into DXVK could significantly benefit games running on AMD hardware, offering an alternative to NVIDIA Reflex. This could potentially be the first game to leverage such an integration through DXVK.

Is there any possibility of implementing support for AMD Anti-Lag 2 in the foreseeable future?

Thank you for your consideration.

@jams3223
Copy link

This is not an engine, my friend; the game has to implement it, not the driver. You should close this one.

@Blisto91
Copy link
Contributor

@cloudishBenne Hi there.
As pointed out above Anti-Lag 2 needs integration in the game for it to work. You are probably thinking of Anti-Lag 1 which is a driver level thing.
Though dxvk and vkd3d-proton would probably have to implement support for using Anti-Lag 2 in games that support it same as with Reflex. The AMD driver in use would need to support it too ofc.

@cloudishBenne
Copy link
Author

@Blisto91 Yes, that's what i meant, adding support for it equal to what happened to Reflex. R5Reloaded will have it implemented ingame with the next release.
Also thank you for mentioning the additional requirement of a driver side implementation. If someone of you has useful information, what i should mention in a mesa issue, i will open one there.

@Blisto91
Copy link
Contributor

I am not a dev (tester) so I can't comment on any technical specifics or requirements. From the driver side I imagine it just have to support the VK_AMD_anti_lag extension.

I don't know if the amd ags vendor library in Proton Wine needs to be worked on for support too. Might be likely like with dxvk-nvapi needing to support Reflex.
But either way driver support would probably be a first step.

@jams3223
Copy link

I am not a dev (tester) so I can't comment on any technical specifics or requirements. From the driver side I imagine it just have to support the VK_AMD_anti_lag extension.

I don't know if the amd ags vendor library in Proton Wine needs to be worked on for support too. Might be likely like with dxvk-nvapi needing to support Reflex. But either way driver support would probably be a first step.

The VK_AMD_anti_lag implementation is in the works, but there is focus on other priorities. It will be addressed eventually.

@Blisto91
Copy link
Contributor

How do you know it is in the works

@jams3223
Copy link

How do you know it is in the works

Samuel was discussing the implementation, but he found himself constrained by VK_KHR_shader_float_controls2. Nevertheless, he began drafting it prior to thinking about creating a merge request.

@cloudishBenne
Copy link
Author

How do you know it is in the works

Samuel was discussing the implementation, but he found himself constrained by VK_KHR_shader_float_controls2. Nevertheless, he began drafting it prior to thinking about creating a merge request.

Thank you for this information!

So this means writing an issue would be redundant i guess?

Do you have a link to his work?

@jams3223
Copy link

How do you know it is in the works

Samuel was discussing the implementation, but he found himself constrained by VK_KHR_shader_float_controls2. Nevertheless, he began drafting it prior to thinking about creating a merge request.

Thank you for this information!

So this means writing an issue would be redundant i guess?

Do you have a link to his work?

No, there's no merge request open yet. I'll post it when he opens it.

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

3 participants