Scratchy audio on Raspberry Pi 4, no desktop env
If you are filing this issue with a regular release please try master as it might already be fixed.
Version, Distribution, Desktop Environment: 0.3.30, Raspberry Pi OS Buster, console
Description of Problem: pw-play works perfectly, but paplay results in scratchy audio
How Reproducible: Pipewire built from source (tag 0.3.30) and installed. Started pipewire, pipewire-media-session and pipewire-pulse on different terminals. pw-play plays perfectly paplay results in scratchy audio
Steps to Reproduce:
- Fresh install of Raspberry Pi OS Buster Lite, no desktop
- Install pipewire from source per instructions in Install.md (git checkout 0.3.30) 2a. NO configuration files were edited
- Run eval
- Run tmux and launch 4 terminals
- Run pipewire, pipewire-media-session & pipewire-pulse in terminals 0-2
- Run paplay in terminal 3
Actual Results: Scratchy audio plays
Expected Results: Clear audio
Additional Info Eg.
pw-dump -N > file (As Attachment Please):
pi@alderan:~ $ pacmd info No PulseAudio daemon running, or not running as session daemon.
All daemons print the following on startup
[W][00349.502901][ module-rtkit.c: 183 translate_error()] RTKit error: org.freedesktop.DBus.Error.AccessDenied [W][00349.503184][ module-rtkit.c: 518 set_nice()] could not set nice-level to -11: Permission denied [W][00349.513626][ module-rtkit.c: 183 translate_error()] RTKit error: org.freedesktop.DBus.Error.AccessDenied [W][00349.513753][ module-rtkit.c: 504 idle_func()] could not make thread realtime: Permission denied
These errors went away when I logged in as root, but the scratchy audio problem remains.
I intermittently see the following on the pipewire stdout:
[W][00394.535825][ private.h: 76 ratelimit_test()] 10 events suppressed [E][00394.535986][ impl-node.c: 1658 node_xrun()] (alsa_output.platform-bcm2835_audio.stereo-fallback-51) XRun! rate:1024/48000 count:37 time:394537231 delay:2347 max:7375