Bug 385955

Summary: X consume a lot of CPU during windows resize
Product: [Plasma] kwin Reporter: razrfalcon
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 5.11.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description razrfalcon 2017-10-19 16:13:48 UTC
Starting from KDE5 windows resizing became a nightmare. Currently, while resizing the Gwenview window X consume a single CPU core completely leading to huge lags. GPU usage, according to nvidia-smi is 20-30%.

There are no warnings/errors in /var/log/Xorg.0.log, dmesg, ~/.local/share/sddm/xorg-session.log.

The only custom option is
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
in xorg.conf

From where can I start to investigate performance issues source?

Gentoo Linux stable x86_64, KDE 5.10.5, i5 3570k@3.4, nVidia GTX 960 4GB (driver 384.90), 1080p monitor.
Comment 1 Martin Flöser 2017-10-19 16:31:34 UTC
I'm sorry, but this is not KWin related. If X consumes CPU, that's X's problem. If gwenview consumes CPU it's gwenview's problem. But not KWin's.
Comment 2 razrfalcon 2017-10-19 17:23:23 UTC
It's not only gwenview. Resizing of any window leads to lags.

I've tried livecd with GNOME and it's working fine. So I guessed that it's a KDE bug.

I'll report a bug to Xorg as well.