(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
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1801540

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

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Won't Fix
Status in pulseaudio package in Ubuntu:
  Won't Fix

Bug description:
  Not sure if I'll report this upstream but there is definitely an issue
  with microphone recording on my desktop, this is not happening on my
  laptop which has a different codec.

  Already tried all workarounds possible, no luck. Only with my desktop
  with this particular motherboard. No issues in Windows, the sound
  recorded in there is distorted and has some static and robotic tone on
  high-pitch.

  alsa-info on the attachments

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to