Mac stopping audio playback and audio devices dissapeared

audio stops playing and mac audio devices dissapear and wont show up again until raat folder deleted, server and app restarted… then i can play music again for few minutes.

without interacting with roon app, in the middle of the playback, it looks like raat server restarted.

raat log relevant entries (music started playing at 13:10:33 and stopped by itself at 13:29:14:

11/14 13:10:33 Trace: [RAAT::System Output] [coreaudio] starting playback: now (11188260416ns) + ns_per_buf(42666666ns) = 11230927082ns > 11228111042ns streamsample=0
11/14 13:29:14 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  GOT [17] {"request":"end_stream"}
11/14 13:29:14 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  SENT [15] {"status":"Ended"}
11/14 13:29:14 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  SENT [17] {"status":"Success"}
11/14 13:29:14 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  GOT [18] {"request":"teardown"}
11/14 13:29:14 Trace: [RAAT::System Output] [coreaudio] teardown
11/14 13:29:14 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  SENT [14] {"status":"Teardown"}
11/14 13:29:14 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  GOT [19] {"request":"setup","format":{"sample_type":"pcm","sample_rate":176400,"bits_per_sample":24,"channels":2,"sample_subtype":"none"}}
11/14 13:29:14 Trace: [RAAT::System Output] [output/coreaudio] setup: format is pcm 176400/24/2
11/14 13:29:14 Trace: [RAAT::System Output] [coreaudio] opening 176400/24/2
11/14 13:29:14 Debug: [RAAT::System Output] [output/coreaudio] Requested buffer size 8820, Available 14-3072, Best 3072
11/14 13:29:14 Debug: [RAAT::System Output] Debug:AudioDevice buffer set to 3072
11/14 13:29:14 Debug: [RAAT::System Output] Set kAudioUnitProperty_MaximumFramesPerSlice to 3072
11/14 13:29:14 Trace: [RAAT::System Output] set hw bitspersample to 32
11/14 13:29:14 Debug: [RAAT::System Output] Sample rate: 176400.000000, bits: 32, channels: 24, bytes per frame: 96, bytes per packet: 96, frames per packet: 1 device latency: 47 stream latency: 0, safety offset: 8, buffer latency: 3072, latency: 55
11/14 13:29:14 Trace: [RAAT::System Output] 3072 samples per buf, 18432 bytes per origbuf, 18432 bytes per pcmbuf, 294912 bytes per hwbuf
11/14 13:29:14 Trace: [RAAT::System Output] starting output
11/14 13:29:15 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  got output message {"signal_path": [{"method": "coreaudio_shared", "type": "output", "quality": "high"}]}
11/14 13:29:15 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  SENT [19] {"status":"OutputMessage","message":{"signal_path":[{"type":"output","method":"coreaudio_shared","quality":"high"}]}}
11/14 13:29:15 Trace: [RAAT::System Output] [lua@0x13581ac08] [10.10.0.41:49432]  SENT [19] {"audio_port_tcp":52417,"clock_port":54509,"status":"Success","audio_port":0}
....
....
....
11/14 13:29:19 Info: Starting RAATServer v2.0 (build 1470) production on macosx
11/14 13:29:19 Info: Local time is 14/11/2024 13:29:19, UTC time is 14/11/2024 12:29:19
11/14 13:29:19 Trace: [bits] myinfo: {"os":"Mac OS X 15.1.0","platform":"macosx","machineversion":200001470,"branch":"production","appmodifier":"","appname":"RAATServer"}
11/14 13:29:19 Debug: [easyhttp] [1] POST to https://bits.roonlabs.net/1/q/roon.base.,roon.internet_discovery.,roon.raatserver. returned after 557 ms, status code: 200, request body size: 133 B
11/14 13:29:19 Trace: [bits] updated bits, in 578ms
11/14 13:29:19 Info: [RAATServer] creating RAAT__manager

Hello @juan_morra,

Thanks for reaching out with your message! For us to be able to better assist you, can we kindly ask that you resubmit a proper support ticket by filling out the questionnaire using the below link? Please select the option that best matches your specific issue type instead of simply selecting “other”, as this form was created to help diagnose issues while gathering information and it will allow the support team to be able to best assist with your specific issue type. Thank you!

https://account.roon.app/en/contact/new-ts-request

What’s happening?

· Other

Describe the issue

audio playback stops. audio devices dissapear

Describe your network setup

lan

i tried the form but i dont find any option that describes my issue. Can you suggest which one of the options should i select?

It seems like B pretty accurately reflects the symptoms you reported. E could also work

Hi @juan_morra,

I’ve merged your two topic threads concerning this issue.

It looks like you’re running MacOS Sequoia 15.1 - if that’s the case, then there are known issues with the interaction between the local RAATServer instance and Apple’s [coreaudio] kernel, most likely due to more draconian stateful network security built into MacOS 15.0+.

The team is actively investigating this class of symptom with MacOS Roon controllers. You can track our investigation here: Roon on MacOS isn't displaying any audio zones until Local Network toggle is unset and reset [Roon Investigating] - #27 by David_Moore2

In the meantime, let’s perform due diligence steps to rule out everything else.

Diagnostics indicate Roon has a Universal Audio Zone - are you running UA Console or other pro audio software that can interact directly with Apple’s audio daemon? Does this also lose the System Output as an endpoint when you see audio devices disappear in Roon?

Logs also reveal an unrelated issue but likely exacerbating playback symptoms - RoonServer is having difficulty distributing audio from local storage locations to the RAATServer instance on a Mac Studio in this environment, and tracks are stopping because the buffer falls behind the TCP stream. How precisely have you configured this network? Please list any network hardware, including routers, switches, and access points, that sits between RoonServer and the Mac.

Thank you!

i do have UAudio apollo interface and audio console software (dont have any other software using audio). ALL audio devices from mac dissapear, including internal speakers and default system output.

the network layout is;
roon rock running on dedicated i5 intel NUC connected by ethernet to L3 switch. Macbook pro and mac studio as well as other roon clients (denon avr, raspberry pi, nvidia shield, iphones, ipad) connected to same L3 switch (wireless devices use ubiquiti AP). The 2 macs were tested with ethernet and with wifi and same roon issue happens. The only clients that drop playback or dissapear from roon audio devices are the 2 macs running sequoia. All other devices playback music without any issues

My patience has run out with MacOS Sequoia and Roon; a nightmare trying to stream over my local network from my Mac mini as my Roon server and the network renderer on my MSB DAC - Roon Ready: cutting out, spurious clicks and pops, etc. So damn annoying and has been going on for two months now!

Any latest news on trying to resolve this?

My apolgoies @juan_morra as well as @David_Broughton,

Our team is still investing in possible solutions. In the meantime, if you haven’t yet, can you please navigate to macOS System Settings > Privacy & Security > Local Network , and make sure Roon is allowed. If it is already enabled, toggle it off and on again. Then reboot your Mac, and see if the same issue persists.

We’ll be on standby for your reply, thanks! :+1:

i did this and problem persist.

followed this steps in this order:

  1. klilled roon app
  2. deleted RAAT folder
  3. restarted roon server (ROCK box)
  4. started roon app

now the mac devices are duplicated. i could enable the bottom ones, audio played for few seconds then stopped. i can no longer see any of the mac devices in the “select audio zone” popup.

Hey @juan_morra,

Thanks for the update! Could you please use the directions found here and send over a set of logs to our File Uploader?

After that, let’s clear your version of Roon on the Mac:

  • Create a Backup of your current database
  • Exit out of Roon
  • Navigate to your Roon Database Location
  • Find the folder that says “Roon”
  • Rename the “Roon” folder to “Roon_old”
  • Reinstall the Roon App from our Downloads Page to generate a new Roon folder
  • Verify if the issue persists on a fresh database before restoring the backup

Thank you!

just uploaded the logs to your server.

1.- deleted Library/Roon folder.
2.- deleted Roon from Applications
3.,- downloaded roon app from your download link and installed it
4.- it detected ROCK and connected to it. I still dont see any mac audio device. i can see all other devices in the nework. problem persists
5.- uploaded the logs after reinstall as a separate upload to your server

@juan_morra ,

You mentioned that you weren’t met with success after toggling Roon in the system setting local network section. I’ve seen functions restored to Roon on a machine “when I performed this while the application was still running.”

If I performed a restart that functionality went away until I opened the application and switched off and on the toggle.

You may or may not have done the same but I think its worth mentioning. Also you should consider an upgrade to macOS Sequoia 15.1.1. That won’t solve the overall issues with Roon and Sequoia which appears to be on Apple’s end but it might allow you to toggle as a temporary workaround.

Apples Privacy & Security settings have some puzzling affects. There was a user in need of support for a somewhat similar issue as yours on an iPhone and a few of us volunteers attempted to help out. The user resolved the issue on their own with an incremental iOS upgrade.

unfortunately im already in sequoia 15.1.1 (yesterday tests and captured logs were done in this version). toggling the network privacy switch for roon doesnt fix it for me either.

@juan_morra ,
Sorry to hear this Juan.

@juan_morra ,

Please try this:

Step 1. Perform a backup and shutdown all endpoints and your server.

Step 2. Delete Roon

Step 3. Reboot

Step 4. Open the “Go menu” located in your Apple menu (Finder) select the drop-down “Go to folder” and then enter each line below in turn in the field to reach a given directory. Once there delete each parent directory that references the name “Roon”.

Example: When performing this action on my Macbook using “~/Library/Saved Application State” it reveals the hidden directory “com.roon.Roon.savedState”. In my example, you would select this directory for deletion.

~/Library/Application Support
~/Library/Saved Application State
/Library/Caches
~/Library/Caches

Step 5. Reinstall Roon

  • When reinstalling you should see a prompt requesting that you Allow “Roon” to find devices on local networks. Select “Allow”

Step 6. Power on your server and endpoints. Reinstall your backup

Then follow @benjamin last instructions. I would even restart for good measure. Following that I would hope that your zones are restored or you can toggle the Roon local network switch in Apples System Settings.

1 Like

Hi @juan_morra ,

One other test that may be useful here is to see what happens if you try to temporarily host the Roon Server on the Mac instead of ROCK, you can switch between them via Roon Settings → General → Disconnect. It would be curious if the issue only happens with the ROCK server and not the Mac.

i cant test that. Donly have one license and cant break roon for the rest of my family:

Hello @juan_morra ,

You can Unauthorize/Reauthorize Roon Servers as often as you wish, logging out will not affect any of the data on the server, you’ll just need to reauthorize it when switching back. The only limitation here is that one can be active at a time.