Bug 432058 - Nvidia Wayland - No Transparency
Summary: Nvidia Wayland - No Transparency
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.20.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-24 21:57 UTC by Wyatt Childers
Modified: 2021-09-19 12:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wyatt Childers 2021-01-24 21:57:09 UTC
SUMMARY
Using an nvidia wayland session, panels and windows do not render with transparency, they appear as though compositing is disabled.

STEPS TO REPRODUCE
1. Start a nvidia wayland session
2. Move a window below a plasma panel to try to observe transparency

OBSERVED RESULT
There is no change in the panel appearance.

EXPECTED RESULT
The panel modifies its appearance based on the window behind it.
Comment 1 noname 2021-01-25 13:14:49 UTC
I sent a bug report a few months ago  and seems to be a nvidia driver issue.
But also seems that Nvidia is updating  their driver for best wayland and xwayland support.

https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-DMA-BUF-Wayland-KDE
https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-GL-VLK-XWayland


Sorry for my english.
Comment 2 Simon Spinner 2021-06-17 19:19:11 UTC
The nvidia driver (up to 465) does not support querying the texture format of wayland textures via EGL_TEXTURE_FORMAT. Depending on the texture format Kwin determines for a window whether it should use an alpha channel or not. If the query fails, it currently defaults to no alpha channel. For nvidia users it would be better if it defaults to assume an alpha channel for all windows. This would help to make transparent windows work better (e.g., latte dock has a black background for me) and allow for the blur effect.
Comment 3 Severin von Wnuck-Lipinski 2021-09-19 12:16:46 UTC
Fixed with https://invent.kde.org/plasma/kwayland-server/-/merge_requests/294