(In reply to Takashi Iwai from comment #219)
> Is this with tsched=0?  I wonder why PA gets the position information so
> often.  Without tsched change, PA should access to the hardware much less
> frequently.
> 
> In anyway, one another interesting experiment is to reduce the max period
> size, something like below on top of the previous patch:
> 
> --- a/sound/pci/hda/hda_controller.c
> +++ b/sound/pci/hda/hda_controller.c
> @@ -607,6 +607,7 @@ static int azx_pcm_open(struct snd_pcm_substream
> *substream)
>       runtime->hw.channels_max = hinfo->channels_max;
>       runtime->hw.formats = hinfo->formats;
>       runtime->hw.rates = hinfo->rates;
> +     runtime->hw.period_bytes_max =  32768; // XXX
>       snd_pcm_limit_hw_rates(runtime);
>       snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
>  
> This is merely a hackish workaround, but worth to try.

No, this is with tsched removed from the parameter, so it should be one.
I’m forcing tsched to zero to not have the issue in PA, otherwise the
issue is not present.

If you like, I can post the same trace with tsched=0, if that will help
you narrow down the issue.

I’ll try the patch shortly,

Thanks again for your time,

Marco.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1801540

Title:
  Microphone distorted sound on ALC892/1220 on AMD chipsets

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1801540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to