Closed smirnov closed 4 years ago
Have the same problem plus attempt to dnf install end up with unsuccessful installation despite the --allowerasing switch:
Error: Transaction test error:
file /usr/lib64/pulse-13.99/modules/libbluez5-util.so from install of pulseaudio-module-bluetooth-13.99.2-1.fc33.x86_64 conflicts with file from package pulseaudio-module-bluetooth-freeworld-1.4-2.fc33.x86_64
file /usr/lib64/pulse-13.99/modules/module-bluetooth-discover.so from install of pulseaudio-module-bluetooth-13.99.2-1.fc33.x86_64 conflicts with file from package pulseaudio-module-bluetooth-freeworld-1.4-2.fc33.x86_64
file /usr/lib64/pulse-13.99/modules/module-bluetooth-policy.so from install of pulseaudio-module-bluetooth-13.99.2-1.fc33.x86_64 conflicts with file from package pulseaudio-module-bluetooth-freeworld-1.4-2.fc33.x86_64
file /usr/lib64/pulse-13.99/modules/module-bluez5-device.so from install of pulseaudio-module-bluetooth-13.99.2-1.fc33.x86_64 conflicts with file from package pulseaudio-module-bluetooth-freeworld-1.4-2.fc33.x86_64
file /usr/lib64/pulse-13.99/modules/module-bluez5-discover.so from install of pulseaudio-module-bluetooth-13.99.2-1.fc33.x86_64 conflicts with file from package pulseaudio-module-bluetooth-freeworld-1.4-2.fc33.x86_64
@perceival getting around the second error could be done with
dnf shell install pulseaudio-module-bluetooth remove pulseaudio-module-bluetooth-freeworld run
Thanks. Was doing that so far with rpm -e -nodeps. BTW I've managed to get EHfive Pulseaudio working twice for some time but I am unable to reproduce steps needed.
I have similar issues with pulseaudio 13.99 on Ubuntu 20.10 (beta). Bluetooth connects (receiver beeps), but then disconnects again. I don't have the coredump.
The relevant part in the logs seems to be: ct 10 20:51:07 localhost pulseaudio[4344]: dbus: path=/MediaEndpoint/A2DPSource/VENDOR/APTXHD, interface=org.bluez.MediaEndpoint1, member=SetConfiguration Oct 10 20:51:07 localhost pulseaudio[4344]: Transport /org/bluez/hci0/dev_FC_58_FA_00_BB_65/sep7/fd0 state: disconnected -> idle Oct 10 20:51:07 localhost pulseaudio[4344]: Loading module-bluez5-device path=/org/bluez/hci0/dev_FC_58_FA_00_BB_65 autodetect_mtu=0 a2dp_config="ldac_eqmid=hq ldac_fmt=f32" Oct 10 20:51:07 localhost pulseaudio[4344]: Assertion 'h' failed at pulsecore/hashmap.c:138, function pa_hashmap_put(). Aborting. Oct 10 20:51:07 localhost systemd[4291]: pulseaudio.service: Main process exited, code=killed, status=6/ABRT Oct 10 20:51:07 localhost systemd[4291]: pulseaudio.service: Failed with result 'signal'. Oct 10 20:51:08 localhost systemd[4291]: pulseaudio.service: Scheduled restart job, restart counter is at 1. Oct 10 20:51:08 localhost pulseaudio[12243]: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted Oct 10 20:51:08 localhost pulseaudio[12243]: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted Oct 10 20:51:08 localhost pulseaudio[12243]: Timer slack is set to 50 us. Oct 10 20:51:08 localhost pulseaudio[12243]: RealtimeKit worked. Oct 10 20:51:08 localhost pulseaudio[12243]: Successfully gained nice level -11.
UPD: It's mentioned in readme. And after a closer look, I think mine is a different crash. It's in pa_hashmap_put
but in my case this function is called by a different module. Just double check that you're building with the same version of pa as installed.
And sorry for the spam, I guess..
FWIW I had the same crash (I think) and fixed it my checking out pulseaudio that exactly matched the installed version.
pulseaudio -vvv
Connect to a BT audio device
...
D: [pulseaudio] module-bluez5-discover.c: Loading module-bluez5-device path=/org/bluez/hci0/dev_00_06_78_33_F6_07 autodetect_mtu=0 a2dp_config=""
E: [pulseaudio] hashmap.c: Assertion 'h' failed at pulsecore/hashmap.c:138, function pa_hashmap_put(). Aborting.
Find out system pa version and check out
pulseaudio --version # => pulseaudio 13.99.1
git -C pa/ checkout v13.99.1
Build and install normally. Restart pa
pulseaudio -k
Or with -vvv
...
D: [pulseaudio] module-bluez5-discover.c: Loading module-bluez5-device path=/org/bluez/hci0/dev_00_06_78_33_F6_07 autodetect_mtu=1 a2dp_config=""
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card bluez_card.00_06_78_33_F6_07.
D: [pulseaudio] card.c: Looking for initial profile for card bluez_card.00_06_78_33_F6_07
D: [pulseaudio] card.c: a2dp_sink_sbc availability no
D: [pulseaudio] card.c: a2dp_sink_aac availability unknown
D: [pulseaudio] card.c: a2dp_sink_aptx availability no
D: [pulseaudio] card.c: a2dp_sink_aptx_hd availability no
D: [pulseaudio] card.c: a2dp_sink_ldac availability no
D: [pulseaudio] card.c: off availability yes
I: [pulseaudio] card.c: bluez_card.00_06_78_33_F6_07: active_profile: a2dp_sink_aac
I: [pulseaudio] card.c: Created 1 "bluez_card.00_06_78_33_F6_07"
...
Thank you. Unfortunately git -C pa/ checkout v13.99.2 says that 13.99.2 is not on git (yet?). So I'll wait.
It's there
git clone https://github.com/EHfive/pulseaudio-modules-bt.git
Cloning into 'pulseaudio-modules-bt'...
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 1021 (delta 1), reused 0 (delta 0), pack-reused 1010
Receiving objects: 100% (1021/1021), 384.00 KiB | 938.00 KiB/s, done.
cd pulseaudio-modules-bt/
git submodule update --init
Submodule 'pa' (https://github.com/pulseaudio/pulseaudio.git) registered for path 'pa'
Cloning into '/home/iafilatov/pulseaudio-modules-bt/pa'...
Submodule path 'pa': checked out 'cdeac178019ed3e73840702cb1223df5edd9df43'
git -C pa/ checkout v13.99.2
Previous HEAD position was cdeac1780 format: Add support for Dolby TrueHD and DTS-HD HBR passthrough
HEAD is now at 870598036 build-sys: Bump gettext dependency
I mean, if you have 13.99.2 installed then it must've come from somewhere. And that's the official repo.
@vrossum You might want to learn about git submodules a bit:
git -C pa/ tag | grep v13
v13.0
v13.99.1
v13.99.2
Update pa/ submodule first eg.
git submodule update --remote
Well, then it seems that the modules were simply not built with correct PA. Latest version in RPMFusion 1.4.3 works just fine with PA 13.99.2, so this bug can be closed, especially since it's not a bug of the project itself, more of a delayed build.
Describe the bug Connecting the bluetooth headphones to laptop running Fedora 33 with Pulseaudio 13.99.0 and pulseaudio-module-bluetooth-freeworld 1.4-2 succeeds, then connection quickly drops before any sound is routed to the headphones.
To Reproduce Steps to reproduce the behavior: Pair the headphones, observe succesful pairing operation and a quick disconnect after that
Expected behavior Headphones are paired and remain paired and are receiving sound from the laptop
Environment (please complete the following information):
Pulseaudio logs: (set
log-level
to4
in/etc/pulse/daemon.conf
)avinfo
of device: (guide: https://github.com/EHfive/pulseaudio-modules-bt/issues/31#issuecomment-462717049)Additional context Add any other context about the problem here.