Summary: | plasma 6 wayland nvidia: Keyboard input is very laggy in Electron apps | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Jean-Francois Roy <jf> |
Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | CC: | nate, xaver.hugl |
Priority: | NOR | Keywords: | qt6, wayland |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jean-Francois Roy
2023-10-12 23:35:25 UTC
Is this reproducible in Plasma 5 as well for you? Or only in Plasma 6? Only plasma 6. Does not repro in plasma 5 on the exact same system. Thanks. I've made a video recording of Element (desktop electron version) in plasma 5 and plasma 6 on the exact same system. It shows the issue pretty well, especially with audio to hear the keyboard keys. From the video, it seems plasma 6 is delaying buffer swaps or swapping the wrong buffer. Plasma 5: https://drive.google.com/file/d/16zjCf5JwWq7yHWCKCgbUXV8zYQ69wX_c/view?usp=sharing Plasma 6: https://drive.google.com/file/d/1Vkcy7VQGg1OOY-uBSUEJEKn1yHLybx7U/view?usp=sharing This is a NVidia driver bug, it's missing implicit synchronization (you can follow progress on that at https://gitlab.freedesktop.org/xorg/xserver/-/issues/1317 if you want). The fact that you see it in Plasma 6 and not Plasma 5 is because the issue is effectively a race condition, changes in timings (which we've introduced some time ago) or GPU load can cause the issue to appear or disappear. I've been following the xwayland nvidia situation (both that bug and the patch to add explicit sync to xwayland https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967). I filed this report because the difference between 5 and 6 was so pronounced. |