this post was submitted on 08 Aug 2023
6 points (100.0% liked)

Arch Linux

7568 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

So I have been running into a weird issue lately where if I disconnect a Bluetooth audio device, it will remain visible in the KDE audio mixer. Reconnecting the audio device then adds a duplicate entry and the keyboard volume control for it is completely broken. It stays at the same volume. This was working just fine about a week ago and I've already downgraded pipewire, kpipewire, bluedevil, and plasma-pa to no avail. Nothing shows up in the logs, so I don't know exactly what's causing this bug.

Anyone else experiencing the same thing?

Arch Linux Kernel 6.4.8-arch1-1 Pipewire 0.3.77-1 KDE Plasma: 5.27.7 KDE Frameworks Version: 5.108.0 Qt 5.15.10

EDIT: Seems like simply changing the Bluetooth A2DP audio profile causes this issue as well. I have Bluetooth earbuds that have both AAC and SBC modes and toggling between them just creates more and more duplicate devices with the same name.

THE FIX: Seems like pipewire-pulse 0.3.77 was the culprit after all. Downgrade it to pipewire-pulse 0.3.76 and then do a systemctl --user restart pipewire-pulse to workaround this issue.

EDIT 2: pipewire-pulse 0.3.77-2 has the patch backported. Feel free to update to latest version in Arch repos.

Relevant bug report: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3414

top 6 comments
sorted by: hot top controversial new old
[–] backhdlp@lemmy.blahaj.zone 2 points 1 year ago (1 children)

Had that since yesterday I think, glad you found a fix.

[–] Molecular0079@lemmy.world 1 points 1 year ago

It's already fixed upstream as of this morning. The Pipewire devs are absolute wizards. The small patch is easy to apply to the pipewire PKGBUILD if you want to manually patch the package yourself.

[–] housepanther@lemmy.goblackcat.com 0 points 1 year ago (1 children)

This doesn't seem to happen to me. Are you using pipewire by any chance?

[–] Molecular0079@lemmy.world 1 points 1 year ago (1 children)

Yes. I found the issue. Seems like there's a regression in pipewire-pulse 0.3.77. Thanks for helping test anyways :)

[–] displaced_city_mouse@midwest.social 2 points 1 year ago (1 children)

Thanks for this - I have been seeing the same symptoms with connecting/disconnecting USB audio devices on a brand new (<24 hours old) Endeavour install. I'll check pipewire version in the AM.

[–] Molecular0079@lemmy.world 2 points 1 year ago

Np! It's already fixed upstream by the way. It's a super small patch so it was easy enough to download the pipewire-pulse PKGBUILD and patch the package myself.