Comment 101 for bug 345627

Revision history for this message
Jonathan Kyler (fblack947) wrote :

I just added this comment over on Bug #301755, but feel that it might be applicable to this one too:

I just had good success with adding a parameter to /etc/modprobe.d/alsa-base.conf:

options snd-hda-intel position_fix=1

I got the idea from:
  http://ubuntuforums.org/showthread.php?t=843012

And the file located at:
  /usr/share/doc/alsa-base/driver/ALSA-Configuration.txt.gz (use gunzip to unzip it)

The section on snd-hda-intel contained the following:
     Note 2: If you get click noises on output, try the module option
     position_fix=1 or 2. position_fix=1 will use the SD_LPIB
     register value without FIFO size correction as the current
     DMA pointer. position_fix=2 will make the driver to use
     the position buffer instead of reading SD_LPIB register.
     (Usually SD_LPLIB register is more accurate than the
     position buffer.)

My current configuration: Ubuntu 8.10, alsa 1.0.20, pulse audio 0.9.10, using equalizer via ladspa

The module parameter appears to be extremely important.

Other things which may or may not be important:
In /etc/pulse/daemon.conf:
  resample-method = src-sinc-best-quality (I've also used speex-float-1)
  default-fragments = 5
  default-fragment-size-msec = 25