Dropouts on RPi endpoint

@support No issues on other endpoints, just happens with Ropieee and DietPi on wifi …

02/12 05:39:28 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Dropout","samples":34802}
02/12 05:39:28 Trace: [prebuffer] ready 326400/960000 (34%) @ 0/204 sec
02/12 05:39:29 Trace: [streamingmediafile] immediate read of https://streaming2.qobuz.com/file at 2359296 length=73050070
02/12 05:39:29 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Dropout","samples":96000}
02/12 05:39:29 Trace: [Ropiee  Bedroom] [Enhanced 12.2x, 24/96 QOBUZ FLAC => 24/192] [99% buf] [PLAYING @ 0:08/5:13] Lost in the Flood - Bruce Springsteen
02/12 05:39:29 Trace: [roonapi] [apiclient 192.168.1.104:56926] CONTINUE Changed {"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":1282,"seek_position":8}]}
02/12 05:39:29 Trace: [roonapi] [apiclient 192.168.1.104:56928] CONTINUE Changed {"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":1282,"seek_position":8}]}
02/12 05:39:30 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Dropout","samples":96000}
02/12 05:39:30 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Dropout","samples":96000}
02/12 05:39:30 Trace: [roonapi] [apiclient 192.168.1.104:56926] CONTINUE Changed {"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":1281,"seek_position":9}]}
02/12 05:39:30 Trace: [roonapi] [apiclient 192.168.1.104:56928] CONTINUE Changed {"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":1281,"seek_position":9}]}
02/12 05:39:30 Trace: [dbperf] flush 0 bytes, 0 ops in 2 ms (cumulative 377639204 bytes, 224251 ops in 2513319 ms)
02/12 05:39:30 Trace: [dbperf] flush 0 bytes, 0 ops in 2 ms (cumulative 377639204 bytes, 224251 ops in 2513321 ms)
02/12 05:39:30 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Dropout","samples":96000}
02/12 05:39:31 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Dropout","samples":99840}
02/12 05:39:31 Trace: [roonapi] [apiclient 192.168.1.104:56926] CONTINUE Changed {"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":1280,"seek_position":10}]}
02/12 05:39:31 Trace: [roonapi] [apiclient 192.168.1.104:56928] CONTINUE Changed {"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":1280,"seek_position":10}]}
02/12 05:39:31 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Dropout","samples":96000}
02/12 05:39:31 Warn: [Ropiee  Bedroom] [zoneplayer/raat] Too many dropouts (>3s dropped out in the last 30s). Killing stream
02/12 05:39:31 Trace: [Ropiee  Bedroom] [zoneplayer/raat] too many dropouts. stopping stream
02/12 05:39:31 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
02/12 05:39:31 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
02/12 05:39:31 Trace: [Ropiee  Bedroom] [zoneplayer/raat] Endpoint snd_rpi_hifiberry_digi State Changed: Playing => Prepared
02/12 05:39:31 Trace: [snd_rpi_hifiberry_digi] [raatclient] SENT [15]{"request":"end_stream"}
02/12 05:39:31 Debug: [raat/tcpaudiosource] disconnecting
02/12 05:39:31 Warn: Track Stopped Due to Slow Media
02/12 05:39:31 Info: [audio/env] [zoneplayer] All streams were disposed
02/12 05:39:31 Warn: [raat/tcpaudiosource] send failed: Object reference not set to an instance of an object
02/12 05:39:31 Warn: [raat/tcpaudiosource] disconnecting + retrying
02/12 05:39:31 Info: [zone Ropiee  Bedroom] OnPlayFeedback StoppedEndOfMediaUnnatural
02/12 05:39:31 Debug: [zone Ropiee  Bedroom] _Advance
02/12 05:39:31 Trace: [Ropiee  Bedroom] [Enhanced, 24/96 QOBUZ FLAC => 24/192] [100% buf] [LOADING @ 0:00] The Angel - Bruce Springsteen
02/12 05:39:31 Trace: [roonapi] [apiclient 192.168.1.104:56926] CONTINUE Changed {"zones_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","display_name":"Ropiee  Bedroom","outputs":[{"output_id":"170165a856ef65e475927053e0eff45dad57","zone_id":"160165a856ef65e475927053e0eff45dad57","can_group_with_output_ids":["1701dcc89c6735833d52947a3f5c610b1fd1","170165a856ef65e475927053e0eff45dad57"],"display_name":"Ropiee  Bedroom","source_controls":[{"control_key":"1","display_name":"snd_rpi_hifiberry_digi","supports_standby":false,"status":"indeterminate"}]}],"state":"loading","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":false,"queue_items_remaining":4,"queue_time_remaining":977,"settings":{"loop":"disabled","shuffle":false,"auto_radio":false},"now_playing":{"seek_position":null,"length":204,"one_line":{"line1":"The Angel - Bruce Springsteen"},"two_line":{"line1":"The Angel","line2":"Bruce Springsteen"},"three_line":{"line1":"The Angel","line2":"Bruce Springsteen","line3":"Greetings from Asbury Park, N.J."},"image_key":"6c0285dbc9b3886cfa65c269f15dfbed","artist_image_keys":["548c4e616768fc6f445808893bd55cf5"]}}],"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":977,"seek_position":null}]}
02/12 05:39:31 Trace: [roonapi] [apiclient 192.168.1.104:56928] CONTINUE Changed {"zones_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","display_name":"Ropiee  Bedroom","outputs":[{"output_id":"170165a856ef65e475927053e0eff45dad57","zone_id":"160165a856ef65e475927053e0eff45dad57","can_group_with_output_ids":["1701dcc89c6735833d52947a3f5c610b1fd1","170165a856ef65e475927053e0eff45dad57"],"display_name":"Ropiee  Bedroom","source_controls":[{"control_key":"1","display_name":"snd_rpi_hifiberry_digi","supports_standby":false,"status":"indeterminate"}]}],"state":"loading","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":false,"queue_items_remaining":4,"queue_time_remaining":977,"settings":{"loop":"disabled","shuffle":false,"auto_radio":false},"now_playing":{"seek_position":null,"length":204,"one_line":{"line1":"The Angel - Bruce Springsteen"},"two_line":{"line1":"The Angel","line2":"Bruce Springsteen"},"three_line":{"line1":"The Angel","line2":"Bruce Springsteen","line3":"Greetings from Asbury Park, N.J."},"image_key":"6c0285dbc9b3886cfa65c269f15dfbed","artist_image_keys":["548c4e616768fc6f445808893bd55cf5"]}}],"zones_seek_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","queue_time_remaining":977,"seek_position":null}]}
02/12 05:39:31 Info: sleep 39ms after flush
02/12 05:39:31 Info: [Ropiee  Bedroom] [zoneplayer] BufferingTrack == NextTrack during ClearQueuedMedia, setting _stop_on_next_track_transition
02/12 05:39:31 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [13] {"status":"Ended"}
02/12 05:39:31 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [15] {"status":"Success"}
02/12 05:39:32 Debug: [easyhttp] GET to https://www.qobuz.com/api.json/0.2/track/getFileUrl?format_id=27&intent=stream&request_sig=9b6e31f093dfd719f3a557b262b926fa&request_ts=1549949971&track_id=13358675 returned after 462 ms, status code: 200
02/12 05:39:32 Info: [Ropiee  Bedroom] [zoneplayer] Playing: https://streaming2.qobuz.com/file
02/12 05:39:32 Debug: [easyhttp] GET to https://www.qobuz.com/api.json/0.2/track/getFileUrl?format_id=27&intent=stream&request_sig=6a57bce75f44289430b691baf615405e&request_ts=1549949971&track_id=13358676 returned after 729 ms, status code: 200
02/12 05:39:32 Info: [Ropiee  Bedroom] [zoneplayer] Queueing: https://streaming2.qobuz.com/file
02/12 05:39:33 Debug: [easyhttp] POST to https://www.qobuz.com/api.json/0.2/track/reportStreamingEnd?events=[{"user_id":"962673"%2c"credential_id":"547516"%2c"device_id":"2328376"%2c"track_id":"13358674"%2c"duration":10%2c"intent":"stream"%2c"is_online":true%2c"is_sample":false%2c"is_purchased":false%2c"is_local":false%2c"format_id":0%2c"date":1549949961}] returned after 1381 ms, status code: 200
02/12 05:39:33 Debug: [qobuz/module] streaming end result: success
02/12 05:39:33 Info: [Ropiee  Bedroom] [zoneplayer]     Open Result (Playing):Result[Status=Success]
02/12 05:39:33 Info: [Ropiee  Bedroom] [zoneplayer] Starting playback
02/12 05:39:33 Trace: [Ropiee  Bedroom] [zoneplayer/raat] StartStream Sooloos.Broker.Transport.RaatZonePlayer+Endpoint: StreamFormat(channels=2, bitspersample=24, samplerate=96000, isdts=False) => StreamFormat(channels=2, bitspersample=24, samplerate=192000, isdts=False) streamid=291183232
02/12 05:39:33 Info: [zone Ropiee  Bedroom] OnPlayFeedback Playing
02/12 05:39:33 Debug: Lastfm 'IJSbwmqzCJoaa2toDxEdwFbaKAds2Z3w' START: Bruce Springsteen - The Angel 
02/12 05:39:33 Trace: [Ropiee  Bedroom] [Enhanced, 24/96 QOBUZ FLAC => 24/192] [100% buf] [PLAYING @ 0:00] The Angel - Bruce Springsteen
02/12 05:39:33 Trace: [roonapi] [apiclient 192.168.1.104:56926] CONTINUE Changed {"zones_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","display_name":"Ropiee  Bedroom","outputs":[{"output_id":"170165a856ef65e475927053e0eff45dad57","zone_id":"160165a856ef65e475927053e0eff45dad57","can_group_with_output_ids":["1701dcc89c6735833d52947a3f5c610b1fd1","170165a856ef65e475927053e0eff45dad57"],"display_name":"Ropiee  Bedroom","source_controls":[{"control_key":"1","display_name":"snd_rpi_hifiberry_digi","supports_standby":false,"status":"indeterminate"}]}],"state":"playing","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":true,"queue_items_remaining":4,"queue_time_remaining":977,"settings":{"loop":"disabled","shuffle":false,"auto_radio":false},"now_playing":{"seek_position":null,"length":204,"one_line":{"line1":"The Angel - Bruce Springsteen"},"two_line":{"line1":"The Angel","line2":"Bruce Springsteen"},"three_line":{"line1":"The Angel","line2":"Bruce Springsteen","line3":"Greetings from Asbury Park, N.J."},"image_key":"6c0285dbc9b3886cfa65c269f15dfbed","artist_image_keys":["548c4e616768fc6f445808893bd55cf5"]}}]}
02/12 05:39:33 Trace: [roonapi] [apiclient 192.168.1.104:56928] CONTINUE Changed {"zones_changed":[{"zone_id":"160165a856ef65e475927053e0eff45dad57","display_name":"Ropiee  Bedroom","outputs":[{"output_id":"170165a856ef65e475927053e0eff45dad57","zone_id":"160165a856ef65e475927053e0eff45dad57","can_group_with_output_ids":["1701dcc89c6735833d52947a3f5c610b1fd1","170165a856ef65e475927053e0eff45dad57"],"display_name":"Ropiee  Bedroom","source_controls":[{"control_key":"1","display_name":"snd_rpi_hifiberry_digi","supports_standby":false,"status":"indeterminate"}]}],"state":"playing","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":true,"queue_items_remaining":4,"queue_time_remaining":977,"settings":{"loop":"disabled","shuffle":false,"auto_radio":false},"now_playing":{"seek_position":null,"length":204,"one_line":{"line1":"The Angel - Bruce Springsteen"},"two_line":{"line1":"The Angel","line2":"Bruce Springsteen"},"three_line":{"line1":"The Angel","line2":"Bruce Springsteen","line3":"Greetings from Asbury Park, N.J."},"image_key":"6c0285dbc9b3886cfa65c269f15dfbed","artist_image_keys":["548c4e616768fc6f445808893bd55cf5"]}}]}
02/12 05:39:33 Trace: [streamingmediafile] immediate read of https://streaming2.qobuz.com/file at 393216 length=73050070
02/12 05:39:33 Trace: [Ropiee  Bedroom] [zoneplayer/raat] synced to endpoint snd_rpi_hifiberry_digi clock: realtime=2884533354897 rtt=2500us offset=-33071325645us delta=-33071325645us
02/12 05:39:33 Trace: [snd_rpi_hifiberry_digi] [raatclient] SENT [16]{"request":"stream","stream_id":291183232,"first_seq":-1,"nak_port":-1,"buffer_size":10,"ready_threshold":0.2}
02/12 05:39:33 Trace: [snd_rpi_hifiberry_digi] [raatclient] GOT [16] {"status":"Buffering"}
02/12 05:39:33 Trace: [Ropiee  Bedroom] [zoneplayer/raat] Endpoint snd_rpi_hifiberry_digi State Changed: Prepared => Buffering
02/12 05:39:33 Trace: [Ropiee  Bedroom] [zoneplayer/raat] [zoneplayer/raat] selected snd_rpi_hifiberry_digi as clock master
02/12 05:39:33 Debug: [easyhttp] POST to https://www.qobuz.com/api.json/0.2/track/reportStreamingStart?events=[{"user_id":"962673"%2c"credential_id":"547516"%2c"device_id":"2328376"%2c"track_id":"13358675"%2c"duration":0%2c"intent":"stream"%2c"is_online":true%2c"is_sample":false%2c"is_purchased":false%2c"is_local":false%2c"format_id":0%2c"date":1549949973}] returned after 349 ms, status code: 200
02/12 05:39:33 Debug: [qobuz/module] streaming start result: success
02/12 05:39:33 Info: 
--[ SignalPath ]---------------------------------------------
SignalPath Quality = Enhanced
Elements:
    Source Format=Flac 96000/24/2  Quality=Lossless
    UpgradeBitDepth FromBitsPerSample=24 ToBitsPerSample=64 Quality=Lossless
    SampleRateConversion FromSampleRate=96000 ToSampleRate=192000 Algorithm=HighQuality Quality=Enhanced
    Truncate FromBitsPerSample=64 ToBitsPerSample=24 Quality=Lossless
    Raat Device=snd_rpi_hifiberry_digi
    Output OutputType=Local_Alsa Quality=Lossless SubType= Model=snd_rpi_hifiberry_digi

Hi @Derek_Wyman,

Thanks for contacting us regarding this issue, can you please provide some more information here?

  1. What kind of router/access points are you using?
  2. Does this same issue occur if the Ropiee and DietPi are connected via Ethernet to the router?
  3. What is your Core operating system and how is it connected to the network?
  4. Are you on the latest DietPi and Ropiee firmware?
  5. When did this issue start?
  6. Have you made any changes to the network configuration around the time that the issue started?
  7. Are there still dropouts when streaming lower quality content?
  8. Does local media work as expected?

Thanks,
Noris

  1. google wifi (400mbps, seeing ~50 at the device)
  2. have not tested it. my other devices are on ethernet without the issue.
  3. Rock on an i7 NUC
  4. latest ropiee, not quite newest dietpi (bought from another roon user preloaded)
    both show the same issue
  5. problem started with the addition of this rpi
  6. nope
  7. seems to happen with both local (16/44) and qobuz/tidal.
  8. see 7

And the behavior is very similar to some other posts I’ve been seeing. Songs start skipping (from song to song) and then stop and then the end point disappears from roon.

Hi @Derek_Wyman,

Thanks for letting me know that information.

  • If you remove the Rasberry Pi from answer #5 from the equation, do the dropouts subside on the other RPi? I am wondering if the new Pi could be causing some kind of feedback loop.

  • What else is connected to the Rasberry Pi, is there anything attached via USB? If so I would try disconnecting any USB devices to see if that helps and just try on Analog Output

  • Does the same issue occurs when the RPis are plugged in via Ethernet?

Thanks,
Noris

  1. The issue is only on the new rpi. Isn’t causing issues on the others.

  2. I use the optical out from the digiberry hat on the rpi. No USB connections.

  3. I will try to connect it on Ethernet to troubleshoot. But honestly not interested in running it hardwired. Would like to get it running on wifi.

Derek,

You mentioned you bought your Pi from someone else. Any chance it is a 3 B and not a 3 B+? The 3 B+'s WiFi is better than the 3’s and can handle streaming 192 kHz music while the 3’s can have problems.

See this thread where Mike had problems streaming 192 kHz Qobuz tracks to a Pi 3 over WiFi. He upgraded to a 3 B+ and his problems went away.

Tim

1 Like

Thanks Tim. I’ll do some digging.

Swapped the pi out for a b+ and everything seems good. I’ll give it a lengthy workout tonight. Thanks for the help.

1 Like

A post was split to a new topic: Dropouts on Ropieee