Spinner icons consumes pretty much high CPU when they're rotating for example when I try to connect to Wi-Fi it happens on the "Networks" icon(as in the first attachment) until the connection is fully made and the same problem with Discover(i.e second attachment).Looks like the spinner keeps rotating as fast as it can instead keeping a steady and slow pace. STEPS TO REPRODUCE 1. Open Plasma Discover or connect to Wi-Fi using the Network plasmoid either in system tray or as a standalone applet. 2. Monitor the CPU usage of the "plasmashell" process. It consumes as high as almost 20% of the CPU in my system. Whereas it should rotate at a steady and slow speed. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux 5.3.0-46 / KDE Neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.72.0 Qt Version: 5.14.2
Created attachment 129942 [details] Networks widget spinner
Created attachment 129943 [details] Discover spinner
Typically this is a sign of something else being the problem at a lower level. Are you by any chance on one of those hybrid nvidia + intel graphic machines kcmshell5 qtquicksettings and changing the render loop to basic will "fix" it. Confirm if that works, if so it's a known issue
Yeah I have both Nvidia and Intel GPUs but for now only Nvidia is being used by Plasmashell and KWin.And I set the "render loop" to "basic" , the situation got a little better but still the process "plasmashell" consumes more 10% of the CPU as shown by "System activity".
I think I can reproduce the issue by krunner. Steps to reproduce: 1. Call krunner by Alt+F2. 2. Enter any calculation, such as "15+12". 3. The result has been calculated but the spinner does not go away and keeps spinning - maybe krunner's bug? 4. Monitor the CPU usage in ksysguard. krunner consumes 6-7% CPU constantly. KDE Plasma Version: 5.19.2 KDE Frameworks Version: 5.71.0 Qt Version: 5.15 CPU: Intel(R) Celeron(R) CPU N3050 GPU: Intel Integrated Graphics
Requested information was added with comment 4; changing status for inspection.
>The result has been calculated but the spinner does not go away and keeps spinning - maybe krunner's bug? This has already been fixed with the 5.72 release.
We've done a lot of perf work with the spinner and it should be better now. Any additional issues would be examples of Bug 404604. *** This bug has been marked as a duplicate of bug 404604 ***