Bug 459110

Summary: Cursor Rendering is broken on Wayland Plasma sessions on Radeon Drivers
Product: [Plasma] kwin Reporter: simeonlps
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.25.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: an image showing the previously explained cursor artifacts

Description simeonlps 2022-09-14 15:45:34 UTC
Created attachment 152053 [details]
an image showing the previously explained cursor artifacts

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Get a device using the legacy AMD Radeon drivers (Mobility Radeon HD 4530/4570/545v...etc)
2. Run KDE Plasma 5.25.5
3. Select a Plasma Wayland session from your display manager
4. Observe the broken cursor

OBSERVED RESULT
The Cursor becomes incredibly big compared to what it's size is supposed to be, and has a line pattern across it. Ocassionally, a black box remeniscent of the same line patterns appear around the cursor

EXPECTED RESULT
The Cursor shows up as expected, with the correct size and without artifacts

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
  KDE Plasma Version: 5.25.5
  KDE Frameworks Version: 5.97.0
  Qt Version: 5.15.5
  Kernel Version: 5.19.8-200.fc36.x86_64 (64-bit)
  Graphics Platform: Wayland
  Graphics Processor: AMD RV710
  KDE Plasma Version: 
  KDE Frameworks Version: 

ADDITIONAL INFORMATION
I have not encountered a similar issue on Plasma 5.24 before updating a my freshly installed Fedora system, nor did I observe this on Swaywm or GNOME, on both my ThinkPad (the device with the issue) and my Desktop with a Nvidia GPU

I have attached an image to further clarify the issue I am having
Comment 1 Nate Graham 2022-09-14 16:48:32 UTC
Likely a graphics drivers issue, similar to https://gitlab.freedesktop.org/drm/amd/-/issues/1513 or even the same thing. Can you file a bug report there? Thanks!