Audio Crackling/Popping and DPC Latency Issues


  1. Posts : 5
    Windows 10
       #1

    Audio Crackling/Popping and DPC Latency Issues


    Hi,

    I seem to get Audio Crackling and Popping issues, after searching the web for a bit I noticed that this issue is generally tied to DPC Latency so I used LatencyMon to recorded for around 2 hours (stats below).

    In my case it doesn't seem to happen immediately after start up generally around an hour of usage and I can easily notice it when video and audio during playback is desynced (and it happens gradually and usually ends with audio being 3ish seconds ahead of video) then the audio crackling begins.

    I have tried a variety of solution including; upgrade/downgrading bios, updating/uninstalling/downgrading drivers for audio and gpu, disable HPET and dynamicTick, uninstalling updates or downloading the newest updates, etc. The usual steps to resolve issues. Unfortunately, nothing seems to help me in that regard and I haven't been able to find the cause.

    Hopefully someone here can provide some suggestion on steps I should take to help resolve this issue.

    Computer Info:
    Mobo: MSI B550m Mortar Wifi
    CPU: Ryzen 5 3600
    GPU: Nvidia GTX 3060ti
    Memory: Team Vulcan TUF Gaming DDR4-3200 (4x8GB)

    Windows 10 20H2 OS Build: 19042.870

    The soundcard itself is the one onboard. I have included the latest screenshot of LatencyMon and its stat page. Let me know if you would like more information.

    Audio Crackling/Popping and DPC Latency Issues-capture.png
    ____________________________________________________________________________________________________ ___
    __
    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. 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 2:05:23 (h:mm:ss) on all processors.


    ____________________________________________________________________________________________________ ___
    __
    SYSTEM INFORMATION
    ____________________________________________________________________________________________________ ___
    __
    Computer name: DESKTOP-10PE5RG
    OS version: Windows 10, 10.0, version 2009, build: 19042
    (x64)
    Hardware: MS-7C94, Micro-Star International Co., Ltd.
    CPU: AuthenticAMD AMD Ryzen 5 3600 6-Core Processor
    Logical processors: 12
    Processor groups: 1
    RAM: 32694 MB total


    ____________________________________________________________________________________________________ ___
    __
    CPU SPEED
    ____________________________________________________________________________________________________ ___
    __
    Reported CPU speed: 360 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): 14751.80
    Average measured interrupt to process latency (µs): 7.605939

    Highest measured interrupt to DPC latency (µs): 14748.10
    Average measured interrupt to DPC latency (µs): 4.084324


    ____________________________________________________________________________________________________ ___
    __
    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): 85.750
    Driver with highest ISR routine execution time: Wdf01000.sys - Kernel Mode Driver Framework
    Runtime, Microsoft Corporation

    Highest reported total ISR routine time (%): 0.003416
    Driver with highest ISR total time: Wdf01000.sys - Kernel Mode Driver Framework
    Runtime, Microsoft Corporation

    Total time spent in ISRs (%) 0.003416

    ISR count (execution time <250 µs): 4949409
    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): 10265.580
    Driver with highest DPC routine execution time: ntoskrnl.exe - NT Kernel & System, Microsoft
    Corporation

    Highest reported total DPC routine time (%): 0.229869
    Driver with highest DPC total execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver,
    Version 461.92 , NVIDIA Corporation

    Total time spent in DPCs (%) 0.449850

    DPC count (execution time <250 µs): 39259699
    DPC count (execution time 250-500 µs): 0
    DPC count (execution time 500-10000 µs): 65331
    DPC count (execution time 1000-2000 µs): 12
    DPC count (execution time 2000-4000 µs): 30
    DPC count (execution time >=4000 µs): 6


    ____________________________________________________________________________________________________ ___
    __
    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: msmpeng.exe

    Total number of hard pagefaults 76779
    Hard pagefault count of hardest hit process: 11989
    Number of processes hit: 60


    ____________________________________________________________________________________________________ ___
    __
    PER CPU DATA
    ____________________________________________________________________________________________________ ___
    __
    CPU 0 Interrupt cycle time (s): 721.097961
    CPU 0 ISR highest execution time (µs): 85.750
    CPU 0 ISR total execution time (s): 1.036225
    CPU 0 ISR count: 1650122
    CPU 0 DPC highest execution time (µs): 2345.580
    CPU 0 DPC total execution time (s): 378.732973
    CPU 0 DPC count: 35312978
    ____________________________________________________________________________________________________ ___
    __
    CPU 1 Interrupt cycle time (s): 100.271767
    CPU 1 ISR highest execution time (µs): 12.790
    CPU 1 ISR total execution time (s): 1.015674
    CPU 1 ISR count: 1500782
    CPU 1 DPC highest execution time (µs): 7559.780
    CPU 1 DPC total execution time (s): 20.329019
    CPU 1 DPC count: 1897628
    ____________________________________________________________________________________________________ ___
    __
    CPU 2 Interrupt cycle time (s): 50.027886
    CPU 2 ISR highest execution time (µs): 7.160
    CPU 2 ISR total execution time (s): 0.090513
    CPU 2 ISR count: 104869
    CPU 2 DPC highest execution time (µs): 215.150
    CPU 2 DPC total execution time (s): 1.463935
    CPU 2 DPC count: 407941
    ____________________________________________________________________________________________________ ___
    __
    CPU 3 Interrupt cycle time (s): 46.290205
    CPU 3 ISR highest execution time (µs): 5.010
    CPU 3 ISR total execution time (s): 0.044678
    CPU 3 ISR count: 48883
    CPU 3 DPC highest execution time (µs): 1105.40
    CPU 3 DPC total execution time (s): 0.727993
    CPU 3 DPC count: 240668
    ____________________________________________________________________________________________________ ___
    __
    CPU 4 Interrupt cycle time (s): 49.749873
    CPU 4 ISR highest execution time (µs): 5.760
    CPU 4 ISR total execution time (s): 0.000765
    CPU 4 ISR count: 797
    CPU 4 DPC highest execution time (µs): 207.620
    CPU 4 DPC total execution time (s): 0.642534
    CPU 4 DPC count: 224781
    ____________________________________________________________________________________________________ ___
    __
    CPU 5 Interrupt cycle time (s): 42.804415
    CPU 5 ISR highest execution time (µs): 2.210
    CPU 5 ISR total execution time (s): 0.000083
    CPU 5 ISR count: 85
    CPU 5 DPC highest execution time (µs): 188.860
    CPU 5 DPC total execution time (s): 0.236624
    CPU 5 DPC count: 90969
    ____________________________________________________________________________________________________ ___
    __
    CPU 6 Interrupt cycle time (s): 47.821343
    CPU 6 ISR highest execution time (µs): 2.380
    CPU 6 ISR total execution time (s): 0.000036
    CPU 6 ISR count: 28
    CPU 6 DPC highest execution time (µs): 189.320
    CPU 6 DPC total execution time (s): 0.492780
    CPU 6 DPC count: 153232
    ____________________________________________________________________________________________________ ___
    __
    CPU 7 Interrupt cycle time (s): 45.385683
    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): 225.670
    CPU 7 DPC total execution time (s): 0.255315
    CPU 7 DPC count: 83451
    ____________________________________________________________________________________________________ ___
    __
    CPU 8 Interrupt cycle time (s): 51.064874
    CPU 8 ISR highest execution time (µs): 6.480
    CPU 8 ISR total execution time (s): 0.244546
    CPU 8 ISR count: 504409
    CPU 8 DPC highest execution time (µs): 10265.580
    CPU 8 DPC total execution time (s): 0.635158
    CPU 8 DPC count: 203570
    ____________________________________________________________________________________________________ ___
    __
    CPU 9 Interrupt cycle time (s): 46.948170
    CPU 9 ISR highest execution time (µs): 4.260
    CPU 9 ISR total execution time (s): 0.035395
    CPU 9 ISR count: 57888
    CPU 9 DPC highest execution time (µs): 10264.320
    CPU 9 DPC total execution time (s): 0.329215
    CPU 9 DPC count: 112626
    ____________________________________________________________________________________________________ ___
    __
    CPU 10 Interrupt cycle time (s): 59.317185
    CPU 10 ISR highest execution time (µs): 5.220
    CPU 10 ISR total execution time (s): 0.184837
    CPU 10 ISR count: 309045
    CPU 10 DPC highest execution time (µs): 10264.60
    CPU 10 DPC total execution time (s): 0.930
    CPU 10 DPC count: 255884
    ____________________________________________________________________________________________________ ___
    __
    CPU 11 Interrupt cycle time (s): 58.991265
    CPU 11 ISR highest execution time (µs): 6.110
    CPU 11 ISR total execution time (s): 0.431375
    CPU 11 ISR count: 772501
    CPU 11 DPC highest execution time (µs): 7576.350
    CPU 11 DPC total execution time (s): 1.335925
    CPU 11 DPC count: 341350
    ____________________________________________________________________________________________________ ___
    __
      My Computer


  2. Posts : 5,452
    Windows 11 Home
       #2

    jstarton said:
    I have tried a variety of solution including; upgrade/downgrading bios, updating/uninstalling/downgrading drivers for audio and gpu, disable HPET and dynamicTick,
    You have really done your home work, just posting this for the future reference:
    Code:
    reg add "HKLM\System\CurrentControlSet\Control\PriorityControl" /v "Win32PrioritySeparation " /t REG_DWORD /d "38" /f
    bcdedit /deletevalue {current} removememory
    bcdedit /deletevalue {current} truncatememory
    bcdedit /deletevalue {current} useplatformclock
    bcdedit /deletevalue {default} removememory
    bcdedit /deletevalue {default} truncatememory
    bcdedit /deletevalue {default} useplatformclock
    bcdedit /set {current} disabledynamictick yes
    bcdedit /set {default} disabledynamictick yes
    jstarton said:
    The soundcard itself is the one onboard.
    With your hardware, I would invest into a soundcard, it could be caused by EMF. I used to have that.
    jstarton said:
    msmpeng.exe
    Microsoft Defender, it is the first thing I always disable at any computer. I do not like hardware killers.
    jstarton said:
    Hopefully someone here can provide some suggestion on steps I should take to help resolve this
    Try Intelligent standby list cleaner. Set timer to 0.5ms and start it to purge standby memory. Comparison.
    Attached Thumbnails Attached Thumbnails Audio Crackling/Popping and DPC Latency Issues-capture_03282021_200544.jpg   Audio Crackling/Popping and DPC Latency Issues-capture_03282021_200636.jpg  
      My Computer


  3. Posts : 5
    Windows 10
    Thread Starter
       #3

    TairikuOkami said:
    With your hardware, I would invest into a soundcard, it could be caused by EMF. I used to have that.
    Yeah. I was considering that also, but I'm not sure which ones are good investments and have a tangible upgrade over the onboard Realtek ALC1200/1200P codec. Also, spending like ~$200 is sort of out of budget for me atm. Could you provide some options, if possible?

    TairikuOkami said:
    Try Intelligent standby list cleaner. Set timer to 0.5ms and start it to purge standby memory. Comparison.
    I did try this, didn't quite help but I do have an update to the situation.

    Prior to browsing tenforums, I had my Motherboard manufacturers;
    Realtek HD Universal Driver | Version: 6.0.9102.1 | Release Date: 2021-02-05

    I found this thread Determine the HDA Realtek driver needed for your Audio
    Which recommended me to download Version 6.0.9116.1 via the script provided; which I then upgraded to. I also updated used DDU to clean my GPU drivers and reinstalled the latest NVidia drivers version 461.92.

    Today, I uninstalled and delete drivers for the Realtek (and let windows install whatever drivers it wants High Definition Audio Device in this case version 10.0.19041.264) and used DDU to clean the GPU and Realtek drivers.

    After rebooting I was checking latency and it was fine during this time and the Intelligent Standby List Cleaner did seem to keep it under 500µs
    Audio Crackling/Popping and DPC Latency Issues-screenshot-2021-03-29-204719nogpurealtek.pngAudio Crackling/Popping and DPC Latency Issues-screenshot-2021-03-29-204817nogpurealtek.png
    Didn't run it for very long but looked fine and worked okay. Now to test if it was the audio or GPU drivers, however this time I installed the 462.07 (beta hotfix driver). Note, I didn't reinstall the Realtek Audio drivers only the GPU drivers with everything selected.
    Results:
    LatencyMon Stats:
    ____________________________________________________________________________________________________ _____
    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. 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 1:13:47 (h:mm:ss) on all processors.


    ____________________________________________________________________________________________________ _____
    SYSTEM INFORMATION
    ____________________________________________________________________________________________________ _____
    Computer name: DESKTOP-10PE5RG
    OS version: Windows 10, 10.0, version 2009, build: 19042 (x64)
    Hardware: MS-7C94, Micro-Star International Co., Ltd.
    CPU: AuthenticAMD AMD Ryzen 5 3600 6-Core Processor
    Logical processors: 12
    Processor groups: 1
    RAM: 32694 MB total


    ____________________________________________________________________________________________________ _____
    CPU SPEED
    ____________________________________________________________________________________________________ _____
    Reported CPU speed: 360 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): 6214.0
    Average measured interrupt to process latency (µs): 4.887078

    Highest measured interrupt to DPC latency (µs): 6206.20
    Average measured interrupt to DPC latency (µs): 2.026143


    ____________________________________________________________________________________________________ _____
    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): 54.360
    Driver with highest ISR routine execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft
    Corporation

    Highest reported total ISR routine time (%): 0.003661
    Driver with highest ISR total time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft
    Corporation

    Total time spent in ISRs (%) 0.003661

    ISR count (execution time <250 µs): 3465372
    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): 2050.080
    Driver with highest DPC routine execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 462.07 ,
    NVIDIA Corporation

    Highest reported total DPC routine time (%): 0.119931
    Driver with highest DPC total execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 462.07 ,
    NVIDIA Corporation

    Total time spent in DPCs (%) 0.289060

    DPC count (execution time <250 µs): 33398758
    DPC count (execution time 250-500 µs): 0
    DPC count (execution time 500-10000 µs): 2038
    DPC count (execution time 1000-2000 µs): 18
    DPC count (execution time 2000-4000 µs): 5
    DPC count (execution time >=4000 µs): 0


    ____________________________________________________________________________________________________ _____
    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: nvcontainer.exe

    Total number of hard pagefaults 70276
    Hard pagefault count of hardest hit process: 32761
    Number of processes hit: 82


    ____________________________________________________________________________________________________ _____
    PER CPU DATA
    ____________________________________________________________________________________________________ _____
    CPU 0 Interrupt cycle time (s): 306.098406
    CPU 0 ISR highest execution time (µs): 34.040
    CPU 0 ISR total execution time (s): 1.116597
    CPU 0 ISR count: 1981217
    CPU 0 DPC highest execution time (µs): 2050.080
    CPU 0 DPC total execution time (s): 144.391583
    CPU 0 DPC count: 31830514
    ____________________________________________________________________________________________________ _____
    CPU 1 Interrupt cycle time (s): 45.049974
    CPU 1 ISR highest execution time (µs): 54.360
    CPU 1 ISR total execution time (s): 0.374910
    CPU 1 ISR count: 609026
    CPU 1 DPC highest execution time (µs): 617.630
    CPU 1 DPC total execution time (s): 6.469992
    CPU 1 DPC count: 798445
    ____________________________________________________________________________________________________ _____
    CPU 2 Interrupt cycle time (s): 29.445605
    CPU 2 ISR highest execution time (µs): 20.840
    CPU 2 ISR total execution time (s): 0.00210
    CPU 2 ISR count: 2540
    CPU 2 DPC highest execution time (µs): 170.740
    CPU 2 DPC total execution time (s): 0.214241
    CPU 2 DPC count: 94298
    ____________________________________________________________________________________________________ _____
    CPU 3 Interrupt cycle time (s): 28.794981
    CPU 3 ISR highest execution time (µs): 1.080
    CPU 3 ISR total execution time (s): 0.000005
    CPU 3 ISR count: 6
    CPU 3 DPC highest execution time (µs): 218.660
    CPU 3 DPC total execution time (s): 0.187489
    CPU 3 DPC count: 89707
    ____________________________________________________________________________________________________ _____
    CPU 4 Interrupt cycle time (s): 28.019231
    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): 182.670
    CPU 4 DPC total execution time (s): 0.122538
    CPU 4 DPC count: 46365
    ____________________________________________________________________________________________________ _____
    CPU 5 Interrupt cycle time (s): 29.758376
    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): 169.820
    CPU 5 DPC total execution time (s): 0.072041
    CPU 5 DPC count: 27466
    ____________________________________________________________________________________________________ _____
    CPU 6 Interrupt cycle time (s): 28.530599
    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): 218.140
    CPU 6 DPC total execution time (s): 0.127184
    CPU 6 DPC count: 39426
    ____________________________________________________________________________________________________ _____
    CPU 7 Interrupt cycle time (s): 24.433082
    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): 175.230
    CPU 7 DPC total execution time (s): 0.081284
    CPU 7 DPC count: 28178
    ____________________________________________________________________________________________________ _____
    CPU 8 Interrupt cycle time (s): 29.768065
    CPU 8 ISR highest execution time (µs): 27.030
    CPU 8 ISR total execution time (s): 0.140934
    CPU 8 ISR count: 300100
    CPU 8 DPC highest execution time (µs): 146.290
    CPU 8 DPC total execution time (s): 0.298817
    CPU 8 DPC count: 99937
    ____________________________________________________________________________________________________ _____
    CPU 9 Interrupt cycle time (s): 26.985502
    CPU 9 ISR highest execution time (µs): 10.670
    CPU 9 ISR total execution time (s): 0.017078
    CPU 9 ISR count: 30717
    CPU 9 DPC highest execution time (µs): 237.770
    CPU 9 DPC total execution time (s): 0.120682
    CPU 9 DPC count: 46252
    ____________________________________________________________________________________________________ _____
    CPU 10 Interrupt cycle time (s): 34.527355
    CPU 10 ISR highest execution time (µs): 35.330
    CPU 10 ISR total execution time (s): 0.094457
    CPU 10 ISR count: 170486
    CPU 10 DPC highest execution time (µs): 591.450
    CPU 10 DPC total execution time (s): 0.640723
    CPU 10 DPC count: 141898
    ____________________________________________________________________________________________________ _____
    CPU 11 Interrupt cycle time (s): 34.773366
    CPU 11 ISR highest execution time (µs): 30.720
    CPU 11 ISR total execution time (s): 0.198692
    CPU 11 ISR count: 371280
    CPU 11 DPC highest execution time (µs): 228.950
    CPU 11 DPC total execution time (s): 0.839315
    CPU 11 DPC count: 158333
    ____________________________________________________________________________________________________ _____
    Audio Crackling/Popping and DPC Latency Issues-screenshot-2021-03-29-220339.pngAudio Crackling/Popping and DPC Latency Issues-screenshot-2021-03-29-220354.pngAudio Crackling/Popping and DPC Latency Issues-screenshot-2021-03-29-220415.png
    I ran this for about an hour and currently haven't had very many popping sounds, crackling or video playback being desynced from audio. Though, it peaks on launch of and usage duration of some program.

    The weird thing is that I had already tried this tactic day 1 of the issue, but I only tried with GPU Driver version 461.72 and 461.92 with Realtek drivers version 6.0.9102.1 and the issue presisted then so I wasn't sure about the root cause.

    At this point I'm guessing the main cause is NVidia Drivers conflicting with the 6.0.9102.1 and newer? I also haven't installed the Realtek drivers again yet, I want to leave it for a day or so and check how daily usage affect it's and if I haven't tested it for long enough.

    Sorry about the massive wall of text, but I thought it might be important to post an update to my situation.

    [UPDATE] Shortly after posting this around 09:57:11 UTC the video-audio desync return as well as more frequent popping. Guess the main cause is probably the nvidia drivers, is anyone able to recommend a version I could try?
    Last edited by jstarton; 29 Mar 2021 at 04:59.
      My Computer


  4. Posts : 2,585
    Win 11
       #4

    I have a recording studio and keep track of Latency and audio. One common hardware item I've had (and on others) that has contributed to latency problems is NVIDIA video. For this reason I only use AMD video cards, that have never caused latency problems. Not to say that NVIDIA is the cause for everyone, but its one that I've encountered on my PC's and on client's PC's.

    I have Realtek audio and using the driver from my motherboard vendor (Gigabyte) and it is not causing any latency problems.
      My Computers


  5. Posts : 5
    Windows 10
    Thread Starter
       #5

    fireberd said:
    For this reason I only use AMD video cards, that have never caused latency problems. Not to say that NVIDIA is the cause for everyone, but its one that I've encountered on my PC's and on client's PC's.
    I just recently upgraded to the NVidia 3060 Ti at the end of December from an RX590, and don't really have the budget to get another GPU at this time. Have you come across any fixes or workarounds for NVidia GPU's?
      My Computer


  6. Posts : 2,585
    Win 11
       #6

    I haven't found any workaround for NVIDIA, but that's not to say there isn't any. I've seen reports of some recording studio systems using NVIDIA, but again every NVIDIA I had caused audio problems and was able to take the easy way to fix it by using AMD Video cards.
      My Computers


  7. Posts : 5
    Windows 10
    Thread Starter
       #7

    Though I might a post an update, based on some testing and looking at the Conflicts/Sharing. The GPU is sharing with 2 different PCI-to-PCI Bridges, disabling them caused the issue to effectively stop, resulting in latency being around 20-60µs avg and spikes to about 300µs depending on a program.

    That seems good but the disabled PCI-to-PCI bridge's also controls the Intel WiFi 6 AX200 integrated to the motherboard and the Realtek PCIe 2.5GbE Family Controller (LAN).

    I did initially test with the wifi and lan devices disabled but that did help but it still did spike about 1000µs on some occasions but I'm guess that may be caused other things still using the pci-to-pci bridge itself.

    Maybe someone here will be able to explain why the sharing works this way? Also, if there are any workarounds for this?
    Last edited by jstarton; 31 Mar 2021 at 02:43. Reason: Spelling Fix
      My Computer


  8. Posts : 5
    Windows 10
    Thread Starter
       #8

    [Update]
    After searching around and looking at the NVidia forums it seems like the main cause (at least in my case) was a program called Lightbulb, I was using it as an alternative for f.lux and it seems like the latest update's has gamma polling and overall performance issues for some users.

    Link to GitHub issues thread Latest update causes audio and system stuttering . Issue #199 . Tyrrrz/LightBulb . GitHub

    Maybe this will solve it for some people, it hasn't completely solved it for me, but reverting to 2.3 works fines (probably use an alternative untils it confirmed to be fixed) with occasionally spiking especially on launch of programs, etc.

    That's all for now, maybe I'll do more testing and update if required.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:52.
Find Us




Windows 10 Forums