Losing Audio Zone in 1.2

@brian @mike, it looks as though build 128 has fixed the problem of temporary dropouts of audio zones. I haven’t seen any RAATserver crashes on the machines showing the dropout problem since installing 128. Great job, thanks.

2 Likes

All of my issues are resolved. Thanks so much!!

1 Like

Smooth sailing for me too after the update. No audio zone drops during an extended listening session. Great job - and thanks!

1 Like

Audio zones are now rock solid, so that’s good.

But now I had 2 times no sound when selecting a different track and 1 time the message that roon lost control of the endpoint. Audio zone stayed. Only powercycling the DAC and roon helped.

In my mind I throw all these points into one basket, but they might not be related.

No audio zone drops anymore, but now I get frequent network connection losses. Problem started right after upgrade. Configuration: Surface Pro 2 with headphone dac, music database on Mac Mini.

Have you tried running without firewalls on both machines to see if that helps?

I have also noticed lose of audio zone with 1.2 and the problem persist with the latest update.
I have RoonServer running on an iMac, a raspberryPi running RoonBridge and using iPhone or macbook as controler.

It would work for hours but if I stop listening to music, after a few hours or the next day (hard to know exactly how long) the connection to the audio zone would disappear.

The iMac being in a different room than my listening room (and being lazy) I remotely connect to the iMac and it usually wake RoonServer up.

The log file show the below, hopefully it will help the investigation


04/26 21:35:05 Info: [stats] 2839mb Virtual, 132mb Physical, 110mb Managed, 33 Threads, 58 FDs (31 REG, 12 IPv4, 4 CHR, 3 KQUEUE, 3 PIPE, 3 DIR, 1 systm, 1 unix)
    04/26 21:35:20 Info: [stats] 2839mb Virtual, 134mb Physical, 110mb Managed, 33 Threads, 57 FDs (31 REG, 11 IPv4, 4 CHR, 3 KQUEUE, 3 PIPE, 3 DIR, 1 systm, 1 unix)
    04/26 21:35:25 Info: [transport] woke up; re-enabling transport if needed
    04/26 21:35:25 Trace: [transport] enabling transport
    04/26 21:35:25 Trace: [raat] [sood] Refreshing device list
    04/26 21:35:25 Trace: [raatserver] [sood] Refreshing device list
    04/26 21:35:25 Info: [loadstatus] IsTransportLoading False => True
    04/26 21:35:25 Warn: [multicastreceiver] couldn't bind to iface 127.0.0.1: Object reference not set to an instance of an object
    04/26 21:35:25 Warn: [multicastreceiver] couldn't bind to iface 192.168.1.220: Object reference not set to an instance of an object
    04/26 21:35:25 Info: [hqplayer] initializing integration
    04/26 21:35:25 Info: [transport] enabling meridian streaming
    04/26 21:35:25 Info: [transport] initialized
    04/26 21:35:25 Info: [loadstatus] IsTransportLoading True => False
    04/26 21:35:25 Trace: [transport/raat] RAATServer discovered: RaatServer imac27 @ 127.0.0.1:61020
    04/26 21:35:25 Info: [transport/raatserver] GOT SERVER 73507a41-427a-9aa2-22df-cda27600b548::75496bfd-c01d-471a-9239-9dc49d64215c @ 127.0.0.1:61020 imac27 PROTOVER=1 RAATVER=1.0.16
    04/26 21:35:25 Trace: [transport/raatserver] [RaatServer imac27 @ 127.0.0.1:61020] connecting (attempt 1)
    04/26 21:35:25 Trace: [rnet/RnetJsonClient] Change State Disconnected => Connected
    04/26 21:35:25 Trace: [transport/raatserver] [RaatServer imac27 @ 127.0.0.1:61020] connected
    04/26 21:35:25 Trace: [transport/raatserver] [RaatServer raspberrypi @ 192.168.1.81:56456] connected
    04/26 21:35:25 Trace: [rnet/RnetJsonClient] SENT {"request":"enumerate_devices","subscription_id":"0"}
    04/26 21:35:25 Trace: [transport/raatclient] Initializing RAAT session
    04/26 21:35:25 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "Success"}
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/base.lua as module base [727 chars]
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/dkjson.lua as module dkjson [22416 chars]
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/protocol.lua as module protocol [1984 chars]
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/roon.lua [32660 chars]
    04/26 21:35:25 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "Success", "devices": [{"device_id": "hw:CARD=sndrpihifiberry,DEV=0", "name": "snd_rpi_hifiberry_digi", "type": "alsa", "discovery_data": {"tcp_port": 56208, "protocol_version": "3", "unique_id": "ac3db349-05e0-dae8-6443-6f4983e7dbb4", "raat_version": "1.0.16", "model": "N/A", "version": "N/A", "vendor": "N/A"}, "config": {"external_config": {"resync_delay": 1, "max_bits_per_sample": 24, "max_sample_rate_multiplier": 4}, "unique_id": "ac3db349-05e0-dae8-6443-6f4983e7dbb4", "volume": null, "output": {"name": "snd_rpi_hifiberry_digi", "device": "hw:CARD=sndrpihifiberry,DEV=0", "max_bits_per_sample": 24, "type": "alsa", "buffer_duration": 0.5, "force_max_volume": true}}}]}
    04/26 21:35:25 Info: [transport/raatserver] GOT DEVICE 44716031-d34c-4f06-9f4f-a28f276e0ce7::hw:CARD=sndrpihifiberry,DEV=0 Type=alsa Name=snd_rpi_hifiberry_digi
    04/26 21:35:25 Trace: [rnet/RnetJsonClient] SENT {"request":"enable_device","device_id":"hw:CARD=sndrpihifiberry,DEV=0","subscription_id":"5"}
    04/26 21:35:25 Info: [transport/raatserver] [snd_rpi_hifiberry_digi] connecting (attempt 1)
    04/26 21:35:25 Trace: [transport/raatclient] Initializing RAAT session
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/base.lua as module base [727 chars]
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/dkjson.lua as module dkjson [22416 chars]
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/protocol.lua as module protocol [1984 chars]
    04/26 21:35:25 Trace: [transport/raatclient] Loading script /Applications/RoonServer.app/Contents/Resources/RoonAppliance.app/Contents/Resources/roon.lua [32660 chars]
    04/26 21:35:25 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "Success"}
    04/26 21:35:25 Trace: [transport/raatclient] RAAT Session initialized
    04/26 21:35:25 Trace: [transport/raatclient] SENT [2]{"request":"info"}
    04/26 21:35:26 Trace: [transport/raatclient] GOT [2] {"info":{"unique_id":"ac3db349-05e0-dae8-6443-6f4983e7dbb4"},"platform":{"uname":{"nodename":"raspberrypi","machine":"armv7l","sysname":"Linux","version":"#838 SMP Tue Feb 9 13:15:09 GMT 2016","release":"4.1.17-v7+"},"os":"linux"},"source_selection":{"info":[],"is_supported":false},"status":"Success","transport":{"info":[],"is_supported":false},"output":{"info":{"alsa_device":{"mixername":"","longname":"snd_rpi_hifiberry_digi","name":"snd_rpi_hifiberry_digi","id":"sndrpihifiberry","components":"sndrpihifiberry","driver":"snd_rpi_hifiber"}},"supported_formats":[{"sample_type":"pcm","channels":1,"bits_per_sample":16,"sample_rate":44100},{"sample_type":"pcm","channels":1,"bits_per_sample":24,"sample_rate":44100},
{"sample_type":"pcm","channels":2,"bits_per_sample":24,"sample_rate":44100},{"sample_type":"pcm","channels":2,"bits_per_sample":16,"sample_rate":192000},{"sample_type":"pcm","channels":2,"bits_per_sample":24,"sample_rate":192000},{"sample_type":"pcm","channels":2,"bits_per_sample":32,"sample_rate":192000}]},"volume":{"info":[],"is_supported":false}}
04/26 21:35:26 Info: Change State Disconnected => Connected
    04/26 21:35:26 Trace: [transport/raatserver] [snd_rpi_hifiberry_digi] connected
    04/26 21:35:26 Info: [transport] creating endpoint for raat device ac3db349-05e0-dae8-6443-6f4983e7dbb4

Hello @Patrick_Silani,

I have few questions to clarify:

  • RPI zone is the only one which disappears after some time passes ? Are you still able to see Mackbook/iPhone zones?
  • What OS do you use on your PI?
  • How all your machines are connected with each others (wifi/wires)?
  • What do you mean under wake RoonServer up ? Roon/RoonServer has no sleep state, so maybe you were talking about your iMac?

Thanks

Hi @vova, sorry for the late reply.

  • No, all zone are disappearing.
  • Raspbian 8. Kernel 4.1.17-v7+
  • All via wifi
  • The iMac is awake but roonserver doesn’t do anything. I have a console with a tail -f command looking at the logs and nothing happen. starting Roon (remote mode) on the iMac seems to “wake” roonserver up and the log I’ve copied in my post earlier are coming up. I used the term wake up because if you look in the logs, you’ll see [transport] woke up.
    Until 21:35:20 I couldn’t see any zone, from 21:35:26 I could.

Hope it helps, thanks for looking at my issue.

Cheers

Seems like problem finally got solved, Roon played during 2 hours without problems. Probable cause (if not just coincidental): I changed settings for meridian explorer wasapi driver to exclusive mode, like I guess they where before the upgrade. The ME is connected to a W10 Surface Pro, communicating with a Mac Mini Roon server. Strange enough, after the change, the Surface immediately started playing in full quality (purple dot), instead of compressed quality (orange dot), as if Roon did some (unwanted) conversion on the fly when I experienced the problems?