Windows 10: Audio Popping caused by Latency from single core?

Discus and support Audio Popping caused by Latency from single core? in Windows 10 Ask Insider to solve the problem; Crosspost from techsupport, hope this is allowed: Windows: Windows 10, 10.0, version 2009, build: 19042 (x64) CPU: Ryzen 5 5600x Motherboard: MSI MAG... Discussion in 'Windows 10 Ask Insider' started by /u/IStandWithMises, Mar 14, 2021.

  1. Audio Popping caused by Latency from single core?


    Crosspost from techsupport, hope this is allowed:

    Windows: Windows 10, 10.0, version 2009, build: 19042 (x64) CPU: Ryzen 5 5600x Motherboard: MSI MAG TOMAHAWK B550 RAM: 2x8GB G.Skill Trident Z DDR4-3600 SSD: Samsung 970 Evo M.2 2280 GPU: AMD RX 580 Nitro+ 8GB

    Hello everyone,

    I built a new system and after initially working for a couple days, I am now experiencing audio popping /crackling like in this video: https://www.youtube.com/watch?v=b6jt__Ryo1s

    The issue however only arises when I am playing a video with sound while moving my mouse or starting programs or doing other things that consume resources, if the video is just playing while nothing else is consuming processing power, nothing happens. Likewise, this only happens for video or sound playback, not while playing games, while playing games the audio is completely fine. (I tested multiple video formats/websites and with multiple browsers to rule out the cause here, problem still arises everywhere). Also, while moving my mouse cursor while a video plays in a youtube tab f.e., I get little microstutters that immediately go away after I switch tabs (happens for other video websites too).

    Since audio popping/crackling is a common issue, I went through what feels like every reddit thread / forum post about this issue. I tried every solution from the tutorials of my motherboard manufacturer about resetting drivers to updating bios to reinstalling windows, I checked both my RAM sticks individually for errors with HCI Memtest, I unplugged all system fans individually, I did all the power settings solutions, UEFI edits for sleep states, switched all my USB devices, switched my speakers, switched audio ports, I did everything.

    Furthermore, the issue still persists with external usb soundcards as well! (So maybe it is not motherboard related, can someone comment on that?)

    Then I tried latencymon and maybe I have figured out the issue. Under the header "PER CPU DATA", only core 0 reported significant "ISR highest execution time" spikes, every other core seemed normal. Is this core of my processor "broken", do I need to switch CPUs? Because for me this seems the likely cause. When I disabled core 0 in the task manager for my audio driver "RtkAudUService64.exe" under processor affinity the problem improved a bit, if I had to guess. It did not go away however.

    I also noticed that in latencymon under driver the following processes reported execution times >20ms (basically the only spikes): dxgkrnl.sys, ntoskrnl.exe, ACPI.sys, tcpip.sys, Wdf01000.sys, ndis.sys and HDAudBus.sys

    Of these processes, only ACPI.sys, tcpip.sys and HDAudBus.sys spike specifically when I move my mouse, start programs etc while listening to videos. I I think these are the causes of the issue.

    Can someone here help me? Do you need an audio/video recording of the problem so you know whats happening? Please let me know, I wasted so much time trying to fix this issue. Thank you so much!

    latencymon log:


    CONCLUSION


    Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. Also one or more ISR routines that belong to a driver running in your system appear to be executing for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates. LatencyMon has been analyzing your system for 0:15:27 (h:mm:ss) on all processors.


    SYSTEM INFORMATION


    Computer name:
    OS version: Windows 10, 10.0, version 2009, build: 19042 (x64) Hardware: MS-7C91, Micro-Star International Co., Ltd. CPU: AuthenticAMD AMD Ryzen 5 5600X 6-Core Processor Logical processors: 12 Processor groups: 1 RAM: 16310 MB total


    CPU SPEED


    Reported CPU speed: 370 MHz

    Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.


    MEASURED INTERRUPT TO USER PROCESS LATENCIES


    The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.

    Highest measured interrupt to process latency (µs): 3431,60 Average measured interrupt to process latency (µs): 9,097468

    Highest measured interrupt to DPC latency (µs): 3427,90 Average measured interrupt to DPC latency (µs): 6,090804


    REPORTED ISRs


    Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.

    Highest ISR routine execution time (µs): 23530,870 Driver with highest ISR routine execution time: HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation

    Highest reported total ISR routine time (%): 0,005319 Driver with highest ISR total time: HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation

    Total time spent in ISRs (%) 0,006066

    ISR count (execution time <250 µs): 320266 ISR count (execution time 250-500 µs): 0 ISR count (execution time 500-1000 µs): 0 ISR count (execution time 1000-2000 µs): 0 ISR count (execution time 2000-4000 µs): 0 ISR count (execution time >=4000 µs): 0


    REPORTED DPCs


    DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.

    Highest DPC routine execution time (µs): 24033,890 Driver with highest DPC routine execution time: ACPI.sys - ACPI-Treiber für NT, Microsoft Corporation

    Highest reported total DPC routine time (%): 0,035705 Driver with highest DPC total execution time: ACPI.sys - ACPI-Treiber für NT, Microsoft Corporation

    Total time spent in DPCs (%) 0,078014

    DPC count (execution time <250 µs): 1223263 DPC count (execution time 250-500 µs): 0 DPC count (execution time 500-10000 µs): 102 DPC count (execution time 1000-2000 µs): 2 DPC count (execution time 2000-4000 µs): 0 DPC count (execution time >=4000 µs): 237


    REPORTED HARD PAGEFAULTS


    Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.

    NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.

    Process with highest pagefault count: searchapp.exe

    Total number of hard pagefaults 27849 Hard pagefault count of hardest hit process: 5564 Number of processes hit: 121


    PER CPU DATA


    CPU 0 Interrupt cycle time (s): 28,267770 CPU 0 ISR highest execution time (µs): 23530,870 CPU 0 ISR total execution time (s): 0,657635 CPU 0 ISR count: 279242 CPU 0 DPC highest execution time (µs): 24033,890 CPU 0 DPC total execution time (s): 8,386007 CPU 0 DPC count: 1143494


    CPU 1 Interrupt cycle time (s): 13,116782 CPU 1 ISR highest execution time (µs): 8,030 CPU 1 ISR total execution time (s): 0,001101 CPU 1 ISR count: 570 CPU 1 DPC highest execution time (µs): 20725,760 CPU 1 DPC total execution time (s): 0,039728 CPU 1 DPC count: 4354


    CPU 2 Interrupt cycle time (s): 12,069733 CPU 2 ISR highest execution time (µs): 15,480 CPU 2 ISR total execution time (s): 0,000507 CPU 2 ISR count: 84 CPU 2 DPC highest execution time (µs): 757,050 CPU 2 DPC total execution time (s): 0,020207 CPU 2 DPC count: 8154


    CPU 3 Interrupt cycle time (s): 11,506918 CPU 3 ISR highest execution time (µs): 0,0 CPU 3 ISR total execution time (s): 0,0 CPU 3 ISR count: 0 CPU 3 DPC highest execution time (µs): 1649,860 CPU 3 DPC total execution time (s): 0,006080 CPU 3 DPC count: 1401


    CPU 4 Interrupt cycle time (s): 11,493211 CPU 4 ISR highest execution time (µs): 0,0 CPU 4 ISR total execution time (s): 0,0 CPU 4 ISR count: 0 CPU 4 DPC highest execution time (µs): 63,230 CPU 4 DPC total execution time (s): 0,011150 CPU 4 DPC count: 4704


    CPU 5 Interrupt cycle time (s): 11,481599 CPU 5 ISR highest execution time (µs): 0,0 CPU 5 ISR total execution time (s): 0,0 CPU 5 ISR count: 0 CPU 5 DPC highest execution time (µs): 203,160 CPU 5 DPC total execution time (s): 0,011253 CPU 5 DPC count: 5863


    CPU 6 Interrupt cycle time (s): 9,322826 CPU 6 ISR highest execution time (µs): 0,0 CPU 6 ISR total execution time (s): 0,0 CPU 6 ISR count: 0 CPU 6 DPC highest execution time (µs): 18270,730 CPU 6 DPC total execution time (s): 0,025022 CPU 6 DPC count: 2231


    CPU 7 Interrupt cycle time (s): 9,054340 CPU 7 ISR highest execution time (µs): 0,0 CPU 7 ISR total execution time (s): 0,0 CPU 7 ISR count: 0 CPU 7 DPC highest execution time (µs): 24,390 CPU 7 DPC total execution time (s): 0,003403 CPU 7 DPC count: 1565


    CPU 8 Interrupt cycle time (s): 12,160162 CPU 8 ISR highest execution time (µs): 3,760 CPU 8 ISR total execution time (s): 0,006644 CPU 8 ISR count: 18457 CPU 8 DPC highest execution time (µs): 384,460 CPU 8 DPC total execution time (s): 0,010876 CPU 8 DPC count: 3714


    CPU 9 Interrupt cycle time (s): 7,110664 CPU 9 ISR highest execution time (µs): 2,790 CPU 9 ISR total execution time (s): 0,000397 CPU 9 ISR count: 836 CPU 9 DPC highest execution time (µs): 229,60 CPU 9 DPC total execution time (s): 0,005330 CPU 9 DPC count: 1830


    CPU 10 Interrupt cycle time (s): 4,786102 CPU 10 ISR highest execution time (µs): 3,320 CPU 10 ISR total execution time (s): 0,004303 CPU 10 ISR count: 10220 CPU 10 DPC highest execution time (µs): 818,830 CPU 10 DPC total execution time (s): 0,105243 CPU 10 DPC count: 28621


    CPU 11 Interrupt cycle time (s): 3,379938 CPU 11 ISR highest execution time (µs): 3,110 CPU 11 ISR total execution time (s): 0,004521 CPU 11 ISR count: 10860 CPU 11 DPC highest execution time (µs): 331,470 CPU 11 DPC total execution time (s): 0,057498 CPU 11 DPC count: 17673

    submitted by /u/IStandWithMises
    [link] [comments]

    :)
     
    /u/IStandWithMises, Mar 14, 2021
    #1
  2. regacc Win User

    DPC Latency + Audio popping Dell G7

    Hi,

    I'm experiencing DPC latency issues and audio popping on my Dell G7. The DPC latency issues are causing some recordings in my DAW to skip which can happen at any random time.

    The audio popping occurs when I haven't had any audio playing for a few moments. For example: I'll play a video, hear a "pop" out of the speakers, close the video, wait a few moments, reopen the video "pop" again.

    I've run Latency Monitor which is showing issues with ACPI.sys and nvlddmkm.sys (See the attached screenshot).

    Online everyone seems to have tried different things with/without success.

    Has anyone here had this problem before?

    Windows 10 Pro
    Version 1909 (OS Build 18363.778)

    - - - Updated - - -

    Still running Latency Monitor at the moment and nvlddmkm.sys has disappeared
     
    regacc, Mar 14, 2021
    #2
  3. High DPC latency from acpi.sys causing audio clicks and pops

    Hi thanks, yes I did go through all of those articles and have gone through their recommended actions in an attempt to resolve this (summarized in my list of things I've tried) as well as basic sound functionality as you mention. I have started several
    times from a clean Windows 10 install, with various builds tried. This is a more a more fundamental issue with the way that ACPI.sys impacts DPC latency on essentially all Windows notebooks. This impacts users of audio recording software, high-end gamers,
    and other users with latency-sensitive applications.
     
    MatthewVilleneuve, Mar 14, 2021
    #3
  4. dalchina Win User

    Audio Popping caused by Latency from single core?

    dalchina, Mar 14, 2021
    #4
Thema:

Audio Popping caused by Latency from single core?

Loading...
  1. Audio Popping caused by Latency from single core? - Similar Threads - Audio Popping caused

  2. ACPI.SYS Causing Extremely High Latency With Audio Playback Pops/Snaps

    in Windows 10 Gaming
    ACPI.SYS Causing Extremely High Latency With Audio Playback Pops/Snaps: Ive been reading through the supposed "fixes" to this problem by browsing through the posts here, but none of them work, Have microsoft come up with a fix for this problem yet? LATENCYMON reports extremely high latency of the ACPI.SYS driver which renders my MSI STEALTH GS66...
  3. ACPI.SYS Causing Extremely High Latency With Audio Playback Pops/Snaps

    in Windows 10 Software and Apps
    ACPI.SYS Causing Extremely High Latency With Audio Playback Pops/Snaps: Ive been reading through the supposed "fixes" to this problem by browsing through the posts here, but none of them work, Have microsoft come up with a fix for this problem yet? LATENCYMON reports extremely high latency of the ACPI.SYS driver which renders my MSI STEALTH GS66...
  4. High latency problems causing audio cracklings and pops

    in Windows 10 Gaming
    High latency problems causing audio cracklings and pops: Hello,I'm asking for help with my computer. I have audio pops and cracklings, with a small persistent background noise which really looks like interferencies I hear it louder when I move my mouse. I am using a headset wired with jack 3.5 cable, so I hear the interferences,...
  5. High latency problems causing audio cracklings and pops

    in Windows 10 Software and Apps
    High latency problems causing audio cracklings and pops: Hello,I'm asking for help with my computer. I have audio pops and cracklings, with a small persistent background noise which really looks like interferencies I hear it louder when I move my mouse. I am using a headset wired with jack 3.5 cable, so I hear the interferences,...
  6. High DPC latency causing audio pops

    in Windows 10 BSOD Crashes and Debugging
    High DPC latency causing audio pops: Since I bought my laptop I can hear random popping sounds while playing a Youtube video, it doesn't happen frequently so I decided to let it pass. Some days ago I decided to get to the root of the problem and I found it was due to a high DPC latency.I have updated my drivers...
  7. High DPC latency from acpi.sys causing audio clicks and pops

    in Windows 10 Drivers and Hardware
    High DPC latency from acpi.sys causing audio clicks and pops: I have audio popping. All drivers and BIOS are latest. LatencyMon stats: _________________________________________________________________________________________________________ CONCLUSION...
  8. High DPC latency from acpi.sys causing audio clicks and pops

    in Windows 10 Drivers and Hardware
    High DPC latency from acpi.sys causing audio clicks and pops: Has anyone found a definitive fix for this? I am encountering an issue with DPC latency causing clicking and popping when trying to record using multi-track audio software (in my case Presonus StudioOne, but exact same issue reported by countless others I've read on other...
  9. High DPC latency causing audio pops and clicks

    in Windows 10 Drivers and Hardware
    High DPC latency causing audio pops and clicks: I recently installed some new hardware (CPU, motherboard and memory) and did a clean Windows 10 installation. Since then both my Focusrite Scarlett 2i4 and on-board sound device have been giving me trouble. I've tried various solutions mentioned in other threads about DPC...
  10. High DPC latency causing audio pops and clicks

    in Windows 10 BSOD Crashes and Debugging
    High DPC latency causing audio pops and clicks: I recently installed some new hardware (CPU, motherboard and memory) and did a clean Windows 10 installation. Since then both my Focusrite Scarlett 2i4 and on-board sound device have been giving me trouble. I've tried various solutions mentioned in other threads about DPC...