最近几个月再自己的工作主机上装上了rockylinux9.0,又升级到9.1,但一直有个死机的问题,总是不能不关机稳定运行,后来看了看日志/var/log/message,发现libinput有问题,大概描述如下:
..."event processing lagging behind by %dms, your system is too slow".
后面查了下,可能是下面的问题,同时给出了解决方法,原文如下:
From the source code, I see that the warning is triggered when the event dispatch takes more than 10ms. This is not much time for computers that run heavy loads.
I went back to evdev with:
Code:
rm -f /usr/share/X11/xorg.conf.d/40-libinput.conf
rm -f /usr/share/X11/xorg.conf.d/91-keyboard-layout-libinput.conf
I did not notice any loss of features with a keyboard and mouse.
ETA: The warning message was very recently added to libinput 1.16.0 in -current as of August 3rd.
上面是删除两个配置文件,我是将其重命名备份处理,让后重启。目前没有什么问题 参考: https://www.linuxquestions.org/questions/slackware-14/libinput-warning-message-4175680580/