Created attachment 150380 [details] Camera image of the mouse cursor. This cannot be seen on screenshots SUMMARY On Wayland and on Wayland only, the mouse cursor has strong graphical artifacts; The result cannot be captured on a screenshot and is only visible on the screen itself; The artifact disappears when using the Zoom effect; This occurs independently of the cursor theme selected. STEPS TO REPRODUCE 1. Log into a Plasma Wayland session OBSERVED RESULT The mouse cursor is stretched vertically and has a square of artifacts around it EXPECTED RESULT The mouse cursor looks as intended SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20220702 (available in About System) KDE Plasma Version: 5.25.2 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION KWin support information: https://bytebin.lucko.me/kPsC2hqMJS
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2646
Git commit 7f04ea578f6b59f36f6321669a8eab3750e021c5 by Xaver Hugl. Committed on 13/07/2022 at 19:10. Pushed by zamundaaa into branch 'master'. backends/drm: handle broken legacy drivers better Some legacy drivers either don't accept gbm buffers suitable for cursors, or don't handle them properly. In order to work around that, always do a CPU import with legacy and use dumb buffers instead. Related: bug 453860 M +6 -2 src/backends/drm/egl_gbm_cursor_layer.cpp M +17 -16 src/backends/drm/egl_gbm_layer_surface.cpp M +11 -6 src/backends/drm/egl_gbm_layer_surface.h https://invent.kde.org/plasma/kwin/commit/7f04ea578f6b59f36f6321669a8eab3750e021c5
Git commit f3c1facdc477a18ff5c528972ffef5d09a3a6a35 by Xaver Hugl. Committed on 13/07/2022 at 20:35. Pushed by zamundaaa into branch 'Plasma/5.25'. backends/drm: handle broken legacy drivers better Some legacy drivers either don't accept gbm buffers suitable for cursors, or don't handle them properly. In order to work around that, always do a CPU import with legacy and use dumb buffers instead. Related: bug 453860 (cherry picked from commit 7f04ea578f6b59f36f6321669a8eab3750e021c5) M +6 -2 src/backends/drm/egl_gbm_cursor_layer.cpp M +17 -16 src/backends/drm/egl_gbm_layer_surface.cpp M +11 -6 src/backends/drm/egl_gbm_layer_surface.h https://invent.kde.org/plasma/kwin/commit/f3c1facdc477a18ff5c528972ffef5d09a3a6a35
Partially fixed in 5.25.4. There are no longer colorful artifacts around the mouse cursor, but the cursor itself is still stretched horizontally & vertically and has a scanline effect
(In reply to l1ttleofficial from comment #4) > Partially fixed in 5.25.4. There are no longer colorful artifacts around the > mouse cursor, but the cursor itself is still stretched horizontally & > vertically and has a scanline effect Apologies for misinformation, I submitted the comment in a hurry and thought I could edit it later. - Artifacts still may appear using the mouse cursor, reusing previous screen content (can't replicate consistently) - The cursor isn't "stretched" horizontally, only vertically. - "stretched" and "scanline effect" is actually a 1 pixel gap between each pixel of the cursor texture - Any issues disappear when zooming in
*** Bug 459679 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3019
There is screenshot in duplicated report.
Git commit 18a72f7187ea2629671449ff6202292225235e82 by Vlad Zahorodnii, on behalf of Xaver Hugl. Committed on 04/10/2022 at 07:33. Pushed by vladz into branch 'master'. backends/drm: also force linear layout for dumb buffer cursors While it usually shouldn't make a difference, it ensures that the buffer import always works properly M +1 -1 src/backends/drm/drm_egl_layer_surface.cpp https://invent.kde.org/plasma/kwin/commit/18a72f7187ea2629671449ff6202292225235e82
Git commit fc00487b6bdc9756714dfc69b65caee937a0097a by Vlad Zahorodnii, on behalf of Xaver Hugl. Committed on 04/10/2022 at 08:21. Pushed by vladz into branch 'Plasma/5.26'. backends/drm: also force linear layout for dumb buffer cursors While it usually shouldn't make a difference, it ensures that the buffer import always works properly (cherry picked from commit 18a72f7187ea2629671449ff6202292225235e82) M +1 -1 src/backends/drm/drm_egl_layer_surface.cpp https://invent.kde.org/plasma/kwin/commit/fc00487b6bdc9756714dfc69b65caee937a0097a
Can someone with an affected setup confirm whether or not it's still an issue with 5.26?
.
Hello. I can confirm, in KDE 5.26 mouse cursor is ok. Thank you.
great!