Re: pulseaudio / alc1220 sound clicks interruptions etc

From: Christos Margiolis <christos_at_freebsd.org>
Date: Wed, 04 Jun 2025 17:15:08 UTC
Amar Takhar wrote:
> On 2025-06-04 18:50 +0200, Christos Margiolis wrote:
> > 
> > I cannot really see a clear pattern here, but I think we can try to
> > narrow down the issue. What is the behavior if you use _only_ plain OSS?
> > No pulseaudio, ALSA, virtual_oss, etc.
> > 
> > Also, do you vchanrate for both recording and playback? If not, that
> > could be an issue as well (see BUGS section in sound(4)'s man page [1]).
> 
> I'm pretty sure he has hit this same issue I've had for years now:
> 
>   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263385
> 
> I've tried everything, OSS, external USB DAC, PulseAudio .. all of it has the 
> same issues.  It's worse in firefox/chrome especially for 4k video.
> 
> I don't have a non-nvidia card to try in this machine so I'm not sure in the 
> driver but you can hear clicks for example when a keyframe switch happens.  
> Anything that causes a lot of video refresh creates the clicks they are softer 
> at lower resolutions but more acute at higher.
> 
> I'm still on an older 14.1 and have not updated I was going to try that soon but 
> none of the previous updates from 13 made any difference and two updates made it 
> worse.

If this is a scheduling/video driver issue, I would say, definitely
upgrade and test whether the problem is still present.

As for the nvidia driver being a possible problem, does this happen if
you play audio before starting the graphical environment in the first
place, i.e., from a TTY?

Christos