[Bug 263385] Sound pops using Realtek ALC897 Intel Alder Lake.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Apr 2022 01:05:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263385

            Bug ID: 263385
           Summary: Sound pops using Realtek ALC897 Intel Alder Lake.
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: verm@darkbeer.org

Created attachment 233292
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233292&action=edit
Output of /dev/sndstat

I am having sound pops on an Asus PRIME Z690-P WIFI using a i9 12900KF CPU. 
The sound hardware is an ALC897.  Video card is an NVIDIA 3060.

I get frequent audio pops that seems to somehow be related to the video card. 
If I am playing a video through a web browser and scroll fast in another tab or
window I get pops that coincide with my scrolling.  Also if I probe the video
card say with 'vdpauinfo' it will do it as well.

There are no sounds when audio is not playing.  I'm exporting the audio via
Optical (ch6) to an external amp.  This does happen with headphones directly
connected to the back audio port (ch4) as well.

It's most noticeable playing through Firefox while being extremely faint/quick
playing the same video downloaded with mpv.

With hw.snd.verbose set to 4 I get these messages on my console:

  kernel: pcm4: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=896,
old=896 delta=0 amt=0 ready=2048 free=0
  kernel: pcm4: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=1152,
old=1152 delta=0 amt=0 ready=2048 free=0
  kernel: pcm4: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=256,
old=256 delta=0 amt=0 ready=2048 free=0

Attached is output from /dev/sndstat

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.