DSD Playback Fails when using Speaker Setup DSP

Core Machine (Operating system/System info/Roon build number)

Debian Stretch, AMD v1000
1.7 (build 521) stable

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

SMC NETWORK GS8P - Wired

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

Roon Bridge 1.0 (171) USB vs. Nuprime DAC-10

Description Of Issue

After Roon Server Update the activation of DSP Speaker Setup cause this issue…

02/21 15:04:08 Warn: [zoneplayer] failed to start stream System.InvalidOperationException: DSD must be processed in multiples of 8 samples
  at Sooloos.Audio.AudioStreamUtil.ComputeByteBufferSize (Sooloos.Audio.StreamFormat format, System.Int32 nsamples) [0x0000e] in <c38206d057f34436b5d6f3ea9ec0cf44>:0
  at Sooloos.Audio.ChannelDelayStream..ctor (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream backing, System.Int32[] delaysamples) [0x0019e] in <c38206d057f34436b5d6f3ea9ec0cf44>:0
  at Sooloos.Broker.Transport.SpeakerSetupItem.BuildEpilogue (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream stream, System.Collections.Generic.List`1[T] signal_path) [0x001bc] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.DspConfig.Build (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream stream, System.Collections.Generic.List`1[T] signal_path, System.Boolean has_volume_leveling_or_xfade, Sooloos.Broker.Transport.SRCPlan plan, System.Boolean initial_src_done) [0x00248] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.ZonePlayerSingleEndpointStream..ctor (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream stream, System.Boolean is_volume_leveling_enabled, System.Boolean is_xfade_enabled, Sooloos.Broker.Transport.IAudioDevice device, Sooloos.Broker.Transport.SRCPlan plan, System.Boolean initial_src_done) [0x00241] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatZonePlayer.StartStream (Sooloos.Broker.Transport.StartStreamParameters ps) [0x0035d] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.ZonePlayerBase+<>c__DisplayClass67_0.<_StartStream>b__0 () [0x00047] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatZonePlayer+<>c__DisplayClass21_0.<Prepare>g__Finish0 () [0x00013] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatTransportClient.RefreshSupportedFormatsIfNeeded (System.Action cb_done) [0x00046] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatZonePlayer.Prepare (System.Action cb_done) [0x00033] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.ZonePlayerBase._StartStream () [0x00117] in <35eecd34a6204c77b42e44a40369c4ea>:0
02/21 15:04:08 Info: EV PLAYBACK FAILED System.InvalidOperationException: DSD must be processed in multiples of 8 samples
  at Sooloos.Audio.AudioStreamUtil.ComputeByteBufferSize (Sooloos.Audio.StreamFormat format, System.Int32 nsamples) [0x0000e] in <c38206d057f34436b5d6f3ea9ec0cf44>:0
  at Sooloos.Audio.ChannelDelayStream..ctor (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream backing, System.Int32[] delaysamples) [0x0019e] in <c38206d057f34436b5d6f3ea9ec0cf44>:0
  at Sooloos.Broker.Transport.SpeakerSetupItem.BuildEpilogue (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream stream, System.Collections.Generic.List`1[T] signal_path) [0x001bc] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.DspConfig.Build (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream stream, System.Collections.Generic.List`1[T] signal_path, System.Boolean has_volume_leveling_or_xfade, Sooloos.Broker.Transport.SRCPlan plan, System.Boolean initial_src_done) [0x00248] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.ZonePlayerSingleEndpointStream..ctor (Sooloos.Audio.AudioEnv env, Sooloos.Audio.AudioStream stream, System.Boolean is_volume_leveling_enabled, System.Boolean is_xfade_enabled, Sooloos.Broker.Transport.IAudioDevice device, Sooloos.Broker.Transport.SRCPlan plan, System.Boolean initial_src_done) [0x00241] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatZonePlayer.StartStream (Sooloos.Broker.Transport.StartStreamParameters ps) [0x0035d] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.ZonePlayerBase+<>c__DisplayClass67_0.<_StartStream>b__0 () [0x00047] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatZonePlayer+<>c__DisplayClass21_0.<Prepare>g__Finish0 () [0x00013] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatTransportClient.RefreshSupportedFormatsIfNeeded (System.Action cb_done) [0x00046] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.RaatZonePlayer.Prepare (System.Action cb_done) [0x00033] in <35eecd34a6204c77b42e44a40369c4ea>:0
  at Sooloos.Broker.Transport.ZonePlayerBase._StartStream () [0x00117] in <35eecd34a6204c77b42e44a40369c4ea>:0
02/21 15:04:08 Warn: Track Stopped Due to Error
02/21 15:04:08 Info: [zone Hot!] OnPlayFeedback StoppedEndOfMediaUnnatural
02/21 15:04:08 Debug: [zone Hot!] _Advance

Hello @Enrico_Barra,

Can you confirm that you were able to use the Speaker Setup DSP stage with DSD content in the previous (511) build of Roon without error?

-John

Hello John , yes always used without issue before latest build 521 …

Hi @Enrico_Barra,

Thanks for the additional information here. We are aware of this behavior and have opened a ticket with the dev team regarding it, I can’t comment on when exactly it will be addressed but thank you for the report!

1 Like

Since 521 update, i can’t play DSD anymore on my system : USBridge under last DietPi on RME ADI-2 Dac. :roll_eyes:!
Roon Server on Win10 64.

Hi @Stef_Dahl,

If you temporarily bypass the USBridge and have the RME connected directly to your Core, does the same behavior occur when playing DSD files?

Thank you Noris for the reply.
But same thing with USBridge Signature under the last version of Ropiee and same thing on my nuc (Roon core with the last RME Asio driver).
I try under w10 & asio, the direct native DSD instead of DOP … same “failure”.
So … no DSD with RME Adi-2 with build 521 (?)

In my log :

   02/21 08:39:24 Info: [Salon] [zoneplayer] Playing: \\ZauruxStation\music\ESOTERIC 6 GREAT JAZZ impulse [ESSI 90133-90138]\John Coltrane\Blue Train\1 - Blue Train (John Coltrane).dsf
02/21 08:39:24 Info: [Salon] [zoneplayer] Queueing: \\ZauruxStation\music\ESOTERIC 6 GREAT JAZZ impulse [ESSI 90133-90138]\John Coltrane\Blue Train\2 - Moment's Notice (John Coltrane).dsf
02/21 08:39:24 Info: [Salon] [zoneplayer]     Open Result (Playing):Result[Status=Success]
02/21 08:39:24 Info: [Salon] [zoneplayer] Starting playback
02/21 08:39:24 Debug: [easyhttp] [29] POST to https://metadata.roonlabs.net/1/albums/translate?c=tidal-fr,qobuz-fr returned after 338 ms, status code: 200

02/21 08:39:24 Warn: [zoneplayer] failed to start stream System.InvalidOperationException: DSD must be processed in multiples of 8 samples

   à Sooloos.Audio.AudioStreamUtil.ComputeByteBufferSize(StreamFormat format, Int32 nsamples)
   à Sooloos.Audio.ChannelDelayStream..ctor(AudioEnv env, AudioStream backing, Int32[] delaysamples)
   à Sooloos.Broker.Transport.SpeakerSetupItem.BuildEpilogue(AudioEnv env, AudioStream stream, List`1 signal_path)
   à Sooloos.Broker.Transport.DspConfig.Build(AudioEnv env, AudioStream stream, List`1 signal_path, Boolean has_volume_leveling_or_xfade, SRCPlan plan, Boolean initial_src_done)
   à Sooloos.Broker.Transport.ZonePlayerSingleEndpointStream..ctor(AudioEnv env, AudioStream stream, Boolean is_volume_leveling_enabled, Boolean is_xfade_enabled, IAudioDevice device, SRCPlan plan, Boolean initial_src_done)
   à Sooloos.Broker.Transport.RaatZonePlayer.StartStream(StartStreamParameters ps)
   à Sooloos.Broker.Transport.RaatZonePlayer.<>c__DisplayClass21_0.<Prepare>g__Finish|0()
   à Sooloos.Broker.Transport.RaatZonePlayer.Prepare(Action cb_done)
   à Sooloos.Broker.Transport.ZonePlayerBase._StartStream()
02/21 08:39:24 Info: [Salon] [zoneplayer] Open result (Queueing): Result[Status=Success]

02/21 08:39:24 Info: EV PLAYBACK FAILED System.InvalidOperationException: DSD must be processed in multiples of 8 samples

Hi @Stef_Dahl,

Do you have any DSP turned on for this zone? Particularly Speaker Setup DSP settings? Is the behavior the same if you disable all DSP for the RME zone?

Yes i just have a correction to compensate a difference in distance from my speakers.
It’s the good diagnostic.
Without, DSD are played… but i need to used this correction (phase compensation).
There is an upgrade, a solution ? back to 511 ?

Hi @Stef_Dahl,

Thanks for confirming that you use DSP. Unfortunately, downgrading Roon versions is not supported.

We are aware of this behavior when using Speaker Distance and have opened a ticket with the dev team regarding it.

I can’t comment on when exactly it will be addressed but thank you for the report!

1 Like

moreover this contingency occur if the output stage is the Bridge (171) Linux ARM v7 in my setup .
Same DSD+DSP speaker setup work without issue on OSX controller output zone.

Just adding to this thread that I also am seeing this issue with DSD and Speaker Setup. My transport is an Allo Usbridge > Pro-ject pre-Box S2 Digital. (the ARM v7 Roon Bridge 171)
I’ll just sit tight for now, I suppose. Glad to see it is being investigated.

1 Like

Same behaviour at my end. it works with all files except DSD files OR upsampling to DSD.

I reported elsewhere already but Invert Phase is also broken in Speaker Setup in my case (convolution filter 2–> 8 ways / speaker setup) @noris

1 Like

I also cannot play DSD files with the speaker setup engaged. This is a feature I always (used to) have engaged to compensate for my room, but can’t anymore. Could you please fix it?

Hi @James_Yamasaki,

Thanks for reaching out. Yes, we are aware of a bug here and we have a ticket open with the dev team regarding this issue. I can’t comment on an exact timeline of when this will be resolved, but we’re aware and working on the issue.

Solved on last release.

2 Likes

Hello All,

We’ve recently released Roon Build 536 which includes changes that we believe will help improve things here. Please give Roon an update on all of your devices and let us know if you still have any trouble!

You can read the full release notes here:

Thanks,
The Team At Roon Labs

1 Like

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