| Summary: | All inactive windows are black while compositing is active | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | cacho96 |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | grave | CC: | nate, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/78c0549b9890ff4d4ca500fdea82c31eecf70908 | Version Fixed/Implemented In: | 6.5.0 |
| Sentry Crash Report: | |||
| Attachments: | All my windows except the active one are shown black | ||
Do you have some non-default effects installed and enabled? Does this also happen in a live boot of Fedora KDE 40? (In reply to Zamundaaa from comment #1) > Do you have some non-default effects installed and enabled? Does this also > happen in a live boot of Fedora KDE 40? The only non-default thing that I could think of is a tiny plasma script to inform window position and size when moving and resizing. Wayland in a live boot Fedora KDE 40 works perfectly. Probably there is some plasma X11 config that is messing with wayland...? Updated to Plasma 6.1.1-1. Now startplasma-wayland shows a solid black screen and a cursor. I had to kill plasma from a virtual console. (In reply to cacho96 from comment #2) > (In reply to Zamundaaa from comment #1) > > Do you have some non-default effects installed and enabled? Does this also > > happen in a live boot of Fedora KDE 40? > > The only non-default thing that I could think of is a tiny plasma script to > inform window position and size when moving and resizing. > > Wayland in a live boot Fedora KDE 40 works perfectly. Probably there is some > plasma X11 config that is messing with wayland...? I think this is what I was asked to provide. (In reply to cacho96 from comment #2) > The only non-default thing that I could think of is a tiny plasma script to > inform window position and size when moving and resizing. Could you try disabling that? Also, do you have HDR or a color profile set for your display? (In reply to Zamundaaa from comment #5) > (In reply to cacho96 from comment #2) > > The only non-default thing that I could think of is a tiny plasma script to > > inform window position and size when moving and resizing. > Could you try disabling that? Also, do you have HDR or a color profile set > for your display? Disabling the script does nothing. No, I don't have any special screen config that I know of... Where would that be? BTW, I have 2 computers with different hardware but the same problem. Upgraded to plasma 6.1.2.1. Now one computer works fine, while the other still has the same problem. The computer that works fine respects my configuration (no animations, etc). The one that has the problem, does not respect it. I can try copying the whole KDE configuration from one box to the other to see what happens... Which folders should I copy? It seems that the problem relies on the Compositor (whatever that means). If I enable the compositor for startplasma-x11, I also don't see the windows. Same problem occurs if I press Alt-Shift-F12. I do not know how to disable the compositor in Wayland, and Alt-Shift-F12 does not seem to do anything. The "dim inactive" effect can do this, if you set its strength to 100%. Please check if the issue still happens if you turn the effect off. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8213 (In reply to Zamundaaa from comment #11) > The "dim inactive" effect can do this, if you set its strength to 100%. > Please check if the issue still happens if you turn the effect off. Actually, I just tried Wayland after more than a year, and it seems to be working fine now, with or without dim. So far, it seems to be working as X11. Will report back later if I found problems. Some system details: Kernel 6.16.10-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct 2 19:23:55 UTC 2025 x86_64 GNU/Linux Fedora 42 fully updated KDE plasma 6.4.5.1 qt5-qtwayland-5.15.17.1.fc42.x86_64 qt6-qtwayland-6.9.2.1.fc42.x86_64 sddm-wayland-plasma-6.4.5.2.fc42.noarch wayland-devel-1.24.0.1.fc42.x86_64 wayland-utils-1.2.0.6.fc42.x86_64 xorg-x11-server-Xwayland-24.1.8.1.fc42.x86_64 [OT] BTW, is there a way to set the monitor's gamma in Wayland, like I do in X11? One year ago there was no way to do this, and this was the main reason to stay with X11. Git commit 48afc72eb703b5ac6d4e785b70933ecf14fae02f by Vlad Zahorodnii. Committed on 13/10/2025 at 17:16. Pushed by vladz into branch 'master'. plugins/diminactive: Clamp strength to 10-90% range With strength values such as 100%, the window will become completely black. With too low strength values, the effect serves no purpose. M +1 -1 src/plugins/diminactive/diminactive.cpp M +4 -1 src/plugins/diminactive/diminactive_config.ui https://invent.kde.org/plasma/kwin/-/commit/48afc72eb703b5ac6d4e785b70933ecf14fae02f Git commit 78c0549b9890ff4d4ca500fdea82c31eecf70908 by Vlad Zahorodnii. Committed on 13/10/2025 at 18:45. Pushed by vladz into branch 'Plasma/6.5'. plugins/diminactive: Clamp strength to 10-90% range With strength values such as 100%, the window will become completely black. With too low strength values, the effect serves no purpose. (cherry picked from commit 48afc72eb703b5ac6d4e785b70933ecf14fae02f) M +1 -1 src/plugins/diminactive/diminactive.cpp M +4 -1 src/plugins/diminactive/diminactive_config.ui https://invent.kde.org/plasma/kwin/-/commit/78c0549b9890ff4d4ca500fdea82c31eecf70908 |
Created attachment 170938 [details] All my windows except the active one are shown black SUMMARY I was never able to use Wayland, since all windows are shown plain black, except the active one (clicking or hovering). I tried with all Plasma 5.X, with 6.04 and now with 6.1.0. I have to install the X11 version. STEPS TO REPRODUCE 1. Start wayland 2. My usual consoles and gkrellm are all black, except for the active one. OBSERVED RESULT Except for the panel and the wallpaper, all inactive windows are shown solid black. EXPECTED RESULT windows shown. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 40 / Plasma 6.1.0 KDE Plasma Version: 6.1.0 KDE Frameworks Version: kf5-frameworkintegration-5.116.0.2.fc40.x86_64, kf5-frameworkintegration-libs-5.116.0.2.fc40.x86_64, kf6-frameworkintegration-6.3.0.1.fc40.x86_64, kf6-frameworkintegration-libs-6.3.0.1.fc40.x86_64 Qt Version: qt-4.8.7-76.fc40.x86_64 ADDITIONAL INFORMATION Screenshot attached.