Bug 385955 - X consume a lot of CPU during windows resize
Summary: X consume a lot of CPU during windows resize
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.11.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 16:13 UTC by razrfalcon
Modified: 2017-10-19 17:23 UTC (History)
0 users

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 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.