Volume is much lower with PipeWire than PulseAudio (ALSA UCM)
- PipeWire version (
pipewire --version
): pipewire 0.3.70 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): postmarketOS edge (Alpine edge) - Desktop Environment: Phosh
- Kernel version (
uname -r
): 6.3.0
Description of Problem:
Audio volume is super low with PipeWire while it is normal with PulseAudio.
If you put your ear against the speaker, you can hear what is being played.
In some cases, the audio is also distorted.
The same ALSA UCM configuration is used in both cases.
alsamixer
shows nothing special regarding volumes.
I suspect a codec/conversion issue? However, I'm not sure, so anything is welcome so I can debug this further.
How Reproducible:
Always on SDM845 devices such as Oneplus 6, SHIFTPHONES SHIFT6mq, Xiaomi POCO F1. See https://gitlab.com/postmarketOS/pmaports/-/issues/1534
Steps to Reproduce:
- Replace PulseAudio by PipeWire
- Play something
Actual Results:
Audio volume is super low compared to PulseAudio with the same UCM
Expected Results:
Audio volume is unaffected compared to PulseAudio with the same UCM
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.txt - ALSA UCM config: https://gitlab.com/sdm845-mainline/alsa-ucm-conf/-/tree/master/ucm2/SHIFT/axolotl