09-22-2022, 09:08 PM
Typically when MPD starts hogging the CPU its due to bug in MPD or one of the plugins that does format decoding, et, but it could be more complex and involve MPD/ALSA interaction when the Loopback device is present..
Did you notice the issue happening with only the Headphone device or does it also occur with other audio device interfaces for example HDMI, I2S, USB?
Here is a command you can use to see which part of MPD is banging the CPU.
Did you notice the issue happening with only the Headphone device or does it also occur with other audio device interfaces for example HDMI, I2S, USB?
Here is a command you can use to see which part of MPD is banging the CPU.
Code:
ps H -q `pidof -s mpd` -o 'pid,tid,cls,rtprio,comm,pcpu'
# Also in a watch context
watch "ps H -q `pidof -s mpd` -o 'pid,tid,cls,rtprio,comm,pcpu'"