DPC Latency Scratching & Popping audio - YouTube playback


  1. Posts : 261
    Windows 10 Pro 21H2 (OS Build 19044.1706)
       #1

    DPC Latency Scratching & Popping audio - YouTube playback


    For some time now my audio has popped and scratched out a lot during YouTube or video playback. When playing music I have a car subwoofer hooked up to my PC with a splitter and cable. I play some bassy songs around 20-60hz and "Down In The DM - Yo Gotti 26,30,36hz" as tests and hear the issues as well.

    Windows 10 version 1909 OS build 18363.1016
    DPC Latency Scratching & Popping audio - YouTube playback-firefox_arturwpj8w.png DPC Latency Scratching & Popping audio - YouTube playback-latmon_n43tdprduf.png DPC Latency Scratching & Popping audio - YouTube playback-pvm5ntullb.png

    Even with updating to the latest audio driver, or rolling back previous drivers make no difference. Sometimes in the DPC latency app it'll show the DirectX Graphics Kernel thing too.
      My Computer


  2. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, unusual to see those drivers listed.

    Your MBO seems to be from around 2012, is that correct? If so, no guarantees whatsoever as to whether it will run Win 10 satisfactorily or not. Similarly your graphics card seems to be from around 2013.

    Thank you for stating your build-1909.

    For some time now
    - would you say this started after updating to a particular major Windows build?

    Diagnosing this is difficult. You could
    a. Start by disabling and eliminating as many elements as possible either by removal (peripherals, graphics, NIC..), disconnection, or checkboxes in Autoruns (free from MS). This is very crude and basic, and may not let you identify a cause. It's a trial and error approach.

    b. Analytical- this is technically demanding- use the Windows Performance Analyser/Recorder (free from MS) - examples if you search the forum of its graphical output. Tutorial available.

    c. For test purposes, grab a spare disk, and with only that in situ, install an OLDER build of Win 10 e.g. 1809. This is freely available using the tutorial on downloading a Win 10 iso file. (Heidoc iso downloader - Google). Install that and then see if you still have the same problem. If not, you have some basis for comparison of driver versions.

    Please feel free to search the forum for other cases using e.g.
    LatencyMon
    stutter

    You are probably looking for an appropriate older version of one or more drivers.

    Noted you have a huge number of tabs open. Perform any tests with as few programs open as possible.

    Perform a search such as this and review what people have found:
    DPC Latency Scratching & Popping audio - YouTube playback-1.png
      My Computers


  3. Posts : 261
    Windows 10 Pro 21H2 (OS Build 19044.1706)
    Thread Starter
       #3

    Here's an update:

    Stats:
    Code:
    _________________________________________________________________________________________________________
    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. 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:00:26  (h:mm:ss) on all processors.
    
    
    _________________________________________________________________________________________________________
    SYSTEM INFORMATION
    _________________________________________________________________________________________________________
    Computer name:                                        KYLE-PC
    OS version:                                           Windows 10, 10.0, version 1909, build: 18363 (x64)
    Hardware:                                             To be filled by O.E.M., To be filled by O.E.M.
    CPU:                                                  AuthenticAMD AMD FX(tm)-6300 Six-Core Processor 
    Logical processors:                                   6
    Processor groups:                                     1
    RAM:                                                  14232 MB total
    
    
    _________________________________________________________________________________________________________
    CPU SPEED
    _________________________________________________________________________________________________________
    Reported CPU speed:                                   3512 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):   339.70
    Average measured interrupt to process latency (µs):   8.620626
    
    Highest measured interrupt to DPC latency (µs):       334.60
    Average measured interrupt to DPC latency (µs):       3.148939
    
    
    _________________________________________________________________________________________________________
     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):              23884.399772
    Driver with highest ISR routine execution time:       USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
    
    Highest reported total ISR routine time (%):          0.090884
    Driver with highest ISR total time:                   USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
    
    Total time spent in ISRs (%)                          0.101274
    
    ISR count (execution time <250 µs):                   14151
    ISR count (execution time 250-500 µs):                0
    ISR count (execution time 500-1000 µs):               1
    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):              24109.299544
    Driver with highest DPC routine execution time:       USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
    
    Highest reported total DPC routine time (%):          0.210762
    Driver with highest DPC total execution time:         USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
    
    Total time spent in DPCs (%)                          0.745578
    
    DPC count (execution time <250 µs):                   140258
    DPC count (execution time 250-500 µs):                0
    DPC count (execution time 500-10000 µs):              12
    DPC count (execution time 1000-2000 µs):              0
    DPC count (execution time 2000-4000 µs):              0
    DPC count (execution time >=4000 µs):                 1
    
    
    _________________________________________________________________________________________________________
     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:                 mbamservice.exe
    
    Total number of hard pagefaults                       16
    Hard pagefault count of hardest hit process:          5
    Number of processes hit:                              9
    
    
    _________________________________________________________________________________________________________
     PER CPU DATA
    _________________________________________________________________________________________________________
    CPU 0 Interrupt cycle time (s):                       1.889082
    CPU 0 ISR highest execution time (µs):                23884.399772
    CPU 0 ISR total execution time (s):                   0.155871
    CPU 0 ISR count:                                      13751
    CPU 0 DPC highest execution time (µs):                397.804385
    CPU 0 DPC total execution time (s):                   1.045031
    CPU 0 DPC count:                                      130687
    _________________________________________________________________________________________________________
    CPU 1 Interrupt cycle time (s):                       0.595577
    CPU 1 ISR highest execution time (µs):                31.481777
    CPU 1 ISR total execution time (s):                   0.002218
    CPU 1 ISR count:                                      374
    CPU 1 DPC highest execution time (µs):                578.659453
    CPU 1 DPC total execution time (s):                   0.038364
    CPU 1 DPC count:                                      2972
    _________________________________________________________________________________________________________
    CPU 2 Interrupt cycle time (s):                       0.594963
    CPU 2 ISR highest execution time (µs):                13.152904
    CPU 2 ISR total execution time (s):                   0.000065
    CPU 2 ISR count:                                      10
    CPU 2 DPC highest execution time (µs):                151.755695
    CPU 2 DPC total execution time (s):                   0.026720
    CPU 2 DPC count:                                      2837
    _________________________________________________________________________________________________________
    CPU 3 Interrupt cycle time (s):                       0.508222
    CPU 3 ISR highest execution time (µs):                6.755410
    CPU 3 ISR total execution time (s):                   0.000118
    CPU 3 ISR count:                                      21
    CPU 3 DPC highest execution time (µs):                93.242597
    CPU 3 DPC total execution time (s):                   0.008562
    CPU 3 DPC count:                                      836
    _________________________________________________________________________________________________________
    CPU 4 Interrupt cycle time (s):                       0.542782
    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):                24109.299544
    CPU 4 DPC total execution time (s):                   0.041179
    CPU 4 DPC count:                                      2302
    _________________________________________________________________________________________________________
    CPU 5 Interrupt cycle time (s):                       0.399215
    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):                90.034169
    CPU 5 DPC total execution time (s):                   0.005349
    CPU 5 DPC count:                                      637
    _________________________________________________________________________________________________________
    CPUs:
    DPC Latency Scratching &amp; Popping audio - YouTube playback-image.png

    Drivers:
    DPC Latency Scratching &amp; Popping audio - YouTube playback-image.png

    Main:
    DPC Latency Scratching &amp; Popping audio - YouTube playback-image.png
      My Computer


  4. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    You will have to do what may be quite a bit of work to identify this yourself as I suggested, I'm afraid.

    It's extremely unlikely anyone here will be able to provide an instant fix for you.
      My Computers


  5. Posts : 1,223
    Windows 10
       #5

    Old computer plus dozens of browser tabs open.
      My Computer


  6. Posts : 261
    Windows 10 Pro 21H2 (OS Build 19044.1706)
    Thread Starter
       #6

    sandyt said:
    Old computer plus dozens of browser tabs open.
    It has nothing to do with the tabs open, despite Firefox using more RAM with more than one tab open. It does it with Firefox closed as well. I may have to think about getting a dedicated sound card and see if that helps.
      My Computer


  7. Posts : 261
    Windows 10 Pro 21H2 (OS Build 19044.1706)
    Thread Starter
       #7

    Still trying to diagnose my onboard audio popping until I get a dedicated sound card but here is a new DPC result.
    DPC Latency Scratching &amp; Popping audio - YouTube playback-image.png

    Code:
    _________________________________________________________________________________________________________
    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. 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:11:09  (h:mm:ss) on all processors.
    
    
    _________________________________________________________________________________________________________
    SYSTEM INFORMATION
    _________________________________________________________________________________________________________
    Computer name:                                        KYLE-PC
    OS version:                                           Windows 10, 10.0, version 2009, build: 19042 (x64)
    Hardware:                                             To be filled by O.E.M., To be filled by O.E.M.
    CPU:                                                  AuthenticAMD AMD FX(tm)-8350 Eight-Core Processor 
    Logical processors:                                   8
    Processor groups:                                     1
    RAM:                                                  14248 MB total
    
    
    _________________________________________________________________________________________________________
    CPU SPEED
    _________________________________________________________________________________________________________
    Reported CPU speed:                                   4013 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 DPC LATENCIES
    _________________________________________________________________________________________________________
    The interrupt to DPC latency reflects the measured interval in which a DPC could execute in response to a hardware request from the moment the interrupt service routine started execution.
    
    Highest measured interrupt to DPC latency (µs):       22261.50
    Average measured interrupt to DPC latency (µs):       13.386068
    
    
    _________________________________________________________________________________________________________
     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):              24074.500374
    Driver with highest ISR routine execution time:       USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
    
    Highest reported total ISR routine time (%):          0.034565
    Driver with highest ISR total time:                   HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation
    
    Total time spent in ISRs (%)                          0.063846
    
    ISR count (execution time <250 µs):                   269775
    ISR count (execution time 250-500 µs):                0
    ISR count (execution time 500-1000 µs):               3
    ISR count (execution time 1000-2000 µs):              1
    ISR count (execution time 2000-4000 µs):              3
    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):              24227.775480
    Driver with highest DPC routine execution time:       dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation
    
    Highest reported total DPC routine time (%):          0.135889
    Driver with highest DPC total execution time:         dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation
    
    Total time spent in DPCs (%)                          0.333342
    
    DPC count (execution time <250 µs):                   2071167
    DPC count (execution time 250-500 µs):                0
    DPC count (execution time 500-10000 µs):              205
    DPC count (execution time 1000-2000 µs):              3
    DPC count (execution time 2000-4000 µs):              0
    DPC count (execution time >=4000 µs):                 14
    
    
    _________________________________________________________________________________________________________
     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:                 amdrsserv.exe
    
    Total number of hard pagefaults                       543
    Hard pagefault count of hardest hit process:          219
    Number of processes hit:                              22
    
    
    _________________________________________________________________________________________________________
     PER CPU DATA
    _________________________________________________________________________________________________________
    CPU 0 Interrupt cycle time (s):                       59.805560
    CPU 0 ISR highest execution time (µs):                24005.581859
    CPU 0 ISR total execution time (s):                   1.978199
    CPU 0 ISR count:                                      242254
    CPU 0 DPC highest execution time (µs):                24227.775480
    CPU 0 DPC total execution time (s):                   13.575296
    CPU 0 DPC count:                                      1609392
    _________________________________________________________________________________________________________
    CPU 1 Interrupt cycle time (s):                       9.683026
    CPU 1 ISR highest execution time (µs):                24074.500374
    CPU 1 ISR total execution time (s):                   0.971877
    CPU 1 ISR count:                                      25168
    CPU 1 DPC highest execution time (µs):                24203.223524
    CPU 1 DPC total execution time (s):                   2.036153
    CPU 1 DPC count:                                      189538
    _________________________________________________________________________________________________________
    CPU 2 Interrupt cycle time (s):                       6.831520
    CPU 2 ISR highest execution time (µs):                24028.544231
    CPU 2 ISR total execution time (s):                   0.320419
    CPU 2 ISR count:                                      1934
    CPU 2 DPC highest execution time (µs):                24035.948168
    CPU 2 DPC total execution time (s):                   0.603284
    CPU 2 DPC count:                                      69587
    _________________________________________________________________________________________________________
    CPU 3 Interrupt cycle time (s):                       5.970248
    CPU 3 ISR highest execution time (µs):                22506.861699
    CPU 3 ISR total execution time (s):                   0.133231
    CPU 3 ISR count:                                      406
    CPU 3 DPC highest execution time (µs):                19038.645652
    CPU 3 DPC total execution time (s):                   0.288440
    CPU 3 DPC count:                                      39733
    _________________________________________________________________________________________________________
    CPU 4 Interrupt cycle time (s):                       6.338178
    CPU 4 ISR highest execution time (µs):                16712.042113
    CPU 4 ISR total execution time (s):                   0.017294
    CPU 4 ISR count:                                      127
    CPU 4 DPC highest execution time (µs):                9591.706205
    CPU 4 DPC total execution time (s):                   0.357449
    CPU 4 DPC count:                                      48878
    _________________________________________________________________________________________________________
    CPU 5 Interrupt cycle time (s):                       5.881432
    CPU 5 ISR highest execution time (µs):                5.372290
    CPU 5 ISR total execution time (s):                   0.000015
    CPU 5 ISR count:                                      3
    CPU 5 DPC highest execution time (µs):                15274.017194
    CPU 5 DPC total execution time (s):                   0.255195
    CPU 5 DPC count:                                      32788
    _________________________________________________________________________________________________________
    CPU 6 Interrupt cycle time (s):                       6.418101
    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):                22090.575380
    CPU 6 DPC total execution time (s):                   0.454786
    CPU 6 DPC count:                                      47010
    _________________________________________________________________________________________________________
    CPU 7 Interrupt cycle time (s):                       6.266064
    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):                241.536008
    CPU 7 DPC total execution time (s):                   0.290708
    CPU 7 DPC count:                                      34463
    _________________________________________________________________________________________________________
    DPC Latency Scratching &amp; Popping audio - YouTube playback-image.png DPC Latency Scratching &amp; Popping audio - YouTube playback-image.png DPC Latency Scratching &amp; Popping audio - YouTube playback-image.png
      My Computer


  8. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #8

    To identify the specific driver is not easy. You can
    - research this (see the numerous threads on tenforums)
    - use MS's free Windows performance analyser and recorder (learning curve)
    - try removing and disabling devices and drivers which are non-essential e.g. using Autoruns (free from MS) in the hope of happening upon the problem driver


    I've told you this before, I see. The rest is up to you.
    For some time now
    History: what happened that may have led to this? E.g. Win 10 feature update, some other change?


    No acknowledgement of my previous posts, so I'm out. Good luck.
    Last edited by dalchina; 21 Sep 2021 at 13:25.
      My Computers


  9. Posts : 2,800
    Windows 7 Pro
       #9

    Hi Kyle,

    Can you verify if your bios contains the option "High Precision Event Timer" (HPET) and that this is enabled (it is by default).

    If not, your computer will fall back relying on Real Time Clock for multimedia timing.

    This makes me think it's disabled
    Code:
    One or more DPC routines that belong to a driver running in your system appear to be executing for too long.
    Code:
    reported execution times may be calculated based on a fixed reported CPU speed
    This looks like what you would get when no HPET is found. Since It would give precise timing at any CPU clock.
      My Computers


  10. Posts : 261
    Windows 10 Pro 21H2 (OS Build 19044.1706)
    Thread Starter
       #10

    dalchina said:
    To identify the specific driver is not easy. You can
    - research this (see the numerous threads on tenforums)
    - use MS's free Windows performance analyser and recorder (learning curve)
    - try removing and disabling devices and drivers which are non-essential e.g. using Autoruns (free from MS) in the hope of happening upon the problem driver I've told you this before, I see. The rest is up to you.
    History: what happened that may have led to this? E.g. Win 10 feature update, some other change?
    No acknowledgement of my previous posts, so I'm out. Good luck.
    On the contrary, your post did not go ignored and I appreciate your input.

    MaloK said:
    Hi Kyle,

    Can you verify if your bios contains the option "High Precision Event Timer" (HPET) and that this is enabled (it is by default).

    If not, your computer will fall back relying on Real Time Clock for multimedia timing.

    This makes me think it's disabled
    Code:
    One or more DPC routines that belong to a driver running in your system appear to be executing for too long.
    Code:
    reported execution times may be calculated based on a fixed reported CPU speed
    This looks like what you would get when no HPET is found. Since It would give precise timing at any CPU clock.
    HPET is enabled in my UEFI, none of the "RTC" options in my BIOS are enabled.
      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:56.
Find Us




Windows 10 Forums