Volumio crashes while playing QOBUZ in Hi Res (24/192)

Hi @WhiteAngelDoubs just saw your report. This is a really uncommon issue so all I can offer is an hypotesis.

In my opinion you are right: the bandwith issue might cause some stutter in the playback, this in turns crashes the i2s driver for some reason (I can spot that in the log).
Is there a way you can try to use ethernet and report back?

Sure! Can do! My wife is going to love the wire dangling around though :stuck_out_tongue:

Just to be sure, beside using the Ethernet connection, anything you want me to do? Is there a way to see what crashes? If I put a monitor on my pi, will I see what’s happening? I don’t know if the system fully freeze or just the connection so if you think it is worth trying, let me know, I can try and set that up…

A monitor won’t help…
What will help is send the log as written here

https://volumio.github.io/docs/User_Manual/Sending_logs_for_troubleshooting.html

and then paste the link to an email to techsupport at volumio dot org (please put also michelangelo at volumio dot org in cc)

thanks, we will help you sort it :wink:

“Sure! Can do! My wife is going to love the wire dangling around though”

This reminds me of the series Dinosaurs

The because I Say So Company :slight_smile:

We must be around the same age… Reminds me I’m not that young anymore… sniffle…

Have not set this up yet by the way, I will do this during the week-end. Right now, my job takes most of my time so…

Hey @Wheaten, @volumio

So I experimented (still do) the wired connection and although the stuttering still happens, this is far more stable. Don’t get me wrong, it was stuttering like crazy but the PI was resilient this time, it just took punch after punch and it did not collapse. I could capture the logs when it happend:

Starting Live Log...
info: CoreCommandRouter::executeOnPlugin: qobuz , handleBrowseUri
info: handleBrowseUri took 1035 milliseconds
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: CoreCommandRouter::executeOnPlugin: system , getHwuuid
info: CALLMETHOD: system_controller system enableLiveLog true
info: CoreCommandRouter::executeOnPlugin: system , enableLiveLog
info: Launching a new LiveLog session
info: CoreCommandRouter::executeOnPlugin: qobuz , handleBrowseUri
info: handleBrowseUri took 558 milliseconds
info: CoreCommandRouter::volumioReplaceandPlayItems
info: CoreStateMachine::ClearQueue
info: CoreStateMachine::stop
info: CoreStateMachine::setConsumeUpdateService undefined
UNSET VOLATILE
info: CoreStateMachine::stPlaybackTimer
info: CoreStateMachine::updateTrackBlock
info: CorePlayQueue::getTrackBlock
info: CoreStateMachine::pushState
info: CorePlayQueue::getTrack 1
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreStateMachine::serviceStop
info: CorePlayQueue::getTrack 1
info: CoreCommandRouter::serviceStop
info: [1622968659824] ControllerQobuz::stop
info: CoreStateMachine::setConsumeUpdateService mpd
info: ControllerMpd::stop
 
info: CorePlayQueue::clearPlayQueue
info: CorePlayQueue::saveQueue
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushQueue
info: CoreStateMachine::addQueueItems
info: CorePlayQueue::addQueueItems
info: Adding Item to queue: qobuz://song/9140027
info: Exploding uri qobuz://song/9140027 in service qobuz
info: Adding Item to queue: qobuz://song/50631687
info: Exploding uri qobuz://song/50631687 in service qobuz
info: Adding Item to queue: qobuz://song/17726726
info: Exploding uri qobuz://song/17726726 in service qobuz
info: Adding Item to queue: qobuz://song/27606066
info: Exploding uri qobuz://song/27606066 in service qobuz
info: Adding Item to queue: qobuz://song/27606063
info: Exploding uri qobuz://song/27606063 in service qobuz
info: Adding Item to queue: qobuz://song/31145337
info: Exploding uri qobuz://song/31145337 in service qobuz
info: Adding Item to queue: qobuz://song/55399968
info: Exploding uri qobuz://song/55399968 in service qobuz
info: Adding Item to queue: qobuz://song/373930
info: Exploding uri qobuz://song/373930 in service qobuz
info: Adding Item to queue: qobuz://song/20108925
info: Exploding uri qobuz://song/20108925 in service qobuz
info: Adding Item to queue: qobuz://song/120134570
info: Exploding uri qobuz://song/120134570 in service qobuz
info: Adding Item to queue: qobuz://song/3883100
info: Exploding uri qobuz://song/3883100 in service qobuz
info: Adding Item to queue: qobuz://song/50895756
info: Exploding uri qobuz://song/50895756 in service qobuz
info: Adding Item to queue: qobuz://song/53815
info: Exploding uri qobuz://song/53815 in service qobuz
info: Adding Item to queue: qobuz://song/113831762
info: Exploding uri qobuz://song/113831762 in service qobuz
info: Adding Item to queue: qobuz://song/50278885
info: Exploding uri qobuz://song/50278885 in service qobuz
info: Adding Item to queue: qobuz://song/42981235
info: Exploding uri qobuz://song/42981235 in service qobuz
info: Adding Item to queue: qobuz://song/641203
info: Exploding uri qobuz://song/641203 in service qobuz
info: Adding Item to queue: qobuz://song/733085
info: Exploding uri qobuz://song/733085 in service qobuz
info: Adding Item to queue: qobuz://song/2127055
info: Exploding uri qobuz://song/2127055 in service qobuz
info: Adding Item to queue: qobuz://song/2078431
info: Exploding uri qobuz://song/2078431 in service qobuz
info: Adding Item to queue: qobuz://song/36010268
info: Exploding uri qobuz://song/36010268 in service qobuz
info: Adding Item to queue: qobuz://song/4866139
info: Exploding uri qobuz://song/4866139 in service qobuz
info: Adding Item to queue: qobuz://song/32299315
info: Exploding uri qobuz://song/32299315 in service qobuz
info: Adding Item to queue: qobuz://song/3874015
info: Exploding uri qobuz://song/3874015 in service qobuz
info: Adding Item to queue: qobuz://song/2127049
info: Exploding uri qobuz://song/2127049 in service qobuz
info: Adding Item to queue: qobuz://song/41004384
info: Exploding uri qobuz://song/41004384 in service qobuz
info: Adding Item to queue: qobuz://song/1765364
info: Exploding uri qobuz://song/1765364 in service qobuz
info: Adding Item to queue: qobuz://song/50668802
info: Exploding uri qobuz://song/50668802 in service qobuz
info: Adding Item to queue: qobuz://song/14836436
info: Exploding uri qobuz://song/14836436 in service qobuz
info: Adding Item to queue: qobuz://song/33980361
info: Exploding uri qobuz://song/33980361 in service qobuz
info: Adding Item to queue: qobuz://song/41812618
info: Exploding uri qobuz://song/41812618 in service qobuz
info: Adding Item to queue: qobuz://song/90957991
info: Exploding uri qobuz://song/90957991 in service qobuz
info:
---------------------------- MPD announces state update: player
info: sendMpdCommand stop took 129 milliseconds
info: ControllerMpd::getState
 
info: sendMpdCommand status took 4 milliseconds
 
 
info: sendMpdCommand playlistinfo took 5 milliseconds
 
info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CorePlayQueue::getTrack 1
 
 
info: CoreStateMachine::syncState   stateService stop
info: CoreStateMachine::syncState   currentStatus stop
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: No code
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: ------------------------------ 29ms
info: explodeUri took 709 milliseconds
info: explodeUri took 709 milliseconds
info: explodeUri took 741 milliseconds
info: explodeUri took 751 milliseconds
info: explodeUri took 769 milliseconds
info: explodeUri took 818 milliseconds
info: explodeUri took 815 milliseconds
info: explodeUri took 826 milliseconds
info: explodeUri took 875 milliseconds
info: explodeUri took 869 milliseconds
info: explodeUri took 871 milliseconds
info: explodeUri took 872 milliseconds
info: explodeUri took 911 milliseconds
info: explodeUri took 908 milliseconds
info: explodeUri took 925 milliseconds
info: explodeUri took 930 milliseconds
info: explodeUri took 945 milliseconds
info: explodeUri took 991 milliseconds
info: explodeUri took 988 milliseconds
info: explodeUri took 1006 milliseconds
info: explodeUri took 1002 milliseconds
info: explodeUri took 1025 milliseconds
info: explodeUri took 1021 milliseconds
info: explodeUri took 1041 milliseconds
info: explodeUri took 1046 milliseconds
info: explodeUri took 1063 milliseconds
info: explodeUri took 1074 milliseconds
info: explodeUri took 1114 milliseconds
info: explodeUri took 1104 milliseconds
info: explodeUri took 1122 milliseconds
info: explodeUri took 1124 milliseconds
info: explodeUri took 1148 milliseconds
info: CorePlayQueue::saveQueue
info: CoreCommandRouter::volumioPushQueue
info: CoreStateMachine::updateTrackBlock
info: CorePlayQueue::getTrackBlock
info: CoreCommandRouter::volumioPlay
UNSET VOLATILE
info: CoreStateMachine::play index 0
info: CoreStateMachine::setConsumeUpdateService undefined
info: CoreStateMachine::stop
info: CoreStateMachine::setConsumeUpdateService undefined
UNSET VOLATILE
info: CoreStateMachine::play index undefined
info: CoreStateMachine::setConsumeUpdateService undefined
info: CorePlayQueue::getTrack 0
info: CoreStateMachine::startPlaybackTimer
info: CorePlayQueue::getTrack 0
info: [1622968661019] ControllerQobuz::clearAddPlayTrack
info: getStreamUrl took 312 milliseconds
 
info: sendMpdCommand stop took 1 milliseconds
 
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: sendMpdCommand clear took 1 milliseconds
 
error: updateQueue error: null
info: ------------------------------ 4ms
 
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: sendMpdCommand add "http://streaming-qobuz-std.akamaized.net:80/file?uid=1607885&eid=9140027&fmt=7&

Note: I found out that, although my xDSL router is stable at 8Mbps-ish, the actual BW I get from my provider varies an awful lot. On Saturday, I was not even able to stream CD quality audio :scream: (fortunately, my Rega P3 was there to save the day :blush:) and I clocked my downstream internet link below 1.8 Mbps…

But bottom line, over Ethernet, no crash. So to me, it seems like the wifi management deserves some improvement, doesn’t it?

this experiment helped rationalize that the internet connection was the source of the stuttering, but the crash is what really drives me nuts and this happens no matter how good or bad my internet connection is.

I hope you can help with it as I assume I am not the only one who deals with this wifi weakness.

Let me know.

Cheers!

Hi,

I am not sure if the issue is with Volumio. The Wifi on the rPi is bad.
If you want to validate, burn a debian distro to the pi and stream Qobuz via Wifi.
I bet the results will be the same.

I think the best solution is, by your wife some flowers, tell her how great she is.
And finally: btw the network cable stays… :slight_smile:

I have used my laptop with wifi connection and stream hi res qobuz :results, a lot of drop outs… Definitely a wired connection is needed.

1 Like

I am still confused why the pi crashes? I can understand a poor connection stability and with the Wi-Fi, except when my network is stuck at 2Mbps, with the on-board adapter it works just fine actually. It is only when the bw drops that everything goes sideways… A bad Wi-Fi signal does not justify the crash or does it?

The only thing I can imagine (not helping you though) is the setting
max_connections “20” in /etc/mpd.conf.
Because of the BW limitation, MPD reaches the 20 and crashes (and the rest of the system).

Guess the developer’s need to step in…