Lag/CPU Usage Spike when Changing Volume when using AirPods

This is a bit of a specific situation but starting perhaps a few months ago, pre-Ventura even, when I change the volume while connected to AirPods, there is considerable lag between button press, on-screen volume UI, and then actual volume change. This behavior does not exist when changing the volume with headphones plugged into the audio jack, or with just the bare speakers. Taking a look at the system usage during volume changes, there appear to be a handful of processes related to Continuity, Bluetooth etc that all get hammered at the same time. Also, the fact that the system slows down significantly enough during a single-increment change in volume illustrates how agonizingly slow things become during this.


I am on a 2021 MacBook Pro M1 Pro 14" on Ventura 13.3.1


AirPods Version A2031 Firmware Version 5E133 (most up to date as of this posting, and always has been throughout this ordeal).


This is an example of the processes that spike in usage during the slowdown when changing the volume. Not included in the offenders are some others like I mentioned before that are like Continuity Daemon and Bluetooth Daemons. At one point the main Daemon that was the worst and most consistent offender was Microsoft Teams Audio Daemon, but I uninstalled that since I don't use it anymore. But the problem persists with the other ones I mention.


I have already un and re-paired the AirPods to this Mac, and also reset them entirely but to no avail. Fixing this would be cool.


MacBook Pro (2021)

Posted on Apr 28, 2023 1:24 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 6, 2024 4:18 AM

I had this same issue for a long time, whether headphones plugged in or bluetooth, with my AirPods and Beats. After reading all the comments, I thought it made most sense if it is the Mac trying to communicate with all the other bluetooth devices from the past; I deleted all these (some non apple bluetooth speakers, headphones etc), and voila the problem went away. One other thing I did, at around the same time (right before my problem resolved), which I don't really think was related, is that I used shift-option-volume button to fine-change volume.

Similar questions

49 replies
Question marked as Top-ranking reply

Jan 6, 2024 4:18 AM in response to SpiritLobster

I had this same issue for a long time, whether headphones plugged in or bluetooth, with my AirPods and Beats. After reading all the comments, I thought it made most sense if it is the Mac trying to communicate with all the other bluetooth devices from the past; I deleted all these (some non apple bluetooth speakers, headphones etc), and voila the problem went away. One other thing I did, at around the same time (right before my problem resolved), which I don't really think was related, is that I used shift-option-volume button to fine-change volume.

Sep 23, 2023 10:38 AM in response to SpiritLobster

Give this a try: boot into Safe Mode according to How to use safe mode on your Mac and test to see if the problem persists. Reboot normally and test again.


NOTE 1: Safe Mode boot can take up to 3 - 5 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


NOTE 2: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will insure a successful boot into Safe Mode.


Mar 27, 2024 4:25 AM in response to kentct77

For those looking for a non-reboot solution, I found this on reddit but I didn't see it in this thread here. I just ran "sudo killall -9 WindowServer" (via Utilities > Terminal for those not familiar) and it worked for me. Yeah it's almost like a reboot but not quite as severe. Zero CPU spike whatsoever when changing volume after running that command.

Dec 1, 2023 6:27 AM in response to SpiritLobster

Exact same situation here on two Macs (2020 M1 MBA, 2020 14" M1 MBP, both on latest Ventura) so I won't bother repeating the details, but I did want to report a workaround:


If I change volume using Raycast, it works fine. (I have a feeling this might also be true of Alfred and LaunchBar but I don't use those.)


So until Apple fixes their thing, there's a way to get your volume changes done safely.

Jun 12, 2024 1:21 PM in response to jepek

Same issue here. M1 mac. Only solution is to restart computer and clear PRAM.


There is a perfect technical solution on the first page that very clearly states how the disconnect function of OSX is not properly releasing all resources and memory, causing lag spikes to occur if you've disconnect your headphones many times since last clean restart.

Nov 3, 2023 7:31 AM in response to SpiritLobster

Happening to me for a long time. After googling and reading all the comments, I came to the conclusion that it happens for all Apple Silicone Macs, not only M1 or M2. And there is no evidence it does not occur on Intel Macs. It happens for multiple OS versions, not only in Ventura or Sonoma. Nothing except reboot helps, but even that only solves the issue temporarily. No SMC or PRAM reset helps. No Bluetooth connections are needed, but any Bluetooth device worsens the problem exponentially. It might be related to the Continuity feature of MacOS, like trying to sync the volume across your other devices or something like that.

It's indeed a ridiculous issue for the modern computer. It makes my M1 Mac performance comparable to a pre-Intel Mac, like PowerPC G5. Apple should honestly declare that Mac performance depends on your luck and is somewhere in the range of -1000% to 110% of prior Intel generation.

Nov 13, 2023 1:41 AM in response to SpiritLobster

I've had this problem with the M1 Mac mini for over a year. A couple of times, I discussed with Apple Support this problem. They collected some logs, screenshots, and screen recordings. After that, they escalated the issue to the engineering department. They answered that the problem was based on the user account and advised me to re-install the OS.


The main problem is I've also M1 and M2 Macbook Airs with the same apps installed. I've no problem with them while using my AirPods Pro 2. I re-installed the OS on my Mac mini, but the problem persisted. I deleted all settings and content, and the result is that I'm still having this problem.


Since my primary job is video editing, working with Mac mini with AirPods is a serious problem. Unfortunately, Apple Support didn't help me properly.


This is simply unacceptable.

Mar 27, 2024 3:30 AM in response to kentct77

To clarify my issue, I don't use any bluetooth devices (never have). I do use audio programs heavily, including mainstage, quicktime and spotify. Just now I tried closing spotify and the volume glitching went away! Well, it still used 50% cpu across all cores, but it wasn't spiking and lagging like before. Then I reopened spotify and clicked play, and all the spiking and lagging came back whenever changing volume, across all cores. Could this whole thing be related to Spotify? I remember a while back Spotify had a bad resource consumption issue (which a newer version fixed) so I wouldn't doubt this. I haven't rebooted since Jan 7 (over 2 months ago), so for my volume NOT to spike when spotify was closed is very interesting. Update: definitely not just spotify. I closed spotify and opened mainstage and have the same popping and lagging when changing volume. But with spotify and quicktime closed (and only quicktime and browsers open) I can change the volume mercilessly without any cpu spike.

May 25, 2023 12:56 AM in response to ku4hx

I experience the same, on a freshly installed MacMini M1 too. It is working for an hour or so, but - usually when I leave it on rest for a small while, screen locked and reopen - after a while it starts the lagging. Many of the applications and services which are potentially using mic/producing audio are spiking, and the whole machine lags seriously, until rebooting...


Also, it is not just with volume change, but when a notification hits in with sound, then everything lags again.


Besides then this, when we have reached the mentioned threshold in time, video playback (e.g. youtube, plex) lags periodically, eg. there is a noticeable glitch in the video playback in eg. every 30secs...


In the logs I did not yet found anything suspicious in the flood of warning messages...


Really annoying.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Lag/CPU Usage Spike when Changing Volume when using AirPods

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.