Bug 429968 - Plasma panel has weird colors and behaviour under Wayland with nvidia drivers
Summary: Plasma panel has weird colors and behaviour under Wayland with nvidia drivers
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.3
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-03 13:59 UTC by Aurélien Oudelet (auroud85_fr)
Modified: 2022-01-19 15:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
aoudelet: Wayland+


Attachments
Bad color for Plasma panel under Wayland with nvidia drivers (143.46 KB, image/png)
2020-12-03 13:59 UTC, Aurélien Oudelet (auroud85_fr)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Oudelet (auroud85_fr) 2020-12-03 13:59:04 UTC
Created attachment 133832 [details]
Bad color for Plasma panel under Wayland with nvidia drivers

SUMMARY
With nvidia drivers set as mentioned here:
https://community.kde.org/Plasma/Wayland/Nvidia

with installed packages from our distribution:
plasma-wayland-protocols-1.1.1-1.mga8
lib64kf5wayland5-5.75.0-1.mga8
lib64wayland-cursor0-1.18.0-3.mga8
lib64wayland-egl1-1.18.0-3.mga8
lib64kwaylandserver5-5.20.3-1.mga8
lib64gstwayland1.0_0-1.18.1-2.mga8.tainted
lib64wayland-client0-1.18.0-3.mga8
kwayland-5.75.0-1.mga8
plasma-workspace-wayland-5.20.3-1.mga8
kwayland-integration-5.20.3-1.mga8
lib64nvidia-egl-wayland1-1.1.5-3.mga8
qtwayland5-5.15.1-2.mga8
kwin-wayland-5.20.3-1.mga8
lib64qt5waylandcompositor5-5.15.1-2.mga8
egl-wayland-json-1.1.5-3.mga8
lib64qt5waylandclient5-5.15.1-2.mga8
kwayland-server-5.20.3-1.mga8
lib64wayland-server0-1.18.0-3.mga8
libwayland-client0-1.18.0-3.mga8
x11-server-xwayland-1.20.10-2.mga8
libgstvulkanwayland-gir1.0-1.18.1-2.mga8.tainted

OBSERVED RESULT
See attached screenshot: weird color for Panels in Plasma Workspace.
Also, Kickoff (menu) has weird behaviour: when mouse hovers item, submenu is not displayed but the first that is hovered get displayed on all other items.

EXPECTED RESULT
Same color and behaviour as in X11 session.

SOFTWARE/OS VERSIONS
Operating System: Mageia 8
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.12-desktop-1.mga8
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 15.6 Gio of RAM
Graphics Processor: GeForce GTX 1660 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
$ inxi -G
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] driver: nvidia v: 455.45.01 
           OpenGL: renderer: GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01
Comment 1 Aurélien Oudelet (auroud85_fr) 2020-12-03 14:30:06 UTC
Added a video on Youtube for strange behavior under Wayland with nvidia-drivers

https://www.youtube.com/watch?v=YZ62EQ1stC8
Comment 2 Nate Graham 2020-12-03 21:04:11 UTC
Looks like the "background contrast" effect is disabled or not working properly.
Comment 3 Aurélien Oudelet (auroud85_fr) 2020-12-04 13:49:16 UTC
(In reply to Nate Graham from comment #2)
> Looks like the "background contrast" effect is disabled or not working
> properly.

Note that the x11-session works fine. This is the same account that is used to log in a x11-session and a wayland-session. Same settings, two results.
Comment 4 Aleix Pol 2022-01-19 15:57:13 UTC
NVIDIA hardware works under GBM now.