(In reply to Rob McCathie from comment #296)
> Just thought i'd update on my situation, i've now tested that it is only the
> Pulse changing to batch mode that causes my issue. So i'm no longer running
> the patch i posted earlier, rather now i do this:
> 
> 
> 
> diff -Naur a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c
> --- a/sound/pci/hda/hda_controller.c  2021-02-10 19:29:23.000000000 +1100
> +++ b/sound/pci/hda/hda_controller.c  2021-02-14 00:38:36.602466066 +1100
> @@ -609,13 +609,6 @@
>                                    20,
>                                    178000000);
>  
> -     /* by some reason, the playback stream stalls on PulseAudio with
> -      * tsched=1 when a capture stream triggers.  Until we figure out the
> -      * real cause, disable tsched mode by telling the PCM info flag.
> -      */
> -     if (chip->driver_caps & AZX_DCAPS_AMD_WORKAROUND)
> -             runtime->hw.info |= SNDRV_PCM_INFO_BATCH;
> -
>       if (chip->align_buffer_size)
>               /* constrain buffer sizes to be multiple of 128
>                  bytes. This is more efficient in terms of memory
> 
> 
> 
> ------------------
> 
> It's my opinion that the above reversion should be done in mainline. A
> bugfix that fixes a problem over here but creates a new one over there isn't
> a bugfix at all.

FWIW, on my system this improves the recording start, removing
completely audio clicks at the start of recording (no audio stalls in
reproduction, even with multiple streams on acquisition while playing
audio), so for my use case it's fine, but someone with PulseAudio should
test this and see if it causes regressions.

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