Dear Manjarees,
sometime around the last two updates (I can’t point my finger on an exact date), a strange bug got introduced for me, when using my bluetooth headphones: The device connects, pulseaudio switches the audio stream automatically and everything works fine… for 10 - 15 minutes. Then, all over sudden, the audio simply stops. The device is still connected, but audio output is missing.
When it happens, journalD states the following (the first error is exactly the moment, when audio stops):
profiles/audio/avdtp.c:cancel_request() Suspend: Connection timed out (110)
src/profile.c:ext_io_disconnected() Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
profiles/audio/avdtp.c:handle_unanswered_req() No reply to Suspend request
Transport Acquire() failed for transport /org/bluez/hci0/dev_FC_58_FA_AE_47_5F/sep1/fd0 (Input/output error)
src/profile.c:record_cb() Unable to get Headset Voice gateway SDP record: Host is down
src/service.c:btd_service_connect() a2dp-sink profile connect failed for FC:58:FA:AE:47:5F: Device or resource busy
plugins/policy.c:reconnect_timeout() Reconnecting services failed: Device or resource busy (16)
profiles/audio/a2dp.c:a2dp_select_capabilities() Unable to select SEP
Anyone experienced anything similar?
1 Like
Addendum: At first I thought, my headphones were damaged. I therefore replaced them with a complete different model - same problem. So it is definitely some kind of software related issue.
I have the same issue. Changing to an older Kernel does not solve the problem.
I’m not on Manjaro, but on Arch Linux. However Manjaro is based on Arch, so I guess they share a lot of packages.
I have experienced my bluetooth speaker (which are seen as headphones) are regulary disconnecting and reconnecting with the two last versions of package linux-firmware.
Downgrading to linux-firmware 20201218.646f159-1 fixes the issue.
Maybe this is worth trying? I have no idea if this will help you.
My bluetooth chip is on Intel AX201NGW BTW.
1 Like
thanks mokkurklave
does anyone know how we can downgrade firmware in manjaro?
Edit: nevermind found this: Downgrading packages - Manjaro Linux
Journal data in OP makes no mention of PulseAudio or any other sound server
An audio issue after recent updates might not be a PulseAudio issue
Please post system information
inxi -Fazy
1 Like
$ inxi -Fazy
System:
Kernel: 5.11.2-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64
root=UUID=f5885d3b-1ff7-403f-9380-23575c4c6d44 rw apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.21.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
dm: SDDM Distro: Manjaro Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7C84 v: 1.0 serial: <filter>
Mobo: Micro-Star model: MAG X570 TOMAHAWK WIFI (MS-7C84) v: 1.0
serial: <filter> UEFI: American Megatrends v: 1.51 date: 11/16/2020
Battery:
Device-1: hidpp_battery_0 model: Logitech M585/M590 Multi-Device Mouse
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: Discharging
CPU:
Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701021
L2 cache: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 86433
Speed: 3599 MHz min/max: 2200/4714 MHz boost: enabled Core speeds (MHz):
1: 3599 2: 3597 3: 2089 4: 3600 5: 2057 6: 2065 7: 2058 8: 3600 9: 3598
10: 2056 11: 2055 12: 2056
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:
conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: ZOTAC driver: nvidia
v: 460.56 alternate: nouveau,nvidia_drm bus ID: 2d:00.0 chip ID: 10de:2484
class ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver:
loaded: nvidia display ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1600 s-dpi: 110 s-size: 887x373mm (34.9x14.7")
s-diag: 962mm (37.9")
Monitor-1: DP-4 res: 3840x1600 dpi: 111 size: 880x370mm (34.6x14.6")
diag: 955mm (37.6")
OpenGL: renderer: GeForce RTX 3070/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56
direct render: Yes
Audio:
Device-1: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series]
driver: snd_emu10k1 v: kernel bus ID: 26:00.0 chip ID: 1102:0008
class ID: 0401
Device-2: NVIDIA vendor: ZOTAC driver: snd_hda_intel v: kernel
bus ID: 2d:00.1 chip ID: 10de:228b class ID: 0403
Sound Server: ALSA v: k5.11.2-1-MANJARO
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000
bus ID: 28:00.0 chip ID: 8086:2723 class ID: 0280
IF: wlo1 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus ID: 1-4:3
chip ID: 8087:0029 class ID: e001
Message: Required tool hciconfig not installed. Check --recommends
Drives:
Local Storage: total: 2.96 TiB used: 945.06 GiB (31.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 1TB size: 931.51 GiB block size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter>
rev: 2B2QEXM7 temp: 27.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:5 vendor: Samsung
model: SSD 970 EVO Plus 250GB size: 232.89 GiB block size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter>
rev: 2B2QEXM7 temp: 38.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 2TB
size: 1.82 TiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
rotation: SSD serial: <filter> rev: 1B6Q scheme: GPT
Partition:
ID-1: / raw size: 232.59 GiB size: 227.94 GiB (98.00%) used: 34 GiB (14.9%)
fs: ext4 dev: /dev/nvme1n1p2 maj-min: 259:7
ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%)
used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:6
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 45.2 C mobo: N/A gpu: nvidia temp: 46 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 287 Uptime: 19m wakeups: 2 Memory: 31.35 GiB
used: 2.19 GiB (7.0%) Init: systemd v: 247 Compilers: gcc: 10.2.0
Packages: 1456 pacman: 1454 lib: 429 flatpak: 0 snap: 2 Shell: Bash v: 5.1.0
running in: konsole inxi: 3.3.01
@mokkurklave said
Downgrading to linux-firmware 20201218.646f159-1 fixes the issue.
Hm, thank you for that idea. If that is the case, it would be interesting to find out, what has been changed to introduce that behaviour. I am unfortunately a bit too noobish (not techi enough) to get my grasp around that.
As can be seen above, I also have an Intel AX Bluetooth onboard.
Your system is not up to date so it does not have the latest version of package inxi
that can show the status of PulseAudio and Pipewire
I suggest you update your system and check
inxi -Aaz
For me the sound crackles and has dropouts via bluetooth after the last update.
After installing Manjaro I always set it up like this in the past:
# install pulseaudio-modules-bt and libldac to gain lossless transfer modi for bluetooth headset
- sudo pacman -S pulseaudio-modules-bt libldac
- systemctl --user stop pulseaudio.socket
- systemctl --user stop pulseaudio.service
- systemctl --user start pulseaudio.socket
- systemctl --user start pulseaudio.service
Output for audio fron inxi -Fazy
Audio:
Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
vendor: ASRock driver: snd_hda_intel v: kernel bus-ID: 04:00.1
chip-ID: 1002:aae0 class-ID: 0403
Device-2: AMD Navi 10 HDMI Audio driver: vfio-pci v: 0.2
alternate: snd_hda_intel bus-ID: 0b:00.1 chip-ID: 1002:ab38 class-ID: 0403
Device-3: AMD Starship/Matisse HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus-ID: 0e:00.4 chip-ID: 1022:1487
class-ID: 0403
Sound Server-1: ALSA v: k5.10.23-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.23 running: yes
Does someone has any ideas what could be wrong here? Thanks in advance!
Fabby
21 March 2021 11:58
11
If you have an issue that is different from this issue or if the solution in this issue doesn’t fit your need, please Create a new topic .
Honestly, we will not charge you more for creating your own topic!
Your wish is my command, good sire
Newest updates on board (-Aaz below):
$ inxi -Fazy
System:
Kernel: 5.11.6-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64
root=UUID=f5885d3b-1ff7-403f-9380-23575c4c6d44 rw apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1
dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7C84 v: 1.0 serial: <filter>
Mobo: Micro-Star model: MAG X570 TOMAHAWK WIFI (MS-7C84) v: 1.0
serial: <filter> UEFI: American Megatrends v: 1.51 date: 11/16/2020
Battery:
Device-1: hidpp_battery_0 model: Logitech M585/M590 Multi-Device Mouse
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: Discharging
CPU:
Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701021 cache:
L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 86437
Speed: 2200 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz):
1: 2200 2: 2087 3: 2069 4: 2803 5: 2064 6: 2109 7: 2075 8: 3600 9: 2418
10: 2059 11: 2081 12: 2106
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:
conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: ZOTAC driver: nvidia
v: 460.56 alternate: nouveau,nvidia_drm bus-ID: 2d:00.0 chip-ID: 10de:2484
class-ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver:
loaded: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1600 s-dpi: 110 s-size: 887x373mm (34.9x14.7")
s-diag: 962mm (37.9")
Monitor-1: DP-4 res: 3840x1600 dpi: 111 size: 880x370mm (34.6x14.6")
diag: 955mm (37.6")
OpenGL: renderer: GeForce RTX 3070/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56
direct render: Yes
Audio:
Device-1: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series]
driver: snd_emu10k1 v: kernel bus-ID: 26:00.0 chip-ID: 1102:0008
class-ID: 0401
Device-2: NVIDIA vendor: ZOTAC driver: snd_hda_intel v: kernel
bus-ID: 2d:00.1 chip-ID: 10de:228b class-ID: 0403
Sound Server-1: ALSA v: k5.11.6-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.23 running: no
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000
bus-ID: 28:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
chip-ID: 8087:0029 class-ID: e001
Report: This feature requires one of these tools: hciconfig/bt-adapter
Drives:
Local Storage: total: 2.96 TiB used: 946.4 GiB (31.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter>
rev: 2B2QEXM7 temp: 25.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:1 vendor: Samsung
model: SSD 970 EVO Plus 250GB size: 232.89 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter>
rev: 2B2QEXM7 temp: 34.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
rotation: SSD serial: <filter> rev: 1B6Q scheme: GPT
Partition:
ID-1: / raw-size: 232.59 GiB size: 227.94 GiB (98.00%)
used: 36.17 GiB (15.9%) fs: ext4 dev: /dev/nvme1n1p2 maj-min: 259:7
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:6
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 38.4 C mobo: N/A gpu: nvidia temp: 38 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 299 Uptime: 6m wakeups: 3 Memory: 31.35 GiB used: 2.94 GiB (9.4%)
Init: systemd v: 247 tool: systemctl Compilers: gcc: 10.2.0 Packages: 1484
pacman: 1482 lib: 436 flatpak: 0 snap: 2 Shell: Bash v: 5.1.0
running-in: konsole inxi: 3.3.03
$ inxi -Aaz
Audio: Device-1: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series] driver: snd_emu10k1 v: kernel bus-ID: 26:00.0
chip-ID: 1102:0008 class-ID: 0401
Device-2: NVIDIA vendor: ZOTAC driver: snd_hda_intel v: kernel bus-ID: 2d:00.1 chip-ID: 10de:228b class-ID: 0403
Sound Server-1: ALSA v: k5.11.6-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.23 running: no
There should be no need to stop and start pulseaudio.socket
And there is a single command for restarting pulseaudio.service
systemctl --user restart pulseaudio
But OP might have an issue with 2 sound servers similar to your system
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.23 running: yes
AFAIK the 2 sound servers do not work well together
so users need to choose either:
OR
install manjaro-pipewire
and agree to remove pulseaudio
2 Likes
I would try out pipewire. However I have some issues getting it to install and don’t want to mess up my system. Can you give me instructions how to best resolve this, please?
[user@computer ~]$ sudo pacman -S manjaro-pipewire
resolving dependencies...
looking for conflicting packages...
:: pipewire-pulse and pulseaudio are in conflict. Remove pulseaudio? [y/N] y
:: pipewire-pulse and pulseaudio-modules-bt are in conflict (pulseaudio-bluetooth). Remove pulseaudio-modules-bt? [y/N] y
:: manjaro-pipewire and manjaro-pulse are in conflict. Remove manjaro-pulse? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pulseaudio breaks dependency 'pulseaudio=14.2-2' required by pulseaudio-equalizer
:: removing pulseaudio breaks dependency 'pulseaudio=14.2-2' required by pulseaudio-jack
:: removing pulseaudio breaks dependency 'pulseaudio=14.2-2' required by pulseaudio-lirc
:: removing pulseaudio breaks dependency 'pulseaudio=14.2-2' required by pulseaudio-rtp
:: removing pulseaudio breaks dependency 'pulseaudio=14.2-2' required by pulseaudio-zeroconf
sudo pacman -Rdd pulseaudio pulseaudio-alsa pulseaudio-ctl pulseaudio-equalizer pulseaudio-jack pulseaudio-lirc pulseaudio-modules-bt pulseaudio-rtp pulseaudio-zeroconf
sudo pacman -S manjaro-pipewire
sudo pacman -Rsn $(sudo pacman -Qdtq)
This resolved all my issues. Pipewire outputs clear sound and even the bluetooth lossless connection works without additional packages. Thank you @nikgnomic for the hint!
3 Likes
@Ste74
can you add manjaro-pulse
metapackage (or individual packages) as conflicting in
manjaro-pipewire
, similar to manjaro-pulse
having conflicting package manjaro-pipewire
?
Thank you @anon553421 and @nikgnomic for that idea. I will try it pipewire asap. But for now, I have new issues with my new soundcard (creative ae-5). See: Soundblaster Creative X AE-5 no sound!
Oh my, Pipewire is a charm! Finally, everything works. Finally rid of this Pulseaudio mess and finally, I can really work with Audio + Linux. Thank you!
Addendum: Unfortunately, Audor is not compatible with Pipewire yet. But hey, you can’t have everything.
4 Likes
system
Closed
27 April 2021 12:55
19
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.