-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add support for AMD Anti-Lag 2 #10739
Comments
it looks that is only for amd hardware, i think latency-flex is better alternative |
This seems like it may be Linux only on the other hand - ishitatsuyuki/LatencyFleX#3 Also Calinou already asked about this issue with no reply a couple of years ago - ishitatsuyuki/LatencyFleX#22 so this would end up benefiting even less people likely, as a ton of people on linux tend to go with AMD anyway due to Nvidia's Linux drivers being historically trash. Though Great catch non the less, and a hardware agnostic solution would be amazing if they perform similarly. |
Please note that Anti-Lag would only work with DirectX 12 and requires AMD drivers, no Linux support in this case. |
There's a Vulkan extension for anti-lag: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_AMD_anti_lag.html There's also a Nvidia Reflex extension: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_NV_low_latency2.html |
LatencyFleX looks to be outdated / no longer in active development, and is Linux only. For this reason alone I think Radeon anti-lag would be a better fit
|
Describe the project you are working on
N/A
Describe the problem or limitation you are having in your project
This is not meant to solve a specific problem -- the idea is to integrate AMD Anti-Lag 2 features in the engine to reduce click to image-on-screen latency when using DirectX 12 on RDNA1/2 AMD cards.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
AMD Anti-Lag 2 introduces wait times before input polling in order to reduce the time between when an input is received and when a frame is displayed.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
When the feature is enabled and proper runtime support is detected, the AMD Radeon driver is invoked before input polling to activate the lag-reduction measures.
If this enhancement will not be used often, can it be worked around with a few lines of script?
No -- this requires interacting with the AMD Radeon drivers to function.
Is there a reason why this should be core and not an add-on in the asset library?
This requires integration with the core rendering and input polling loop.
I've opened a PR for this: godotengine/godot#96991
The text was updated successfully, but these errors were encountered: