Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
v21 Audio crackling using pipewire crackling on Rpi5b
#1
I've got a Rpi5b running latest Omega and raspian/debian bookworm and I'm using the on-board bluetooth to send audio to my stereo.  

Anything I play in Kodi has a crackle frequently - several times per minute.  Using pulseaudio, audio's fine.  Same if using pipewire and HDMI output from my Pi to my TV.
When using pipewire, youtube videos play fine and I've got shairport-sync setup too so I can airplay from my phone to the Pi out the bluetooth and that works fine too.

Pipewire reconnects bluetooth on reboot without me having to do extra stuff to make that happen, so I'd like to use it.  

Is there some log file that would capture what's going on with the audio stack that I could use to submit a bug report, or any other help anyone has to offer?
Reply
#2
Here's a link to my kodi log with pulseaudio:

https://drive.google.com/file/d/1_FxRqij...sp=sharing

and pipewire:

https://drive.google.com/file/d/1VTJI5ql...sp=sharing
Reply
#3
What version of PipeWire are you running?
Reply
#4
This good?

oana@OanaKodi:~ $ apt list --installed|grep pipewire

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libpipewire-0.3-0/stable,now 0.3.65-3+rpt8+deb12u1 arm64 [installed,automatic]
libpipewire-0.3-common/stable,stable,now 0.3.65-3+rpt8+deb12u1 all [installed,automatic]
libpipewire-0.3-dev/stable,now 0.3.65-3+rpt8+deb12u1 arm64 [installed]
libpipewire-0.3-modules/stable,now 0.3.65-3+rpt8+deb12u1 arm64 [installed,automatic]
pipewire-bin/stable,now 0.3.65-3+rpt8+deb12u1 arm64 [installed,automatic]
pipewire-libcamera/stable,now 0.3.65-3+rpt8+deb12u1 arm64 [installed,automatic]
pipewire-pulse/stable,now 0.3.65-3+rpt8+deb12u1 arm64 [installed,automatic]
pipewire/stable,now 0.3.65-3+rpt8+deb12u1 arm64 [installed,automatic]
oana@OanaKodi:~ $
Reply
#5
0.3.65 is very old, there have been significant bug fixes in the last couple of month. I assume that's the problem.
Reply
#6
There was a pulsewire update just now...still at 0.3.65 though.  I was able to get Kodi to use pulseaudio with the KODI_AE_SINK=ALSA kodi command, so I think I'll stick with that until pipewire gets upgraded to something more current through the official repos.

libpipewire-0.3-0/stable,now 0.3.65-3+rpt9+deb12u1 arm64 [installed,automatic]
libpipewire-0.3-common/stable,stable,now 0.3.65-3+rpt9+deb12u1 all [installed,automatic]
libpipewire-0.3-dev/stable,now 0.3.65-3+rpt9+deb12u1 arm64 [installed]
libpipewire-0.3-modules/stable,now 0.3.65-3+rpt9+deb12u1 arm64 [installed,automatic]
pipewire-bin/stable,now 0.3.65-3+rpt9+deb12u1 arm64 [installed,automatic]
pipewire-libcamera/stable,now 0.3.65-3+rpt9+deb12u1 arm64 [installed,automatic]
pipewire-pulse/stable,now 0.3.65-3+rpt9+deb12u1 arm64 [installed,automatic]
pipewire/stable,now 0.3.65-3+rpt9+deb12u1 arm64 [installed,automatic]
oana@OanaKodi:~ $
Reply
#7
Well, good news.  It's not perfect but it got a lot better once Pipewire got up to 1.2.4.1.  Patience I guess and it'll eventually sort itself out.

oana@OanaKodi:~ $  apt list --installed|grep pipewire

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libpipewire-0.3-0/stable,now 1.2.4-1~bpo12+1+rpt1 arm64 [installed,automatic]
libpipewire-0.3-common/stable,stable,now 1.2.4-1~bpo12+1+rpt1 all [installed,automatic]
libpipewire-0.3-dev/stable,now 1.2.4-1~bpo12+1+rpt1 arm64 [installed]
libpipewire-0.3-modules/stable,now 1.2.4-1~bpo12+1+rpt1 arm64 [installed,automatic]
pipewire-bin/stable,now 1.2.4-1~bpo12+1+rpt1 arm64 [installed,automatic]
pipewire-libcamera/stable,stable,now 1.2.4-1~bpo12+1+rpt1 all [installed,automatic]
pipewire-pulse/stable,now 1.2.4-1~bpo12+1+rpt1 arm64 [installed,automatic]
pipewire/stable,now 1.2.4-1~bpo12+1+rpt1 arm64 [installed,automatic]
oana@OanaKodi:~ $
Reply

Logout Mark Read Team Forum Stats Members Help
Audio crackling using pipewire crackling on Rpi5b0