https://bugs.kde.org/show_bug.cgi?id=452726
Bug ID: 452726
Summary: 100% cpu usage of kwin_wayland
Product: kwin
Version: 5.24.4
Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
The elastic launch cursor animation for an application start makes kwin_wayland
to use 100% of one cpu.
I've changed the cursor to remove the animation and this 100% cpu issue is
gone.
STEPS TO REPRODUCE
1. have two wayland sessions with two different users (for example in
Ctrl+Alt+F2 and Ctrl+Alt+F3)
2. have in the user of Ctrl+F2 firefox with several tabs and windows
3. have configured the elastic cursor animation for notification launching an
app
4. have top or similar running in the other session.
5. launch firefox, and switch inmediately to the other session (Ctrl+Alt+F3)
OBSERVED RESULT
I get always 100% kwin_wayland cpu usage.
EXPECTED RESULT
Normal cpu usage.
SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220411
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2
Kernel Version: 5.17.1-1.g47fa9ec-default (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Phenom(tm) II X6 1100T Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD JUNIPER
ADDITIONAL INFORMATION
Information from perf record -g -p pid and then perf report -s srcline
Samples: 617K of event 'cycles', Event count (approx.): 343103171448
Children Self Source:Line
+ 93.26% 41.66% ??:0
+ + 25.04% 0.00%
ppoll+139825755533488
+ 19.92% 0.00%
QSocketNotifier::qt_metacast+139825763225600
+ 17.25% 0.00% recvmsg+139825755533409
+
15.87% 0.00%
QEventDispatcherUNIXPrivate::~QEventDispatcherUNIXPrivate+139825763225600
+ 3.59% 0.00%
QHashData::nextNode+139825763225627
+ 3.59% 3.59% qhash.cpp:595
+
3.06% 0.00% QSocketNotifier::activated+139825763225695
+ 2.67% 0.00%
QEventDispatcherUNIX::processEvents+139825763226503
+ 2.32% 0.00%
QEventDispatcherUNIX::processEvents+139825763225654
+ 1.73% 1.73% qobjectdefs_impl.h:411
+
1.72% 1.72% atomic_base.h:880
+ 1.53% 0.00%
wl_display_flush_clients+139825749340195
+ 1.53% 1.53% wl_display_flush_clients+35
+
1.42% 0.00% wl_display_flush_clients+139825749340236
+ 1.42% 1.42%
wl_display_flush_clients+76
+ 1.32% 1.32% atomic_base.h:838
+
1.21% 0.00% wl_display_flush_clients+139825749340240
+ 1.21% 1.21%
wl_display_flush_clients+80
+ 1.13% 1.13% qobject.cpp:1445
+
1.08% 1.08% breezetoolsareamanager.cpp:129
+ 1.05% 0.00%
QObject::eventFilter+139825763225600
+ 1.03% 0.00%
Breeze::AppListener::eventFilter+139825675771906
+ 1.03% 0.00% QtPrivate::QSlotObject<void
(KWin::DrmGpu::*)(), QtPrivate::List<>, void>::impl+139825666580482
+ 0.94% 0.94% kcheckaccelerators.cpp:137
+ 0.90% 0.00%
KCheckAccelerators::eventFilter+139825747832834
+ 0.90% 0.90%
PlasmaQuick::ConfigView::qt_metacall+2306
+ 0.90% 0.00%
PlasmaQuick::ConfigView::qt_metacall+139824822937858
+ 0.87% 0.00%
__clock_gettime+139825755533343
+ 0.85% 0.85% recvmsg.c:35
+
0.84% 0.00% QMutex::unlock+139825763225605
+ 0.82% 0.00%
QEvent::~QEvent+139825763225600
+ 0.80% 0.80% recvmsg.c:27
+
0.77% 0.00% recvmsg+139825755533316
+ 0.70% 0.70%
qcoreapplication.cpp:1180
+ 0.68% 0.68% qcoreevent.h:301
+
0.68% 0.00% qt_plugin_instance+139824823632658
+ 0.67% 0.67%
qt_plugin_instance+103186
+ 0.65% 0.00% QtPrivate::QSlotObject<void
(KWin::Xwl::Xwayland::*)(), QtPrivate::List<>, void>::impl+94243826286594
+ 0.63% 0.00% Plasma::AppletScript::uiReadyChanged+139825800749330
+ 0.63% 0.63%
Plasma::AppletScript::uiReadyChanged+274
+ 0.59% 0.59% pthread_mutex_unlock.c:367
+
0.57% 0.00% Breeze::Mnemonics::eventFilter+139825675771908
--
You are receiving this mail because:
You are watching all bug changes.
