Intel(R) Metrics Library for MDAPI

December 4, 2025 ยท View on GitHub

Introduction

This software is a user mode driver helper library that provides access to GPU performance counters.

License

Intel(R) Metrics Library for MDAPI is distributed under the MIT License.

You may obtain a copy of the License at: https://opensource.org/licenses/MIT

Supported Platforms

  • Intel(R) Processors with Xe3P graphics devices (formerly Crescent Island)
  • Intel(R) Processors with Xe3 graphics devices (formerly Panther Lake, Wildcat Lake, Nova Lake)
  • Intel(R) Processors with Xe2 graphics devices (formerly Lunar Lake)
  • Intel(R) Processors with Arc graphics devices (formerly Alchemist, Battlemage)
  • Intel(R) Processors with Xe graphics devices (formerly Tiger Lake, Rocket Lake, DG1, Alder Lake, Ponte Vecchio, Meteor Lake, Arrow Lake)

Since version 1.0.198, support for Gen9 and Gen11 platforms has been discontinued. For these platforms, use version 1.0.196 or earlier.

Supported Operating Systems

Intel(R) Metrics Library for MDAPI is supported on Linux family operating systems with minimum kernel version 5.7.

Detailed minimum version requirements

PlatformCode NameMinimum Linux Kernel Version
Xe3P-XPCCrescent Island6.19
Xe3-LPGNova Lake6.19
Xe3-LPGWildcat Lake6.18
Xe3-LPGPanther Lake6.15
Xe2-HPGBattlemage6.11
Xe2-LPGLunar Lake6.11
Xe-LPGArrow Lake-H6.9
Xe-LPGArrow Lake-S6.7
Xe-LPGArrow Lake-U6.9
Xe-LPGMeteor Lake6.7
Xe-HPGAlchemist6.2
Xe-HPCPonte Vecchio5.20
Xe-LPAlder Lake-S5.16
Xe-LPAlder Lake-N5.18
Xe-LPAlder Lake-P5.17
Xe-LPDG15.16
Xe-LPRocket Lake5.13
Xe-LPTiger Lake5.7

Build and Install

Not a stand alone software component. Serves as a helper library for particular Intel drivers. There is no need to build the library as long as it is an integrated part of those Intel drivers.

1. Download sources.

2. Install libdrm-dev:

sudo apt install libdrm-dev

3. Run CMake generation:

cmake .

4. Build:

make -j$(nproc)

5. Built library will be here (for 64-bit release Linux):

(project_root)/dump/linux64/release/metrics_library/libigdml.so

6. To prepare an installation package:

make package

7. Install:

sudo dpkg -i intel-metrics-library*.deb

Note: To clear CMake parameters remove CMakeCache.txt, then regenerate.

Support

Please file a GitHub issue to report an issue or ask questions.

How to Contribute

Contributions to the Metrics Library for MDAPI are welcomed and encouraged. Please see CONTRIBUTING for details how to contribute to the project.

(*) Other names and brands my be claimed as property of others.