On Sun, 16 Mar 2025 18:01:02 +0100,
Alexandre Ratchov <a...@caoua.org> wrote:
> 
> On Sat, Mar 15, 2025 at 10:58:10PM +0100, Kirill A. Korinsky wrote:
> > 
> > FWIW I do have almost the same clicking and popping when play some flac file
> > with: Stream #0:0: Audio: flac, 192000 Hz, stereo, s32 (24 bit)
> > it doesn't happens on each attemtp, but anying enough. I can reproduce it
> > via mpd, ffplay and mplayer. At debug log of sndio I do have:
> 
> could you confirm that clicks are during:
> 
> >         mpd0: xrun, pause cycle
> >         mpd0: xrun, pause cycle
> 
> but not during:
> 
> >         rsnd/2: rec hw xrun, rused = 480 / 7680
> >         rsnd/2: play hw xrun, pused = 7200 / 7680
> 
> could you confirm that clicks don't occur if the system is idle and
> with no "big programs" running?
> 

Yes, load average almost none, and I don't have anything active during this
test (I've double checked it by top).

So, when I play music via mpd and run sndiod with -ddd I do have a stream of

        rsnd/1: rec hw xrun, rused = 1440 / 7680
        rsnd/1: play hw xrun, pused = 6240 / 7680
        rsnd/1: rec hw xrun, rused = 960 / 7680
        rsnd/1: play hw xrun, pused = 6720 / 7680
        rsnd/1: rec hw xrun, rused = 480 / 7680
        rsnd/1: play hw xrun, pused = 7200 / 7680
        rsnd/1: rec hw xrun, rused = 480 / 7680
        rsnd/1: play hw xrun, pused = 7200 / 7680
        rsnd/1: rec hw xrun, rused = 480 / 7680

and at some point I do have:

        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    
        mpd0: xrun, pause cycle                                                 
                                                                                
    

a lot of them, and it was when when clicks are started.

I've attached an example of output until I hit clicking.

-- 
wbr, Kirill

Attachment: sndiod.log.gz
Description: Binary data

Reply via email to