https://bugs.kde.org/show_bug.cgi?id=419187

            Bug ID: 419187
           Summary: Kwin High CPU usage when notification arrives
           Product: kwin
           Version: 5.18.3
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-x11-standalone
          Assignee: kwin-bugs-n...@kde.org
          Reporter: whew-...@outlook.com
  Target Milestone: ---

SUMMARY
When a notification pops up, kwin_x11 uses up to 90% of the CPU for a few
seconds.

STEPS TO REPRODUCE
1. Enter command "notify-send anything" in Konsole

OBSERVED RESULT
Notification pops up. Whole system lags for a second or two, and kwin spikes to
around 90% CPU usage in that time.

EXPECTED RESULT
A notification without the lag.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Kernel Version: 5.3.0-42-generic
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 15.6 GiB of RAM
Nvidia Proprietary driver version 435.21
GTX 1070

ADDITIONAL INFORMATION
Especially annoying when playing a game, because in-game the fps drops down to
like 5-10fps during the high cpu usage.
Telegram and Discord notifications are no exception.

Switching to XRender backend seems to nearly eliminate the lag, but it's still
noticeable for less than a second, and there seems to be no usage spike.
OpenGL 2.0 makes kwin_x11 spike to around 70%
OpenGL 3.1 makes kwin_x11 spike to around 90%

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to