You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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

with both Intel drivers and btop recompiled btop shows not only load on GPU but also power consumption


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 SetingsSingle core


Multi core


Vulkan


OpenCL

llvmpipe

15/15powersave1288327838994279
15/15
balance_performance
1289329239114293330
15/15performance1291319640153647335





  • No labels