每当我移动鼠标足够多时,都会导致CPU使用率过高。提供的屏幕截图在全新的X会话中。
如果我运行其他程序(例如游戏),这也会导致频繁冻结。
[1075299.085] (II) event4 - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.
[1077813.434] (II) event4 - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.
[1077814.079] (II) event4 - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.
[1077814.246] (II) event4 - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.
[1077814.682] (II) event4 - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.
[1077831.975] (EE) client bug: timer event4 debounce: offset negative (-18ms)
[1077831.975] (II) event4 - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.
[1077831.975] (II) event4 - Corsair Corsair Vengeance M90 Mouse: WARNING: log rate limit exceeded (5 msgs per 30000ms). Discarding future messages.
[1120008.128] (II) event4 - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.
有什么办法可以使CPU使用率不那么高?
编辑:
我尝试了其他老鼠。CPU使用率似乎随鼠标DPI的增加而增加,或者确切地说,通用鼠标将引起CPU使用率的峰值,但不如游戏鼠标那么大。
我还检查了是否启用了硬件加速。
$ glxinfo | grep "direct rendering"
direct rendering: Yes
编辑2:
CPU是AMD FX-6350
GPU是AMD RX Vega 56
尝试使用Ubuntu Unity Desktop而不是默认的Gnome桌面。我发现Skylake笔记本电脑的性能要好得多。
—
WinEunuuchs2Unix
我虽然在用xfce。
—
Zephyr
抱歉,我在我的小电话上错过了这个标签:(
—
WinEunuuchs2Unix
作为比较,我有一个AMD Kaveri A8-7600 APU,并且左右摆动使Xorg的性能提高了约12%(CPU的使用率从0-0.7提高到12-13%)。同时Firefox达到了类似的水平,但是如果快速摆动它,我的效率可以达到20%以上!好奇。
—
pbhj