codema.in
Wed 21 Aug 2024 11:22AM

Echo cancellation for calls with pipewire on Librem 5

PP Pirate Praveen Public Seen by 12

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

PP

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.

PP

Pirate Praveen Fri 25 Apr 2025 12:37PM

PP

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

PP

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.

PP

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

PP

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.

PP

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/