要提升CentOS上Compton的渲染速度,可参考以下方法:
backend
设置为glx
或wayland
,以利用GPU加速渲染。禁用阴影和窗口透明,即设置shadow=false
,opacity=false
。根据显示器特性调整vsync
,可尝试设置为true
或false
。cpulimit
工具限制Compton的CPU使用率,例如cpulimit -l 50 -p $(pidof compton)
。sudo dnf upgrade compton
命令更新Compton到最新版本,以修复可能存在的性能问题。xcompmgr
等其他窗口合成器。