Intel(R) Metrics Discovery Application Programming Interface

December 4, 2025 ยท View on GitHub

Introduction

This software is a user mode library that provides access to GPU performance data.

The library has OS abstraction layer that allows for interoperability in different environments.

License

Intel(R) Metrics Discovery Application Programming Interface 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.14.181, support for Gen7.5, Gen8, Gen9 and Gen11 platforms has been discontinued. For these platforms, use version 1.14.180 or earlier.

Supported Operating Systems

Intel(R) Metrics Discovery Application Programming Interface is supported on Linux family operating systems with minimum kernel version 5.7. Event based measurements require minimum Mesa version 18.2.

Detailed minimum version requirements

PlatformCode NameMinimum Linux Kernel VersionMinimum Mesa Version
Xe3P-XPCCrescent Island6.19----
Xe3-LPGNova Lake6.1926.0
Xe3-LPGWildcat Lake6.1825.3
Xe3-LPGPanther Lake6.1525.1
Xe2-HPGBattlemage6.1124.2
Xe2-LPGLunar Lake6.1124.2
Xe-LPGArrow Lake-H6.924.1
Xe-LPGArrow Lake-S6.724.1
Xe-LPGArrow Lake-U6.924.1
Xe-LPGMeteor Lake6.723.1
Xe-HPGAlchemist6.222.2
Xe-HPCPonte Vecchio5.2018.2
Xe-LPAlder Lake-S5.1622.0
Xe-LPAlder Lake-N5.1822.0
Xe-LPAlder Lake-P5.1722.0
Xe-LPDG15.1622.1.5
Xe-LPRocket Lake5.1320.2
Xe-LPTiger Lake5.721.0

Build and Install

1. Download sources.

2. Install libdrm-dev.

sudo apt install libdrm-dev

or

sudo dnf install libdrm-devel

3. Run CMake generation:

mkdir build && cd build
cmake ..

4. Build:

make -j$(nproc)

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

(project_root)/dump/linux64/release/metrics_discovery/libigdmd.so

6. Install:

If using native package manager (yum, dnf, etc..) skip to step 7

sudo make install

7. Packaging:

make package

After the process completes, there should be a set of files such as

intel-metrics-discovery-[VERSION].x86_64.rpm
intel-metrics-discovery-devel-[VERSION].x86_64.rpm
intel-metrics-discovery-pkgconfig-[VERSION].x86_64.rpm

Note: To clear CMake params 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-Discovery 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.