在 Linux 上使用 Compton(或其继任者 Picom) 作为复合器(compositor)时,常见的错误和坑主要集中在配置、显卡驱动、兼容性和性能几个方面。下面按常见程度整理:
~/.config/compton.conf,新版 Picom 常用 ~/.config/picom.conf)picom --config ~/.config/picom.conf
或compton --config ~/.config/compton.conf
shadow = true; 写成 shadows = true;corner-radius)但跑的是老 Comptonman picom
设置 → 窗口管理器微调 → 关闭合成
Failed to create GL context
picom --backend xrender
mesa-utils
vsync = true;
picom --backend glx --vsync
blurblur-method = "none";
shadow = false;
exec --no-startup-id picom
| 错误信息 | 可能原因 |
|---|---|
another composite manager is already running |
复合器冲突 |
no screen found |
X11 未启动 |
config file not found |
路径错误 |
backend failed |
驱动/后端不支持 |
segmentation fault |
版本 bug / 配置错误 |
picom --log-level TRACE
如果你愿意,可以告诉我:
我可以帮你精准定位问题。