Install some additional components
echo 'Ukraine/Kyiv' >/etc/timezone apt install -y intel-gpu-tools intel-media-va-driver-non-free intel-ocloc intel-opencl-icd-legacy intel-opencl-icd libdrm-intel1 libze-intel-gpu-raytracing mesa-vulkan-drivers# Intel apt install -y lm-sensors smartmontools nvme-cli mmc-utils # dsik utils apt install -y devmem2 msr-tools # for ./setPL apt install -y net-tools btop ncdu duf # some additional tools apt install -y zabbix-agent2 # in case of Zabbix monitoring apt install -y libonnxruntime1.21 python3-onnx python3-onnxruntime onnxruntime-tools # Open Neural Network Exchange
Install Docker
# USE NVMe space instead of eMMC mkdir /storage/docker/system ln -s /storage/docker/system /var/lib/docker # Docker install for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove -y $pkg; done apt update apt install ca-certificates curl install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc chmod a+r /etc/apt/keyrings/docker.asc echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null apt update apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Compile Intel drivers (optional)
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 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 ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu make make install cd .. git clone https://github.com/intel/libva-utils.git cd libva-utils ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu make make install cd .. 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 ..
compile btop with Intel GPU support (optional)
apt remove -y btop apt install -y make g++ git clone https://github.com/aristocratos/btop.git cd btop/ make make install update-alternatives --install /usr/bin/btop btop /usr/local/bin/btop 1
Download Geekbench tests
mkdir -p /storage/apps/Geekbench cd /storage/apps/Geekbench wget https://cdn.geekbench.com/Geekbench-6.4.0-Linux.tar.gz tar xvzf Geekbench-6.4.0-Linux.tar.gz rm -f Geekbench-6.4.0-Linux.tar.gz wget https://cdn.geekbench.com/GeekbenchAI-1.3.0-Linux.tar.gz tar xvzf GeekbenchAI-1.3.0-Linux.tar.gz rm -f GeekbenchAI-1.3.0-Linux.tar.gz
root@server5:/storage/apps/Geekbench/Geekbench-6.4.0-Linux# cpupower frequency-info
analyzing CPU 1:
driver: intel_pstate
CPUs which run at the same hardware frequency: 1
CPUs which need to have their frequency coordinated by software: 1
energy performance preference: balance_performance
hardware limits: 700 MHz - 3.60 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 700 MHz and 3.60 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: 1.06 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
root@server5:/storage/apps/Geekbench/Geekbench-6.4.0-Linux# cpupower frequency-set --governor performance
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
root@server5:/storage/apps/Geekbench/Geekbench-6.4.0-Linux# cpupower frequency-info
analyzing CPU 2:
driver: intel_pstate
CPUs which run at the same hardware frequency: 2
CPUs which need to have their frequency coordinated by software: 2
energy performance preference: performance
hardware limits: 700 MHz - 3.60 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 700 MHz and 3.60 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: 3.41 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Ubuntu 25.04 Geekbench 6.4.0
| Power Limits | OS Setings | Single core | Multi core | Vulkan | OpenCL | llvmpipe |
|---|---|---|---|---|---|---|
| 15/15 | powersave | 1288 | 3278 | 3899 | 4279 | |
| 15/15 | balance_performance | 1289 | 3292 | 3911 | 4293 | 330 |
| 15/15 | performance | 1291 | 3196 | 4015 | 3647 | 335 |