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
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.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Nouveau News
Popular News
Trending Reviews & Featured Articles