Bug 466179 - Graphical glitches after minimizing windows using multi-screen setup
Summary: Graphical glitches after minimizing windows using multi-screen setup
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.27.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2023-02-21 03:09 UTC by Andrew
Modified: 2023-03-25 03:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of desktop; artifacts from minimized windows are visible and flickering. (1.81 MB, image/png)
2023-02-21 03:09 UTC, Andrew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2023-02-21 03:09:06 UTC
Created attachment 156562 [details]
Screenshot of desktop; artifacts from minimized windows are visible and flickering.

SUMMARY

STEPS TO REPRODUCE
1. Have a portrait-landscape-portrait multi-monitor setup.
2. Minimize windows
3. Observe flickering result

OBSERVED RESULT
See screenshot.

EXPECTED RESULT
Wallpaper displays and artifacts of windows don't display.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Wayland. Kernel 5.19.0-32-generic (64 bit)
Comment 1 Nate Graham 2023-02-23 00:30:02 UTC
What kind of GPU are you using?

Also, can you paste the output of:
- `kscreen-doctor -o`
- `qdbus org.kde.KWin /KWin supportInformation`
Comment 2 Andrew 2023-02-23 02:44:12 UTC
(In reply to Nate Graham from comment #1)
> What kind of GPU are you using?
> 
> Also, can you paste the output of:
> - `kscreen-doctor -o`
> - `qdbus org.kde.KWin /KWin supportInformation`

Here is the output of when my laptop is connected to my monitors via a CalDigit TB3+ dock:

```
➜  ~ inxi -Gzzz       
Graphics:
  Device-1: Intel Iris Plus Graphics 640 driver: i915 v: kernel
  Device-2: Suyin HP TrueVision FHD RGB-IR type: USB driver: uvcvideo
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
    compositor: kwin_wayland driver: X: loaded: intel gpu: i915 resolution:
    1: 900x1600 2: 2560x1440 3: 900x1600
  OpenGL:
    renderer: Mesa Intel Iris Plus Graphics 640 (Kaby Lake GT3e) (KBL GT3)
    v: 4.6 Mesa 22.2.5
```

```
➜  ~ kscreen-doctor -o
Output: 1 eDP-1 disabled connected priority 0 Panel Modes: 0:1920x1080@60*! 1:1920x1080@40 2:1280x1024@60 3:1024x768@60 4:1280x800@60 5:1920x1080@60 6:1600x900@60 7:1368x768@60 8:1280x720@60 Geometry: 0,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 2 DP-2 enabled connected priority 2 DisplayPort Modes: 0:1600x900@60*! 1:1280x1024@75 2:1280x1024@60 3:1152x864@75 4:1024x768@75 5:1024x768@60 6:800x600@75 7:800x600@60 8:640x480@75 9:640x480@60 10:720x400@70 11:1024x768@60 12:1280x800@60 13:1368x768@60 14:1280x720@60 Geometry: 0,0 900x1600 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 3 DP-3 enabled connected priority 1 DisplayPort Modes: 0:2560x1440@60*! 1:2048x1080@60 2:2048x1080@24 3:1920x1080@60 4:1920x1080@60 5:1920x1080@60 6:1920x1080@50 7:1600x1200@60 8:1280x1024@75 9:1280x1024@60 10:1152x864@75 11:1280x720@60 12:1280x720@60 13:1280x720@60 14:1280x720@50 15:1024x768@75 16:1024x768@60 17:800x600@75 18:800x600@60 19:720x576@50 20:720x576@50 21:720x480@60 22:720x480@60 23:720x480@60 24:720x480@60 25:640x480@75 26:640x480@60 27:640x480@60 28:640x480@60 29:720x400@70 30:1600x1200@60 31:1280x1024@60 32:1024x768@60 33:1920x1200@60 34:1280x800@60 35:1920x1080@60 36:1600x900@60 37:1368x768@60 38:1280x720@60 Geometry: 900,0 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 4 DP-4 enabled connected priority 3 DisplayPort Modes: 0:1600x900@60*! 1:1280x1024@75 2:1280x1024@60 3:1152x864@75 4:1024x768@75 5:1024x768@60 6:800x600@75 7:800x600@60 8:640x480@75 9:640x480@60 10:720x400@70 11:1024x768@60 12:1280x800@60 13:1368x768@60 14:1280x720@60 Geometry: 3460,0 900x1600 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: Automatic
```

```
KWin Support Information:
The following information should be used when requesting support on e.g. https://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.

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

Version
=======
KWin version: 5.27.0
Qt Version: 5.15.8
Qt compile version: 5.15.8
XCB compile version: 1.14

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

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12201001
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: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 1
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

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

Cursor
======
themeName: breeze_cursors
themeSize: 24

Options
=======
focusPolicy: 1
xwaylandCrashPolicy: 
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 300
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement: 
activationDesktopPolicy: 0
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
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: 0
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: true
latencyPolicy: 
renderTimeEstimator: 
allowTearing: true

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

Screens
=======
Active screen follows mouse:  yes
Number of Screens: 4

Screen 0:
---------
Name: eDP-1
Enabled: 0
Screen 1:
---------
Name: DP-2
Enabled: 1
Geometry: 0,0,900x1600
Scale: 1
Refresh Rate: 59978
Adaptive Sync: incapable
Screen 2:
---------
Name: DP-3
Enabled: 1
Geometry: 900,0,2560x1440
Scale: 1
Refresh Rate: 59951
Adaptive Sync: incapable
Screen 3:
---------
Name: DP-4
Enabled: 1
Geometry: 3460,0,900x1600
Scale: 1
Refresh Rate: 59978
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Iris(R) Plus Graphics 640 (Kaby Lake GT3e) (KBL GT3)
OpenGL version string: 4.6 (Core Profile) Mesa 22.2.5
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Intel
GPU class: Kaby Lake
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 22.2.5
Linux kernel version: 5.19
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

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

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
colorpicker:

outputlocator:

screenshot:

screenedge:

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

blur:

contrast:

kwin4_effect_logout:
pluginId: kwin4_effect_logout
isActiveFullScreenEffect: false

kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

kwin4_effect_login:
pluginId: kwin4_effect_login
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

kwin4_effect_eyeonscreen:
pluginId: kwin4_effect_eyeonscreen
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

kwin4_effect_fadingpopups:
pluginId: kwin4_effect_fadingpopups
isActiveFullScreenEffect: false

kwin4_effect_scale:
pluginId: kwin4_effect_scale
isActiveFullScreenEffect: false

kwin4_effect_squash:
pluginId: kwin4_effect_squash
isActiveFullScreenEffect: false

kwin4_effect_fullscreen:
pluginId: kwin4_effect_fullscreen
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
pluginId: kwin4_effect_morphingpopups
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

kwin4_effect_maximize:
pluginId: kwin4_effect_maximize
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

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

highlightwindow:

overview:
activeView: 
animationDuration: 300
layout: 1
ignoreMinimized: false
blurBackground: true
partialActivationFactor: 0
gestureInProgress: false
searchText: 

tileseditor:
activeView: 
animationDuration: 200

windowview:
activeView: 
animationDuration: 300
layout: 1
ignoreMinimized: false
mode: 0
partialActivationFactor: 0
gestureInProgress: false
searchText: 

wobblywindows:
stiffness: 0.15
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveWobble: true
resizeWobble: true

blendchanges:

startupfeedback:
type: 1

kscreen:

screentransform:


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

Available Plugins:
------------------
kwin5_plugin_buttonrebinds
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor
kwin5_plugin_screencast
```
Comment 3 Nate Graham 2023-02-23 02:48:57 UTC
Thanks for the info!
Comment 4 Nate Graham 2023-02-23 15:33:37 UTC
A few more questions:
1. Is this 100% reproducible, or did it happen once and then never again?
2. If you right-click on the black area, do you get a context menu?
Comment 5 Andrew 2023-02-23 16:16:26 UTC
(In reply to Nate Graham from comment #4)
> 1. Is this 100% reproducible, or did it happen once and then never again?
It is NOT 100% reproducible. I don't know if that is a good thing or a bad thing 😉 This has happened to me twice on separate days. If it happens again, I will make sure to immediately note any special circumstances (for example, previous graphical problems I had encountered were propagated by connecting a sleeping laptop to the monitors and then waking it). I know it is frustrating to receive a bug report with little contextual information.

I should note that while I had other multi-monitor graphical glitches before (like my wallpaper changing randomly or flickering displays), this exact problem only appeared after I updated to 5.27.

As far as good news: I haven't encountered those previous problems since upgrading to 5.27 🙂 so... congrats! The updated display configuration capacities seem to be working.

> 2. If you right-click on the black area, do you get a context menu?
I can't say now, but I will remember to check the next time this happens (if there is a next time).

---

Thanks for all of your hard work.
Comment 6 Nate Graham 2023-02-23 16:25:52 UTC
You're welcome!
Comment 7 Bug Janitor Service 2023-03-10 03:45:27 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 8 Bug Janitor Service 2023-03-25 03:45:40 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!