Feature Request: Support for AMD Anti-Lag 2 Integration
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.
This is not an engine, my friend; the game has to implement it, not the driver. You should close this one.
@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.
@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.
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.
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_lagextension.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.
How do you know it is in the works
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.
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?
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.
might be a stupid question but does mesa need to implement this extension before it can be used by dxvk? there is no open issue/MRs for implementing it unless I missed something
Afaik yes. But i am not aware of any current work in regards to supporting this at the moment.
FYI Mesa now has a MR for Anti Lag implementation: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34242