Valve Developer Posts New AMD Anti-Lag Implementation For RADV Driver
([Valve] 5 Hours Ago
VK_AMD_anti_lag)
- Reference: 0001638469
- News link: https://www.phoronix.com/news/Valve-New-AMD-Anti-Lag
- Source link:
[1]Daniel Schürmann of Valve's Linux team has posted a new VK_AMD_anti_lag implementation for the RADV open-source Radeon Vulkan driver.
Schürmann explained in the Mesa pull request opened on Friday:
"This implementation is based on the code from MESA_LAYER_ANTI_LAG and fully replaces it. We essentially split the existing layer into a base utility framework and a slim driver implementation. On initialization, the framework sets up some QueryPools and CommandBuffers, in order to be able to take timestamps, and hooks into QueueSubmit2 and QueuePresentKHR. The driver can then retrieve the per-frame timing information via a callback function.
...
Before someone asks: Yes, it would be possible (and quite simple) to implement VK_NV_low_latency_2 on top of this framework."
See [2]this merge request for all the details on this new VK_AMD_anti_lag implementation for RADV.
[1] https://www.phoronix.com/news/Daniel-Joins-Valve-Driver
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42048
Schürmann explained in the Mesa pull request opened on Friday:
"This implementation is based on the code from MESA_LAYER_ANTI_LAG and fully replaces it. We essentially split the existing layer into a base utility framework and a slim driver implementation. On initialization, the framework sets up some QueryPools and CommandBuffers, in order to be able to take timestamps, and hooks into QueueSubmit2 and QueuePresentKHR. The driver can then retrieve the per-frame timing information via a callback function.
...
Before someone asks: Yes, it would be possible (and quite simple) to implement VK_NV_low_latency_2 on top of this framework."
See [2]this merge request for all the details on this new VK_AMD_anti_lag implementation for RADV.
[1] https://www.phoronix.com/news/Daniel-Joins-Valve-Driver
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42048