pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.46k stars 87 forks source link

Sony WF-1000XM3 using HSP regardless of microphone selected #2768

Open aylex13 opened 1 year ago

aylex13 commented 1 year ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Issue/Bug Description: Sony WF-1000XM3 earbuds connected using bluetooth generally work as expected until my system starts using one of the microphones, regardless of which one is selected, and then starts using the HFP so audio quality is reduced. By running pactl set-card-profile bluez_card.XX_XX_XX_XX_XX_XX a2dp-sink (X's replacing BT MAC address) whilst they're using HFP then it resolves the issue.

The same issue doesn't happen when I use Sony WH-1000XM3 headphones, so seems to be related to the earbuds only. Earbuds work fine in Windows, Android and iOS otherwise

Steps to reproduce (if you know):

  1. Connect Sony WF-1000XM3 earbuds
  2. Play audio (Spotify in my case) and sound is normal
  3. Begin using a microphone that's not the built-in one on the earbuds (in my case, webcam mic)
  4. Notice reduction in sound quality

Expected behavior: HFP to only be used when the earbuds mic is selected, and when it's no longer in use to revert back to standard audio

Other Notes:

SuperNolvas commented 1 year ago

I have the reverse scenario happening. I can't get the microphone working on my BT earbuds. Some distros have this Bluetooth profile problem such as POP OS and Fedora and some work perfectly such as Garuda Linux. You can test this by installing Garuda to a USB stick or SSD and then boot from it and see if yours works. There's some issue with the setup of Pipewire / Wireplumber and Bluez but I haven't figured it out yet. Here's my issue (not hijacking your issue just may help with diagnosis from anyone else reading).

https://github.com/pop-os/pop/issues/2740