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 remove linux-gpu-mali-wayland sudo apt 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
sudo apt remove linux-gpu-mali-wayland sudo apt 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