NVIDIA Performance Counters In Nouveau Hoped For With Linux 3.19

Written by Michael Larabel in Nouveau on 11 August 2014 at 02:20 PM EDT. 7 Comments
NOUVEAU
Samuel Pitoiset continues making steady, great progress on his Google Summer of Code project as a student developer reverse-engineering and implementing NVIDIA hardware performance counters within the open-source Nouveau driver.

For months now he's had a solid understanding of how NVIDIA's performance counters operate and has been working towards exposing them in a NVPerfKit-like open-source manner and exposing them to OpenGL developers. Samuel's latest update revealed his MP counter work was up to a prototype stage while today he has a new blog post concerning the approaches to exposing the performance counters in Nouveau.


The post focuses on the methods for exposing NVIDIA's global counters engine by using either a "all user-space" or "all kernel-space" approach. Samuel has worked up code for both versions and made the necessary changes to his branched versions of the Nouveau DRM, libdrm, and Mesa.

While the answer of what approach is better is still up in discussion, Pitoiset is leaning towards the kernel-based approach as it's more elegant and future-proof. Samuel hopes this performance counter code will be ready for merging in time for the Linux 3.19 kernel in the months ahead. Read more on Samuel's blog.
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