https://github.com/intel/intel-graphics-compiler/blob/master/documentation/build_ubuntu.md
https://github.com/intel/opencl-clang
Make compilation faster
apt install -y devmem2 msr-tools cd /root wget https://raw.githubusercontent.com/horshack-dpreview/setPL/master/setPL.sh chmod +x ./setPL.sh mv setPL.sh /usr/local/sbin ln -s /usr/local/sbin/setPL.sh /root/setPL.sh # just a habbit to run it from root
Set power limits 85/95 instead of */65
./setPL.sh 85 95
Intel Graphics drivers
apt remove -y intel-gpu-tools intel-media-va-driver-non-free intel-ocloc-legacy intel-ocloc intel-opencl-icd-legacy intel-opencl-icd libze-intel-gpu-raytracing apt install -y peg bison flex libcairo2-dev libudev-dev libprocess-cpp-dev libunwind-dev valgrind libpixman-1-dev libdw-dev libproc2-dev libkmod-dev libdrm-intel1 libdrm-dev meson cmake git clone https://github.com/intel/gmmlib.git cd gmmlib/ mkdir build cd build cmake ../ make -j 4 make install cd ../.. git clone https://github.com/intel/libva.git cd libva mkdir build cd build meson .. -Dprefix=/usr -Dlibdir=/usr/lib/x86_64-linux-gnu ninja sudo ninja install git clone https://github.com/intel/libva-utils.git cd libva-utils mkdir build cd build meson .. ninja sudo ninja install git clone https://github.com/intel/media-driver.git cd media-driver/ mkdir build cd build cmake ../ make -j 4 make install cd ../.. # Intel_gpu_tools compilation is optional apt install -y peg bison flex libcairo2-dev libudev-dev libprocess-cpp-dev libunwind-dev valgrind libpixman-1-dev libdw-dev libproc2-dev libkmod-dev git clone https://gitlab.freedesktop.org/drm/igt-gpu-tools cd igt-gpu-tools meson build && ninja -C build ./meson.sh install cd ..
status
root@morefine-s800:~/intel-graphics/media-driver/build# vainfo
Trying display: drm
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.23 (libva 2.22.0.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 25.2.4 (484fcf1f0)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
...
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSlice
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSlice
Intel igc
Intel Graphics compiler https://github.com/intel/intel-graphics-compiler/blob/master/documentation/build_ubuntu.md
apt install -y bison flex python3-mako libz-dev cmake libc6 libstdc++6 #apt install -y llvm-15 llvm-15-dev clang-15 liblld-15 liblld-15-dev libllvmspirvlib15 libllvmspirvlib-15-dev git config --global user.email "user@example.com" git config --global user.name "Example User" git clone https://github.com/intel/vc-intrinsics vc-intrinsics git clone -b llvmorg-15.0.7 https://github.com/llvm/llvm-project llvm-project git clone -b ocl-open-150 https://github.com/intel/opencl-clang llvm-project/llvm/projects/opencl-clang git clone -b llvm_release_150 https://github.com/KhronosGroup/SPIRV-LLVM-Translator llvm-project/llvm/projects/llvm-spirv git clone https://github.com/KhronosGroup/SPIRV-Tools.git SPIRV-Tools git clone https://github.com/KhronosGroup/SPIRV-Headers.git SPIRV-Headers git clone https://github.com/intel/intel-graphics-compiler igc cd build cmake ../igc make -j`nproc` sudo make install
https://github.com/intel/compute-runtime/releases
apt install -y clinfo 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 sudo dpkg -i *.deb
check
clinfo
root@morefine-s800:~/neo# clinfo -l Platform #0: Intel(R) OpenCL Graphics `-- Device #0: Intel(R) Arc(TM) Graphics