| Summary: | Appearing/disappearing of windows (modal dialogs, minimise, etc.) causes flickering of parent. | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | jm.ouwerkerk |
| Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bvbfan, lepetitdragonbleu |
| Priority: | NOR | ||
| Version First Reported In: | 5.4.2 | ||
| Target Milestone: | --- | ||
| Platform: | Debian unstable | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kwin/a281f2bce1d1e67925aa4261ca3cdadffaeb57fc | Version Fixed/Implemented In: | 5.15.0 |
| Sentry Crash Report: | |||
| Attachments: |
qdbus org.kde.KWin /KWin supportInformation > ~/kwin_support_info.txt
/var/log/Xorg.0.log |
||
|
Description
jm.ouwerkerk
2015-11-08 15:28:27 UTC
Some stdout/stderr output captured during testing the workaround (the same kwin is still running): QXcbConnection: XCB error: 8 (BadMatch), sequence: 1726, resource id: 10485765, major code: 42 (SetInputFocus), minor code: 0 OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile OpenGL version string: 3.0 Mesa 11.0.4 OpenGL shading language version string: 1.30 Driver: Intel GPU class: IvyBridge OpenGL version: 3.0 GLSL version: 1.30 Mesa version: 11.0.4 X server version: 1.17.3 Linux kernel version: 4.2 Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2034, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2044, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2045, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2046, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2047, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2048, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2049, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2050, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2051, resource id: 0, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 6319, resource id: 73400981, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9220, resource id: 73401487, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 11598, resource id: 73401870, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 13628, resource id: 73402297, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 13629, resource id: 73402297, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 14967, resource id: 73402561, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 16309, resource id: 20971524, major code: 15 (QueryTree), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 23463, resource id: 46137606, major code: 15 (QueryTree), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 23651, resource id: 73403851, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 23652, resource id: 73403851, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 25137, resource id: 73404181, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 27017, resource id: 27262977, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 27025, resource id: 27262978, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 31963, resource id: 73404517, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 33270, resource id: 73405835, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 33271, resource id: 73405835, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 34473, resource id: 73406123, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 35804, resource id: 73406279, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 37565, resource id: 73406651, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 37566, resource id: 73406651, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 41908, resource id: 73407501, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 41909, resource id: 73407501, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 43430, resource id: 73407713, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 51251, resource id: 73407977, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 55821, resource id: 27264486, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 56586, resource id: 27264542, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59032, resource id: 27265596, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59046, resource id: 27265596, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59047, resource id: 27265596, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59048, resource id: 27265596, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59049, resource id: 27265596, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59050, resource id: 27265596, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59051, resource id: 27265596, major code: 7 (ReparentWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59052, resource id: 27265596, major code: 6 (ChangeSaveSet), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59053, resource id: 27265596, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 59054, resource id: 27265596, major code: 10 (UnmapWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61139, resource id: 27266925, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 3196, resource id: 73409807, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 3197, resource id: 73409807, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 6293, resource id: 73413805, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 8208, resource id: 73414148, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9432, resource id: 73414558, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 11820, resource id: 52428824, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 12540, resource id: 73414763, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 17741, resource id: 73415943, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19151, resource id: 73416303, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19152, resource id: 73416303, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 22768, resource id: 65011792, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 32852, resource id: 73416998, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 37362, resource id: 73419739, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 39535, resource id: 73420688, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 39536, resource id: 73420688, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 46102, resource id: 65011793, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 58419, resource id: 73421260, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 7920, resource id: 73425446, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 16572, resource id: 73428538, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 16573, resource id: 73428538, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 24067, resource id: 65011794, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 26694, resource id: 65011795, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 26953, resource id: 73430020, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 26954, resource id: 73430020, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 29119, resource id: 73432307, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29120, resource id: 73432307, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 32369, resource id: 73433255, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 33600, resource id: 73433612, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 33601, resource id: 73433612, major code: 14 (GetGeometry), minor code: 0 Please a) attach the output of "qdbus org.kde.KWin /KWin supportInformation" b) attach /var/log/Xorg.0.log c) try to disable the "dialog parent" effect in "kcmshell5 kwin effects" d) see whether you can repeat that with a modal dialog of a *non* Qt5 client Will do. In the meantime my old additional info about the Intel drm driver:
Version info about intel drivers:
sudo apt-cache policy intel.*
libdrm-intel1:
Installed: 2.4.65-3
Candidate: 2.4.65-3
Version table:
*** 2.4.65-3 0
500 http://ftp.nl.debian.org/debian/ sid/main amd64 Packages
500 http://ftp.nl.debian.org/debian/ testing/main amd64 Packages
100 /var/lib/dpkg/status
xserver-xorg-video-intel:
Installed: 2:2.99.917-2
Candidate: 2:2.99.917-2
Version table:
*** 2:2.99.917-2 0
500 http://ftp.nl.debian.org/debian/ sid/main amd64 Packages
500 http://ftp.nl.debian.org/debian/ testing/main amd64 Packages
100 /var/lib/dpkg/status
Some early boot messages from the Intel driver (who knows, at this point?):
journalctl |grep drm
Nov 08 15:23:29 Lailaps kernel: [drm] Initialized drm 1.1.0 20060810
Nov 08 15:23:29 Lailaps kernel: [drm] Memory usable by graphics device = 2048M
Nov 08 15:23:29 Lailaps kernel: [drm] Replacing VGA console driver
Nov 08 15:23:29 Lailaps kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Nov 08 15:23:29 Lailaps kernel: [drm] Driver supports precise vblank timestamp query.
Nov 08 15:23:29 Lailaps kernel: [drm] Initialized i915 1.6.0 20150522 for 0000:00:02.0 on minor 0
Nov 08 15:23:29 Lailaps kernel: [drm] GMBUS [i915 gmbus dpd] timed out, falling back to bit banging on pin 6
Nov 08 15:23:30 Lailaps kernel: fbcon: inteldrmfb (fb0) is primary device
Nov 08 15:23:30 Lailaps kernel: [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
Nov 08 15:23:30 Lailaps kernel: [drm:cpt_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun
Nov 08 15:23:30 Lailaps kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Created attachment 95386 [details]
qdbus org.kde.KWin /KWin supportInformation > ~/kwin_support_info.txt
Requested additonal info: qdbus org.kde.KWin /KWin supportInformation > ~/kwin_support_info.txt
Created attachment 95387 [details]
/var/log/Xorg.0.log
Additional requested information: /var/log/Xorg.0.log
c) Dialog parent is already disabled. I only use Dim Screen for Administrator Mode. d) Also happens with Meld & its GTK file chooser open dialog, but weirdly dismissing the modal dialog there does not seem to trigger the flickering, it's only opening it that hits the bug. Also occurs with chromium with the less reliably broken "minimise/restore another window on top of it" route (which is how I noticed 'something was up' in the first place, I should add). Some more of the kwin output, which now also complains at least once when unmapping a window: QString::arg: Argument missing: "---------\n" , 0 QString::arg: Argument missing: "---------\n" , 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 56034, resource id: 73450950, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 58426, resource id: 73452268, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61640, resource id: 27263118, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61641, resource id: 27263118, major code: 12 (ConfigureWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61646, resource id: 27263126, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61647, resource id: 27263126, major code: 12 (ConfigureWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 64474, resource id: 73452452, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 2212, resource id: 73454107, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2213, resource id: 73454107, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 21170, resource id: 27263118, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 21171, resource id: 27263118, major code: 12 (ConfigureWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 21175, resource id: 27263126, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 21176, resource id: 27263126, major code: 12 (ConfigureWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 24664, resource id: 73455386, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 28391, resource id: 20971521, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 28395, resource id: 20971522, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 29557, resource id: 20971533, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 29560, resource id: 20971533, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 30104, resource id: 20971546, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 30829, resource id: 20971550, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 34354, resource id: 73457684, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34355, resource id: 73457684, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 37045, resource id: 73459296, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 38215, resource id: 27262977, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 38219, resource id: 27262978, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 44857, resource id: 27262990, major code: 15 (QueryTree), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 56237, resource id: 73459868, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 56776, resource id: 73463803, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61774, resource id: 20973289, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61961, resource id: 20973199, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61975, resource id: 20973199, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61976, resource id: 20973199, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61977, resource id: 20973199, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61978, resource id: 20973199, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61979, resource id: 20973199, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61980, resource id: 20973199, major code: 7 (ReparentWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61981, resource id: 20973199, major code: 6 (ChangeSaveSet), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61982, resource id: 20973199, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 61983, resource id: 20973199, major code: 10 (UnmapWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 785, resource id: 73463966, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 786, resource id: 73463966, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9419, resource id: 20976183, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9433, resource id: 20976183, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9434, resource id: 20976183, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9435, resource id: 20976183, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9436, resource id: 20976183, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9437, resource id: 20976183, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9438, resource id: 20976183, major code: 7 (ReparentWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9439, resource id: 20976183, major code: 6 (ChangeSaveSet), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9440, resource id: 20976183, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 9441, resource id: 20976183, major code: 10 (UnmapWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 16863, resource id: 20978296, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19106, resource id: 20978752, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19120, resource id: 20978752, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19121, resource id: 20978752, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19122, resource id: 20978752, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19123, resource id: 20978752, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19124, resource id: 20978752, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19125, resource id: 20978752, major code: 7 (ReparentWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19126, resource id: 20978752, major code: 6 (ChangeSaveSet), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19127, resource id: 20978752, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19128, resource id: 20978752, major code: 10 (UnmapWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 19696, resource id: 20978990, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 25047, resource id: 20980297, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 27969, resource id: 73465870, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 29429, resource id: 73471598, major code: 3 (GetWindowAttributes), minor code: 0 What happens if you disable the glide & sheet effects? I've tried disabling them individually, to no effect within systemsettings. But disabling *both* seems to 'work' thus far... ... Eh, maybe we're onto something! Another culprit is the "Logout" effect. It produces quite horrible flickering that is actually nauseating/painful to look at. (the same way my eyes/brain don't much care for 50Hz monitors either) Disabling minimise & magic lamp effects also appears to fix the "minimise/restore a window" case. You have (had) minize AND magic lamp enabled at the same time? Initially I would have said this is some event duration conflict (fade out time ./. glide time, fade is done first and suddenly the window opaque again) but that wouldn't fit minimize animations (but of course if you've two minimize animations enabled together ... what should no longer be possible by the KF5 config UI) Do you think you can record a video of what you see? > You have (had) minize AND magic lamp enabled at the same time?
No. I tried both separately, and both produce the buggy behaviour.
I can confirm the problems you see. For me it started a week ago after upgrading the stack on latest Mesa. It's not a KWin issue - the same version worked fine the day before for me. So far i haven't figured out the magic settings which would make it go away. Only the new GLES2 runtime switch (master only) prevents the issues. This might indicate that disabling blur effect could help (as that one doesn't activate on GLES). Tried dri3? For what is worth: I tried disabling blur and contrast in GL2: still broken. I fixed blur and contrast for GLES3: still working A possible explanation for the differences between GL and GLES:
martin@martin-desktop: ~ $ glxinfo | grep buffer_age
GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
martin@martin-desktop: ~ $ es2_info | grep buffer_age
martin@martin-desktop: ~ $
> So far i haven't figured out the magic settings which would make it go away. Only the new GLES2 runtime switch (master only) prevents the issues. This might indicate that disabling blur effect could help (as that one doesn't activate on GLES).
FWIW, neither showing/hiding the plasma panel nor plasma popups trigger the flickering for me -- but both exercise the blur effect, right?
right, but as said in comment #16: it seems not to be related to blur. (In reply to Martin Gräßlin from comment #17) > A possible explanation for the differences between GL and GLES: > > martin@martin-desktop: ~ $ glxinfo | grep buffer_age > GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, > martin@martin-desktop: ~ $ es2_info | grep buffer_age > martin@martin-desktop: ~ $ OP claims > The workaround mentioned in that bug does not apply, I tested using: > "KWIN_USE_BUFFER_AGE=0 kwin --replace &" (although I'm about worried about "kwin --replace" - smells like SC4 ;-) > (although I'm about worried about "kwin --replace" - smells like SC4 ;-)
/usr/bin/kwin is a symlink to /usr/bin/kwin_x11 over here.
I recently upgraded to a newer version of mesa. It seems to have resolved the issue, but someone should probably confirm this? Package version info: libegl1-mesa:amd64 11.0.5-1 libegl1-mesa-dev:amd64 11.0.5-1 libgl1-mesa-dev:amd64 11.0.5-1 libgl1-mesa-dri:amd64 11.0.5-1 libgl1-mesa-glx:amd64 11.0.5-1 libglapi-mesa:amd64 11.0.5-1 libgles1-mesa:amd64 11.0.5-1 libgles2-mesa:amd64 11.0.5-1 libglu1-mesa:amd64 9.0.0-2.1 libglu1-mesa-dev:amd64 9.0.0-2.1 libwayland-egl1-mesa:amd64 11.0.5-1 mesa-common-dev:amd64 11.0.5-1 And now, with version 11.06-1 the problem is back. *** Bug 399548 has been marked as a duplicate of this bug. *** Git commit a281f2bce1d1e67925aa4261ca3cdadffaeb57fc by Vlad Zagorodniy. Committed on 10/10/2018 at 15:34. Pushed by vladz into branch 'master'. [effects/dialogparent] Fix flickering of parent windows Summary: If a modal window is closed and some alternative effect that animates the disappearing of windows is enabled(e.g. the Glide effect, or the Scale effect), the Dialog Parent effect can cause flickering of the parent window because its animation duration doesn't match duration of those alternative effects. Also, if the Fade effect, the Glide effect, and the Scale effect are disabled, the Dialog Parent will keep the parent window alive for no good reason. This change addresses that problem by adding keepAlive property to `animate` function so scripted effects have more control over lifetime of animated windows. If both a modal window and its parent window are closed at the same time (and there is no effect that animates the disappearing of windows), the Dialog Parent will stop immediately(because windowDeleted will be emitted right after windowClosed signal). If both a modal window and its parent window are closed at the same time (and there is effect that animates the disappearing of windows), the Dialog Parent won't reference the latter window. Thus, it won't cause flickering. I.e. it will "passively" animate parent windows. FIXED-IN: 5.15.0 Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14919 M +61 -1 autotests/integration/effects/scripted_effects_test.cpp A +13 -0 autotests/integration/effects/scripts/keepAliveTest.js A +13 -0 autotests/integration/effects/scripts/keepAliveTestDontKeep.js M +1 -0 effects/dialogparent/package/contents/code/main.js M +15 -1 libkwineffects/anidata.cpp M +21 -1 libkwineffects/anidata_p.h M +23 -22 libkwineffects/kwinanimationeffect.cpp M +6 -5 libkwineffects/kwinanimationeffect.h M +29 -7 scripting/scriptedeffect.cpp M +2 -2 scripting/scriptedeffect.h https://commits.kde.org/kwin/a281f2bce1d1e67925aa4261ca3cdadffaeb57fc |