REQUIREMENT: You must have compiled the Panfrost drivers into the kernel!
The Panfrost drivers for the PAD7 requires a newer version of the mesa binaries. You have 2 options:
- Bullseye You have to download the sources for mesa and glmark2 and build them locally. This will take awhile|
- Bookworm The alternative is to update to Bookworm (still compatible with the 5.16.17 kernel), and install the libraries using apt. This will also take awhile to update to Bookworm|
sudo apt update
sudo apt upgrade
sudo apt install build-essential meson git python3-mako libexpat1-dev bison flex libwayland-egl-backend-dev libxext-dev libxfixes-dev libxcb-glx0-dev libxcb-shm0-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev libxshmfence-dev libxxf86vm-dev libxrandr-dev pkg-config libdrm-dev libwayland-dev wayland-protocols libx11-xcb-dev libjpeg-dev libpng-dev libgbm-dev libudev-dev mesa-utils screenfetch
- PLASMA KDE
sudo apt install kde-plasma-desktop plasma-workspace-wayland sddm
- GNOME
sudo apt install gnome
reboot
git clone https://gitlab.freedesktop.org/mesa/mesa.git
mkdir mesa/build
cd mesa/build
git checkout 21.3
meson -Dgallium-drivers=panfrost -Dvulkan-drivers= -Dllvm=disabled --prefix=/opt/panfrost
sudo ninja -j3 install
echo /opt/panfrost/lib/aarch64-linux-gnu | sudo tee /etc/ld.so.conf.d/0-panfrost.conf
sudo ldconfig
git clone https://github.com/glmark2/glmark2.git
mkdir glmark2/build
cd glmark2/build
meson setup -Dflavors=drm-gl,drm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2
sudo ninja install
OR.....
biqu@BTT-CB1:~$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main contrib non-free
#deb-src http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
#deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://deb.debian.org/debian bookworm-backports main contrib non-free
#deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free
deb http://deb.debian.org/debian-security bookworm-security main contrib non-free
#deb-src http://deb.debian.org/debian-security bookworm-security main contrib non-free
sudo apt update
sudo apt upgrade
- PLASMA KDE
sudo apt install kde-plasma-desktop plasma-workspace-wayland sddm
- GNOME
sudo apt install gnome
sudo apt install mesa-utils glmark2-es2-wayland glmark2-wayland glmark2-x11 glmark2-es2-x11 glmark2-drm glmark2-es2-drm screenfetch