News: 0001601130

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

RADV Adds Support For New Performance Counters To Help Game Developers

([Radeon] 2 Hours Ago Radeon GPU Profiler 2.6)


Samuel Pitoiset of Valve's open-source Linux graphics team has landed improvements for the Mesa 260 RADV driver to support new performance counters in conjunction with AMD's Radeon GPU Profiler 2.6 release.

The mainline RADV driver code now supports new performance counters with Radeon GPU Profiler 2.6, including the LDS (number of LDS bank conflicts) counters, memory bytes counter, and memory counters as a percent of vRAM. There are also two ray-tracing counters now implemented too that previously weren't working.

The code merged today to Mesa 26.0-devel enables these new performance counters for GFX10 / GFX11 as RDNA1 through RDNA3.5 GPUs. The GFX12 / RDNA4 support is still being finished up but Samuel Pitoiset notes a merge request for enabling these performance counters on those newest AMD GPUs should happen soon.

This now merged code is useful for game developers and others wanting to run performance profiling on their GPU workloads to help with optimizations. More details on the new support via [1]the merge request .



[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39013



"The funny thing is if you actually read those papers, you find that, while the researchers were applying thier optomizational tricks on a microkernel, in fact those same tricks could be applied to traditional kernels to accelerate thier execution."

-- Linus Torvalds on Microkernels (Open Sources, 1999 O'Reilly and Associates)