Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Sonoma 14.2 Update Bluetooth Multi-Device Aggragates Don't Work #758

Open
4 of 7 tasks
daakal opened this issue Dec 18, 2023 · 33 comments
Open
4 of 7 tasks

After Sonoma 14.2 Update Bluetooth Multi-Device Aggragates Don't Work #758

daakal opened this issue Dec 18, 2023 · 33 comments
Labels
Blame Apple wontfix This will not be worked on

Comments

@daakal
Copy link

daakal commented Dec 18, 2023

Please Confirm

  • I have read the FAQ and Wiki where most common issues can be resolved
  • I have searched Discussions to see if the same question has already been asked
  • This is a bug and not a question about audio routing or configuration, which should be posted in Discussions

macOS Version

macOS 13 Ventura

BlackHole Build(s) Affected

  • 2 channel
  • 16 channel
  • 64 channel
  • other/custom build

Describe the bug

M1 MBP 13" 32gb running macOS Sonoma 14.2. Blackhole-2ch worked perfectly for the previous OS 14.1 and for all of 2022-2023. After the weekend update patch, experienced cycling of microphone and audio devices rapidly in Zoom, watching sound profiles I could see the menu refresh each cycle, and through testing discovered the issue did not present itself to other systems or Zoom if I connected either the local MacBook speakers, or direct to the Bluetooth headset (tried multiple). But as soon as I connected the multi-device (Blackhole-2ch and something else) the issue would present across all mediums, even watching YouTube from Microsoft Edge.

Followed the steps to uninstall and re-install with terminal using brew. Had to restart once during the process as the command to restart the core audio drivers hung for 10 minutes.

Reproduction Steps

  1. confirm you have a multi-output device configured to use Blackhole-2ch (for OBS in my case, recording Zoom calls)
  2. upgrade to macOS Sonoma 14.2
  3. attempt to run OBS / Zoom, or just Zoom, or youtube and you should experience a lag effect as the system tries to run the sound through the Multi-Device Output.
  4. Switch you sound to single device (headset or speakers and repeat the above test and sound should work fine.
    experience

Expected Behavior

sound expected to connect and play through, it does not.

Screenshots

Screen Shot Audio Alert 2023-12-18 09-32-51
Screenshot 2023-12-18 at 9 12 49 AM
Screen Shot Audio Devices 2023-12-18 13-50-16

@daakal daakal added the bug Something isn't working label Dec 18, 2023
@devinroth
Copy link
Member

Does the multi-output work as expected without BlackHole?

@devinroth
Copy link
Member

Any crash logs in Console?

@daakal
Copy link
Author

daakal commented Dec 19, 2023

Does the multi-output work as expected without BlackHole?

As soon as I'm out of this meeting I'll attempt a combo of other devices.

Any crash logs in Console?

A bunch, this is the first bug I've tried to report, how would you like me to share?

Screen Shot Console 2023-12-19 09-04-13

@devinroth
Copy link
Member

devinroth commented Dec 19, 2023 via email

@daakal
Copy link
Author

daakal commented Dec 19, 2023

logs.zip

@devinroth
Copy link
Member

devinroth commented Dec 19, 2023 via email

@devinroth
Copy link
Member

What version of BlackHole are you using? You can find the version number in the info.plist in the .driver folder. Just send a screenshot.

@devinroth
Copy link
Member

All the CoreAudio crashes show the same thing. EXC_BAD_ACCESS on audio IO: ~:AMS2_StackedOutput:2 which means the multi-output is trying to read non-existent memory. I'll see if I can reproduce.

@devinroth
Copy link
Member

Good news. I was able to reproduce.

Bad news. I was able to reproduce using my MacBook's Build In Speakers which means this isn't a BlackHole issue. Please report to Apple. Who knows when they will actually fix it.

Good news. I built an app called Dipper that eliminates the need for an aggregate / multi-output and it should solve your problems. https://dipper.audio.

Sorry I can't help more.

@devinroth
Copy link
Member

I'll also report.

@gchilds
Copy link

gchilds commented Dec 20, 2023

Can you describe your repro @devinroth or are aggregates simply broken on 14.2?

@daakal
Copy link
Author

daakal commented Dec 20, 2023

Good news. I was able to reproduce.

Bad news. I was able to reproduce using my MacBook's Build In Speakers which means this isn't a BlackHole issue. Please report to Apple. Who knows when they will actually fix it.

Good news. I built an app called Dipper that eliminates the need for an aggregate / multi-output and it should solve your problems. https://dipper.audio.

Sorry I can't help more.

Thank you for digging into this Devin, really appreciate your time, sorry I was away from my work machine last night and did not get back to you more promptly!! Also really awesome with Dipper, I'll test that out!

I'll report to Apple as well to increase numbers

@devinroth
Copy link
Member

Can you describe your repro @devinroth or are aggregates simply broken on 14.2?

Create a multi-output with AirPods and macbook speakers
Opened Zoom and set output to the multi-output (it still works at this point)
Set input to Airpods. CoreAudio Crash.

What I suspect is happening is when the AirPods mic is being used the output format is changed to mono and I don't think multi-outputs handle that properly. This could have been an issue in earlier macOS versions. I'll have to check.

So broken when using Bluetooth.

@daakal
Copy link
Author

daakal commented Dec 20, 2023

the specific issue did not present itself in 14.1 or any of the earlier Sonoma beta's. I ran those on my work machine for weeks. It started with 14.2 and I realized it because I record nearly all of my calls daily w/ OBS

@devinroth
Copy link
Member

devinroth commented Dec 20, 2023 via email

@aabstrkt
Copy link

aabstrkt commented Dec 20, 2023 via email

@devinroth
Copy link
Member

devinroth commented Dec 20, 2023 via email

@aabstrkt
Copy link

aabstrkt commented Dec 20, 2023 via email

@devinroth
Copy link
Member

devinroth commented Dec 20, 2023 via email

@aabstrkt
Copy link

aabstrkt commented Dec 20, 2023 via email

@daakal
Copy link
Author

daakal commented Dec 20, 2023

Devin! I tried Dipper its freaking great, If I buy it now, it's a 1-time thing or will I end up on a sub-trail long-term?

@devinroth
Copy link
Member

devinroth commented Dec 20, 2023 via email

@gchilds
Copy link

gchilds commented Dec 21, 2023

Can you describe your repro @devinroth or are aggregates simply broken on 14.2?

Create a multi-output with AirPods and macbook speakers Opened Zoom and set output to the multi-output (it still works at this point) Set input to Airpods. CoreAudio Crash.

What I suspect is happening is when the AirPods mic is being used the output format is changed to mono and I don't think multi-outputs handle that properly. This could have been an issue in earlier macOS versions. I'll have to check.

So broken when using Bluetooth.

wow, nasty.

I found a fun aggregate bug last week (Ventura, Sonoma): enable voice isolation for your app, see your aggregate input mashed down to its first input device. You can repro in QuickTime Player. Voice isolation is probably an aggregate under the hood, and a very intrusive feature. Seems to affect all your input devices.

@gchilds
Copy link

gchilds commented Dec 21, 2023

Can you describe your repro @devinroth or are aggregates simply broken on 14.2?

Create a multi-output with AirPods and macbook speakers Opened Zoom and set output to the multi-output (it still works at this point) Set input to Airpods. CoreAudio Crash.
What I suspect is happening is when the AirPods mic is being used the output format is changed to mono and I don't think multi-outputs handle that properly. This could have been an issue in earlier macOS versions. I'll have to check.
So broken when using Bluetooth.

wow, nasty.

I found a fun aggregate bug last week (Ventura, Sonoma): enable voice isolation for your app, see your aggregate input mashed down to its first input device. You can repro in QuickTime Player. Voice isolation is probably an aggregate under the hood, and a very intrusive feature. Seems to affect all your input devices.

Yet another reason to not use an ASP device to communicate with your own app.

@devinroth
Copy link
Member

devinroth commented Dec 21, 2023 via email

@a-tokarev
Copy link

Good news. I built an app called Dipper that eliminates the need for an aggregate / multi-output and it should solve your problems. https://dipper.audio.

Hi Devin, thank you for Black Hole!
Great news about your new app, Dipper, I gave it a try already. Why it needs access to System Audio is perfectly clear, - but what does it need Screen Recording access for?

@devinroth
Copy link
Member

devinroth commented Dec 30, 2023 via email

@a-tokarev
Copy link

Thank you for the explaination.

Maybe I should add a better explanation on the Dipper onboarding.

That would have been very helpful, as it would have answered my security-related question before it was even asked.

@gchilds
Copy link

gchilds commented Dec 31, 2023 via email

@tech1media
Copy link

Does the multi-output work as expected without BlackHole?

In my case yes.

@daslicht
Copy link

daslicht commented Feb 2, 2024

When I select Blackhole as input for Quicktime I get audio when recording 'audioi'.
But I dont get any audio when I record a screen recording.

@devinroth
Copy link
Member

devinroth commented Feb 2, 2024 via email

@daslicht
Copy link

daslicht commented Feb 2, 2024

llook like it is wokring now for me , i enabled drift on the blackhole output of the multi out

@devinroth devinroth added wontfix This will not be worked on Blame Apple and removed bug Something isn't working labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blame Apple wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

7 participants