High CPU usage when playing UDF ISO file on RPi3
Status: Inactive
Brought to you by:
manisiutkin
Hi,
I'm trying to setup MPD on my RPi3.
My setup:
Raspbian 10 (Debian 10 for RaspberryPi) on RPi3.
MPD version 0.22
boost library 1.72.0
libcdio-paranoia 10.2+0.94+2-4
USB DAC with DSD Native/DoP
Some DSD ISO I have is in UDF format. When playing these file, RPi3 CPU goes to near 400% (4 cores), and sound starts to break, and message from MPD shows:
"alsa_output: Decoder is too slow; playing silence to avoid xrun"
No such problem playing .dsf .diff, or some other DSD ISO in "data" format (reported by Linux command "file xxxxxx.iso")
I tried both DSD native and DoP, it seems that native DSD is better, but sound still breaks.
I wonder if there is anything you can help.
Thank you.
Anonymous
The plugin itself doesn't depend on any DVD file system (and very few SACDs actually have file system). Such high load is usually caused by DST encoded content. If it's not DST encoded then it's the real issue to look into (please tell me the album name). Native vs. DoP should't significantly influence performance.
Thanks for the quick reply.
I got the issue resolved by re-compiling using "--buildtype release -Db_ndebug=true". It seems that by default it's compiled for debug. Now the CPU usage is still high (120%), but that's acceptable, and more importantly, no more sound break.
Thank you again for your great work! This ticket can be close.