You are not logged in.

#1 2025-05-05 23:46:46

ipb52
Member
Registered: 2025-04-28
Posts: 6

Choppy bluetooth until restart

Every time I connect my headset, the audio is extremely choppy and laggy, as if there's interference. However, quickly turning bluetooth off and then back on fixes it every single time. If I don't do this, it will go on being choppy for as long as I leave it. I have no 2.4ghz devices connected to my router, all of my other bluetooth devices work fine. Even other headsets work fine.

My device is:

Bus 001 Device 004: ID 0e8d:0717 MediaTek Inc. Wireless_Device

https://wiki.archlinux.org/title/Bluetooth

Under general troubleshooting it says stop bluetooth and starting it in debug mode, when I type the commands it gives me I get:

systemctl stop bluetooth
/usr/lib/bluetooth/bluetoothd -n -d
bluetoothd[577637]: Bluetooth daemon 5.82
bluetoothd[577637]: src/main.c:parse_config() parsing /etc/bluetooth/main.conf
D-Bus setup failed: Name already in use
bluetoothd[577637]: src/main.c:main() Unable to get on D-Bus

It also says I can run btmon, which I did, I get thousands of these:

> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                                                                                                                 #3685 [hci0] 46.484312
        Num handles: 1
        Handle: 50 Address: 18:9C:2C:34:89:76 (Dongguan Huayin Electronic Technology Co., Ltd.)
        Count: 1
        #3670: len 187 (9 Kb/s)
        Latency: 166 msec (1-444 msec ~164 msec)
        Channel: 320 [PSM 25 mode Basic (0x00)] {chan 0}
        Channel Latency: 166 msec (140-444 msec ~164 msec)
bluetoothd[577820]: < ACL Data TX: Handle 50 flags 0x02 dlen 182                                                                                                                                                                                       #3686 [hci0] 46.484322
      Channel: 320 len 178 [PSM 25 mode Basic (0x00)] {chan 0}
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                                                                                                                 #3687 [hci0] 46.499550
        Num handles: 1
        Handle: 50 Address: 18:9C:2C:34:89:76 (Dongguan Huayin Electronic Technology Co., Ltd.)
        Count: 1
        #3672: len 193 (9 Kb/s)
        Latency: 166 msec (1-444 msec ~165 msec)
        Channel: 320 [PSM 25 mode Basic (0x00)] {chan 0}
        Channel Latency: 166 msec (140-444 msec ~165 msec)
bluetoothd[577820]: < ACL Data TX: Handle 50 flags 0x02 dlen 188                                                                                                                                                                                       #3688 [hci0] 46.499557
      Channel: 320 len 184 [PSM 25 mode Basic (0x00)] {chan 0}
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                                                                                                                 #3689 [hci0] 46.514299
        Num handles: 1
        Handle: 50 Address: 18:9C:2C:34:89:76 (Dongguan Huayin Electronic Technology Co., Ltd.)
        Count: 1
        #3674: len 185 (10 Kb/s)
        Latency: 143 msec (1-444 msec ~154 msec)
        Channel: 320 [PSM 25 mode Basic (0x00)] {chan 0}
        Channel Latency: 143 msec (140-444 msec ~154 msec)
bluetoothd[577820]: < ACL Data TX: Handle 50 flags 0x02 dlen 191                                                                                                                                                                                       #3690 [hci0] 46.514305
      Channel: 320 len 187 [PSM 25 mode Basic (0x00)] {chan 0}
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                                                                                                                 #3691 [hci0] 46.553048
        Num handles: 1
        Handle: 50 Address: 18:9C:2C:34:89:76 (Dongguan Huayin Electronic Technology Co., Ltd.)
        Count: 1
        #3676: len 182 (8 Kb/s)
        Latency: 167 msec (1-444 msec ~161 msec)
        Channel: 320 [PSM 25 mode Basic (0x00)] {chan 0}
        Channel Latency: 167 msec (140-444 msec ~161 msec)
bluetoothd[577820]: < ACL Data TX: Handle 50 flags 0x02 dlen 184                                                                                                                                                                                       #3692 [hci0] 46.553059
      Channel: 320 len 180 [PSM 25 mode Basic (0x00)] {chan 0}
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                                                                                                                 #3693 [hci0] 46.566814
        Num handles: 1
        Handle: 50 Address: 18:9C:2C:34:89:76 (Dongguan Huayin Electronic Technology Co., Ltd.)
        Count: 1
        #3678: len 177 (8 Kb/s)
        Latency: 166 msec (1-444 msec ~163 msec)
        Channel: 320 [PSM 25 mode Basic (0x00)] {chan 0}
        Channel Latency: 166 msec (140-444 msec ~163 msec)
bluetoothd[577820]: < ACL Data TX: Handle 50 flags 0x02 dlen 186                                                                                                                                                                                       #3694 [hci0] 46.566821
      Channel: 320 len 182 [PSM 25 mode Basic (0x00)] {chan 0}
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                                                                                                                 #3695 [hci0] 46.581798
        Num handles: 1
        Handle: 50 Address: 18:9C:2C:34:89:76 (Dongguan Huayin Electronic Technology Co., Ltd.)
        Count: 1
        #3680: len 183 (8 Kb/s)
        Latency: 164 msec (1-444 msec ~164 msec)
        Channel: 320 [PSM 25 mode Basic (0x00)] {chan 0}
        Channel Latency: 164 msec (140-444 msec ~164 msec)
bluetoothd[577820]: < ACL Data TX: Handle 50 flags 0x02 dlen 183                                                                                                                                                                                       #3696 [hci0] 46.581806
      Channel: 320 len 179 [PSM 25 mode Basic (0x00)] {chan 0}

Not sure what to do with this.

I do not see anything more on the bluetooth wiki page about laggy/choppy bluetooth.

https://wiki.archlinux.org/title/Bluetooth_headset

On this page, under "Bad sound / Static noise / "Muddy" sound", it says I can try switching my codec. I don't think this is it, the sound is not low quality, it is choppy. I've gotten stuck on hsp/hfp mode before and this is not that.

It says to run:

pactl send-message /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez switch-codec '"sbc"'

I'm not sure what the XX_XX_XX_XX_XX_XX is, I assume it's my card number which is mentioned on another page, it says I can run "pacmd list-cards" however I get "pacmd: command not found"

"pactl list" gives me a number in a similar format which I assume is the same, if i do

pactl send-message /card/bluez_card.18_9C_2C_34_89_76/bluez switch-codec '"sbc"

it makes no difference.

It says for "sound glitches" I can do

pactl set-port-latency-offset <bluez_card> headset-output 125000

. This does not seem to help. Tried a few different values.

Where can I go from here?

Offline

Board footer

Powered by FluxBB