(In reply to Takashi Iwai from comment #145)
> Hm, that's werid.  Basically non-blocking mode matters only at opening the
> PCM device (whether the stream is busy or not), and it shouldn't influence
> on the running stream.  Maybe it's a timing issue, like other tests failed
> sometimes...
> 
> Did you already try using non-cached buffer in addition to the ATI-SB
> snooping?
> Try the change like the below:
> 
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -1986,7 +1986,7 @@ static int dma_alloc_pages(struct hdac_bus *bus,
>  {
>       struct azx *chip = bus_to_azx(bus);
>  
> -     if (!azx_snoop(chip) && type == SNDRV_DMA_TYPE_DEV)
> +     if (/*!azx_snoop(chip) &&*/ type == SNDRV_DMA_TYPE_DEV)
>               type = SNDRV_DMA_TYPE_DEV_UC;
>       return snd_dma_alloc_pages(type, bus->dev, size, buf);
>  }
> @@ -2002,7 +2002,7 @@ static void pcm_mmap_prepare(struct snd_pcm_substream
> *substream,
>  #ifdef CONFIG_X86
>       struct azx_pcm *apcm = snd_pcm_substream_chip(substream);
>       struct azx *chip = apcm->chip;
> -     if (chip->uc_buffer)
> +     if (1 /*chip->uc_buffer*/)
>               area->vm_page_prot = pgprot_writecombine(area->vm_page_prot);
>  #endif
>  }

Yes, the issue is still present. I've applied attachment 283955 and your
last patch together.

-- 
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