Volumio 4 / Pi5 8GB RAM / MPD process hits >100%

Hi,

I’ve noticed that MPD process hits (and passes) 100%. I think this never happened before.

Here is the log:
http://logs.volumio.org/volumio/c1SNEXk.html

Any suggestion?

BR
Paulo Nunes

Hey @pjorgenunes,

Facts from log analysis:

  • MPD process (PID 2093) showing 96% CPU at time of log capture
  • Chromium renderer (PID 1893) showing 32% CPU - this is the kiosk browser running your UI
  • Stylish Player plugin v1.3.25 is installed, enabled, and active
  • Your /etc/asound.conf contains Stylish Player’s ALSA pipeline which uses:
    • multi plugin (splits audio to two destinations)
    • plug plugin forcing rate conversion to 44100 Hz S16_LE
    • volumiofifo plugin writing to /tmp/stream.mp3
  • Your DAC is a Topping D10s (USB Audio Class 2)
  • The “no such mixer control: PCM” errors in MPD log are benign - expected for USB DACs without hardware mixer

Working theory (not yet verified):

The Stylish Player ALSA configuration is the probable cause of the high CPU. The multi plugin duplicates every audio sample in software - one copy goes to your DAC, one copy gets rate-converted and written to a FIFO for the visualization. This design imposes CPU overhead by necessity.

I cannot confirm this is THE cause without testing.

Required verification:

  1. Disable Stylish Player plugin
  2. Reboot
  3. Play the same music
  4. Check MPD CPU usage with top or htop

If MPD CPU drops to normal (typically under 10% on Pi 5), this confirms Stylish Player is responsible. If it remains high, something else is wrong and we look further.

Can you run this test?

Kind Regards,

Hi @nerd ,

Thank you very much. It really was the responsable. After uninstalling it:comes between 1-5%.