1
Fork 0
theorangeone.net-legacy/content/posts/gdm-bluetooth-audio/index.md
2019-12-22 22:32:59 +00:00

2 KiB

title date image hide_header_image
Repairing GDM and Bluetooth Audio 2018-02-13 resource:device-broken.png true

Bluetooth audio is great! I've had a pair of Bluetooth headphones, Sony MDR-XB950 BT, for around a year now, and the ability to listen to music without cables is amazing. But, I can only use the Bluetooth parts of this with my phone, because on Linux, it just sounds terrible. I've even gone so far as to buy and wire in a cable on my desk at work to enable me to fairly easily connect to my desk, without having to plug into the desktop every day.

{{< resource src="device-broken.png" >}} A2DP marked as unavailable. {{< /resource >}}

The Problem

The issue is caused by a lack of A2DP, a Bluetooth profile for transmitting stereo audio at high quality. According to the manual for my headphones, it supports A2DP just fine, however, my computer was reporting it didn't, and so was saying it was unavailable.

After a large amount of searching, I came across a number of solutions, none of which worked. From trying some alternative software, to modifying config for bluetoothd, no change.

The Solution

If there's 1 thing I know, it's that there's an AUR package for just about everything. Surprisingly, there was even a package which fixed my issue entirely: pulseaudio-bluetooth-a2dp-gdm-fix.

Fixing

  1. yaourt -S pulseaudio-bluetooth-a2dp-gdm-fix
  2. Reboot

That's it!

{{< resource src="device-fixed.png" >}} A2DP is now enabled! (Ignore the fact the device name changed) {{< /resource >}}

The Cause

According to the related wiki, it's caused by GDM capturing the Bluetooth device, and unloading certain modules if they exist. I'm not exactly sure why it does this, but it's a fairly well documented issue.