KDE 闪烁问题解决

使用KDE Plasma 5.15 ,启动器为sddm,发现在启动器界面和进入桌面过程出现闪烁。
查阅资料,有说法为intel使用开源驱动默认会导致该问题,Intel显卡的加速选项有默认方式(glamor)、加速模式(sna)和兼容模式(uxa),修改了Intel显卡的Xorg配置文件为Intel加速模式(sna),问题可解决(参照深度论坛)
在/etc/X11/xorg.conf.d/下新建20-intel.conf,内容为:

1
2
3
4
5
6
7
8
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
Option "AccelMethod" "sna"
#Option "PageFlip" "False"
#Option "TearFree" "True"
EndSection

打包备份后删除原有的20opengl.conf.gz
重启电脑后该问题解决