Bug 343819 - kwin_x11 takes 100% CPU
Summary: kwin_x11 takes 100% CPU
Status: RESOLVED DUPLICATE of bug 340294
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.2.0.1
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 14:55 UTC by Pawel Smolinski
Modified: 2015-08-12 16:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Smolinski 2015-02-05 14:55:32 UTC
From time to time my UI freezes. I've found that kwin_x11 process is taking 100% CPU and I've to kill it manually & launch again to get things working.
I'm using Slackware-current with KDE packages installed form here: http://taper.alienbase.nl/mirrors/alien-kde/current/5/x86_64/.
I've attached GDB to this frozen process. Result: http://pastebin.com/UT9LKvsf
I'm using Lenovo E540 laptop with external screen attached via HDMI cable.

/sbin/lspci result:
00:00.0 Host bridge: Intel Corporation Haswell DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller (rev 06)
00:16.0 Communication controller: Intel Corporation Lynx Point MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #1 (rev d4)
00:1c.2 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #3 (rev d4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #4 (rev d4)
00:1c.4 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #5 (rev d4)
00:1d.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 10)
04:00.0 Network controller: Intel Corporation Intel(R) Dual Band Wireless-AC 7260 (rev 83)



Reproducible: Sometimes

Steps to Reproduce:
Use KDE as normal.

Actual Results:  
From time to time UI freezes
Comment 1 Thomas Lübking 2015-02-05 15:16:01 UTC
Could be bug #340294

That would be caused by the tabbox (alt+tab)
The fix is a QML file, you can simply override the present one with the one attached to the bug.
Comment 2 Pawel Smolinski 2015-02-06 11:12:25 UTC
I've updated this file and everything started working. Thanks!
Comment 3 Thomas Lübking 2015-02-06 15:55:21 UTC

*** This bug has been marked as a duplicate of bug 340294 ***
Comment 4 Ganesh Vijayakumar 2015-08-12 13:16:05 UTC
Where do I place this qml file?
Comment 5 Thomas Lübking 2015-08-12 14:35:52 UTC
Distro dependend. Usually 
/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml

NOTICE that this was updated during the 5.2 cycle and we're preparing for the 5.4 release - sure you run into *this* issue?
Comment 6 Ganesh Vijayakumar 2015-08-12 16:21:07 UTC
You're right. It's not this issue. Thanks though.