Bug 451854 - Visual corruption using background contrast with Wayland
Summary: Visual corruption using background contrast with Wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-24 12:51 UTC by Chase Lau
Modified: 2024-06-07 20:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: https://invent.kde.org/plasma/kwin/-/commit/e6d2bc153f499d1ec3510c02badca38d4c42c340
Sentry Crash Report:


Attachments
Visual corruption on panel (154.31 KB, image/png)
2022-03-24 12:51 UTC, Chase Lau
Details
Corruption with hidden icons expanded (173.02 KB, image/png)
2022-03-24 12:52 UTC, Chase Lau
Details
Corruption gone with background contract turned off (219.38 KB, image/png)
2022-03-24 12:52 UTC, Chase Lau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chase Lau 2022-03-24 12:51:43 UTC
Created attachment 147704 [details]
Visual corruption on panel

I hope this is the right component to report this bug!

SUMMARY
When running Plasma with an Nvidia GPU on Wayland, there is visual corruption when using the desktop effect "Background contrast".


STEPS TO REPRODUCE
1. Ensure Plasma is running on Wayland and background contract is enabled
2. Open the status and notifications menu

OBSERVED RESULT
See attached screenshots

EXPECTED RESULT
See attached screenshots

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Fedora 35 with latest rawhide Nvidia drivers
(available in About System)
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Chase Lau 2022-03-24 12:52:12 UTC
Created attachment 147705 [details]
Corruption with hidden icons expanded
Comment 2 Chase Lau 2022-03-24 12:52:37 UTC
Created attachment 147706 [details]
Corruption gone with background contract turned off
Comment 3 Ridge 2022-03-26 14:16:59 UTC
Just came here to report the same thing, so I can confirm this does indeed happen in the Plasma Wayland session, using Nvidia's proprietary driver. Currently on version 510.54, but I've observed this on older driver versions (with support for the GBM backend).

It only happens with the "Background Contrast" effect on, "Blur" does not affect it at all.
In the X11 session, it works perfectly.

A bit of info about my environment:

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, Linux Kernel 5.16.16-zen1-1-zen
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
CPU: Ryzen 5 2600
GPU: Nvidia GTX 1060 6GB
Nvidia Driver 510.54
Comment 4 Ridge 2022-03-26 14:23:37 UTC
Oh also, moving this to kwin/wayland-generic as I think it's more of a kwin issue.
No worries tho, I'm always unsure of these categories myself. I had to check with the kde-bugs channel to make sure this change was ok, in fact 😁
Comment 5 Daniel Suarez 2022-05-11 20:37:22 UTC
This should be fixed with https://invent.kde.org/plasma/kwin/-/merge_requests/2358 which I believe is set to be in 5.25