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
 }

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to