r/Fedora • • 4d ago

Support Plasmashell high CPU usage?

Post image

Do you think this CPU usage of the plasmashell is normal? This is on idling status of the system, basically after boot. It fluctuates between 19-26%.
My rig is relatively old, but I have a Lenovo X1 laptop from 2019 on which plasmashell takes only 1-2% on idle. However, on my PC I use a 4k display with adaptive sync, if that matters. Also what's weird is that my mouse lags when I open the Fedora application launcher/menu, however idk if this is related.

The HW is a Ryzen 5 2600 CPU, AMD RX6600 GPU and 16GB DDR4. Fedora is on SSD.
OS: Fedora 45
KDE Plasma: 6.8.3
Display server: Wayland

Thank you for your input.

7 Upvotes

9 comments sorted by

•

u/spotlight-app 1d ago

OP has pinned a comment by u/SkujuZiepes:

Do you have any widget that redraws the screen all the time - like a clock with seconds?

You can run

perf top -p $(pidof plasmashell)

If most of the time it's in QML/JS, it's a widget, if it's llvmpipe or Mesa, it's software rendering.

One note though on how top measures CPU usage - it's 20% of a single core, if I'm not mistaken. Which would put the whole system at about 2% on your CPU.

What is Spotlight?

2

u/MatchingTurret 4d ago

Just a hunch: Are you using your GPU or has this fallen back to llvmpipe?

1

u/nifwen 2d ago

Extended renderer info (GLX_MESA_query_renderer):
...
Accelerated: yes
...
OpenGL renderer string: AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 7.3.4-300.fc45.x86_64)

It seems all is good here and the dedicated GPU is used.

1

u/SkujuZiepes 4d ago

Does this happen straight away when you boot or creep up after about 30min of use?

1

u/nifwen 2d ago

Happens immediately after boot without opening anything (apart from terminal).

2

u/SkujuZiepes 2d ago

Do you have any widget that redraws the screen all the time - like a clock with seconds?

You can run

perf top -p $(pidof plasmashell)

If most of the time it's in QML/JS, it's a widget, if it's llvmpipe or Mesa, it's software rendering.

One note though on how top measures CPU usage - it's 20% of a single core, if I'm not mistaken. Which would put the whole system at about 2% on your CPU.

2

u/nifwen 1d ago

This was it, thank you!
I had an analog clock on the desktop with second hand - I removed it entirely and plasmashell is now at 0.0% CPU usage on idle. Lesson learned 😄
Thanks again.

1

u/SkujuZiepes 1d ago

Glad I could help!

1

u/AutoModerator 4d ago

It sounds like you're looking for help. Please note that r/Fedora is not an official support channel for the Fedora Project.

For best results, be sure to include all relevant details in your post, such as your Fedora edition, version, and hardware specs. You can edit your original post to add more info as needed, and spotlight (pin) a solution from the comments. You might also find the answer in our support wiki.

Alternatively, try one of the official support channels:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.