Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: playing silence to avoid xrun -->no recovery
#1
Some weeks ago I posted a support request because of radiostreams that stops playing randomly. The link to the request is https://moodeaudio.org/forum/showthread.php?tid=6007.
At that time I was advised to activate the "Monitor" for each radiostation involved, which I did.

Past weeks I've been testing this monitor option.
The result is that the radiostream still stops playing at random. The monitor does not recover. I've been waiting for recovery for 3 minutes, 5 minutes and, because I was not at home, for several hours.
The startup log of this morning:
Code:
20231218 084450 worker: --
20231218 084450 worker: -- Start moOde 8 series
20231218 084450 worker: --
20231218 084450 worker: Successfully daemonized
20231218 084450 worker: Wait for Linux startup...
20231218 084502 worker: Linux startup complete
20231218 084502 worker: Boot config backed up
20231218 084503 worker: Session loaded
20231218 084505 worker: Package holds applied
20231218 084506 worker: File check complete
20231218 084506 worker: Debug logging off
20231218 084506 worker: Reduced logging off
20231218 084506 worker: --
20231218 084506 worker: -- Audio debug
20231218 084506 worker: --
20231218 084506 worker: ALSA cards:  0:PianoDACPlus | 1:empty | 2:empty | 3:empty
20231218 084506 worker: MPD config:  0:Allo Piano 2.1 Hi-Fi DAC | mixer:Master | cardnum:0
20231218 084506 worker: Mixer name:  [Master]
20231218 084506 worker: Hdwr volume: set to 0%
20231218 084506 worker: --
20231218 084506 worker: -- System
20231218 084506 worker: --
20231218 084508 worker: Host:     moode
20231218 084508 worker: Model:    Pi-4B 1.5 2GB
20231218 084508 worker: moOde:    8.3.7 2023-12-07
20231218 084508 worker: RaspiOS:  11.7 Bullseye 64-bit
20231218 084508 worker: Kernel:   6.1.21 64-bit
20231218 084508 worker: MPD ver:  0.23.14
20231218 084508 worker: CPU gov:  ondemand
20231218 084508 worker: Userid:   pi
20231218 084508 worker: Homedir:  /home/pi
20231218 084508 worker: Timezone: Europe/Amsterdam
20231218 084508 worker: Keyboard: us
20231218 084508 worker: USB boot: enabled
20231218 084508 worker: File sys: expanded
20231218 084508 worker: HDMI out: off
20231218 084508 worker: Sys LED0: off
20231218 084508 worker: Sys LED1: off
20231218 084508 worker: --
20231218 084508 worker: -- Network
20231218 084508 worker: --
20231218 084508 worker: Eth: adapter exists
20231218 084508 worker: Eth: timeout off
20231218 084508 worker: Eth: method  static
20231218 084508 worker: Eth: address 192.168.1.185
20231218 084508 worker: Eth: netmask 255.255.255.0
20231218 084508 worker: Eth: gateway 192.168.1.1
20231218 084508 worker: Eth: pri DNS 192.168.1.177
20231218 084508 worker: Eth: domain  
20231218 084508 worker: Wlan: adapter does not exist
20231218 084508 worker: --
20231218 084508 worker: -- Software update
20231218 084508 worker: --
20231218 084508 worker: Automatic check off
20231218 084508 worker: --
20231218 084508 worker: -- File sharing
20231218 084508 worker: --
20231218 084509 worker: SMB file sharing:  on
20231218 084509 worker: NFS file sharing:  off
20231218 084509 worker: DLNA file sharing: off
20231218 084509 worker: --
20231218 084509 worker: -- Audio config
20231218 084509 worker: --
20231218 084509 worker: MPD config:    updated
20231218 084509 worker: Audio device:  Allo Piano 2.1 Hi-Fi DAC
20231218 084509 worker: Formats:       S16_LE, S24_LE, S32_LE
20231218 084509 worker: Mixer type     Fixed 0dB
20231218 084509 worker: Mixer name     Master
20231218 084510 worker: Hdwr volume:   controller detected
20231218 084510 worker: ALSA max vol:  100%
20231218 084510 worker: ALSA card:     0
20231218 084510 worker: ALSA mode:     Direct
20231218 084510 worker: ALSA loopback: off
20231218 084510 worker: CamillaDSP:    off
20231218 084510 worker: Allo Piano:    mode set to 2.0
20231218 084515 worker: Allo Piano:    volume initialized
20231218 084515 worker: Renderers:     active flags reset
20231218 084515 worker: --
20231218 084515 worker: -- MPD startup
20231218 084515 worker: --
20231218 103849 worker: MPD service:        started
20231218 103849 worker: MPD port 6600:      accepting connections
20231218 103849 worker: MPD ALSA Default:   on
20231218 103849 worker: MPD ALSA Bluetooth: off
20231218 103849 worker: MPD HTTP Server:    off
20231218 103849 worker: MPD crossfade:      off
20231218 103849 worker: MPD ignore CUE:     yes
20231218 103849 worker: MPD CDSP volsync:   off
20231218 103849 worker: MPD CDSP volrange:  60 dB
20231218 103849 worker: --
20231218 103849 worker: -- Music sources
20231218 103849 worker: --
20231218 103849 worker: USB auto-mount: udisks-glue
20231218 103849 worker: USB drives:     no drives found
20231218 103849 worker: NAS source:     NAS
20231218 103857 worker: NAS mount:      mount all submitted
20231218 103857 worker: --
20231218 103857 worker: -- Feature availability
20231218 103857 worker: --
20231218 103857 worker: Input select:    available, src MPD, out Allo Piano 2.1 Hi-Fi DAC
20231218 103857 worker: Bluetooth:       available, ALSA mode Default
20231218 103857 worker: AirPlay:         available
20231218 103857 worker: Spotify Connect: available
20231218 103857 worker: Squeezelite:     available
20231218 103857 worker: RoonBridge:      not installed
20231218 103857 worker: Multiroom:       available
20231218 103857 worker: UPnP client:     available
20231218 103857 worker: GPIO buttons:    available
20231218 103857 worker: Stream recorder: n/a
20231218 103857 worker: HTTPS-Only mode: n/a
20231218 103857 worker: --
20231218 103857 worker: -- Volume levels
20231218 103857 worker: --
20231218 103857 worker: Volume knob:      0
20231218 103857 worker: Saved MPD volume: 0
20231218 103857 worker: Saved SRC volume: 0
20231218 103857 worker: Hdwr volume:      100%
20231218 103857 worker: --
20231218 103857 worker: -- Peripherals
20231218 103857 worker: --
20231218 103858 worker: Local display:   off
20231218 103858 worker: On-screen kbd:   off
20231218 103858 worker: Rotary encoder:  off
20231218 103858 worker: USB volume knob: off
20231218 103858 worker: LCD updater:     off
20231218 103858 worker: --
20231218 103858 worker: -- Miscellaneous
20231218 103858 worker: --
20231218 103858 worker: Auto-CoverView:    off
20231218 103858 worker: CoverView timeout: Never
20231218 103858 worker: Auto-shuffle:      off
20231218 103858 worker: Auto-play:         on, via playid 2
20231218 103858 worker: Web SSH server:    off
20231218 103858 worker: Maintenance task:  360 mins
20231218 103858 worker: Current view:      reset to Playback
20231218 103858 worker: Session check:     ok
20231218 103858 worker: --
20231218 103858 worker: -- Startup complete
20231218 103858 worker: --
20231218 103858 worker: Mount monitor:    off
20231218 103858 worker: MPD monitor:      off
20231218 103858 worker: Watchdog monitor: started
20231218 103858 worker: Responsiveness:   Default
20231218 103858 worker: Ready


and the mpd log:
Code:
Dec 16 16:52 : player: played "https://www.mp3streams.nl/zender/radio-10/stream/9-mp3-128"
Dec 17 08:52 : player: played "https://www.mp3streams.nl/zender/radio-10/stream/9-mp3-128"
Dec 17 12:44 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 17 12:44 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 17 12:44 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 17 12:44 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 17 12:44 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 17 12:44 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 17 12:44 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 17 12:44 : player: played "https://www.mp3streams.nl/zender/radio-10/stream/9-mp3-128"
Dec 17 17:06 : player: played "https://www.mp3streams.nl/zender/radio-10/stream/9-mp3-128"
Dec 18 05:47 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:48 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:49 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:50 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:51 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:52 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:53 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 05:54 : player: played "https://www.mp3streams.nl/zender/radio-10/stream/9-mp3-128"
Dec 18 08:44 : player: played "https://www.mp3streams.nl/zender/radio-10/stream/9-mp3-128"
Dec 18 12:00 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 12:00 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 12:00 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 12:00 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 12:00 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 12:00 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Dec 18 12:00 : player: played "https://www.mp3streams.nl/zender/radio-10/stream/9-mp3-128"

All recovery to listen to the radiostream was done manualy. stop the radiostream and start the stream again.
Any suggestions?
Reply
#2
The log shows the MPD monitor is off
20231218 103858 worker: MPD monitor: off

Switch to Radio view and then turn it on via Radio Manager.
While in Radio view edit the stations you wish to have monitored and set Monitor to Yes for each station.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Thanks. It was not clear to me that I had to switch this on in 2 places.
Reply


Forum Jump: