Sometimes Error if plays long in RadioMode

Hello there,

when RoonRadio is playing for a longer period of time(which i like a lot!), it sometimes just stops or even the USB connection to the DAC is not ressurectable. Then i have to reboot my nucleus and plug the usb dac cable to the other usb port in the nucleus.

Maybe you can seen on the Logfile whats going on when this appears…

Hardware:
Roon Nucleus+
Direct USB Connection from Nucleus to the DAC (Accuphase DC-37)

Here are logfile-snippets of what happens after a longer period of time playing in RoonRadio-Mode:
I had to delete the lines containing hyperlinks to be able to post that logfile fragments.

Kind regards
Chris

RAAT-Server Log-Snipped(shrinked due to messagelength limit):

> 05/01 06:35:28 Trace: [RAAT::Accuphase USB Audio Product2] starting playback: now (305600526394557ns) + ns_per_buf(20000000ns) = 305600546394557ns > 305600542914431ns streamsample=0
> 05/01 06:39:22 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  GOT [3301] {"request":"end_stream"}
> 05/01 06:39:22 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  SENT [3299] {"status":"Ended"}
> 05/01 06:39:22 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  SENT [3301] {"status":"Success"}
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  GOT [3302] {"request":"teardown"}
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [alsa] teardown
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  SENT [3298] {"status":"Teardown"}
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  GOT [3303] {"request":"setup","format":{"sample_type":"pcm","sample_rate":88200,"bits_per_sample":24,"channels":2,"sample_subtype":"none"}}
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] alsa output setup: format is pcm 88200/24/2
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] opening [hw:CARD=Product2,DEV=0] 88200/24/2
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] prefer larger samples = 0
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] using hw pcmformat S32_LE bitspersample 24
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Requesting 2 periods
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Requesting 3528 frames/buffer (1764 frames/period)
> 05/01 06:39:23 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Initialized with 2 periods with 1764 frames/period and 3528 frames/buffer
> 05/01 06:39:44 Error: [RAAT::Accuphase USB Audio Product2] error in snd_pcm_hw_params: Input/output error (-5)
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  GOT [3304] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  SENT [3303] {"status":"Teardown"}
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] alsa output setup: format is pcm 44100/16/2
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] opening [hw:CARD=Product2,DEV=0] 44100/16/2
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] prefer larger samples = 0
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] using hw pcmformat S16_LE bitspersample 16
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Requesting 2 periods
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Requesting 1764 frames/buffer (882 frames/period)
> 05/01 06:39:44 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Initialized with 2 periods with 882 frames/period and 1764 frames/buffer
> 05/01 06:40:04 Error: [RAAT::Accuphase USB Audio Product2] error in snd_pcm_hw_params: Input/output error (-5)
> 05/01 06:40:04 Warn: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
> 05/01 06:40:04 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  SENT [3303] {"status":"UnexpectedError","message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED"}
> 05/01 06:40:04 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  GOT [3305] {"request":"setup","format":{"sample_type":"pcm","sample_rate":88200,"bits_per_sample":24,"channels":2,"sample_subtype":"none"}}
> 05/01 06:40:04 Trace: [RAAT::Accuphase USB Audio Product2] [lua@0x7fc8100010f8] [127.0.0.1:43095]  SENT [3304] {"status":"Teardown"}
> 05/01 06:40:04 Trace: [RAAT::Accuphase USB Audio Product2] alsa output setup: format is pcm 88200/24/2
> 05/01 06:40:04 Trace: [RAAT::Accuphase USB Audio Product2] opening [hw:CARD=Product2,DEV=0] 88200/24/2
> 05/01 06:40:04 Trace: [RAAT::Accuphase USB Audio Product2] prefer larger samples = 0
> 05/01 06:40:04 Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] using hw pcmformat S32_LE bitspersample 24

And RoonOS Server Log-Snipped of the same surrounding time of that error when it happens(also shrinked…:

> 05/01 06:39:38 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:39:38 Info: [audio/env] [zoneplayer] All streams were disposed
> 05/01 06:39:38 Debug: [smc] [zoneplayer:1] Adding ordinal 1696
> 05/01 06:39:38 Debug: [smc] [zoneplayer:1] Adding ordinal 1697
> 05/01 06:39:38 Debug: [smc] [zoneplayer:1] Ordinal 1696 is good to go
> 05/01 06:39:38 Info: [DC-37] [zoneplayer]     Open Result (Playing):Result[Status=Success]
> 05/01 06:39:38 Info: [DC-37] [zoneplayer] Starting playback
> 05/01 06:39:38 Trace: [DC-37] [zoneplayer/raat] StartStream Sooloos.Broker.Transport.RaatZonePlayer+Endpoint: StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) => StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) streamid=662907615
> 05/01 06:39:38 Trace: [Accuphase USB Audio Product2] [raatclient] SENT [3304]{"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
> 05/01 06:39:38 Info: [zone DC-37] OnPlayFeedback Playing
> 05/01 06:39:38 Trace: [DC-37] [Lossless, 16/44 TIDAL FLAC => 16/44] [3% buf] [PLAYING @ 0:00] Lost in Japan (remix) - Shawn Mendes / Zedd
> 05/01 06:39:38 Trace: [prebuffer] ready 149940/441000 (34%) @ 0/201 sec
> 05/01 06:39:38 Debug: [smc] [zoneplayer:1] Waiting for ordinal 1697 (> 1696)
> 05/01 06:39:39 Info: [DC-37] [zoneplayer] Open result (Queueing): Result[Status=Success]
> 05/01 06:39:39 Info: 
> --[ SignalPath ]---------------------------------------------
> SignalPath Quality = Lossless
> Elements:
>     Source Format=Flac 44100/16/2  Quality=Lossless
>     Raat Device=Accuphase USB Audio Product2
>     Output OutputType=Local_Alsa Quality=Lossless SubType= Model=Accuphase USB Audio Product2
> ------------------------------------------------------------
> 05/01 06:39:43 Info: [stats] 25557mb Virtual, 2669mb Physical, 964mb Managed, 275 Handles, 76 Threads
> 05/01 06:39:43 Debug: [smc] [zoneplayer:1] Removing ordinal 1696
> 05/01 06:39:43 Debug: [smc] [zoneplayer:1] Ordinal 1697 is good to go
> 05/01 06:39:44 Trace: [Accuphase USB Audio Product2] [raatclient] GOT [3303] {"status":"Teardown"}
> 05/01 06:39:48 Debug: [smc] [zoneplayer:1] Removing ordinal 1697
> 05/01 06:39:48 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:39:53 Warn: [DC-37] [zoneplayer/raat] Failed to prepare Accuphase USB Audio Product2 in 15000ms. Giving up
> 05/01 06:39:53 Warn: [DC-37] [zoneplayer/raat] failed to setup any endpoints..giving up
> 05/01 06:39:53 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
> 05/01 06:39:53 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
> 05/01 06:39:53 Info: sleep 40ms after flush
> 05/01 06:39:53 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:39:53 Debug: [smc] [zoneplayer:1] Removing ordinal 1697
> 05/01 06:39:53 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:39:53 Warn: Track Stopped Due to Error
> 05/01 06:39:53 Info: [zone DC-37] OnPlayFeedback StoppedEndOfMediaUnnatural
> 05/01 06:39:53 Debug: [zone DC-37] _Advance
> 05/01 06:39:53 Trace: [mlradio] [7] [music/mlradio] GetNextItem(1 / 21)
> 05/01 06:39:53 Trace: [mlradio] [7] [music/mlradio] returning 1 items for request of 1 items
> 05/01 06:39:53 Trace: [DC-37] [Lossless, 16/44 TIDAL FLAC => 16/44] [3% buf] [LOADING @ 0:00] when the party's over - Billie Eilish
> 05/01 06:39:53 Info: ComputeSwimType(LimitToSeed=False, PerformerIds.Count=0, ComposerIds.Count=0)
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Removing ordinal 1696
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Adding ordinal 1698
> 05/01 06:39:54 Info: [audio/env] [zoneplayer] All streams were disposed
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Adding ordinal 1699
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Ordinal 1698 is good to go
> 05/01 06:39:54 Info: [DC-37] [zoneplayer]     Open Result (Playing):Result[Status=Success]
> 05/01 06:39:54 Info: [DC-37] [zoneplayer] Starting playback
> 05/01 06:39:54 Trace: [DC-37] [zoneplayer/raat] StartStream Sooloos.Broker.Transport.RaatZonePlayer+Endpoint: StreamFormat(channels=2, bitspersample=24, samplerate=88200, isdts=False) => StreamFormat(channels=2, bitspersample=24, samplerate=88200, isdts=False) streamid=662907616
> 05/01 06:39:54 Trace: [Accuphase USB Audio Product2] [raatclient] SENT [3305]{"request":"setup","format":{"sample_type":"pcm","sample_rate":88200,"bits_per_sample":24,"channels":2,"sample_subtype":"none"}}
> 05/01 06:39:54 Info: [zone DC-37] OnPlayFeedback Playing
> 05/01 06:39:54 Trace: [DC-37] [Lossless, 24/44 MQA TIDAL FLAC => 24/88] [3% buf] [PLAYING @ 0:00] when the party's over - Billie Eilish
> 05/01 06:39:54 Trace: [prebuffer] ready 149940/441000 (34%) @ 0/196 sec
> 05/01 06:39:54 Debug: [smc] [zoneplayer:1] Waiting for ordinal 1699 (> 1698)
> 05/01 06:39:54 Info: [DC-37] [zoneplayer] Open result (Queueing): Result[Status=Success]
> 05/01 06:39:54 Info: 
> --[ SignalPath ]---------------------------------------------
> SignalPath Quality = Lossless
> Elements:
>     Source Format=Flac 44100/24/2  Quality=Lossless MQA 44100
>     MQA Subtype=authentication LightState=off OriginalSampleRate=44100 OutputSampleRate= OutputBitsPerSample=
>     MQA Subtype=roon_core_decoder LightState= OriginalSampleRate= OutputSampleRate=88200 OutputBitsPerSample=24
>     Raat Device=Accuphase USB Audio Product2
>     Output OutputType=Local_Alsa Quality=Lossless SubType= Model=Accuphase USB Audio Product2
> ------------------------------------------------------------
> 05/01 06:39:58 Info: [stats] 25565mb Virtual, 2669mb Physical, 980mb Managed, 274 Handles, 77 Threads
> 05/01 06:40:00 Debug: [smc] [zoneplayer:1] Removing ordinal 1698
> 05/01 06:40:00 Debug: [smc] [zoneplayer:1] Ordinal 1699 is good to go
> 05/01 06:40:03 Debug: [smc] [zoneplayer:1] Removing ordinal 1699
> 05/01 06:40:03 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:40:04 Trace: [Accuphase USB Audio Product2] [raatclient] GOT [3303] {"status":"UnexpectedError","message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED"}
> 05/01 06:40:04 Trace: [Accuphase USB Audio Product2] [raatclient] GOT [3304] {"status":"Teardown"}
> 05/01 06:40:08 Trace: [DC-37] [Lossless, 24/44 MQA TIDAL FLAC => 24/88] [3% buf] [PLAYING @ 0:00] when the party's over - Billie Eilish
> 05/01 06:40:09 Warn: [DC-37] [zoneplayer/raat] Failed to prepare Accuphase USB Audio Product2 in 15000ms. Giving up
> 05/01 06:40:09 Warn: [DC-37] [zoneplayer/raat] failed to setup any endpoints..giving up
> 05/01 06:40:09 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
> 05/01 06:40:09 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
> 05/01 06:40:09 Info: sleep 40ms after flush
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Removing ordinal 1699
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:40:09 Warn: Track Stopped Due to Error
> 05/01 06:40:09 Info: [zone DC-37] OnPlayFeedback StoppedEndOfMediaUnnatural
> 05/01 06:40:09 Debug: [zone DC-37] _Advance
> 05/01 06:40:09 Trace: [mlradio] [7] [music/mlradio] GetNextItem(1 / 20)
> 05/01 06:40:09 Trace: [mlradio] [7] [music/mlradio] returning 1 items for request of 1 items
> 05/01 06:40:09 Trace: [DC-37] [Lossless, 24/44 MQA TIDAL FLAC => 24/88] [3% buf] [LOADING @ 0:00] This Is How I Feel - Brainstorm / Daddy Was a Milkman
> 05/01 06:40:09 Info: ComputeSwimType(LimitToSeed=False, PerformerIds.Count=0, ComposerIds.Count=0)
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Removing ordinal 1698
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Adding ordinal 1701
> 05/01 06:40:09 Info: [audio/env] [zoneplayer] All streams were disposed
> 05/01 06:40:09 Debug: [smc] [zoneplayer:1] Adding ordinal 1700
> 05/01 06:40:10 Debug: [smc] [zoneplayer:1] Ordinal 1700 is good to go
> 05/01 06:40:10 Info: [DC-37] [zoneplayer]     Open Result (Playing):Result[Status=Success]
> 05/01 06:40:10 Info: [DC-37] [zoneplayer] Starting playback
> 05/01 06:40:10 Trace: [DC-37] [zoneplayer/raat] StartStream Sooloos.Broker.Transport.RaatZonePlayer+Endpoint: StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) => StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) streamid=662907617
> 05/01 06:40:10 Trace: [Accuphase USB Audio Product2] [raatclient] SENT [3306]{"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
> 05/01 06:40:10 Info: [zone DC-37] OnPlayFeedback Playing
> 05/01 06:40:10 Trace: [DC-37] [Lossless, 16/44 TIDAL FLAC => 16/44] [3% buf] [PLAYING @ 0:00] This Is How I Feel - Brainstorm / Daddy Was a Milkman
> 05/01 06:40:10 Debug: [smc] [zoneplayer:1] Waiting for ordinal 1701 (> 1700)
> 05/01 06:40:10 Info: [DC-37] [zoneplayer] Open result (Queueing): Result[Status=Success]
> 05/01 06:40:10 Trace: [prebuffer] ready 149940/441000 (34%) @ 0/196 sec
> 05/01 06:40:10 Info: 
> --[ SignalPath ]---------------------------------------------
> SignalPath Quality = Lossless
> Elements:
>     Source Format=Flac 44100/16/2  Quality=Lossless
>     Raat Device=Accuphase USB Audio Product2
>     Output OutputType=Local_Alsa Quality=Lossless SubType= Model=Accuphase USB Audio Product2
> ------------------------------------------------------------
> 05/01 06:40:13 Info: [stats] 25517mb Virtual, 2669mb Physical, 998mb Managed, 274 Handles, 71 Threads
> 05/01 06:40:14 Debug: [smc] [zoneplayer:1] Removing ordinal 1700
> 05/01 06:40:14 Debug: [smc] [zoneplayer:1] Ordinal 1701 is good to go
> 05/01 06:40:17 Debug: [smc] [zoneplayer:1] Removing ordinal 1701
> 05/01 06:40:17 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:40:25 Warn: [DC-37] [zoneplayer/raat] Failed to prepare Accuphase USB Audio Product2 in 15000ms. Giving up
> 05/01 06:40:25 Warn: [DC-37] [zoneplayer/raat] failed to setup any endpoints..giving up
> 05/01 06:40:25 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
> 05/01 06:40:25 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
> 05/01 06:40:25 Info: sleep 40ms after flush
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Removing ordinal 1701
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:40:25 Warn: Track Stopped Due to Error
> 05/01 06:40:25 Info: [zone DC-37] OnPlayFeedback StoppedEndOfMediaUnnatural
> 05/01 06:40:25 Debug: [zone DC-37] _Advance
> 05/01 06:40:25 Trace: [mlradio] [7] [music/mlradio] GetNextItem(1 / 19)
> 05/01 06:40:25 Trace: [mlradio] [7] [music/mlradio] returning 1 items for request of 1 items
> 05/01 06:40:25 Trace: [DC-37] [Lossless, 16/44 TIDAL FLAC => 16/44] [3% buf] [LOADING @ 0:00] Orange Trees - MARINA
> 05/01 06:40:25 Info: ComputeSwimType(LimitToSeed=False, PerformerIds.Count=0, ComposerIds.Count=0)
> 05/01 06:40:25 Trace: [Accuphase USB Audio Product2] [raatclient] GOT [3304] {"status":"UnexpectedError","message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED"}
> 05/01 06:40:25 Trace: [Accuphase USB Audio Product2] [raatclient] GOT [3305] {"status":"Teardown"}
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Removing ordinal 1700
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:40:25 Info: [audio/env] [zoneplayer] All streams were disposed
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Created domain
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Adding ordinal 1702
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Adding ordinal 1703
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Waiting for ordinal 1703 (> 1702)
> 05/01 06:40:25 Debug: [smc] [zoneplayer:1] Ordinal 1702 is good to go
> 05/01 06:40:25 Info: [DC-37] [zoneplayer]     Open Result (Playing):Result[Status=Success]
> 05/01 06:40:25 Info: [DC-37] [zoneplayer] Starting playback
> 05/01 06:40:25 Trace: [DC-37] [zoneplayer/raat] StartStream Sooloos.Broker.Transport.RaatZonePlayer+Endpoint: StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) => StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) streamid=662907618
> 05/01 06:40:25 Trace: [Accuphase USB Audio Product2] [raatclient] SENT [3307]{"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
> 05/01 06:40:25 Info: [zone DC-37] OnPlayFeedback Playing
> 05/01 06:40:25 Trace: [DC-37] [Lossless, 16/44 TIDAL FLAC => 16/44] [3% buf] [PLAYING @ 0:00] Orange Trees - MARINA
> 05/01 06:40:25 Trace: [prebuffer] ready 149940/441000 (34%) @ 0/187 sec
> 05/01 06:40:25 Info: [DC-37] [zoneplayer] Open result (Queueing): Result[Status=Success]
> 05/01 06:40:26 Info: 
> --[ SignalPath ]---------------------------------------------
> SignalPath Quality = Lossless
> Elements:
>     Source Format=Flac 44100/16/2  Quality=Lossless
>     Raat Device=Accuphase USB Audio Product2
>     Output OutputType=Local_Alsa Quality=Lossless SubType= Model=Accuphase USB Audio Product2
> ------------------------------------------------------------
> 05/01 06:40:28 Info: [stats] 25517mb Virtual, 2669mb Physical, 1013mb Managed, 275 Handles, 71 Threads
> 05/01 06:40:29 Debug: [smc] [zoneplayer:1] Removing ordinal 1702
> 05/01 06:40:29 Debug: [smc] [zoneplayer:1] Ordinal 1703 is good to go
> 05/01 06:40:33 Trace: [broker/accounts] [heartbeat] now=05/01/2020 06:40:33 nextauthrefresh=05/01/2020 06:50:34 nextmachineallocate=05/01/2020 09:50:33
> 05/01 06:40:38 Trace: [DC-37] [Lossless, 16/44 TIDAL FLAC => 16/44] [3% buf] [PLAYING @ 0:00] Orange Trees - MARINA
> 05/01 06:40:40 Warn: [DC-37] [zoneplayer/raat] Failed to prepare Accuphase USB Audio Product2 in 15000ms. Giving up
> 05/01 06:40:40 Warn: [DC-37] [zoneplayer/raat] failed to setup any endpoints..giving up
> 05/01 06:40:40 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
> 05/01 06:40:40 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
> 05/01 06:40:40 Info: sleep 40ms after flush
> 05/01 06:40:40 Debug: [smc] [zoneplayer:1] Removing ordinal 1703
> 05/01 06:40:40 Debug: [smc] [zoneplayer:1] Destroyed domain
> 05/01 06:40:40 Warn: Track Stopped Due to Error

Hi @Chris0,

Does this only happen when you’re playing to the Accuphase DAC? If you play to a different endpoint (even system output of a remote) does the same behavior occur?

Can you share a screenshot of Device Setup and the Signal Path when playing to this device?

Thanks!

Hello Dylan,

“Does this only happen when you’re playing to the Accuphase DAC? If you play to a different endpoint (even system output of a remote) does the same behavior occur?”

I never used roon in this way before.

Screenshot:
the signalpath is as described in the logfile above…:

–[ SignalPath ]---------------------------------------------
SignalPath Quality = Lossless
Elements:
Source Format=Flac 44100/16/2 Quality=Lossless
Raat Device=Accuphase USB Audio Product2
Output OutputType=Local_Alsa Quality=Lossless SubType= Model=Accuphase USB Audio Product2

or as screenshot, which contains the same information:roonscrnsht


Actually it seems that this happens sometimes when roonradio picks sometimes an MQA file from tidal and roon decodes this for the dac preperation… Is it possible to exclude tidal for roonradio and only use qobuz? I use both tidal and qobuz…It is also worth to tell that this never happens with local content (flac up to 192/24 and some dsd 64 and 128).

And here the setup:

Chris

I think Dylan means, can you please try and use a different endpoint to see what happens. If it works elsewhere then it might be something in the accuphase set up.

It is the usb interface in the nucleus that crashes, not the dac…

And… I sadly dont have another endppoint…

You use a device to control the system, play to that.

Ah, yes, my old iPad Air. I didn’t realised that this is also an endpoint…
Thank you.

I will wait for dylans reply. Ofcourse i test all they want, if i can. But this would change also the nucleus output driver/interface that is used for the usb output - and this is crashing.

I think the point is that they want to know exactly what the problem is. So to narrow down the possibilities if you test, as they suggested, on a different endpoint and it crashes then that tells them things, it also tells them things if it doesn’t.

Yes… I let this run now over my iPad…
Usually it takes a day or two until this happens(with the Accuphase setup)
I am curious if this also happening on my iPad…

1 Like

Hi dylan,

it stops also with my ipad as an endpoint. It looks not like the same reason as with the accuphase, but it stops.

I switched back to my accuphase. I disabled the mqa decoder and start again with my accuphase.

By the way, why roon dont offer native dsd to my dac?it only offers dop and origindcs. But the DC-37 can handle up to dsd 128.

Kind regards
Chris

Hi @Chris0,

Not all DACs support native DSD linux drivers, native DSD support has to be patched into the kernel.

Can you clarify what occurs on the iPad? Do you also have stoppages there with Roon Radio? When the Accuphase is in this state where playback cannot be started, does the iPad still work as expected?

Hello noris,

Can you clarify what occurs on the iPad?

It stops playing after hours of playing in RoonRadio mode.

Do you also have stoppages there with Roon Radio?

Only with RoonRadio - not also.

When the Accuphase is in this state where playback cannot be started, does the iPad still work as expected?

Yes, on the iPad everthing is fine. There are no harmfull exceptions in the logfile like with the accuphase. With the ipad there are just a lot index out of bounds entries and sometimes connection refused to the iPad.

kind regards
Chris

Hi @Chris0,

Can you please post the snippet from your log showing this error?

Since the issue occurs on both iPad and the Accuphase, this might be a networking-related issue. Could you also provide some information regarding your network setup such as model/manufacturer of your router/switches/ect.?

Do you have the default ISP DNS servers or have you configured custom DNS on your router (such as Google / Cloudflare / Quad9)?

Hello Noris.

My nucleus is hardwired to the router. Using DHCP.

And…:
I wrote: It is not the same issue as with the accuphase…

Here are that logentries with the ipad as endpoint… Harmless as i told you. I am not surprised, the ipad is ofcourse wifi connected…
05/05 13:39:17 Trace: [raatserver] [RaatServer ZeroPad @ 192.168.178.22:59384] lost client connection. Retrying
05/05 13:39:17 Trace: [raatserver] [RaatServer ZeroPad @ 192.168.178.22:59384] connecting (attempt 1)
05/05 13:39:17 Trace: SENT NONFINAL DistributedBroker.ConnectResponse={ BrokerId=1b184a94-f137-4eea-b8e0-430e8de790d4 BrokerName=‘Nucleus+’ }
05/05 13:39:17 Trace: SENT NONFINAL DistributedBroker.UpdatesChangedResponse={ IsSupported=True WasJustUpdated=False Status=‘UpToDate’ HasChangeLog=False CurrentVersion={ MachineValue=100700537 DisplayValue=‘1.7 (build 537) stable’ Branch=‘stable’ } }
05/05 13:39:17 Warn: [rnet/RnetJsonClient] failed to connect Connection refused 192.168.178.22:59384
05/05 13:39:17 Trace: [raatserver] [RaatServer ZeroPad @ 192.168.178.22:59386] client connection failed. Retrying in 500ms
05/05 13:39:17 Trace: [raatserver] [RaatServer ZeroPad @ 192.168.178.22:59386] connecting (attempt 2)
05/05 13:39:17 Trace: [raatserver] [RaatServer ZeroPad @ 192.168.178.22:59386] connected
05/05 13:39:17 Trace: [rnet/RnetJsonClient] SENT {“request”:“enumerate_devices”,“subscription_id”:“0”}

And now compare that to the dead usb interface showed in the logfiles in this initial post…

And last but not least:

When the Accuphase is in this state where playback cannot be started, does the iPad still work as expected?
The Accuphase cant restart because of the dead usb interface…

You guys didnt even look into the top logfiles, or?

Kind regards
Chris

Hello @Chris0,

The Nucleus communicates with connected USB DACs using the standard Linux ALSA driver set.

Looking at the logs, it appears that the Accuphase USB chipset is becoming unresponsive when the driver is attempting to have it switch from 24/88.2 playback to 16/44.1.

Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] using hw pcmformat S32_LE bitspersample 24
Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Requesting 2 periods
Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Requesting 3528 frames/buffer (1764 frames/period)
Trace: [RAAT::Accuphase USB Audio Product2] [ALSA] [hw:CARD=Product2,DEV=0] Initialized with 2 periods with 1764 frames/period and 3528 frames/buffer
Error: [RAAT::Accuphase USB Audio Product2] error in snd_pcm_hw_params: Input/output error (-5)

Since Roon is using ALSA as the medium between itself and the DAC, it is likely that this issue is due to an incompatibility between the Accuphase USB chipset and ALSA.

As a test, could you enable the “Headroom management” feature in Roon and attempt to play Roon Radio for an extended period of time? Headroom management will result in a consistent 24bit or 32bit stream to your DAC (Roon performs 64bit DSP and then dithers to the highest bit-depth your DAC supports) preventing the 24->16 switch. This would help isolate what the cause of the issue is.

-John

Hello John,

i agree with your thesis. The issue is very likely between the USB Chipset and ALSA. I also think it increases the chance of fail when switching the bitdepth. All in all it is strange that this happens rare and is not solid reproduceable, which doesn’t agree with a real “incompatibility”. Most of the time it works…

With completely excluding MQA the roonradio runs over the last days without any fail. But this is maybe only, because the amount of bitdepth changing per time are reduced enough caused by excluding MQA. - or it’s just random…

I follow your advice and enable the headroom to ensure allways the same bitdepth. Which also reduces the number of switches. Now only the divider switch is left, but that is hopefully not involved.
I also re-enable the MQA-Decoder of roon.

By the way: This is the USB Chip:

USB-Chip-Accuphase-DC-37

I will report what happens in the next days…

Kind regards
Chris

PS: In what timecycle the logfiles get deleted? Until now i did this manually…

PSPS: I dont know why some textparts are sometimes bold… Sorry for that…

Hello @Chris0,

Appreciate the details about your testing! My experience is that there is often a “race condition” in cases like this where it may fail or not fail based on the timing of the commands. The bit-depth change is the most common culprit for this.

PS: In what timecycle the logfiles get deleted? Until now i did this manually…

Each time Roon is restarted it will open a new log file. When the per-log max of 66k lines is reached, Roon will then open a new file and increment the old filename by one.

The Roon database stores up to 20 log files and will automatically delete the oldest files as new log files are generated.

-John

Hello John,

back for report. It plays still without errors with the bitdepth upscale made by the headroom management. So it seems to be really between the USB-Chip and ALSA.
Do you think there is a realistic chance that this will be fixed? Would be nice not to be forced to manipulate volume(headroom) just to avoid that issue.

Kind regards
Chris

Hello @Chris0,

Considering the issue is related to the USB chipset, I imagine any fix would be difficult to implement. We have little to no diagnostic information on our end—all we know is that the USB chipset is failing to respond when ALSA requests the bit-depth change. Accuphase would be best positioned to determine the cause of the issue—they are not a Roon Tested partner so we do not have their hardware to test with.

-John

Hello @john,

thanks for the answere.

Hmm, i see there the problem in the bitmask that ALSA has in it’s command to the chip. It is rarelly just invalid. And the chipset ist not failing to respond, but the whole USB Port is crashed on the nucleus side.
Ofcourse i have no glassball, but from the technical side it looks a lot like a prob inside ALSA.

But… The real problem is, that Accuphase is no roonpartner. And i further expect there would be no reaction on there side (help exemining) this problem.

Kind regards
Chris