AMD's GL Performance Monitor Gets Wired Up For Nouveau
Written by Michael Larabel in Nouveau on 5 July 2014 at 01:30 PM EDT. 1 Comment
While two X.Org GSoC projects already failed this summer, student developer Samuel Pitoiset continues making great progress on his work for implementing performance counter support within the open-source Nouveau NVIDIA graphics driver.

Pitoiset has been reverse engineering the NVIDIA hardware counters and implementing them within the Nouveau DRM driver and allowing them to be exposed to user-space -- with the ultimate goal of allowing NVPerfKit-like functionality under Linux. In Samuel's work towards exposing NVIDIA's counters in Nouveau through Gallium3D, he's implemented initial support for the GL_AMD_performance_monitor extension.

The GL_AMD_performance_monitor was engineered by AMD and allows capturing and reporting of performance monitors that hold arbitrary counted data. The AMD performance monitor extension is general to allow a wide array of counters and counter types to be exposed. Details on the GL_AMD_performance_monitor extension can be found via the OpenGL.org registry. Since last year, Intel's open-source Linux Mesa driver has also supported the AMD_performance_monitor extension.

Samuel's initial GL_AMD_performance_monitor implementation for Nouveau is currently limited to MP counters on Fermi GPUs and newer but still this summer he hopes to tackle the graphics counters for older NVIDIA NV50 hardware too. Samuel published the initial 11 patches a short time ago today that add over 600 lines of new code to Gallium3D. The patches can be found here and will hopefully be integrated in time for Mesa 10.3.
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 10,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 or contacted via MichaelLarabel.com.

Related Nouveau News
Popular News
Trending Reviews & Featured Articles