Bluetooth connects, plays system audio but nothing else

I have this problem that is happening for a while that every big patch, usually related to kernel update, is a coin toss if my Bluetooth will work or not until the next kernel update(I already reported this on the kernel repo, it seems that a bunch of people has this problem).

This time, the Bluetooth decided to work and to connect, but it is kind of weird.

I connect my Bluetooth speaker and I can hear the system sounds from it, if I go to sounds settings I can play the “alert” sounds (sonar, glass, drip, bark). But nothing else plays from the BT speaker.

For example. If I click on “test”> “front right” I cannot hear it from the BT speakers.

What makes it weird is that if I plug any other audio device, the audio comes out from that device.

I have the BT speaker connected, and set as output device.
And a headphone connected to the jack in.

Alert sounds comes from the BT speaker.
Everything else comes from the headphone.

I wonder if anyone here had a similar problem and can suggest something to fix

Thank you.

edit: I just tested and the problem is happening with both 5.4 and 5.10.

I suggest you post system information

inxi -Faz

and check any relevant systemd services

systemctl --user -l --no-pager status blue*
systemctl --user -l --no-pager status pipewire*
systemctl --user -l --no-pager status pulseaudio*
1 Like

Thank for the commands.

inxi

tput: unknown terminal "xterm-256color"
tput: unknown terminal "xterm-256color"
Argument "" isn't numeric in numeric eq (==) at /usr/bin/inxi line 387.
System:
  Kernel: 5.10.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: ro root=/dev/nvme1n1p4  initrd=\initramfs-5.10-x86_64.img 
  Desktop: GNOME 3.38.3 tk: GTK 3.24.24 wm: gnome-shell dm: GDM 3.38.2.1 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Gigabyte product: X470 AORUS GAMING 7 WIFI v: N/A 
  serial: <filter> 
  Mobo: Gigabyte model: X470 AORUS GAMING 7 WIFI-CF v: x.x serial: <filter> 
  UEFI: American Megatrends v: F31 date: 05/06/2019 
CPU:
  Info: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ 
  family: 17 (23) model-id: 8 stepping: 2 microcode: 800820D L2 cache: 4 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 118438 
  Speed: 3288 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 
  1: 3288 2: 1736 3: 2787 4: 1978 5: 2185 6: 2009 7: 2047 8: 2014 9: 2442 
  10: 1812 11: 3111 12: 1814 13: 1873 14: 2010 15: 3107 16: 1746 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A] vendor: ZOTAC 
  driver: nvidia v: 460.39 alternate: nouveau,nvidia_drm bus ID: 0a:00.0 
  chip ID: 10de:1e07 class ID: 0300 
  Display: x11 server: X.org 1.20.10 compositor: gnome-shell driver: 
  loaded: nvidia resolution: <missing: xdpyinfo> 
  OpenGL: renderer: GeForce RTX 2080 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 460.39 
  direct render: Yes 
Audio:
  Device-1: NVIDIA TU102 High Definition Audio vendor: ZOTAC 
  driver: snd_hda_intel v: kernel bus ID: 0a:00.1 chip ID: 10de:10f7 
  class ID: 0403 
  Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus ID: 0c:00.3 chip ID: 1022:1457 class ID: 0403 
  Device-3: Logitech HD Pro Webcam C920 type: USB 
  driver: snd-usb-audio,uvcvideo bus ID: 1-9:4 chip ID: 046d:082d 
  class ID: 0102 serial: <filter> 
  Device-4: Creative Sound BlasterX G6 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-4:6 chip ID: 041e:3256 
  class ID: 0300 serial: <filter> 
  Sound Server: ALSA v: k5.10.15-1-MANJARO 
Network:
  Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb 
  v: kernel port: f000 bus ID: 06:00.0 chip ID: 8086:1539 class ID: 0200 
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: f000 
  bus ID: 07:00.0 chip ID: 8086:2526 class ID: 0280 
  IF: wlp7s0 state: down mac: <filter> 
  Device-3: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb 
  bus ID: 1-2:2 chip ID: 8087:0025 class ID: e001 
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb 
  v: 0.8 bus ID: 1-2:2 chip ID: 8087:0025 class ID: e001 
  Report: ID: hci0 state: up running pscan iscan bt-v: 3.0 lmp-v: 5.1 
  sub-v: 100 hci-v: 5.1 rev: 100 address: <filter> 
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff 
  link-mode: slave accept 
  service-classes: rendering, capturing, object transfer, audio 
Drives:
  Local Storage: total: 6.12 TiB used: 1.48 TiB (24.3%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:6 vendor: Seagate 
  model: XPG GAMMIX S11 Pro size: 1.86 TiB block size: physical: 512 B 
  logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> 
  rev: 42A4SANA temp: 35.9 C scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: HP model: SSD EX920 1TB 
  size: 953.87 GiB block size: physical: 512 B logical: 512 B 
  speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: SVN139B 
  temp: 53.9 C scheme: GPT 
  ID-3: /dev/sda maj-min: 8:0 vendor: A-Data model: SU800 size: 1.86 TiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD 
  serial: <filter> rev: S86B scheme: GPT 
  ID-4: /dev/sdb maj-min: 8:16 vendor: Plextor model: PX-128M6S 
  size: 119.24 GiB block size: physical: 512 B logical: 512 B 
  speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 1.03 scheme: GPT 
  ID-5: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 860 EVO 1TB 
  size: 931.51 GiB block size: physical: 512 B logical: 512 B 
  speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 2B6Q scheme: GPT 
  ID-6: /dev/sdd maj-min: 8:48 vendor: Crucial model: CT480M500SSD1 
  size: 447.13 GiB block size: physical: 4096 B logical: 512 B 
  speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: MU02 scheme: GPT 
Partition:
  ID-1: / raw size: 390.62 GiB size: 383.99 GiB (98.30%) 
  used: 137.62 GiB (35.8%) fs: ext4 dev: /dev/nvme1n1p4 maj-min: 259:4 
  ID-2: /boot raw size: 500 MiB size: 476.2 MiB (95.24%) 
  used: 225 MiB (47.2%) fs: ext4 dev: /dev/nvme1n1p2 maj-min: 259:2 
  ID-3: /boot/efi raw size: 500 MiB size: 499 MiB (99.80%) 
  used: 4.7 MiB (0.9%) fs: vfat dev: /dev/nvme1n1p3 maj-min: 259:3 
  ID-4: /home raw size: 530.27 GiB size: 530.27 GiB (100.00%) 
  used: 128.83 GiB (24.3%) fs: btrfs dev: /dev/nvme1n1p5 maj-min: 259:5 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 32 GiB used: 1024 KiB (0.0%) 
  priority: -2 dev: /dev/nvme1n1p1 maj-min: 259:1 
Sensors:
  System Temperatures: cpu: 45.2 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 509 Uptime: 1d 5m wakeups: 1 Memory: 31.37 GiB 
  used: 9.24 GiB (29.4%) Init: systemd v: 247 Compilers: gcc: 10.2.0 
  alt: 7/8/9 clang: 11.0.1 Packages: 1940 pacman: 1934 lib: 455 rpm: 0 
  flatpak: 6 Shell: fish v: 3.1.2 running in: gnome-terminal inxi: 3.3.01 

blue*

● bluetooth.target - Bluetooth
     Loaded: loaded (/usr/lib/systemd/user/bluetooth.target; static)
     Active: active since Sun 2021-02-14 17:42:32 MST; 2h 46min ago
       Docs: man:systemd.special(7)

fev 14 17:42:32 linux systemd[1606]: Reached target Bluetooth.

pipe*

● pipewire.socket - Multimedia System
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; vendor preset: enabled)
     Active: active (listening) since Sat 2021-02-13 20:18:42 MST; 24h ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket

fev 13 20:18:42 linux systemd[1606]: Listening on Multimedia System.

pulse*

     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-02-13 20:18:44 MST; 24h ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 1699 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.service
             ├─1699 /usr/bin/pulseaudio --daemonize=no --log-target=journal
             └─1818 /usr/lib/pulse/gsettings-helper

fev 14 20:30:41 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:41 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:41 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:42 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:42 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:42 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:42 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:42 linux pulseaudio[1699]: q overrun, queuing locally
fev 14 20:30:42 linux pulseaudio[1699]: Failed to set hardware parameters: Input/output error
fev 14 20:31:07 linux pulseaudio[1699]: Failed to set hardware parameters: Input/output error

It seems there is something wrong with pulse. I will investigate it.

I think the problem with PulseAudio is probably that audio devices have probably been co-opted by Pipewire

and I do not know how to diagnose problems with Pipewire

1 Like

Thanks anyway!

While I was debugging following the wiki page it stop detecting by bluetooth again.

It seems there is a problem with the kernel and onboard wifi+bluetooth devices not powering on properly.

Some people manage to fix it by dual booting windows and booting back to linux, but the workaround is temporary.

I also tried to switch to the available kernels without success, I am not sure which one is working and what would make it work.

https://bbs.archlinux.org/viewtopic.php?id=259260&p=2

I will try some linux live usb to see if it works with any of them.