Summary: | Wayland-exclusive mouse cursor graphical artifacts | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | l1ttleofficial |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ken20001, nate, xaver.hugl |
Priority: | NOR | ||
Version: | 5.25.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.26 | |
Attachments: | Camera image of the mouse cursor. This cannot be seen on screenshots |
Description
l1ttleofficial
2022-07-04 08:00:51 UTC
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! |