This is a quick guide for optimizing the 3D acceleration for the Bigtreetech CB1 running Armbian Bookworm. Armbian already has the proper drivers installed, so disregard my previous guide.
**NOTE: The best perorming UI with panfrost is Gnome Wayland##
To optimize the drivers, only a few things are needed:
- Install the boot overlays to enable the cpu and gpu governors.
- Set the governors in the OS.
- Optional: Run the benchmark (glmark2 or kmscube)
- Copy the 2 dts files (below) to your CB1. You will need SSH access to install them.
- SSH into your CB1 and run the following commands:
$> sudo armbian-add-overlay sun50i-h616-cpu-opp.dts
$> sudo armbian-add-overlay sun50i-h616-gpu-opp.dts
- Create a file
/etc/default/cpufrequtils
with exactly these contents:
ENABLE=false
MIN_SPEED=480000
MAX_SPEED=1512000
GOVERNOR=ondemand
- Add the overlays to the armbian environment:
$> echo "user_overlays=sun50i-h616-gpu-opp sun50i-h616-cpu-opp" | sudo tee -a /boot/armbianEnv.txt
- Reboot your CB1 for the overlays to take effect.
- Run these commands to set the governor to performance:
$> echo performance | sudo tee /sys/devices/platform/soc/1800000.gpu/devfreq/1800000.gpu/governor
$> echo performance | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
Depending on your UI installation, install and run glmark2 for some benchmark numbers. For Gnome Wayland, you would isntall glmark2-es2-wayland
and run it from the terminal.
Quick note on the GPU voltages: bigtreetech/CB1-Kernel@09c4723
Long story short: the values you currently have here are effectively overvolting the GPU, and should probably be updated and lowered accordingly.