apt install -y intel-media-va-driver-non-free intel-gpu-tools vainfo

Vulkan

apt install -y mesa-vulkan-drivers vulkan-tools

OpenVINO 2025.1

https://docs.openvino.ai/2025/get-started/install-openvino.html?PACKAGE=OPENVINO_BASE&VERSION=v_2025_1_0&OP_SYSTEM=LINUX&DISTRIBUTION=APT

wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/openvino ubuntu24 main" | tee /etc/apt/sources.list.d/intel-openvino.list
apt update
apt install -y openvino-2025.2.0

OpenVINO GenAi

curl -L https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2025.1/linux/openvino_genai_ubuntu24_2025.1.0.0_x86_64.tar.gz --output openvino_genai_2025.1.0.0.tgz
tar -xf openvino_genai_2025.1.0.0.tgz

OpenCL

https://github.com/intel/compute-runtime/releases

#sudo dpkg -r intel-ocloc-dev intel-ocloc libze-intel-gpu1
mkdir neo
cd neo
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.11.7/intel-igc-core-2_2.11.7+19146_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.11.7/intel-igc-opencl-2_2.11.7+19146_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/intel-ocloc-dbgsym_25.18.33578.6-0_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/intel-ocloc_25.18.33578.6-0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/intel-opencl-icd-dbgsym_25.18.33578.6-0_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/intel-opencl-icd_25.18.33578.6-0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/libigdgmm12_22.7.0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/libze-intel-gpu1-dbgsym_25.18.33578.6-0_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/libze-intel-gpu1_25.18.33578.6-0_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/ww18.sum
sha256sum -c ww18.sum
apt -y install ocl-icd-libopencl1
sudo dpkg -i *.deb
# optional
apt install -y clinfo


Use example

vainfo

root@ubuntu2404:~# vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSlice
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointEncSlice
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointEncSlice
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointEncSlice
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileHEVCMain422_10         : VAEntrypointVLD
      VAProfileHEVCMain422_12         : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSlice
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointEncSlice
      VAProfileHEVCMain444_12         : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointEncSlice
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointEncSlice
      VAProfileHEVCSccMain444         : VAEntrypointVLD
      VAProfileHEVCSccMain444         : VAEntrypointEncSlice
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointEncSlice
      VAProfileHEVCSccMain444_10      : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointEncSlice

intel_gpu_top
root@ubuntu2404:~# intel_gpu_top

intel-gpu-top: Intel Meteorlake (Gen12) @ /dev/dri/card1 -    0/   0 MHz; 100% RC6;        0 irqs/s

         ENGINES     BUSY                                                              MI_SEMA MI_WAIT
       Render/3D    0.00% |                                                          |      0%      0%
         Blitter    0.00% |                                                          |      0%      0%
           Video    0.00% |                                                          |      0%      0%
    VideoEnhance    0.00% |                                                          |      0%      0%
         Compute    0.00% |                                                          |      0%      0%

PID     Render/3D          Blitter            Video          VideoEnhance        Compute       NAME


check number of execution units

root@ubuntu2404:~/Geekbench/Geekbench-6.4.0-Linux# cat  /sys/kernel/debug/dri/0000\:00\:02.0/i915_capabilities |grep EU # Ultra 9 185H
EU total: 128
EU per subslice: 16
has EU power gating: no

root@server4:~# cat  /sys/kernel/debug/dri/0000\:00\:02.0/i915_capabilities |grep EU # i7-1355U
EU total: 96
EU per subslice: 16
has EU power gating: no

root@200:~# cat  /sys/kernel/debug/dri/0000\:00\:02.0/i915_capabilities |grep EU # Intel N200
EU total: 32
EU per subslice: 16
has EU power gating: no

root@server3:~# cat  /sys/kernel/debug/dri/0000\:00\:02.0/i915_capabilities |grep EU # i7-10710U
EU total: 24
EU per subslice: 8
has EU power gating: yes

root@server5:~# cat  /sys/kernel/debug/dri/0000\:00\:02.0/i915_capabilities |grep EU # Intel N150
EU total: 24
EU per subslice: 12
has EU power gating: no

root@storage2:~# cat  /sys/kernel/debug/dri/0000\:00\:02.0/i915_capabilities |grep EU #  Intel N100 
EU total: 24
EU per subslice: 12
has EU power gating: no

max GPU freq

root@ubuntu2404:~# cat /sys/class/drm/card[01]/gt_max_freq_mhz # Ultra 9 185H
2350
root@server4:~# cat /sys/class/drm/card[01]/gt_max_freq_mhz # i7-1355U
1300
root@server3:~# cat /sys/class/drm/card[01]/gt_max_freq_mhz # i7-10710U
1150
root@server5:~# cat /sys/class/drm/card[01]/gt_max_freq_mhz #N150
1000
root@200:~# cat /sys/class/drm/card[01]/gt_max_freq_mhz #N200
750
root@storage2:~# cat /sys/class/drm/card[01]/gt_max_freq_mhz #N100
750


  • No labels