Bug 216377

Summary: Audio crackle on playback start for ~5s
Product: Drivers Reporter: hawkshmo
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: RESOLVED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.10.27-gentoo Subsystem:
Regression: No Bisected commit-id:
Attachments: alsa-info.sh output

Description hawkshmo 2022-08-18 21:58:53 UTC
Created attachment 301603 [details]
alsa-info.sh output

Hi,

initially, I was getting these messages:

Aug 17 01:11:23 hellokitty pulseaudio[12938]: [alsa-sink-CX20590 Analog] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Aug 17 01:11:23 hellokitty pulseaudio[12938]: [alsa-sink-CX20590 Analog] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Aug 17 01:11:23 hellokitty pulseaudio[12938]: [alsa-sink-CX20590 Analog] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

They are symptomous with ~5s of crackling at the start of audio playbacks via pulseaudio-over-alsa. It does not occur with software interfacing with pulseaudio directly.

I followed the instructions and submitted a bug to alsa: https://github.com/alsa-project/alsa-lib/issues/262, where I was referred to this list.

Please find attached the output of alsa-info.sh.