Lagująca mysz (KDE, GNOME) - rozwiązanie

Piszę bo może ktoś jeszcze ma problem z lagującą myszą w “dużych” środowiskach graficznych i szuka rozwiązania. U mnie były częste mikroprzycinki, a w logu wtedy pojawiało się mniej więcej coś takiego:

[   875.801] (EE) event6  - Logitech G603: client bug: event processing lagging behind by 12ms, your system is too slow
[   964.007] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-1ms), your system is too slow
[   981.084] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-8ms), your system is too slow
[   990.741] (EE) event6  - Logitech G603: client bug: event processing lagging behind by 12ms, your system is too slow
[   991.074] (EE) event6  - Logitech G603: client bug: event processing lagging behind by 15ms, your system is too slow
[  1004.737] (EE) event6  - Logitech G603: client bug: event processing lagging behind by 24ms, your system is too slow
[  1004.737] (EE) event6  - Logitech G603: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
[  1012.585] (EE) client bug: timer event6 debounce: scheduled expiry is in the past (-11ms), your system is too slow
[  1012.586] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-24ms), your system is too slow
[  1082.542] (EE) client bug: timer event6 debounce: scheduled expiry is in the past (-4ms), your system is too slow
[  1082.542] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-17ms), your system is too slow
[  1102.174] (EE) client bug: timer event6 debounce: scheduled expiry is in the past (-9ms), your system is too slow
[  1102.174] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-22ms), your system is too slow
[  1112.423] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-11ms), your system is too slow
[  1470.574] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-12ms), your system is too slow
[  1658.513] (EE) event10 - Cypress Cypress USB Keyboard / PS2 Mouse: client bug: event processing lagging behind by 33ms, your system is too slow

Stało się to po zmianie karty graficznej (RX 5700XT na RX 6900XT). Po małym śledztwie okazało się, że winne jest libinput. Zmieniłem libinput na evdev i wszystko teraz śmiga gładko bez przycinek. Wystarczy:

cp /usr/share/X11/xorg.conf.d/10-evdev.conf  /etc/X11/xorg.conf.d/

no i restart DM.

Z ciekawości zrobiłem to co napisałeś, ale jedyna różnica to taka że szybkość kursora wzrosła.

Nie miałeś @peiner problemu, to i rozwiązanie nie miało czego rozwiązywać, więc niczego nie zmieniło.

Jeśli włączę lapka z wpiętą już myszą, to żeby ją aktywować muszę kliknać lewym klawiszem. Denerwujące jest to, że bardzo szybko się wyłącza i za każdym razem trzeba robić klik. Gdy X wystartuje i wtedy podepnę mysz, to działa normalnie bez wyłączania. Myślałem, że być może to czemuś zaradzi.

@peiner A to nie jest znany problem z USB autosuspend? Zerknij - może to pomoże: https://wiki.archlinux.org/index.php/Power_management#USB_autosuspend

Stworzyłem plik z regułami udev, zrobiłem blacklistę, ale niestety nie pomogło.