User Guide


Set Up System for GPU Analysis

To analyze Intel HD and Intel Iris Graphics (further: Intel Graphics) hardware events on a GPU,
  • Your system must have the Intel Metric Discovery (MD) API library installed on it.
  • You need relevant permissions.

Install Intel Metric Discovery API Library on Windows* OS

On Windows, Intel Metric Discovery API library is part of the official Intel Graphics driver package. You can install a driver for your system from
If you run GPU analysis via a Remote Desktop connection, make sure your software fits these requirements:
  • Intel® Graphics driver version, or higher
  • target analysis application runnable via RDC

Install Intel Metrics Discovery API Library on Linux* OS

Intel Metrics Discovery API library is supported on Linux operating systems with kernel version 4.14 or newer. If
 cannot collect GPU hardware metrics and provides a corresponding error message, make sure you have installed the API library correctly.
You can download Intel Metrics Discovery API library from

Enable Permissions

Typically, you should run the GPU Offload and GPU Compute/Media Hotspots analyses with root privileges on Linux or as an Administrator on Windows.
If you lack root permissions on Linux, enable collecting GPU hardware metrics for non-privileged users. Follow these steps:
  • Add your username to the
    To check whether your username is part of the
    group, enter:
    groups | grep video
    To add your username to the
    group, enter:
    sudo usermod -a -G video <
  • Set the value of
    option to 0 as follows:
    sysctl -w dev.i915.perf_stream_paranoid=0
    This command makes a temporary change that is lost after reboot. To make a permanent change, enter:
    echo dev.i915.perf_stream_paranoid=0 > /etc/sysctl.d/60-mdapi.conf
  • Since GPU analysis relies on the Ftrace* technology, use the script that sets read/write permissions to debugFS.

Enable GPU utilization events (i915 ftrace events)

If you are only looking to see high level information about GPU utilization, you do not need to reconfigure the kernel.
To analyze detailed GPU utilization metrics on Linux, you may need to rebuild the kernel. Because the i915 driver has to provide low-level tracing events, for kernels 4.14 and newer, enable tracing events using these kernel configuration options:
To check the current state of the
option, enter:
grep CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS /boot/config-$(uname -r)
If the option is disabled, you need to rebuild the i915 driver or the whole kernel.
Use the
script to automatically enable permissions for non-privileged users.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at