Kwin_wayland spiking to 100% on a single core and causing momentary freeze

Ive only recently made the change to EndeavourOS, let alone Linux. Its had its ups and downs but its overall been a net positive experience. I’m so glad to be rid of windows.

I have been experiencing very momentary but noticeable freezes when Wayland seemingly spikes to 100% usage but only on a single core. I think it is caused by my display configuration.

I have two monitors and a TV plugged in. The TV is plugged in even when off and is replicating my main monitor. When I unplug the connector for my TV the behavior seems to stop. There also seems to be a bit of idle CPU usage from having it plugged in too.

Is there a way to disable my TV when not in use automatically? I like playing games on my TV from the comfort of my bed from time to time, and I like the convenience of just being able to turn my TV on and start playing.

I think you are confused about some terms. Wayland is not a program that can spike, wayland is a protocol

Could you elaborate about these spikes? How do you know they’re happening and do you the name of the program that’s causing these spikes?

I can see them happening visually with system monitor, as well as see kwin_wayland spike to between 70% and 100% usage with the command top -i -d .5

Also there seems to be a consistent CPU usage alternating between two cores too, and those are the two cores that kwin_wayland spikes on. This is what my CPU usage looks like with my TV unplugged

I don’t use kde, I don’t know if that’s normal. You should also post your hardware, maybe someone else will see this.

Maybe try gnome, to see if it’s a KDE issue or something else.


Here is my system info

I had a similar problem (without the TV) and I just needed to install the Nvidia drivers, so if you haven’t done that, try running nvidia-inst and rebooting