RADV Vulkan Driver Now Supports NVIDIA's Device Generated Commands

Written by Michael Larabel in Radeon on 17 July 2022 at 05:42 AM EDT. 13 Comments
RADEON
As of this week in Mesa 22.2, the open-source Radeon Vulkan driver "RADV" has added support for the VK_NV_device_generated_commands extension. This NVIDIA-created extension that has been around for a few years with their hardware allows for the GPU to generate some of the most frequent rendering commands on the hardware itself.

VK_NV_device_generated_commands was worked on by NVIDIA to allow device-generated commands to overcome the readback latency and inefficiencies when relying on the CPU otherwise for certain work in command generation. The Device Generated Commands (DGC) work also helps in scenarios where more of the global scene is represented on the GPU itself and desiring to make changes to shaders on a per-draw basis. This NVIDIA blog post provides more details on this Vulkan extension.


NVIDIA


The VK_NV_device_generated_commands extension hasn't been broadly supported outside of NVIDIA's own proprietary driver but as of this week RADV in Mesa 22.2 now supports this extension for Radeon GPUs. This merge was worked on by RADV co-creator Bas Nieuwenhuizen. This extension may prove useful for VKD3D support with handling of D3D12's ExecuteIndirect functionality.

Update: An important item to add is that enabling RADV device generated commands support currently needs to set the "radv_dgc=true" option. Currently by default Mesa 22.2 is enabling "radv_dgc" by default just for VKD3D-Proton.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week