HQP loses control of the app in Roon after 1-2 hours

I’m on a Mac iOS 14.1.2 using Roon and HQP 5.30 (but it did this on 4.X too)

Just stops dead in the middle of a song and says Roon Has Lost Control of HQ Player. (not positive of the wording.

I turned on Log files in the Advanced Tab - but don’t know how to find the logs. I’ve looked everywhere.

I does this once a day, usually late afternoons if that matters. Always after an hour or more of listening.

It is mentioned in the manual Troubleshooting-section. But on macOS you can find log file from “~/.hqplayer” folder.

Both Roon and HQPlayer on the same machine? And HQPlayer IP is set to 127.0.0.1 or “localhost”. And output to a DAC is through local USB connection?

That sounds like DHCP lease expiring and potentially IP address getting changed as result.

But what is the solution? I had this with a SOtM SMS-200 Neo. Tried fixing the IP both on the SOtM and the router. Never did get to the bottom of it and eventually gave up. I probably haven’t tried using HQPlayer in 2 years now.

Fixed IP on both SMS-200 and your HQPlayer computer?

It is either glitch of the router, or one of the involved devices using DHCP. Solution is to use fixed IP’s instead of DHCP. You just need to make sure there are no IP conflicts, so the fixed IP’s must be outside the router’s DHCP assignment range and must not conflict with each other.

I have been away from home where the SOtM is for months but back for Xmas. I’m pretty sure I fixed the IP on all devices at the time. I’ll try a gain. Maybe I overlooked some conflict. But as long as I know that fixing the IP’s is what I need to pay attention to its worth trying again.

Both Roon and HQP on the same iMac. HQP on localhost, output via network to SOtM SMS200 Ultra Neo to Hugo TT2. The SOtM is on a fixed IP.

That sounds like DHCP lease expiring and potentially IP address getting changed as result.

I checked my router settings and the DHCP lease time was 120 min - I changed it to 360 min lets see if that solves it.

The odd thing is that I haven’t made any router changes and this issue started about 4-months ago but never before. And, I’m positive I’ve listened for my than 2-hours previously.

OK, I was listening for a couple of hours and Roon/HQP just stopped dead mid-song. Here’s the Log output. I’m not sure what it means:

& 2023/12/22 15:52:29 Playlist clear
& 2023/12/22 15:52:29 Playlist add URI: http://127.0.0.1:30000/87adb7bc40d64507b79624e27a887a52/stream.raw
& 2023/12/22 15:52:29 Play
2023/12/22 15:52:29 Offload: resampler=disabled convolution=disabled

  • 2023/12/22 15:52:29 Playback engine running
    2023/12/22 15:52:29 Offload: resampler=disabled convolution=disabled
    2023/12/22 15:52:29 SDM conversion parameters (8, 0)
    2023/12/22 15:52:29 DSD 6 dB gain disabled
    2023/12/22 15:52:29 NAA output set sampling rate: 768000 (768000)
    2023/12/22 15:52:29 Automatic output rate: 768000
    2023/12/22 15:52:29 Rate or blocksize change triggered
    2023/12/22 15:52:29 Rate: 96000, block size: 7680, frame size: 1280
    2023/12/22 15:52:29 Block size: 7680 (sample: 3)
    2023/12/22 15:52:29 Analysis initialized
    2023/12/22 15:52:29 Playback engine ratio: 8
    2023/12/22 15:52:29 Filter: sinc (long low)
    2023/12/22 15:52:29 Dither: 15th order linear noise shaping for 32-bit
    2023/12/22 15:52:29 Set volume: -3 +
    2023/12/22 15:52:29 Offload: resampler=disabled convolution=disabled
    2023/12/22 15:52:29 Initialization complete, starting audio engine
    2023/12/22 15:52:29 Teams: 1
    2023/12/22 15:52:29 Places: 0
    2023/12/22 15:52:29 Parallel threads: 8
    2023/12/22 15:52:29 Nested parallelism: 4
    2023/12/22 15:52:29 Parallel pipelines: 4
  • 2023/12/22 15:52:29 NAA output network engine starting…
    2023/12/22 15:52:29 NAA output network format: 768000/32/2 [pcm]
    2023/12/22 15:52:29 NAA output network PCM streaming
    2023/12/22 15:52:30 NAA output sampling rate: 768000 (768000)
    2023/12/22 15:52:30 NAA output channels: 2 (2)
  • 2023/12/22 15:52:30 NAA output network engine started at: 768000
    2023/12/22 16:32:43 End of track at 2413.95/0/-2413.95
    & 2023/12/22 16:32:43 Next (6)
    2023/12/22 16:32:43 Idle request
    & 2023/12/22 16:32:45 Playlist clear
    & 2023/12/22 16:32:45 Playlist add URI: http://127.0.0.1:30000/167837a9d6a344b4ab6718940a3641d4/stream.raw
    & 2023/12/22 16:32:45 Play
    2023/12/22 16:32:45 Offload: resampler=disabled convolution=disabled
    2023/12/22 16:32:45 Offload: resampler=disabled convolution=disabled
    2023/12/22 16:32:45 SDM conversion parameters (8, 0)
    2023/12/22 16:32:45 DSD 6 dB gain disabled
  • 2023/12/22 16:32:45 NAA output network engine stopping…
  • 2023/12/22 16:32:47 NAA output network engine stopped
    2023/12/22 16:32:47 NAA output set sampling rate: 705600 (705600)
    2023/12/22 16:32:47 Automatic output rate: 705600
    2023/12/22 16:32:47 Rate or blocksize change triggered
    2023/12/22 16:32:47 Rate: 44100, block size: 2352, frame size: 588
    2023/12/22 16:32:47 Block size: 2352 (sample: 2)
    2023/12/22 16:32:47 Analysis initialized
    2023/12/22 16:32:47 Playback engine ratio: 16
    2023/12/22 16:32:47 Filter: sinc (long low)
    2023/12/22 16:32:47 Dither: 15th order linear noise shaping for 32-bit
    2023/12/22 16:32:47 Set volume: -3 +
    2023/12/22 16:32:47 Offload: resampler=disabled convolution=disabled
    2023/12/22 16:32:47 Initialization complete, starting audio engine
  • 2023/12/22 16:32:47 NAA output network engine starting…
    2023/12/22 16:32:47 NAA output network format: 705600/32/2 [pcm]
    2023/12/22 16:32:47 NAA output network PCM streaming
    2023/12/22 16:32:47 NAA output sampling rate: 705600 (705600)
    2023/12/22 16:32:47 NAA output channels: 2 (2)
  • 2023/12/22 16:32:47 NAA output network engine started at: 705600
    2023/12/22 16:32:51 Offload: resampler=disabled convolution=disabled

2023/12/22 17:16:39 NAA output clSocket::Send(): send(): Bad file descriptor

! 2023/12/22 17:16:39 NAA output clNetEngine::PushPCM(): clNetEngine::SendStreamPCM(): clSemaphore::Wait() (16398)
! 2023/12/22 17:16:39 clHQPlayerEngine::Execute(): push to FIFO failed
2023/12/22 17:16:39 Stop request (reset)
& 2023/12/22 17:16:39 Stop…

  • 2023/12/22 17:16:39 Playback engine stopped
    & 2023/12/22 17:16:39 …stopped
    2023/12/22 17:16:39 Set volume: -3 +
  • 2023/12/22 17:16:39 Control ended from 127.0.0.1:55083
    2023/12/22 17:16:40 NAA output network Audio IPv6 support disabled
    2023/12/22 17:16:40 NAA output discovery from 0.0.0.0
    2023/12/22 17:16:41 NAA output discovered 0 Network Audio Adapters
    2023/12/22 17:16:42 NAA output network Audio IPv6 support disabled
    2023/12/22 17:16:42 NAA output discovery from 0.0.0.0
    2023/12/22 17:16:43 NAA output discovered 0 Network Audio Adapters
    2023/12/22 17:16:44 NAA output network Audio IPv6 support disabled
    2023/12/22 17:16:44 NAA output discovery from 0.0.0.0
    2023/12/22 17:16:45 NAA output discovered 0 Network Audio Adapters
    2023/12/22 17:16:46 NAA output network Audio IPv6 support disabled
    2023/12/22 17:16:46 NAA output discovery from 0.0.0.0
    2023/12/22 17:16:47 NAA output discovered 0 Network Audio Adapters
    2023/12/22 17:16:48 NAA output network Audio IPv6 support disabled
    2023/12/22 17:16:48 NAA output discovery from 0.0.0.0
    2023/12/22 17:16:49 NAA output discovered 0 Network Audio Adapters
    2023/12/22 17:16:50 NAA output network Audio IPv6 support disabled
    2023/12/22 17:16:50 NAA output discovery from 0.0.0.0
    & 2023/12/22 17:16:50 NAA output discovered network audio: name=‘sMS-200-NAA’ version=‘Signalyst Network Audio Daemon 4.4.0’ @192.168.0.123:43210
    & 2023/12/22 17:16:50 NAA output discovered network audio: name=‘sMS-200-NAA’ version=‘Signalyst Network Audio Daemon 4.4.0’ @192.168.0.123:43210
    2023/12/22 17:16:51 NAA output discovered 1 Network Audio Adapters
  • 2023/12/22 17:16:51 NAA output connect to 192.168.0.123:43210 [ipv4]
    2023/12/22 17:16:51 NAA output network format: 32000/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 44100/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 48000/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 88200/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 96000/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 176400/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 192000/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 352800/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 384000/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 705600/32/2 [pcm]
    2023/12/22 17:16:51 NAA output network format: 768000/32/2 [pcm]

You have some kind of network problem between HQPlayer and NAA in question. The connection was lost and then re-established. Did the NAA IP change or was it also at 192.168.0.123 before?

If you have DHCP in use, then it could be potentially loss of DHCP lease issue due to some lease renewal problem.

The SOtM SMS200 Ultra Neo is setup with a fixed IP address 192.168.0.123.

I have the IP lease set for about 4-hours.

In the NAA setup for the the SOtM there is a “Period Time” setting of 4096. Which is the default. Could this have any bearing on the issue??

But still DHCP in use? So not a static IP that is manually assigned and outside the DHCP server’s assignment range? Because it could still have a lease expiration problem every four hours…

There shouldn’t be any such settings. But I doubt it would cause disconnection with HQPlayer either.