pipewire-alsa: many spurious poll wakeups
- PipeWire version (
pipewire --version
): 0.3.84 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: KDE
- Kernel version (
uname -r
): 6.6.1-arch1-1
Description of Problem:
I noticed that polling on the file descriptor returned by snd_pcm_poll_descriptors
produces many (high 10 thousands) wakeups, but snd_pcm_poll_descriptors_revents
returns no actual event happened. This happens with a very basic alsa playback test app, and when I run the same app with the raw hardware alsa device (instead of the default pipewire-proxy device) I get no spurious wakeups at all, only the expected period events. So this is not a hardware driver issue. I could also verify the behavior on two different machines with different sound chips.
These unnecessary wakeups do not cause a direct problem (audio is still correctly played back), but are bad for power consumption, so it would be good if that could be fixed.
Thanks