SUMMARY Commit https://invent.kde.org/plasma/kwin/-/commit/b214251f81cbacacf3ef483081a7cef15343fa7f forces software cursors on Intel GPU's. But they have visual artifacts. STEPS TO REPRODUCE 1. Activate software cursors with `KWIN_FORCE_SW_CURSOR=1` 2. Check how cursor is rendered. 3. Disable software cursors with `KWIN_FORCE_SW_CURSOR=0` 4. Compare rendering. OBSERVED RESULT HW cursors have smooth shadow outside. SW cursors have artifacts instead of shadow. EXPECTED RESULT SW should look similar to HW ones. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE 20240109 (available in About System) KDE Plasma Version: 6.0.80 KDE Frameworks Version: 5.249.0 Qt Version: 6.6.1 ADDITIONAL INFORMATION
Created attachment 164806 [details] Bibata Amber software cursor photo
Created attachment 164807 [details] Bibata Amber hardware cursor photo
Created attachment 164808 [details] Bibata Amber cursor screenshot (doesn't depend on sw/hw)
I've added photos (sorry, but screenshot has no artifacts that are present on real screen) how cursor looks like when SW and HW. I'm using older version of Bibata Cursors (prefer pointie ones, not modern rounded): https://build.opensuse.org/package/show/home:NickLion:res/bibata-cursors
> I'm using older version of Bibata Cursors (prefer pointie ones, not modern rounded): https://build.opensuse.org/package/show/home:NickLion:res/bibata-cursors Is the issue reproducible with breeze cursor theme?
or can attach a zip archive with the cursor theme?
also have you enabled color management?
Created attachment 164810 [details] Breeze software (In reply to Vlad Zahorodnii from comment #5) > > I'm using older version of Bibata Cursors (prefer pointie ones, not modern rounded): https://build.opensuse.org/package/show/home:NickLion:res/bibata-cursors > > Is the issue reproducible with breeze cursor theme? Yes. Here it is.
(In reply to Vlad Zahorodnii from comment #7) > also have you enabled color management? No, ICC is not set, gamma at 1.00, night colors not active yet.
(In reply to Vlad Zahorodnii from comment #6) > or can attach a zip archive with the cursor theme? Should I add it? It's about 1.7MiB.
(In reply to Mykola Krachkovsky from comment #10) > (In reply to Vlad Zahorodnii from comment #6) > > or can attach a zip archive with the cursor theme? > > Should I add it? It's about 1.7MiB. Yes, I'm unable to reproduce the glitch when using breeze cursor theme
Created attachment 164811 [details] Bibata Amber cursors
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4878
Git commit 68f1570d452a775d617a5141d94d9a5e95e2e038 by Vlad Zahorodnii. Committed on 11/01/2024 at 14:44. Pushed by vladz into branch 'master'. scene: Fix alpha channel of offscreen cursor texture When running with 10bpc, the alpha channel has only 2 bits for it, which is too low for the cursor. M +3 -2 src/scene/cursordelegate_opengl.cpp https://invent.kde.org/plasma/kwin/-/commit/68f1570d452a775d617a5141d94d9a5e95e2e038
Thank you, it looks fine now.
Git commit a7f1c284a089c25a4c8a19dd8f4ff5a53d979c99 by Vlad Zahorodnii. Committed on 12/01/2024 at 12:01. Pushed by vladz into branch 'Plasma/6.0'. scene: Fix alpha channel of offscreen cursor texture When running with 10bpc, the alpha channel has only 2 bits for it, which is too low for the cursor. (cherry picked from commit 68f1570d452a775d617a5141d94d9a5e95e2e038) M +3 -2 src/scene/cursordelegate_opengl.cpp https://invent.kde.org/plasma/kwin/-/commit/a7f1c284a089c25a4c8a19dd8f4ff5a53d979c99
*** Bug 480174 has been marked as a duplicate of this bug. ***