Echo cancellation for calls with pipewire on Librem 5

Other side hearing echo when calling is a big issue to be solved. This affects Librem 5 and PinePhone. Current work around is using a headphone always. This also affects other calling apps like GNU Jami.
More technical details about the problem and possible solutions are tracked in https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4170
Bounty for this issue https://opencollective.com/dephcom/projects/pipewire-echo

Pirate Praveen Thu 24 Apr 2025 7:09AM
Please review the text on https://opencollective.com/dephcom/projects/pipewire-echo?status=projectCreated

Pirate Praveen Fri 25 Apr 2025 12:37PM
There is some work in progress for anyone who wants to try fixing it https://salsa.debian.org/Mobian-team/devices/librem5-tweaks/-/commits/wip/kop316/pipewire
Shared by Chris https://fosstodon.org/@kop316/114398582666998648

Pirate Praveen Fri 25 Apr 2025 1:59PM
More technical details on what is needed https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4170
Item removed

Pirate Praveen Sun 27 Apr 2025 9:03AM
A workaround would be to switch back to pulse audio until we can configure echo cancel in pipewire. We can refer to https://source.puri.sm/Librem5/librem5-base/-/commit/e55f39d8cb1137bfec68badec7da91fb88fc7a18 and it seems this is simpler in Trixie as it has a pipewire video only profile already. So we just need the systemd presets and allow pulseaudio as alternate dependency in mobian-base.

Pirate Praveen Sun 27 Apr 2025 9:42AM
First step to switching to pulseaudio (sent MR) https://salsa.debian.org/Mobian-team/meta-mobian/-/merge_requests/21/diffs

Pirate Praveen Sun 27 Apr 2025 10:08AM

Pirate Praveen Sun 27 Apr 2025 5:48PM
So I'm able to successfully switch back to pulseaudio in mobian trixie and confirmed echo issue is fixed. But we will keep the bounty open for people who want to fix this in pipewire.

Pirate Praveen Sun 27 Apr 2025 6:33PM
For those who want to try, can install mobian-base, librem5-support and librem5-tweaks packages from https://people.debian.org/~praveen/mobian/
Pirate Praveen · Mon 4 Nov 2024 8:55PM
Some technical details https://gitlab.com/mobian1/callaudiod/-/issues/13 @devrtz do you have an idea what needs to be done on trixie/pipewire? Seems to be fine on bookworm/pulseaudio.