Bug 450473

Summary: Transparent windows content on Plasma Wayland
Product: [Plasma] kwin Reporter: Tomasz Paweł Gajc <tpgxyz>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: major CC: nate, postix
Priority: NOR Keywords: wayland
Version: 5.24.2   
Target Milestone: ---   
Platform: OpenMandriva   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=444172
Latest Commit: Version Fixed In:
Attachments: transparent windows

Description Tomasz Paweł Gajc 2022-02-17 16:27:15 UTC
Created attachment 146877 [details]
transparent windows

SUMMARY
It started to happen somewhere in Nov 2021. When i login to Plasma(Wayland) session and i start some app, like konsole then it starts but its window content are transparent. Almost all KDE applications behaves like that. i found nothing in journalctl, even with mesa or qt in debug mode.
What is important if i login into Weston session from sddm, then everything works like expected - no transparent window content.


STEPS TO REPRODUCE
1. Login to PlasmaWayland
2. start konsole - see transparent window content
3. start falkon - see transparent window content
4. start systemsettings  - see window content behaves like expected

OBSERVED RESULT
Transparent windows content under Plasma Wayland

EXPECTED RESULT
See real windows content

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
Operating System: OpenMandriva Lx 4.50
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3 (with all the up to date patches from KDE git)
Kernel Version: 5.16.0-server-clang-1omv4050 (64-bit)
Processors: 4 × ARM Cortex-A53, 2 × ARM Cortex-A72
Memory: 3.7 GiB of RAM
Graphics Processor: Mali-T860

ADDITIONAL INFORMATION
I'm running on  Pine RockPro64 aarch64
[tpg@omv-rockpro64 ~]$ inxi -sG
Graphics:  Device-1: display-subsystem driver: rockchip_drm v: N/A 
           Device-2: rk3399-dw-hdmi driver: dwhdmi_rockchip v: N/A 
           Device-3: rk3399-mali driver: panfrost v: kernel 
           Display: x11 server: OpenMandriva X.org 1.21.1.3 driver: loaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mali-T860 (Panfrost) v: 3.1 Mesa 22.0.0-rc2
Comment 1 Tomasz Paweł Gajc 2022-02-23 19:54:08 UTC
Nothing changed on 5.24.2 :(
Comment 2 Vlad Zahorodnii 2022-06-24 08:02:24 UTC
> Graphics Processor: Mali-T860

Can you post the output of `qdbus org.kde.KWin /KWin supportInformation`? Windows are rendered as expected if I force GLES
Comment 3 Tomasz Paweł Gajc 2022-06-30 20:19:19 UTC
Hi,

Looks like there were some problems with mesa, because after couple of upgrades things started to work on aarch64. IMHO this can be closed.

[tpg@omv-rockpro64 ~/OpenMandriva/rpmlint]$ LC_ALL=C qdbus org.kde.KWin /KWin supportInformation                                                                                                                 
Informacje o wsparciu dla KWin:
Pytając  na np. https://forum.kde.orgużyj wyświetlanych tu danych.
Dostarczają one informacji o obecnie uruchomionym wystąpieniu, o opcjach, które są używane,
o używanym sterowniku OpenGL i o włączonych efektach.
Proszę wysłać te informacje, pod tekstem wprowadzenia, przy użyciu usługi paste bin
takiej jak https://paste.kde.org, aby nie zaśmiecać wątku.

==========================

Version
=======
KWin version: 5.25.1
Qt Version: 5.15.5
Qt compile version: 5.15.4
XCB compile version: 1.15

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: OpenMandriva
Vendor Release: 12201002
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,5,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: DRM
Active: true
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: Breeze_Snow
themeSize: 24

Options
=======
focusPolicy: 0
xwaylandCrashPolicy: 
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement: 6
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 0
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: true
latencyPolicy: 
renderTimeEstimator: 

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: true
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  yes
Number of Screens: 1

Screen 0:
---------
Name: HDMI-A-1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60000
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL ES 2.0
OpenGL vendor string: Panfrost
OpenGL renderer string: Mali-T860 (Panfrost)
OpenGL version string: OpenGL ES 3.1 Mesa 22.1.2
OpenGL platform interface: EGL
OpenGL shading language version string: OpenGL ES GLSL ES 3.10
Driver: Panfrost
GPU class: Mali T8xx series
OpenGL version: 3.1
GLSL version: 3.10
Mesa version: 22.1.2
Linux kernel version: 5.18.7
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
kwin4_effect_windowaperture
kwin4_effect_squash
kwin4_effect_sessionquit
kwin4_effect_scale
kwin4_effect_logout
kwin4_effect_login
kwin4_effect_fadingpopups
kwin4_effect_dialogparent
colorpicker
blendchanges
screenshot
screenedge
zoom
slidingpopups
slide
kwin4_effect_morphingpopups
kwin4_effect_maximize
kwin4_effect_fullscreen
kwin4_effect_frozenapp
desktopgrid
highlightwindow
overview
windowview
startupfeedback
kscreen
screentransform

Currently Active Effects:
-------------------------

Effect Settings:
----------------
kwin4_effect_windowaperture:
pluginId: kwin4_effect_windowaperture
isActiveFullScreenEffect: false

kwin4_effect_squash:
pluginId: kwin4_effect_squash
isActiveFullScreenEffect: false

kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

kwin4_effect_scale:
pluginId: kwin4_effect_scale
isActiveFullScreenEffect: false

kwin4_effect_logout:
pluginId: kwin4_effect_logout
isActiveFullScreenEffect: false

kwin4_effect_login:
pluginId: kwin4_effect_login
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
pluginId: kwin4_effect_fadingpopups
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

colorpicker:

blendchanges:

screenshot:

screenedge:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

slide:
horizontalGap: 45
verticalGap: 20
slideDocks: false
slideBackground: true

kwin4_effect_morphingpopups:
pluginId: kwin4_effect_morphingpopups
isActiveFullScreenEffect: false

kwin4_effect_maximize:
pluginId: kwin4_effect_maximize
isActiveFullScreenEffect: false

kwin4_effect_fullscreen:
pluginId: kwin4_effect_fullscreen
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

desktopgrid:
gridRows: 2
gridColumns: 2
animationDuration: 200
layout: 1
partialActivationFactor: 0
gestureInProgress: false
showAddRemove: true
desktopNameAlignment: 0
desktopLayoutMode: 0
customLayoutRows: 2

highlightwindow:

overview:
animationDuration: 200
layout: 1
ignoreMinimized: false
blurBackground: true
partialActivationFactor: 0
gestureInProgress: false

windowview:
animationDuration: 200
layout: 1
ignoreMinimized: false
mode: 7536640
partialActivationFactor: 0
gestureInProgress: false
searchText: 

startupfeedback:
type: 1

kscreen:

screentransform:


Loaded Plugins:
---------------
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor
kwin5_plugin_screencast

Available Plugins:
------------------
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor
kwin5_plugin_screencast
Comment 4 Bug Janitor Service 2022-07-15 04:36:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-07-30 04:35:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!