RADV's Vulkan Ray-Tracing LBVH Extended Back To All GCN GPUs
Written by Michael Larabel in Radeon on 8 May 2022 at 07:15 AM EDT. 18 Comments
RADEON --
Mesa's Radeon Vulkan "RADV" driver is in the unique position of supporting Vulkan ray-tracing for older AMD GPUs rather than just the latest-generation RDNA2 GPUs with dedicated ray-tracing cores. Though it's slower on these older GPUs, the code is in place for this open-source driver and the latest addition is now supporting LBVH going back to AMD GFX6 hardware -- in other words, all GCN GPUs.

Independent developer Konstantin Seurer has been working a lot on the Linear Bounding Volume Hierarchy (LBVH) support for RADV in using that approach for building acceleration structures. In select workloads like say the GravityMark benchmark, it meant going from ~13 FPS to ~250 FPS for modern AMD GPUs on this unofficial AMD Vulkan driver.

RADV LBVH merged last month into Mesa 22.2. The initial implementation was limited to AMD RDNA graphics processors, which isn't that surprising considering RDNA2 in particular is the primary focus given the dedicated RT hardware.


Mesa developer Rhys Perry this week merged some minor ray-tracing optimizations for RADV while notably now allows LBVH for building acceleration structures going back to GFX6 hardware. GFX6 is GCN 1.0 hardware that can be used with RADV when switching from the Radeon DRM to AMDGPU kernel driver. So now LBVH can be used for all GCN and RDNA GPUs with RADV to improve the ray-tracing performance at least for cases like GravityMark, but on the older Radeon hardware lacking RT cores still don't expect much out of the performance.

See this MR for the RADV LBVH for Gen6+ and the other minor ray-tracing optimizations that were merged this week for Mesa 22.2.
Related News
About The Author
Author picture

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