Queue stops after every song on Linn DAC, in case resolution (kHz or Bit rate) changes

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


Qnap NAS-879PRO on QTS 4.3.6.1411 with i7-2700K CPU 3.500GHz and 16GB RAM
ROON and Music Files are located on M.2 RAID 0 and HDD RAID 6

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

Virtual Switch on QNAP, Nic1 and NIC2 a’1GbE as trunk to switch and NIC 3 10GbE (combined with M.2 card QM2-2S10G1T) directly connected to Linn Klimax, hence NO switch is between Qnap with Roon Core with Files and Streamer.

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

LINN KLIMAX DSM (current version) connected by Ethernet CAT 8 directly with QNAP (with ROON CORE)

Description Of Issue

From beginning on my Playlists/Queue stops after every song, in case resolution (kHz or Bit rate) changes. I checked all other threats and read half of the internet.
It is the same for QOBUZ and from NAS streaming.
DSP is converting constantly to DSD64 with a conversion rate around 14x.
The song before the next song with different resolutions starts ends and Roon is still showing that it is paying at the last second of the song before.
Ich need urgent support please. I bought a lifetime license and wants to enjoy listening as I have with my Linn app.
I‘m using Ipad or Iphone and PC. No difference. So in consequence I assume it has something to do with ROON Core itself. Linn App works perfectly but with no Roon features of course. Pictures attached. Pls support!
Thanks, isi4d

As a workaround, what if you set everything to upsample to a set rate like 24/96?

What DSM version are you on?

Hi Ged, it‘s a Klimax DSM/2. Do you have experience same behavior with a Linn DSM?

No but there have been some other issues that users have reported such as this

1 Like

Hi Rugby, thanks for your quick reply. To your proposal, I have to admit that I want to drive faster with my quite expensive sports car than 50km/h. :wink: Do you have a solution if the workaround will not gonna work with my different types of resolutions? I‘m listening DSD files from NAS too. I’d prefer to enjoy the full resolution with ROON as I can do with my poor Linn app.

Until this afternoon I faced the issue with
Davaar 79 Build 383 (4.79.383) Released on 26 Aug 2020

Today updated full of hope and inspired by x-mas holidays to
Davaar 80 Build 391 (4.80.391) Released on 10 Dec 2020

Unfortunately no change and no improvement coming from Davaar 79 to Davaar 80

Oh well at least you can say you are up to date…

Well, actual Roon Support will be along to help. I was just trying to make a hopefully helpful suggestion to keep the music flowing. Not actually owning Linn equipment I cannot say if my suggestion will actually work, just that you might try it. If anything it might give support another data point to consider.

2 Likes

Much appreciate Rugby. Thanks for quick replying again.
I hope one of the Roon technology experts will chip in and offer me a simple solution. Switch on this or go there and change code, or even better, we‘ll publish a new roon version within two days, all will be solved, enjoy your day Matthias… :wink: you know what I mean.
Seriously, I hope to get it done with with great support in this community.

Any updates? Hope for help. Still very disruptive experience with Ronn. I have to use Linn app for my samplers, because playlist stops everytime resolution of file changes. Thanks in advance for support.

Hi @Matthias_Isemer,

Just to confirm, if you play to a different endpoint besides the Linn (even System Output of a remote) do you see similar issues?

Hi Dylan, fair question. I checked with Iphone 11 and PC. Signal Path is of course not same as for the Linn streamer but on PC I have BitRate conversion on.
So the answer is, no problems on other devices, no similar issues.

Can a LogFile like this helping you: It stopped after Beth Ditto 16/44 to Sean Rowe 96/24


12/20 17:15:35 Trace: [Leben] [Enhanced 10.6x, 16/44 FLAC => DSD64] [84% buf] [PLAYING @ 3:11/3:24] I Wrote the Book - Beth Ditto

12/20 17:15:35 Trace: [library] endmutation in 50ms

12/20 17:15:36 Trace: [library] endmutation in 50ms

12/20 17:15:37 Trace: [library] endmutation in 43ms

12/20 17:15:37 Trace: [library] endmutation in 42ms

12/20 17:15:38 Trace: [library] endmutation in 45ms

12/20 17:15:38 Trace: [library] endmutation in 51ms

12/20 17:15:39 Trace: [library] endmutation in 43ms

12/20 17:15:39 Trace: [library] endmutation in 50ms

12/20 17:15:40 Trace: [library] endmutation in 42ms

12/20 17:15:40 Trace: [Leben] [Enhanced 10.6x, 16/44 FLAC => DSD64] [30% buf] [PLAYING @ 3:16/3:24] I Wrote the Book - Beth Ditto

12/20 17:15:40 Trace: [library] endmutation in 48ms

12/20 17:15:40 Info: [zoneplayer/signal] set crossfade bounds to startframes=9984 endframes=32972159 framecount=32962175

12/20 17:15:40 Info: [zoneplayer/signal] set crossfade bounds to backinglen=33577338 noisestart=104 noiseend=343460 total=349763

12/20 17:15:40 Info: changemedia media=Sooloos.Broker.Transport.TransportTrack track=ZonePlayerTrack(UserTrackId=T209, BackingFormat=StreamFormat(channels=2, bitspersample=24, samplerate=96000, isdts=False))

12/20 17:15:40 Trace: [prebuffer] ready 326400/960000 (34%) @ 0/349 sec

12/20 17:15:41 Trace: [library] endmutation in 47ms

12/20 17:15:41 Critical: [scd] [Linn Klimax DSM] [client:192.:50917] AudioThread: System.InvalidOperationException: invalid nsamples

at Sooloos.Broker.Transport.SongcastDirectZonePlayer+ScdClientConnection+<>c__DisplayClass41_0.<Msg_Audio>b__0 (System.IO.Stream s) [0x00045] in <d4adb948e806436690e64f0c72e9fcd0>:0

at Sooloos.Broker.Transport.SongcastDirectZonePlayer+ScdClientConnection.Msg (Sooloos.Broker.Transport.SongcastDirectZonePlayer+ScdClientConnection+MsgType type, System.Action`1[T] writebody) [0x00011] in <d4adb948e806436690e64f0c72e9fcd0>:0

at Sooloos.Broker.Transport.SongcastDirectZonePlayer+ScdClientConnection.Msg_Audio (System.Byte[] buf, System.Int32 off, System.Int32 nsamples) [0x0001b] in <d4adb948e806436690e64f0c72e9fcd0>:0

at Sooloos.Broker.Transport.SongcastDirectZonePlayer+ScdClientConnection.AudioThread () [0x002ff] in <d4adb948e806436690e64f0c72e9fcd0>:0

12/20 17:15:47 Trace: [Leben] [Enhanced 10.6x, 16/44 FLAC => DSD64] [30% buf] [PLAYING @ 3:21/3:24] I Wrote the Book - Beth Ditto

12/20 17:15:48 Info: [stats] 8103mb Virtual, 3284mb Physical, 1969mb Managed, 0 Handles, 113 Threads

12/20 17:15:49 Trace: [library] endmutation in 64ms

12/20 17:15:51 Trace: [library] endmutation in 63ms

12/20 17:15:57 Trace: [library] endmutation in 57ms

12/20 17:16:00 Trace: [library] endmutation in 62ms

12/20 17:16:03 Info: [stats] 8103mb Virtual, 3285mb Physical, 1982mb Managed, 0 Handles, 110 Threads

12/20 17:16:03 Trace: [library] endmutation in 57ms

12/20 17:16:06 Trace: [library] endmutation in 56ms

12/20 17:16:07 Trace: [Leben] [Enhanced 10.6x, 16/44 FLAC => DSD64] [30% buf] [PLAYING @ 3:21/3:24] I Wrote the Book - Beth Ditto

12/20 17:16:08 Trace: [library] endmutation in 63ms

12/20 17:16:08 Trace: [zone Leben] Next

HERE I PUSHED NEXT MANUALLY, BECAUSE END OF THE SONG, STOPPED

12/20 17:16:08 Info: [zone Leben] OnPlayFeedback Stopped

12/20 17:16:08 Info: [zone Leben] Canceling Pending Sleep

12/20 17:16:08 Info: [Leben] [zoneplayer] BufferingTrack == NextTrack during ClearQueuedMedia, setting _stop_on_next_track_transition

12/20 17:16:08 Debug: [zone Leben] _Advance

12/20 17:16:08 Trace: [zone Leben] Selecting Source state=Stopped

12/20 17:16:08 Trace: [Leben] [Enhanced, 16/44 FLAC => DSD64] [30% buf] [STOPPED @ 0:00/5:49] [Untitled] - Sean Rowe

12/20 17:16:08 Trace: [scd] [Linn Klimax DSM] Transition Connected => Idle

12/20 17:16:08 Info: [library] recorded play for profile e43fc034-6ae0-45b9-9d2a-740014ae3072: mediaid=50:1:5f781fe2-78de-4feb-a02c-b040487f954e metadataid=123:0:MT0041383716 contentid= libraryid=50:1:5f781fe2-78de-4feb-a02c-b040487f954e isfromswim=False

12/20 17:16:08 Info: [audio/env] [zoneplayer -> stream] All streams were disposed

12/20 17:16:08 Info: [audio/env] [zoneplayer] All streams were disposed

12/20 17:16:08 Info: [scd] [Linn Klimax DSM] [client:192.xxx.xxx.xxx:50917] OnRead(off=0, count=0)

12/20 17:16:08 Trace: [library] finished with 4 dirty tracks 1 dirty albums 5 dirty performers 5 dirty works 4 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 15 changed objects

12/20 17:16:08 Trace: [Leben] [Enhanced, 16/44 FLAC => DSD64] [30% buf] [LOADING @ 0:00] [Untitled] - Sean Rowe

12/20 17:16:08 Trace: [musicpowerstate] music is playing, preventing idle sleep

12/20 17:16:08 Trace: updated recents in 15ms

12/20 17:16:08 Trace: updated recents in 0ms
1 Like

Hi @Matthias_Isemer,

Thanks for the log, let me get these traces over to the team for closer review.

In the meantime, can you please confirm if this same behavior occurs on a non-QNAP Core with the same settings in place?

You can use these instructions to switch Cores:

  • Create a Backup of your current database
  • Open Roon on the other PC you wish to try as the Core
  • Roon Settings -> General
  • Disconnect
  • On the “Choose your Core” screen, press “Use this PC”
  • If asked to Unauthorize, you can go ahead and do so. You are limited to one active Roon Core at a time but you are free to switch between them as often as you’d like.
  • Verify if the same behavior occurs on the different PC

Thank you Noris! I’m testing, but I miss one step propably. Please check below:

Hi Noris, I gathered my courage and registered the Roon Core on my PC after importing the Roon (QNAP) settings from backup. Your tutorial was very helpful and good. Unfortunately the test was not successful either. The queue stopped before the next song in the last second.
The Roon Core and the music files were stored locally on the PC.
Pictures attached.

  1. song from Milow : MP3 48kHz/24bit
  2. song by Nils Frahm : Flac 96kHz/24bit
    Queue stops.



    Any further idea what else I could test? I’m a bit desperate. Thanks in advance, Matthias

What if you turn all the DSP OFF and just play the source as is.

Hi Rugby, I double-checked after your hint. Signal Path consists just of source and streamer. Unfortunately the queue stops even then. Hence the issue is still open.

Three days ago I restarted the Roon server because of a standard update. I was very hopefull.
I repeated my test procedure and think I was able to isolate the problem a little further. I think it is the bit conversion. Now only the DSD64 bit rate conversion hangs. Unfortunately DSD64 is my first choice. Please find the test results below. Does this help you to work on a solution?

1 Like

If you choose custom and DSD 64 as the output does it stop?