https://bugs.kde.org/show_bug.cgi?id=458632

            Bug ID: 458632
           Summary: Error log:  libinput of keyboard using Kwin Wayland is
                    slower than Xorg
           Product: kwin
           Version: 5.25.4
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: libinput
          Assignee: kwin-bugs-n...@kde.org
          Reporter: xichen.b...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

I am using the gaming keyboard for workflows and games in KDE Wayland (Manjaro
or Arch Linux) without notice any issue.

But I checked the error logs:  `journalctl --no-pager -p err - b`
Here is the output: 

```
Sep 02 08:07:01 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: client bug: event processing lagging behind by 28ms,
your system is too slow
Sep 02 08:22:53 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: client bug: event processing lagging behind by 34ms,
your system is too slow
Sep 02 09:07:54 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: client bug: event processing lagging behind by 24ms,
your system is too slow
Sep 02 09:25:45 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: client bug: event processing lagging behind by 34ms,
your system is too slow
Sep 02 09:40:59 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: client bug: event processing lagging behind by 22ms,
your system is too slow
Sep 02 09:41:09 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: client bug: event processing lagging behind by 24ms,
your system is too slow
Sep 02 09:42:04 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: client bug: event processing lagging behind by 30ms,
your system is too slow
Sep 02 09:42:04 zesko kwin_wayland[1467]: kwin_libinput: Libinput: event9  -
SONiX Gaming Keyboard: WARNING: log rate limit exceeded (5 msgs per 60min).
Discarding future messages.
```
The error messages said "event processing lagging behind by more than 20 ms"

I switch to my other 2 different keyboards, the same error messages appear when
using Kwin Wayland.

I switch back to Xorg that does not show this error message or has no issue.

STEPS TO REPRODUCE
1.  Switch to Wayland in login session
2.  Try typing your keyboard normally more than 1 hour
3.  Check the log: `journalctl -b -p err`
4.  See the error "event processing lagging behind by more than 20 ms"

OBSERVED RESULT

kwin wayland libinput is slower than kwin xorg libinput.

EXPECTED RESULT

kwin wayland libinput performance should be improved like Xorg or better than
Xorg.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE latest version
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
WM: kwin_wayland
DM: SDDM
PC: Gaming PC using AMD Ryzen 5800x and Radeon RX 5700 and dual monitors 1440p, 
they are strong enough for game.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to