INTEL_performance_query Restored For Intel's Mesa Driver

Written by Michael Larabel in Intel on 22 February 2017 at 03:49 PM EST. Add A Comment
INTEL
There was some work years ago for supporting Intel's own INTEL_performance_query OpenGL extension it was dropped in January for a rework and now is back in Mesa 17.1-devel.

INTEL_performance_query has been part of the Khronos OpenGL registry since 2013 and was an Intel-created extension for exposing "Intel proprietary hardware performance counters to OpenGL applications." These performance counters would show hardware events, duration of certain activities, and more. Initial Linux support for this extension came to Intel's Mesa driver in May of 2014 but was dropped at the beginning of this year due to a code rework.

With today's Git code, an INTEL_performance_query back-end was implemented for exposing pipeline statistics for those wanting to use this OpenGL extension over the other alternative ways for reading GPU performance counters and performance profiling data.

This current back-end exposes 64-bit pipeline statistics registers for Gen 6 graphics and newer along with observability counters to be added later for Gen 7.5+ hardware.
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