Bug 511090

Summary: Mouse cursor corrupted (dotted/squares) when using llvmpipe on AMD Mullins APU (Regression from 6.3.5)
Product: [Plasma] kwin Reporter: adriano.barile
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Photo de la souris

Description adriano.barile 2025-10-25 12:14:46 UTC
**Title:** Severe Mouse Cursor Corruption (Dotted/Squares) on KDE Plasma 6.5 Wayland with llvmpipe

**Summary of the Issue:**
After updating KDE Plasma from version 6.3.5 (where everything was working fine) to version 6.5.x, the mouse cursor is corrupted under a Wayland session. Instead of the intended cursor theme, it displays only as a series of **dotted squares or pixel artifacts**.

**Technical Details:**
This issue occurs specifically because the system is forced to use the software rendering driver, **llvmpipe**, instead of the dedicated AMD driver. This likely happens due to an issue with the GPU detection or driver loading for the **AMD Mullins APU** under the newer Plasma version. The previous version (6.3.5) handled this fallback scenario correctly.

**Key Point (Regression):**
The cursor was rendered perfectly fine in **KDE Plasma 6.3.5** with the exact same hardware configuration (AMD Mullins / llvmpipe / Wayland). This strongly suggests a **regression** was introduced in KWin/Plasma 6.4 or 6.5 regarding how it handles the software cursor rendering path.

**Temporary Workaround:**
The issue can be temporarily fixed by setting the environment variable `KWIN_FORCE_SW_CURSOR=1`.
Comment 1 adriano.barile 2025-10-25 12:24:11 UTC
Created attachment 186128 [details]
Photo de la souris

Photo de la souris comme elle apparaît à l'écran !
Comment 2 Antonio Rojas 2025-10-25 12:46:58 UTC

*** This bug has been marked as a duplicate of bug 510930 ***