Summary: | KolourPaint lags significantly when drawing a line/shape on Wayland with a mouse with high refresh rate | ||
---|---|---|---|
Product: | [Applications] kolourpaint | Reporter: | Fushan Wen <qydwhotmail> |
Component: | general | Assignee: | kolourpaint-support |
Status: | REOPENED --- | ||
Severity: | normal | CC: | deadmeu, greenismypepper, nate, oxalicc |
Priority: | NOR | Keywords: | wayland |
Version: | 21.12.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=449951 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | video.mp4 |
Description
Fushan Wen
2022-02-13 09:44:34 UTC
Can't reproduce on master I can reproduce it with 22.08.1, which is also current master, under sway window manager (wayland). SOFTWARE/OS VERSIONS sway version: both 1.7 and current master cffb006feba52c318e66f73c3463032fa76782dc reproduce kolourpaint version: 22.08.1 Qt version: 5.15.5 OS: NixOS unstable CPU/GPU: AMD Ryzen 7 5700G with integrated GPU RAM: 16GiB ADDITIONAL INFORMATION 1. 100% scale or 200% scale both work flawlessly. Only 125% scale causes significant redraw lag (500ms to 1s delay) even when selecting "Brush" tool and moving the cursor fast on the canvas, no need to press mouse button. 2. There are also many lines of "QWaylandShmBuffer: mmap failed (Invalid argument)" printed in console. I'm also encountering this error when using kolourpaint 23.04.1 on opensuse tumbleweed when running my desktop under wayland at 150% scaling. The temporary workaround I use is to force kolourpaint to run via xwayland using 'QT_QPA_PLATFORM=xcb' Created attachment 159412 [details]
video.mp4
Can reproduce with 200% scale
Also an issue for me at 100% scale Operating System: Arch Linux KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.11-arch2-1 (64-bit) Graphics Platform: Wayland A possibly relevant merge request was started @ https://invent.kde.org/graphics/kolourpaint/-/merge_requests/47 It's an upstream issue which will be fixed in Qt by Kai Uwe Broulik with https://codereview.qt-project.org/c/qt/qtwayland/+/527980. Not fully fixed. Reopened According to kbroulik, On X11 AA_CompressHighFrequencyEvents is enabled This might be fixed with https://invent.kde.org/plasma/kwin/-/merge_requests/5984. Can you re-test with KWin from git master? |