https://bugs.kde.org/show_bug.cgi?id=410856
Bug ID: 410856 Summary: wayland: kwin uses 100% cpu when idle Product: kwin Version: 5.16.4 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: mspe...@gmail.com Target Milestone: --- Created attachment 122090 --> https://bugs.kde.org/attachment.cgi?id=122090&action=edit htop showing cpu usage SUMMARY 100% cpu usage when left to be idle in VM. when screen is activated, cpu usage drops. STEPS TO REPRODUCE 1. install basic archlinux desktop with kde plasma 2. login into wayland session 3. disable baloo 4. leave the machine for a while OBSERVED RESULT 100% cpu usage in kwin EXPECTED RESULT minimal cpu usage for kwin SOFTWARE/OS VERSIONS Linux/KDE Plasma: latest KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.60 Qt Version: 5.13 ADDITIONAL INFORMATION journal | grep kwin Aug 03 18:03:17 vm-arch kernel: kwin_wayland[450]: segfault at 128 ip 00007f645d812e9c sp 00007ffd89473ee0 error 4 in libkwin.so.5.16.4[7f645d66f000+1eb000] Aug 03 18:03:17 vm-arch kernel: audit: type=1701 audit(1564848197.113:57): auid=1000 uid=1000 gid=998 ses=2 pid=450 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 03 18:03:17 vm-arch audit[450]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=450 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 03 18:05:32 vm-arch kernel: audit: type=1701 audit(1564848332.356:38): auid=1000 uid=1000 gid=998 ses=2 pid=448 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 03 18:05:32 vm-arch audit[448]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=448 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 12:22:16 vm-arch audit[3307]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=3307 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 12:22:16 vm-arch kernel: audit: type=1701 audit(1565518936.686:44): auid=1000 uid=1000 gid=998 ses=2 pid=3307 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 12:36:50 vm-arch audit[450]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=450 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 12:36:50 vm-arch kernel: audit: type=1701 audit(1565519810.083:42): auid=1000 uid=1000 gid=998 ses=2 pid=450 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Aug 11 12:49:23 vm-arch kdeinit5[750]: kio_smb: dirp->name kwin.txt "kwin.txt" ' "" ' 8 Aug 11 12:49:23 vm-arch kdeinit5[750]: kio_smb: updateCache "/red/kwin.txt" Aug 11 12:49:24 vm-arch kdeinit5[743]: kio_smb: dirp->name kwin.txt "kwin.txt" ' "" ' 8 Aug 11 12:49:24 vm-arch kdeinit5[743]: kio_smb: updateCache "/red/kwin.txt" Aug 11 12:51:10 vm-arch systemsettings5[758]: org.kde.kcoreaddons: Error loading plugin "kcm_kwindecoration" "The shared library was not found." Aug 11 12:51:10 vm-arch systemsettings5[758]: Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. Aug 11 12:51:13 vm-arch systemsettings5[758]: KActivitiesStats( 0x55c343144b00 ) ResultModelPrivate::onResultScoreUpdated result added: "kcm:kwindecoration.desktop" score: 0 last: 1565520673 first: 1565520673 Aug 11 12:55:09 vm-arch audit[451]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=451 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 12:55:09 vm-arch kernel: audit: type=1701 audit(1565520909.576:44): auid=1000 uid=1000 gid=998 ses=2 pid=451 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 13:27:19 vm-arch audit[450]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=450 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 13:27:19 vm-arch kernel: audit: type=1701 audit(1565522839.420:45): auid=1000 uid=1000 gid=998 ses=2 pid=450 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 13:28:03 vm-arch audit[453]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=453 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 11 13:28:03 vm-arch kernel: audit: type=1701 audit(1565522883.836:42): auid=1000 uid=1000 gid=998 ses=2 pid=453 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Aug 11 13:29:02 vm-arch systemsettings5[660]: org.kde.kcoreaddons: Error loading plugin "kcm_kwindecoration" "The shared library was not found." Aug 11 13:29:02 vm-arch systemsettings5[660]: Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. Aug 11 13:29:06 vm-arch systemsettings5[660]: KActivitiesStats( 0x5623a676c970 ) ResultModelPrivate::onResultScoreUpdated result added: "kcm:kwindecoration.desktop" score: 1 last: 1565522942 first: 1565520673 Aug 12 08:04:23 vm-arch audit[447]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=2 pid=447 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=6 res=1 Aug 12 08:04:23 vm-arch kernel: audit: type=1701 audit(1565589863.056:124): auid=1000 uid=1000 gid=998 ses=2 pid=447 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=6 res=1 Aug 12 08:04:31 vm-arch systemd-coredump[6705]: Process 447 (kwin_wayland) of user 1000 dumped core. Aug 12 08:34:51 vm-arch audit[6793]: ANOM_ABEND auid=1000 uid=1000 gid=998 ses=5 pid=6793 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 Aug 12 08:34:51 vm-arch kernel: audit: type=1701 audit(1565591691.453:148): auid=1000 uid=1000 gid=998 ses=5 pid=6793 comm="QDBusConnection" exe="/usr/bin/kwin_wayland" sig=11 res=1 -- You are receiving this mail because: You are watching all bug changes.