High CPU usage in pipewire related to screen switching off
- PipeWire version (
pipewire --version
):[tinter@nyaarch ~]$ pipewire --version pipewire Compiled with libpipewire 1.0.0 Linked with libpipewire 1.0.0
- Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: KDE Plasma 5.27.9
- Kernel version (
uname -r
): 6.6.3-arch1-1
Description of Problem:
I do not yet have a complete picture, but I am experiencing high CPU usage with pipewire to the point where my system locks up. One time I have managed to observe a partially responsive system, open htop, see the high cpu usage of pipewire and restart pipewire in time for the system to recover, but most of the time I will leave my computer to then find it fully unresponsive when I return.
It seems that it happens when my PC is idle and my screens turn off. I have 3 screens connected via DVI, HDMI and DP respectively. However I do not use any of them for audio, they do not show up in my KDE volume mixer (The standard one from the tray). I will keep an eye on this, but I'm not entirely sure how to recreate it, or find out what exactly is causing it. Last time I saw it, I was using bluetooth headphones with my PC when the sound suddenly stopped.
How Reproducible:
I've seen it a few times, but I have not noticed whether there have been times my screen have turned off but the system still works, so I cannot rule out whether or not it is every time.
Steps to Reproduce:
- Leave PC
- Wait an undetermined amount of time.
- Return to use PC.
Actual Results:
System is unresponsive, pipewire has high cpu usage.
Expected Results:
Pipewire behaves as usual.
Additional Info (as attachments):
Sorry for lack of info, I have not been able to thoroughly investigate, but I will provide info as I find out anything useful. If you know anything specific to look into, that would be appreciated as I do not quite know my way around debugging pipewire.
-
pw-dump > pw-dump.log
pw-dump.log