I see the messages with higher numbers than 20ms in some bug reports so the above change won't really solve it, just reduce the number of people who see the message.
Luckily, gnome-shell 40 in Ubuntu 21.10 and gnome-shell 41/42 in Ubuntu 22.04 changes the input system to fix more cases. Maybe not 100% still... The kernel bug also sounds very relevant: https://bugzilla.kernel.org/show_bug.cgi?id=212461 ** Bug watch added: gitlab.freedesktop.org/libinput/libinput/-/issues #711 https://gitlab.freedesktop.org/libinput/libinput/-/issues/711 ** Also affects: libinput via https://gitlab.freedesktop.org/libinput/libinput/-/issues/711 Importance: Unknown Status: Unknown ** Also affects: libinput (Ubuntu) Importance: Undecided Status: New ** Changed in: libinput (Ubuntu) Importance: Undecided => Wishlist ** Changed in: libinput (Ubuntu) Status: New => Fix Committed ** Tags added: fixed-in-libinput-1.20 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870597 Title: libinput says "your system is too slow" To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1870597/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs