[Bug 1990783] Re: [radeon] Distorted mouse pointer under Wayland in Kubuntu 22.10

Bug Watch Updater 1990783 at bugs.launchpad.net
Tue Oct 4 03:07:46 UTC 2022


Launchpad has imported 9 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=456306.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2022-07-04T08:00:51+00:00 L1ttleofficial wrote:

Created attachment 150380
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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/0

------------------------------------------------------------------------
On 2022-07-13T07:51:25+00:00 Bug-janitor wrote:

A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/2646

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/1

------------------------------------------------------------------------
On 2022-07-13T20:25:49+00:00 Xaver Hugl wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/2

------------------------------------------------------------------------
On 2022-07-13T20:35:15+00:00 Xaver Hugl wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/3

------------------------------------------------------------------------
On 2022-08-06T06:22:11+00:00 L1ttleofficial wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/4

------------------------------------------------------------------------
On 2022-08-06T12:35:03+00:00 L1ttleofficial wrote:

(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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/5

------------------------------------------------------------------------
On 2022-10-03T19:35:33+00:00 Xaver Hugl wrote:

*** Bug 459679 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/12

------------------------------------------------------------------------
On 2022-10-03T19:37:28+00:00 Bug-janitor wrote:

A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/3019

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/13

------------------------------------------------------------------------
On 2022-10-03T19:53:15+00:00 Gannet wrote:

There is screenshot in duplicated report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1990783/comments/14


** Changed in: kdebase-workspace
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kwin in Ubuntu.
https://bugs.launchpad.net/bugs/1990783

Title:
  [radeon] Distorted mouse pointer under Wayland in Kubuntu 22.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1990783/+subscriptions





More information about the kubuntu-bugs mailing list