In order to have better desktop experience, the Ubuntu OS has Wayland GPU support by default.
But in some situations, this may break some software, so we provide a way to uninstall the GPU package here to use CPU rendering.
sudo apt -y remove linux-gpu-mali-wayland sudo apt -y install --reinstall libegl1-mesa libegl1 libgles2 libgles2-mesa libegl1-mesa-dev libgles2-mesa-dev libglvnd-dev libgles1 libwayland-dev mesa-common-dev libgl-dev libegl-dev libgles-dev libgbm-dev libgbm1 libwayland-egl1 sync sudo reboot
If it still not working please try the extra steps below:
cd /tmp wget http://ports.ubuntu.com/pool/main/g/gst-plugins-base1.0/libgstreamer-gl1.0-0_1.20.1-1ubuntu0.2_arm64.deb sudo dpkg -i libgstreamer-gl1.0-0_*_arm64.deb sync sudo reboot
sudo apt -y remove linux-gpu-mali-wayland sudo apt -y reinstall libegl1 libgles2 libegl1-mesa-dev libgles2-mesa-dev libglvnd-dev libgles1 libwayland-dev mesa-common-dev libgl-dev libegl-dev libgles-dev libgbm-dev libgbm1 libwayland-egl1 sync sudo reboot