this post was submitted on 01 Dec 2023
34 points (100.0% liked)

Linux

1259 readers
84 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Bluetooth audio is my least favorite part of using Linux and it seems like my coworkers agree. I hear a lot of praise for pipewire, but it doesn't match what I experience. Does any system work well for anyone?

To clarify, it can work. But it's a harsh experience compared to say Android. I've used Ubuntu, Fedora, and PopOS. I've tried a few different headphones, using Galaxy Buds 2 current. Pulseaudio tends to "do as it's told" but doesn't automatically switch to the right (confusingly named) profile. With Ubuntu 23.10, using pipewire, it does automatic switch profiles. Sometimes this works great. But very often, it gets stuck on on a profile or just stops working. I have to reconnect bluetooth to fix it.

Is there some magic combination of things that works or is this just how it is for everyone?

top 23 comments
sorted by: hot top controversial new old
[–] onlinepersona@programming.dev 18 points 11 months ago

Fuck Bluetooth. I've seen it multiple times this week that wireless headphones have failed on Linux, Mac, and Windows. "Shit, let me reconnect my headphones". Also the switching from "high quality audio" to bullshit mono audio when calling.

Fuck bluetooth.

[–] constantokra@lemmy.one 7 points 11 months ago

No issues currently using pop os. I don't use the graphical Bluetooth manager, for whatever that's worth. I wrohe a script that connects and disconnects with bluetoothctl, and I pair and trust devices with bluetoothctl. I use several different headphones.

Occasionally, I have to go into the audio settings to change the destination, or tap a button on my headphones, but that's about it.

[–] outbound@lemmy.ca 7 points 11 months ago

Bluetooth works great. Debian w/ XFCE (pulseaudio). But, there is some config on a fresh install:

# apt install blueman pulseaudio-module-bluetooth  

# nano /etc/pulse/default.pa  
add:  
load-module module-switch-on-connect  

# nano /etc/bluetooth/input.conf  
change:  
IdleTimeout=0  
[–] FQQD@feddit.de 5 points 11 months ago

Pretty good. I use Nothing ear 2s with a lenovo thinkpad on arch linux and it works just as well as with my ipad and my android smartphone.

Only bad thing, it set the codec to a worse sounding one once for some reason, but changing it back solved it.

[–] Pantherina@feddit.de 5 points 11 months ago* (last edited 11 months ago)

Fedora Kinoite, working just as well as on Android (GrapheneOS)

Using Pipewire. The issue really is the shitty firmware of my headphones.

[–] meteokr@community.adiquaints.moe 3 points 11 months ago* (last edited 11 months ago)

I use NixOS, but before that I was on openSuse. I have not thought about Bluetooth in at all in the last few years. Zero issues. I pair it in KDE's default bluetooth manager and then never really touched it since. Media keys all work, I control it over WiFi from my phone with kdeconnect no problem.

I think a few months ago I had to turn my headphones off and on again when the quality got really low for a second. Reading this thread I guess I'm extremely lucky? I don't produce music or anything like that, so I might not be taking advantage I'd some its more exotic features.

EDIT: I am using a basic USB Bluetooth dongle I bought at least 8 years ago for my desktop, and my laptop just uses the built in Bluetooth. If that's any consolation.

[–] mhz@lemm.ee 3 points 11 months ago

No problem here with Opensuse slowroll (Sway WM) and a Realtek bluetootth radio, I'm using blueman for managing enabling/managing bluetooth connections.

[–] UntouchedWagons@lemmy.ca 2 points 11 months ago

I installed fedora 38 on my lenovo thinkpad t14 (now running fedora 39) and aside from one easily fixed issue bluetooth works perfectly. My gaming pc running windows can use my laptop as an audio device via bluetooth which is pretty cool.

[–] jlow 2 points 11 months ago

Now that I know what to do (switch audio codecs on sound icon in menu bar depending on being in a call or listening to music) it works better for me on Linux Feroda than on Windoge.

[–] sic_semper_tyrannis@feddit.ch 2 points 11 months ago

Using the latest Mint I sometimes connect my Bluetooth ear buds (ISOTunes) and have had no issues.

[–] LainOfTheWired@lemy.lol 2 points 11 months ago

For me on Arch and also, but a lot less frequent fedora I find that it works fine then every few months there's an update that breaks it for a few days till it gets patched. But besides that it works fine for me. I use blueman in DWM BTW

[–] selokichtli@lemmy.ml 2 points 11 months ago

For me, Bluetooth in general is a problematic technology that's been trustworthy only when the device comes with a pre-paired Bluetooth emitter.

[–] ProgrammingSocks@pawb.social 1 points 11 months ago* (last edited 11 months ago)

No issues to report here. Audio sucked when I had an old shitty laptop with a BT4.0 chip but after I upgraded to a Thinkpad X280 Bluetooth just worked out of the box. Been using pipewire but before that I used pulseaudio with bluetooth audio extensions that you can find on the AUR. Pulseaudio was far less stable, pipewire just werks.

[–] drwho 1 points 11 months ago

I don't use Bluetooth a whole lot on my Linux box (Arch Linux 20231128, MATE Desktop Environment, bluetoothd, pulseaudio). That said, I have blueman-manager in my system tray all the time, and it seems to do a decent job of managing two pairs of headphones (they're there, and I use them occasionally, just not often). The thing that seems to work for me is to use pavucontrol (PulseAudio Volume Control) to set the parameters of the Bluetooth headphones while they're active and associated, and those settings are stored for later. That way, when I'm wearing a pair of those headphones my laptop's speakers are automatically muted, the Bluetooth headphones go back to where I had them before, and whatever I happen to be playing back through (Firefox, vlc, whatever) automatically cut over to them and away from the (now muted) speakers).

I guess I just did it one step at a time - get bluetooth turned on, get a pair of headphones associated with them, then turn off speakers, then.... I iterated on it until I had something that worked.

[–] sim642@lemm.ee 1 points 11 months ago* (last edited 11 months ago)

Sometime HSP just stopped working so now I have to do calls with my laptop built-in mic.

Also, some programs like Zoom just fail to use the right output device no matter what I choose in settings. I just have to make headphones the fallback device for anything to work.

But the most annoying thing is Linux somehow stealing the playback when my headphones are connected to multiple devices. Even when nothing plays on the computer but does play on the phone, there's no audio. I have to disable/disconnect my computer to use headphones with phone when my computer is in range.

[–] ExLisper@linux.community 1 points 11 months ago

It's shit. Totally agree, the most irritating thing on Linux.

[–] jcarax 1 points 11 months ago

I had a lot of problems back when I lived in civilization. But now that I live out of range of cell signals, and can't even see neighbors' wifi networks, it works a whole hell of a lot better. I still use a traditional DECT (Logitech H820e), and also a dongled 2.4ghz (Audeze Maxwell) headsets for work, but I also use the Maxwell with my phone over bluetooth without a problem. My Sennheiser Momentum 4 work fine with both my phone running Graphene, and my Thinkpad running Fedora.

I won't even try with Windows. The bluetooth stack is such trash.

[–] amanneedsamaid@sopuli.xyz 1 points 11 months ago

I need a bash script to restart all my bluetooth modules, bluez, bluetoothctl, eyc. because my laptop likes to make bluetooth unavailable, usually after a few hours of suspend. The script always works, and other than that I use another bash script to toggle connection to my airpods / toggle them as the default default audio output. I find it always works great besides the restartint caveat.

[–] MangoKangaroo 1 points 11 months ago* (last edited 11 months ago)

It's okay. On my desktop with an Intel card my headphones occasionally have an issue where they'll stop actually playing sounds until I swap the codec in GNOME Settings. I'm pretty sure it's an issue with the headphones proper, because I don't think I've had the issue with my earbuds or when using them on my laptop.

Speaking of my laptop, if I have WiFi turned on, the Bluetooth goes to shit. It sounds fine, but the audio will randomly cut out. I blame Realtek.