Roon randomly stops playing [Resolved - New USB Cable]

Every now and then, Roon will just stop in the middle of a track. I also get static in the playback, again randomly. I am running my server on Debian with a fast SSD wired to a GB switch. My endpoint is a Raspberry Pi also wired with a USB DAC. Roon happily restarts when I click the play button, picking up from where it stopped. I have two Aune DACs and this happens with both. I do not see any Roon errors on my iPad but there is a ton of stuff in the logs:

07/15 09:28:20 Trace: [Livingroom Aune] [Enhanced 11.8x, 16/44 ALAC => 32/352] [100% buf] [PLAYING @ 2:01/2:46] She's Gone - Michael Kaeshammer & Jim Byrnes & Amos Garrett & Chuck Leavell
07/15 09:28:25 Trace: [Livingroom Aune] [Enhanced 11.8x, 16/44 ALAC => 32/352] [100% buf] [PLAYING @ 2:06/2:46] She's Gone - Michael Kaeshammer & Jim Byrnes & Amos Garrett & Chuck Leavell
07/15 09:28:26 Trace: [Livingroom Aune] [zoneplayer/raat] sync X1S USB DAC: realtime=4929341379229 rtt=0us offset=-130284620us delta=-628us drift=4602us in 4929.258s (0.934ppm, 3.362ms/hr)
07/15 09:28:30 Trace: [Livingroom Aune] [Enhanced 11.8x, 16/44 ALAC => 32/352] [100% buf] [PLAYING @ 2:11/2:46] She's Gone - Michael Kaeshammer & Jim Byrnes & Amos Garrett & Chuck Leavell
07/15 09:28:31 Info: [stats] 6705mb Virtual, 1988mb Physical, 606mb Managed, 0 Handles, 72 Threads
07/15 09:28:35 Trace: [Livingroom Aune] [Enhanced 11.8x, 16/44 ALAC => 32/352] [100% buf] [PLAYING @ 2:16/2:46] She's Gone - Michael Kaeshammer & Jim Byrnes & Amos Garrett & Chuck Leavell
07/15 09:28:40 Trace: [Livingroom Aune] [Enhanced 11.8x, 16/44 ALAC => 32/352] [100% buf] [PLAYING @ 2:21/2:46] She's Gone - Michael Kaeshammer & Jim Byrnes & Amos Garrett & Chuck Leavell
07/15 09:28:40 Trace: [X1S USB DAC] [raatclient] GOT [6] {"reason":{"reason":"device_not_available"},"status":"Lost"}
07/15 09:28:40 Trace: [Livingroom Aune] [zoneplayer/raat] Got 'lost' response
07/15 09:28:40 Trace: [Livingroom Aune] [zoneplayer/raat] Endpoint X1S USB DAC State Changed: Playing => Idle
07/15 09:28:40 Trace: [Livingroom Aune] [zoneplayer/raat] lost endpoint. stopping stream
07/15 09:28:40 Warn: Track Stopped Due to LostEndpoint
07/15 09:28:40 Info: [library] recorded play for profile 64ce433a-9186-4ffa-97ca-1d384cb05e63: mediaid=50:1:82300b18-0e05-4cac-a301-dccc0241f5ca metadataid=97:0:216594225340230 contentid= libraryid=50:1:82300b18-0e05-4cac-a301-dccc0241f5ca
07/15 09:28:40 Info: [zone Livingroom Aune] OnPlayFeedback StoppedLostEndpoint
07/15 09:28:40 Trace: [zone Livingroom Aune] Suspend
07/15 09:28:40 Info: [zone Livingroom Aune] OnPlayFeedback Stopped
07/15 09:28:40 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
07/15 09:28:40 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
07/15 09:28:40 Trace: [library] finished with 44 dirty tracks 4 dirty albums 20 dirty performers 32 dirty works 32 dirty performances 0 clumping tracks, 0 clumping auxfiles 0 compute tracks, 0 deleted tracks, 0 tracks to (re)load, 0 tracks to retain, 0 auxfiles to (re)load, 0 auxfiles to retain, and 89 changed objects
07/15 09:28:40 Debug: [library/index] updating search indices: 8 ops 0 adds, 0 removes
07/15 09:28:40 Trace: [Livingroom Aune] [Enhanced 11.8x, 16/44 ALAC => 32/352] [100% buf] [PAUSED @ 2:21/2:46] She's Gone - Michael Kaeshammer & Jim Byrnes & Amos Garrett & Chuck Leavell
07/15 09:28:40 Debug: [raat/tcpaudiosource] disconnecting
07/15 09:28:40 Info: sleep 40ms after flush
07/15 09:28:40 Info: [audio/env] [zoneplayer] All streams were disposed
07/15 09:28:41 Trace: [raatserver] [X1S USB DAC] lost client connection. Retrying
07/15 09:28:41 Trace: [push] restarting connection (Unable to read data from the transport connection: interrupted.)
07/15 09:28:41 Trace: [push] retrying connection in 85758ms
07/15 09:28:41 Info: [raatserver] [X1S USB DAC] connecting (attempt 1)
07/15 09:28:41 Info: [transport] destroyed zone Livingroom Aune was playing? False
07/15 09:28:41 Trace: [zone Livingroom Aune] Suspend
07/15 09:28:41 Warn: [raat_ll/client] [X1S USB DAC] failed to connect Connection refused
07/15 09:28:41 Trace: [raatserver] [X1S USB DAC] client connection failed. Retrying in 500ms
07/15 09:28:41 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=DAC,DEV=0", "type": "alsa", "name": "X1S USB DAC", "vendor": "aune ", "config": {"unique_id": "1d448631-2f57-6819-6bf5-0e9a83b1c7fd", "output": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "dsd_mode": "native", "name": "X1S USB DAC"}, "volume": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "exclusive_mode": null}, "external_config": {}}, "usb_id": "20b1:3023"}}
07/15 09:28:41 Trace: [rnet/RnetJsonClient] GOT {"status": "Removed"}
07/15 09:28:41 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "DeviceRemoved", "device": {"device_id": "hw:CARD=DAC,DEV=0", "type": "alsa", "name": "X1S USB DAC", "vendor": "aune ", "config": {"unique_id": "1d448631-2f57-6819-6bf5-0e9a83b1c7fd", "output": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "dsd_mode": "native", "name": "X1S USB DAC"}, "volume": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "exclusive_mode": null}, "external_config": {}}, "usb_id": "20b1:3023"}}
07/15 09:28:43 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "DeviceAdded", "device": {"device_id": "hw:CARD=DAC,DEV=0", "type": "alsa", "name": "X1S USB DAC", "vendor": "aune ", "config": {"unique_id": "1d448631-2f57-6819-6bf5-0e9a83b1c7fd", "output": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "dsd_mode": "native", "name": "X1S USB DAC"}, "volume": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "exclusive_mode": null}, "external_config": {}}, "usb_id": "20b1:3023"}}
07/15 09:28:43 Info: [raatserver] GOT DEVICE e4d0dde3-a4d3-4e2d-a41e-3a79bb1c161e::hw:CARD=DAC,DEV=0 Type=alsa Name=X1S USB DAC Vendor=aune UsbId=20b1:3023
07/15 09:28:43 Trace: [rnet/RnetJsonClient] SENT {"request":"enable_device","device_id":"hw:CARD=DAC,DEV=0","subscription_id":"6"}
07/15 09:28:43 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=DAC,DEV=0", "type": "alsa", "name": "X1S USB DAC", "vendor": "aune ", "config": {"unique_id": "1d448631-2f57-6819-6bf5-0e9a83b1c7fd", "output": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "dsd_mode": "native", "name": "X1S USB DAC"}, "volume": {"device": "hw:CARD=DAC,DEV=0", "type": "alsa", "exclusive_mode": null}, "external_config": {}}, "usb_id": "20b1:3023", "discovery_data": {"raat_version": "1.1.30", "tcp_port": 44111, "unique_id": "1d448631-2f57-6819-6bf5-0e9a83b1c7fd", "model": "N/A", "version": "N/A", "protocol_version": "3", "vendor": "N/A"}}}
07/15 09:28:43 Info: [raatserver] [X1S USB DAC] connecting (attempt 1)
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] Initializing RAAT session
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] Loading script raat.dat:base.lua as module base [1088 chars]
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] Loading script raat.dat:dkjson.lua as module dkjson [22416 chars]
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] Loading script raat.dat:protocol.lua as module protocol [2045 chars]
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] Loading script raat.dat:roon_tcp.lua [42279 chars]
07/15 09:28:43 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "Success"}
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] RAAT Session initialized in 68ms
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] SENT [2]{"request":"info"}
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] SENT [3]{"request":"set_client_type","client_type":"Roon"}
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] GOT [2] {"transport":{"info":[],"is_supported":false},"flags":{"has_write_chmap":true},"platform":{"uname":{"release":"4.14.50-v7+","sysname":"Linux","nodename":"roonbridge-lr","machine":"armv7l","version":"#1122 SMP Tue Jun 19 12:26:26 BST 2018"},"os":"linux"},"output":{"supported_formats":"96000/16/1|2,96000/32/1|2,5644800/1/1|2,192000/24/1|2,352800/24/1|2,48000/24/1|2,48000/16/1|2,2822400/1/1|2,176400/16/1|2,11289600/1/1|2,384000/24/1|2,96000/24/1|2,176400/32/1|2,192000/32/1|2,352800/16/1|2,88200/16/1|2,352800/32/1|2,44100/16/1|2,192000/16/1|2,176400/24/1|2,48000/32/1|2,88200/24/1|2,88200/32/1|2,384000/32/1|2,384000/16/1|2,44100/32/1|2,44100/24/1|2","info":{"alsa_device":{"longname":"aune X1S USB DAC at usb-3f980000.usb-1.5, high speed","mixername":"USB Mixer","id":"DAC","name":"X1S USB DAC","driver":"USB-Audio","components":"DAC","usbid":"20b1:3023"},"config":{"device":"hw:CARD=DAC,DEV=0","name":"X1S USB DAC","dsd_mode":"native","type":"alsa"}}},"source_selection":{"info":[],"is_supported":false},"volume":{"info":{"config":{"device":"hw:CARD=DAC,DEV=0","type":"alsa"}},"is_supported":true},"status":"Success","info":{"unique_id":"1d448631-2f57-6819-6bf5-0e9a83b1c7fd"}}
07/15 09:28:43 Trace: [raatserver] [X1S USB DAC] connected
07/15 09:28:43 Info: [transport] creating endpoint for raat device 1d448631-2f57-6819-6bf5-0e9a83b1c7fd
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] SENT [4]{"request":"subscribe_transport"}
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] SENT [5]{"request":"subscribe_controls","controller_id":"a2e32772-4290-47ee-af46-24af520ea25c"}
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] GOT [3] {"status":"Success"}
07/15 09:28:43 Trace: [dspengine] loaded DSP config {"version":3,"items":[{"type":"bs2b","enabled":false},{"type":"parametric_equalizer","enabled":true,"bands":[{"type":"equalize_frequency","frequency":60,"gain_db":0,"q":1,"is_enabled":true},{"type":"equalize_frequency","frequency":250,"gain_db":0,"q":1,"is_enabled":true},{"type":"equalize_frequency","frequency":1000,"gain_db":0,"q":1,"is_enabled":true},{"type":"equalize_frequency","frequency":4000,"gain_db":0,"q":1,"is_enabled":true},{"type":"high_shelf","frequency":11000,"gain_db":-3,"q":1,"is_enabled":true}],"gain_db":0,"y_axis_min_db":-24,"y_axis_max_db":12},{"type":"audeze_presets","enabled":false}],"headroom_adjustment":{"type":"headroom_adjustment","enable_clipping_indicator":true},"sample_rate_conversion":{"type":"sample_rate_conversion","parallel_dsd_modulator":true,"sample_rate_conversion_mode":"power_of_2_upsampling","enabled":true},"speaker_setup":{"type":"speaker_setup"},"auto_apply":true}
07/15 09:28:43 Trace: [transport/audeze] picking preset lowlatency 
07/15 09:28:43 Trace: [transport/audeze] picked null preset!
07/15 09:28:43 Trace: [X1S USB DAC] [raatclient] GOT [5] {"controls":{"volume":{"min":0.0,"value":100,"step":1.0,"info":{"config":{"device":"hw:CARD=DAC,DEV=0","type":"alsa"}},"max":100.0,"mute":false,"type":"number"}},"status":"Success","action":"Changed"}
07/15 09:28:43 Trace: [zone Livingroom Aune] Loading
07/15 09:28:43 Trace: [zone Livingroom Aune] Suspend
07/15 09:28:43 Trace: [Livingroom Aune] [zoneplayer/raat] Endpoint X1S USB DAC Initial State: Idle
07/15 09:28:43 Info: [transport] created zone Livingroom Aune
07/15 09:28:43 Info: [transport]     with endpoint X1S USB DAC (23:1:1d448631-2f57-6819-6bf5-0e9a83b1c7fd) [IsAvailable=True]
07/15 09:28:43 Trace: [Livingroom Aune] [Enhanced, 16/44 ALAC => 32/352] [100% buf] [STOPPED @ 0:00] 
07/15 09:28:43 Warn: [queue] failed to load trackid 34037298: not found
07/15 09:28:43 Warn: [queue] failed to load trackid 34037810: not found
07/15 09:28:43 Warn: [queue] failed to load trackid 34037554: not found
07/15 09:28:43 Warn: [queue] failed to load trackid 34038066: not found

Thanks for reaching out to us @pwright92!

May I kindly ask that you please provide a brief description of your current setup using this link as a guide.

Make sure to describe your network configuration/topology, including any networking hardware currently in use, so we can have a clear understanding of how your devices are communicating.

So we can gain some additional insight into what you’re experiencing, may I kindly ask that you please verify the following:

  • Can you confirm whether or not this is happening for all audio zones? If you play directly to one of your remotes to you experience this behavior?
  • Can you please share a screenshot of the signal path playing to one of the affected devices?
  • Have you noticed any patterns in this behavior? Does it happen only when playing certain types of content?

Thanks,
Dylan

I described my setup in the initial post. I changed out the USB cable for a new one and that seems to have fixed the issue. I will update this thread if it reoccurs. Thanks.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.