Linux中Libinput导致的一个问题

今天为了找到PyCharm卡死的问题,查看了一下Xorg日志,然后就发现了另外一个问题,日志里有好多如 (EE) event21 - HID 1ea7:1005 Mouse: client bug: event processing lagging behind by 12ms, your system is too slow 这样的错误,甚至因为这种错误太多下边都开始出现日志记录速度过快的警告

详细日志

[   141.956] (EE) event21 - HID 1ea7:1005 Mouse: client bug: event processing lagging behind by 12ms, your system is too slow
[   323.173] (EE) event21 - HID 1ea7:1005 Mouse: client bug: event processing lagging behind by 18ms, your system is too slow
[   324.155] (EE) event21 - HID 1ea7:1005 Mouse: client bug: event processing lagging behind by 13ms, your system is too slow
[   324.466] (EE) event21 - HID 1ea7:1005 Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
[   333.690] (EE) event21 - HID 1ea7:1005 Mouse: client bug: event processing lagging behind by 17ms, your system is too slow
[   333.811] (EE) event21 - HID 1ea7:1005 Mouse: client bug: event processing lagging behind by 18ms, your system is too slow
[   333.811] (EE) event21 - HID 1ea7:1005 Mouse: WARNING: log rate limit exceeded (5 msgs per 60s). Discarding future messages.

原因

具体原因如这个帖子中所说 Libinput 1.16 Will Warn You If Your System Is Too Slow 是因为 Libinput 1.16 新版本的原因

It's been over a half-year already for the current libinput 1.15 series for this input handling library used on both X.Org and Wayland environments. But libinput 1.16 is finally en route with the first release candidate out today.

Libinput 1.16 has been baking a while due to no pressing features that needed to be shipped right away and seeing a number of 1.15.x point releases. Coming with this new series for libinput are:
- Monitoring of timestamps compared to when the libinput dispatch function is called by the compositor. If the difference is too large that it could result in issues for input processing, a new warning is displayed in the log that the event processing is lagging behind and the system is "too slow."
- Touchpads now support the "flat" acceleration profile for having the acceleration factor be constant regardless of velocity.
- Filtering of unreliable lid or tablet-mode switching.
- A new libinput analyze tool for debugging various aspects of the input device.
- Various other libinput tooling updates.
- Many fixes, device-specific quirk additions, and more.

More details via the libinput 1.15.901 announcement. Libinput 1.16.0 is expected to be out in the near future once seeing additional testing / release candidates.

解决方法

暂时没想到怎么解决,除了上边的文章暂时也没搜到其他有价值的文章

版权声明:
作者:Sunrise
链接:https://www.qlm.life/?p=162
来源:松间闻雪
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>