RADV's "ACO" Shader Backend Still Pursuing RadeonSI, Early Work On RDNA 2

Written by Michael Larabel in Radeon on 17 September 2020 at 09:09 AM EDT. 6 Comments
RADEON
Valve developer Timur Kristóf who has been spending the past year working on the AMD Compiler "ACO" back-end for the Mesa Radeon Vulkan driver "RADV" as well as beginning to port this shader compiler back-end to RadeonSI Gallium3D. This alternative to the AMDGPU LLVM back-end has made incredible progress over the past year -- enough so that it's been the default for Mesa's RADV driver. During XDC2020 Day 2, Timur provided an update on ACO.

ACO in recent form is largely at parity to the AMDGPU LLVM back-end, supports all released GCN and RDNA graphics processors, and as mentioned in numerous Phoronix articles is the RADV default back-end. As shown in Phoronix benchmarks including some recent tests, RADV+ACO is faster than AMDGPU LLVM and the official AMD Linux driver options. ACO largely continues to be the work of Valve.

During the presentation Timur indicated around RDNA 2 (Radeon RX 6000 series) "working on it". As mentioned previously, they started adding this RDNA 2 support to ACO albeit there is no public documentation and they don't have any hardware yet so it's been a matter of browsing the AMDGPU LLVM code for GFX1030 and making changes in that regard.

Similarly, ACO is also looking at ray-tracing support given the AMDGPU LLVM RT support published yesterday. But likewise they will be waiting until having RDNA 2 hardware and further Vulkan work. Mesh shaders is another feature being looked at by ACO developers, including for possible Navi 10 NGG support.

On the matter of porting ACO to RadeonSI Gallium3D OpenGL, it's still being pursued but it's a "long road" that has been started. There still is portions of the ACO code-base dependent upon RADV internals. So they are making progress but nothing to announce this week or in the near-term.

Performance optimizations are always on their mind and for further enhancing the ACO performance they are looking at rapid-packed math and other optimizations to squeeze greater performance out of this compiler back-end.


Timur's presentation was the first talk of the XDC2020 Day 2 livestream.
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