[alsa-devel] Rewrite of hw_ptr updaters makes things worse?

Chuck Ebbert cebbert at redhat.com
Tue Apr 14 22:22:51 CEST 2009


On Tue, 14 Apr 2009 15:37:49 +0200
Takashi Iwai <tiwai at suse.de> wrote:

> At Wed, 1 Apr 2009 18:46:27 -0400,
> Chuck Ebbert wrote:
> > 
> > After adding these patches from 2.6.30 to a 2.6.29 kernel, pulseaudio problems
> > are worse:
> > 
> > ALSA: pcm - Reset invalid position even without debug option
> > ALSA: pcm - Fix delta calculation at boundary overlap
> > ALSA: pcm - Safer boundary checks
> > ALSA: Rewrite hw_ptr updaters
> 
> Hrm, these patches are basically to avoid reporting bogus hw_ptr
> values to the user-space.  So, the problem could be really the bad
> DMA pointer reporting on your hardware.  What shows if you enable
> the debug via
> 	# echo 1 > /proc/asound/card0/pcm0p/xrun_debug
> ??  Note that this file appears when built with
> CONFIG_SND_PCM_XRUN_DEBUG.
> 
> Jaroslav made some patches to handle the bogus DMA-pointer values.
> Could you check sound git tree below, either for-next or master
> branch?
> 

Those patches seem to have fixed things.


More information about the Alsa-devel mailing list