Sometimes kwin freezes, and does not respond to mouse movement, keyboard shortcuts etc. It usually happens when I am triggering the 'desktop grid' effect via a screen corner, and the animation just stops halfway. However, I cannot reporduce this consistently, and I am not sure if this is actually the trigger. If I switch to a tty during such a freeze and open htop, I find that kwin_x11 is taking 100% of a CPU core. It does not respond to SIGTERM, so I usually have to send SIGKILL and then start kwin again. I tried to capture to output of kwin during one such run (by starting kwin using something like 'nohup kwin_x11 --replace > kwin_log_20180911-0915.txt &', and it is below: OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile OpenGL version string: 4.5 (Core Profile) Mesa 18.1.8 OpenGL shading language version string: 4.50 Driver: Intel GPU class: Haswell OpenGL version: 4.5 GLSL version: 4.50 Mesa version: 18.1.8 X server version: 1.20.1 Linux kernel version: 4.18.6 Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_x11: ../libepoxy/src/dispatch_common.c:858: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed. After the last line, there is some stuff about raising a crash handler, which I assume happens when I kill the process. I am runnning Arch Linux, and using the 'xf86-video-intel' driver. I am not sure what other information would be relevant here.
I think I am suffering from the same bug, and I seem to be able to reproduce it consistently: (0. Set a keyboard shortcut for showing the desktop grid (I use meta+d)) 1. Let a tooltip appear (I hovered a chrome-tab for this) 2. While the tooltip starts to appear (during half a second or so), hit the shortcut to show the desktop grid. 3. Displays freeze (desktop grid animation doesn't seem to have started), mouse cursor can move. kwin_x11 is running 100% on one core. kwin_x11 does not respond to SIGTERM (but SIGKILL works). 4. After a long wait, things go back to normal without needing to kill kwin_x11 I am running an up-to-date openSuSE Leap 42.3. This has been happening to me for over a year. It also seems to be triggered by different tooltips/notifications/pop-ups, or something else altogether. I also captured output of kwin_x11 using nohup kwin_x11 --replace > kwin.log &, contents of this log file below, along with the out put of lspci -k, and /usr/lib64/qt5/bin/qdbus org.kde.KWin /KWin supportInformation -------------------------- BEGIN kwin.log (*snipped* repeating lines) ----------- QXcbConnection: XCB error: 3 (BadWindow), sequence: 178, resource id: 132120582, major code: 20 (GetProperty), minor code: 0 Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. The image "/home/huib/.local/share/aurorae/themes/BlackSquare/minimize.svgz" doesn't contain any of the prefixes ("pressed-inactive") *snip* repeated lines of the following format: The image "/home/huib/.local/share/aurorae/themes/BlackSquare/<...>.svgz" doesn't contain any of the prefixes ("<...>") OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Kabylake GT2 OpenGL version string: 4.5 (Core Profile) Mesa 17.0.5 OpenGL shading language version string: 4.50 Driver: Intel GPU class: Unknown OpenGL version: 4.5 GLSL version: 4.50 Mesa version: 17.0.5 X server version: 1.18.3 Linux kernel version: 4.4.155 Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/home/huib/.local/share", "/usr/share") *above line repeated multiple times* kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/huib/.local/share", "/usr/share") kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/huib/.local/share", "/usr/share") kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/huib/.local/share", "/usr/share") kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/huib/.local/share", "/usr/share") The image "/home/huib/.local/share/aurorae/themes/BlackSquare/decoration.svgz" doesn't contain any of the prefixes ("innerborder-inactive") *snip* repeated lines of the following format: The image "/home/huib/.local/share/aurorae/themes/BlackSquare/<...>.svgz" doesn't contain any of the prefixes ("<...>") The image "widgets/button" doesn't contain any of the prefixes ("shadow") The image "widgets/button" doesn't contain any of the prefixes ("shadow") -------------------------- END LOG --------------------- -------- BEGIN OUTPUT COMMAND "lspci -k" --------- 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05) Subsystem: Hewlett-Packard Company Device 826b 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05) Kernel driver in use: pcieport Kernel modules: shpchp 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: i915 Kernel modules: i915 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 05) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: proc_thermal Kernel modules: processor_thermal_device 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31) Subsystem: Hewlett-Packard Company Device 826b 00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: intel-lpss Kernel modules: intel_lpss_pci 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: mei_me Kernel modules: mei_me 00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: ahci Kernel modules: ahci 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #2 (rev f1) Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1) Kernel driver in use: pcieport Kernel modules: shpchp 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) Kernel driver in use: pcieport Kernel modules: shpchp 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) Subsystem: Hewlett-Packard Company Device 826b 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) Subsystem: Hewlett-Packard Company Device 826b 00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: i801_smbus Kernel modules: i2c_i801 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: e1000e Kernel modules: e1000e 01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1200 Mobile] (rev a2) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: nouveau Kernel modules: nouveau 02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78) Subsystem: Intel Corporation Device 1010 Kernel driver in use: iwlwifi Kernel modules: iwlwifi 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01) Subsystem: Hewlett-Packard Company Device 826b Kernel driver in use: rtsx_pci Kernel modules: rtsx_pci 6f:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 (rev 01) Subsystem: Samsung Electronics Co Ltd Device a801 Kernel driver in use: nvme Kernel modules: nvme -------- END ----------- -------- BEGIN OUTPUT COMMAND "/usr/lib64/qt5/bin/qdbus org.kde.KWin /KWin supportInformation" --------- KWin Support Information: The following information should be used when requesting support on e.g. http://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 http://paste.kde.org instead of pasting into support threads. ========================== Version ======= KWin version: 5.8.7 Qt Version: 5.6.2 Qt compile version: 5.6.2 XCB compile version: 1.11.1 Operation Mode: X11 only Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_INPUT: yes HAVE_DRM: yes HAVE_GBM: no HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes HAVE_WAYLAND_EGL: no X11 === Vendor: The X.Org Foundation Vendor Release: 11803000 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.kwin.aurorae Theme: __aurorae__svg__BlackSquare Blur: 1 onAllDesktopsAvailable: true alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 2 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 Options ======= focusPolicy: 1 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 750 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: true focusStealingPreventionLevel: 1 legacyFullscreenSupport: false operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 glSmoothScale: 2 colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 16666666 refreshRate: 0 vBlankTime: 6000000 glStrictBinding: true glStrictBindingFollowsDriver: true glCoreProfile: true glPreferBufferSwap: 101 glPlatformInterface: 1 windowsBlockCompositing: 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 ======= Multi-Head: no Active screen follows mouse: yes Number of Screens: 2 Screen 0: --------- Name: eDP-1 Geometry: 0,0,1920x1080 Refresh Rate: 60.0204 Screen 1: --------- Name: DP-3 Geometry: 1920,0,1920x1200 Refresh Rate: 60.0204 Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Kabylake GT2 OpenGL version string: 4.5 (Core Profile) Mesa 17.0.5 OpenGL platform interface: GLX OpenGL shading language version string: 4.50 Driver: Intel GPU class: Unknown OpenGL version: 4.5 GLSL version: 4.50 Mesa version: 17.0.5 X server version: 1.18.3 Linux kernel version: 4.4.155 Direct rendering: Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Painting blocks for vertical retrace: no Loaded Effects: --------------- zoom mousemark slidingpopups kwin4_effect_login wobblywindows slide screenshot kwin4_effect_windowaperture kwin4_effect_translucency magiclamp glide desktopgrid coverswitch kwin4_effect_morphingpopups kwin4_effect_maximize kwin4_effect_fade presentwindows highlightwindow kwin4_effect_dialogparent blur contrast startupfeedback screenedge kscreen Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 mousemark: width: 3 color: #ff0000 slidingpopups: fadeInTime: 75 fadeOutTime: 125 kwin4_effect_login: wobblywindows: stiffness: 0.16 drag: 0.69999999999999996 moveFactor: 0.20000000000000001 xTesselation: 20 yTesselation: 20 minVelocity: 0 maxVelocity: 1000 stopVelocity: 0.5 minAcceleration: 0 maxAcceleration: 1000 stopAcceleration: 0.5 moveEffectEnabled: true openEffectEnabled: false closeEffectEnabled: false moveWobble: true resizeWobble: true slide: screenshot: kwin4_effect_windowaperture: kwin4_effect_translucency: magiclamp: animationDuration: 125 glide: duration: 175 effect: 0 angle: -90 desktopgrid: zoomDuration: 150 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true coverswitch: animationDuration: 100 animateSwitch: true animateStart: true animateStop: true reflection: true windowTitle: true zPosition: 900 primaryTabBox: false secondaryTabBox: false kwin4_effect_morphingpopups: kwin4_effect_maximize: kwin4_effect_fade: presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 75 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 highlightwindow: kwin4_effect_dialogparent: blur: blurRadius: 12 cacheTexture: true contrast: startupfeedback: type: 1 screenedge: kscreen: -------- END -----------
*** This bug has been marked as a duplicate of bug 364709 ***