在Compton中启用GPU加速,可按以下步骤操作:
sudo apt-get install compton,Fedora/RHEL系统用sudo dnf install compton。nvidia-driver,AMD显卡用amdgpu-driver,Intel显卡用intel-driver。~/.config/compton.conf,若不存在则创建,添加或修改backend = glx,还可添加glx-no-stencil = false等优化选项。sudo systemctl restart compton或compton -c ~/.config/compton.conf重启Compton。