Question Wdf01000.sys, dxgkrnl.sys and ndis.sys causing audio desync from all sources ?

Jormuttar

Honorable
May 25, 2017
10
0
10,520
My computer freezes for half a second, and all sound (ingame, youtube, spotify, you name it) gets out of sync (about a 2-3 second delay).
The problem seems to occur when I load Diablo IV, and I click on something on my second monitor.
After looking around on the web, I've found people with similar problems, although nothing related to Diablo IV specifically.

The desync goes away if I change the audio format from 24bit 48kHz to 16bit.
-Disconnect and reconnect my soundcard
-Change audio buffer size
But the problem reoccur when I again click on my second monitor(youtube or what not)
Sometimes I can get popping sounds from the audio, but this doesn't happen every time.

The game could crash after this stutter/sound desync problem had happend a couple of times. Everything would freeze, but I could still hear the sound from spotify or youtube.
Only option I had was to hard boot the computer. I read on a different forum that turning adaptive sync off in adrenaline software stopped the game from crashing, and it did. But the stutter followed by the audio desync still persist.

I've updated:
Network drivers
Audio drivers/Focusrite 2i2 3rd.gen drivers
GPU drivers (6800xt)
BIOS
Chipset

I have take the battery out of the MB, and only enabled XMP in BIOS.

I've read this thread https://forums.tomshardware.com/thr...gly-caused-by-dxgkrnl-sys-latencymon.3800071/ and it seems like we have similar problems, but the solution did not help me, and I've never had BSOD.

I don't understand why this is happening all of a sudden. I've had no similar issues ever. I use Cubase 12 pro, and have never had any sound problems like this.
English is not my native language, so I'm sorry if I've made anything unclear, please ask if anyone need more info

This LatencyMon report only peaks on Wdf01000.sys and dxgkrnl.sys, but I've had peaks with ndis.sys aswell.
I have no knowledge regarding this, so it's difficult to debug.


_________________________________________________________________________________________________________
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 0:28:48 (h:mm:ss) on all processors.



_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: DESKTOP-JORAMO
OS version: Windows 10, 10.0, version 2009, build: 19045 (x64)
Hardware: MS-7C84, Micro-Star International Co., Ltd.
BIOS: 1.E1
CPU: AuthenticAMD AMD Ryzen 9 5900X 12-Core Processor
Logical processors: 24
Processor groups: 1
Processor group size: 24
RAM: 32692 MB total


_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed (WMI): 3701 MHz
Reported CPU speed (registry): 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): 100417,511164
Average measured interrupt to process latency (µs): 15,269210

Highest measured interrupt to DPC latency (µs): 100412,273068
Average measured interrupt to DPC latency (µs): 7,438244


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

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

Total time spent in ISRs (%) 0,000145

ISR count (execution time <250 µs): 94174
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): 100681,760
Driver with highest DPC routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

Highest reported total DPC routine time (%): 0,019724
Driver with highest DPC total execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

Total time spent in DPCs (%) 0,041230

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


_________________________________________________________________________________________________________
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 15828
Hard pagefault count of hardest hit process: 3039
Number of processes hit: 48


_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 24,065443
CPU 0 ISR highest execution time (µs): 25,060
CPU 0 ISR total execution time (s): 0,005530
CPU 0 ISR count: 7658
CPU 0 DPC highest execution time (µs): 246,950
CPU 0 DPC total execution time (s): 1,871140
CPU 0 DPC count: 258087
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 11,501584
CPU 1 ISR highest execution time (µs): 18,550
CPU 1 ISR total execution time (s): 0,003836
CPU 1 ISR count: 5297
CPU 1 DPC highest execution time (µs): 304,50
CPU 1 DPC total execution time (s): 0,206794
CPU 1 DPC count: 25191
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 13,375470
CPU 2 ISR highest execution time (µs): 22,70
CPU 2 ISR total execution time (s): 0,008997
CPU 2 ISR count: 12370
CPU 2 DPC highest execution time (µs): 343,570
CPU 2 DPC total execution time (s): 0,478466
CPU 2 DPC count: 30850
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 21,406747
CPU 3 ISR highest execution time (µs): 27,890
CPU 3 ISR total execution time (s): 0,021118
CPU 3 ISR count: 39210
CPU 3 DPC highest execution time (µs): 309,380
CPU 3 DPC total execution time (s): 1,136297
CPU 3 DPC count: 41594
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 34,651184
CPU 4 ISR highest execution time (µs): 0,760
CPU 4 ISR total execution time (s): 0,000002
CPU 4 ISR count: 3
CPU 4 DPC highest execution time (µs): 100681,760
CPU 4 DPC total execution time (s): 3,183234
CPU 4 DPC count: 339406
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 12,619351
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): 338,550
CPU 5 DPC total execution time (s): 0,129109
CPU 5 DPC count: 19747
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 27,075646
CPU 6 ISR highest execution time (µs): 0,980
CPU 6 ISR total execution time (s): 0,000003
CPU 6 ISR count: 5
CPU 6 DPC highest execution time (µs): 100678,430
CPU 6 DPC total execution time (s): 3,13780
CPU 6 DPC count: 312686
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 37,112066
CPU 7 ISR highest execution time (µs): 2,010
CPU 7 ISR total execution time (s): 0,000002
CPU 7 ISR count: 1
CPU 7 DPC highest execution time (µs): 717,790
CPU 7 DPC total execution time (s): 4,352940
CPU 7 DPC count: 602978
_________________________________________________________________________________________________________
CPU 8 Interrupt cycle time (s): 9,488076
CPU 8 ISR highest execution time (µs): 0,0
CPU 8 ISR total execution time (s): 0,0
CPU 8 ISR count: 0
CPU 8 DPC highest execution time (µs): 48,710
CPU 8 DPC total execution time (s): 0,013770
CPU 8 DPC count: 4241
_________________________________________________________________________________________________________
CPU 9 Interrupt cycle time (s): 9,309274
CPU 9 ISR highest execution time (µs): 0,0
CPU 9 ISR total execution time (s): 0,0
CPU 9 ISR count: 0
CPU 9 DPC highest execution time (µs): 63,560
CPU 9 DPC total execution time (s): 0,009460
CPU 9 DPC count: 1815
_________________________________________________________________________________________________________
CPU 10 Interrupt cycle time (s): 9,692082
CPU 10 ISR highest execution time (µs): 0,0
CPU 10 ISR total execution time (s): 0,0
CPU 10 ISR count: 0
CPU 10 DPC highest execution time (µs): 65,780
CPU 10 DPC total execution time (s): 0,009139
CPU 10 DPC count: 1644
_________________________________________________________________________________________________________
CPU 11 Interrupt cycle time (s): 9,925698
CPU 11 ISR highest execution time (µs): 0,0
CPU 11 ISR total execution time (s): 0,0
CPU 11 ISR count: 0
CPU 11 DPC highest execution time (µs): 57,540
CPU 11 DPC total execution time (s): 0,004693
CPU 11 DPC count: 774
_________________________________________________________________________________________________________
CPU 12 Interrupt cycle time (s): 5,632038
CPU 12 ISR highest execution time (µs): 1,790
CPU 12 ISR total execution time (s): 0,000006
CPU 12 ISR count: 4
CPU 12 DPC highest execution time (µs): 70,450
CPU 12 DPC total execution time (s): 0,014249
CPU 12 DPC count: 2377
_________________________________________________________________________________________________________
CPU 13 Interrupt cycle time (s): 10,416435
CPU 13 ISR highest execution time (µs): 1,90
CPU 13 ISR total execution time (s): 0,000006
CPU 13 ISR count: 4
CPU 13 DPC highest execution time (µs): 62,680
CPU 13 DPC total execution time (s): 0,004369
CPU 13 DPC count: 877
_________________________________________________________________________________________________________
CPU 14 Interrupt cycle time (s): 9,670959
CPU 14 ISR highest execution time (µs): 4,430
CPU 14 ISR total execution time (s): 0,000151
CPU 14 ISR count: 96
CPU 14 DPC highest execution time (µs): 103,270
CPU 14 DPC total execution time (s): 0,030977
CPU 14 DPC count: 5818
_________________________________________________________________________________________________________
CPU 15 Interrupt cycle time (s): 8,921650
CPU 15 ISR highest execution time (µs): 2,820
CPU 15 ISR total execution time (s): 0,000054
CPU 15 ISR count: 32
CPU 15 DPC highest execution time (µs): 71,840
CPU 15 DPC total execution time (s): 0,006554
CPU 15 DPC count: 862
_________________________________________________________________________________________________________
CPU 16 Interrupt cycle time (s): 14,591114
CPU 16 ISR highest execution time (µs): 13,80
CPU 16 ISR total execution time (s): 0,011236
CPU 16 ISR count: 15660
CPU 16 DPC highest execution time (µs): 91,350
CPU 16 DPC total execution time (s): 0,914193
CPU 16 DPC count: 123302
_________________________________________________________________________________________________________
CPU 17 Interrupt cycle time (s): 20,285226
CPU 17 ISR highest execution time (µs): 24,510
CPU 17 ISR total execution time (s): 0,008448
CPU 17 ISR count: 12493
CPU 17 DPC highest execution time (µs): 130,070
CPU 17 DPC total execution time (s): 1,477248
CPU 17 DPC count: 281489
_________________________________________________________________________________________________________
CPU 18 Interrupt cycle time (s): 9,839073
CPU 18 ISR highest execution time (µs): 2,160
CPU 18 ISR total execution time (s): 0,000347
CPU 18 ISR count: 519
CPU 18 DPC highest execution time (µs): 74,80
CPU 18 DPC total execution time (s): 0,044626
CPU 18 DPC count: 5332
_________________________________________________________________________________________________________
CPU 19 Interrupt cycle time (s): 9,901968
CPU 19 ISR highest execution time (µs): 2,960
CPU 19 ISR total execution time (s): 0,000544
CPU 19 ISR count: 821
CPU 19 DPC highest execution time (µs): 68,240
CPU 19 DPC total execution time (s): 0,032122
CPU 19 DPC count: 1449
_________________________________________________________________________________________________________
CPU 20 Interrupt cycle time (s): 9,336546
CPU 20 ISR highest execution time (µs): 0,0
CPU 20 ISR total execution time (s): 0,0
CPU 20 ISR count: 0
CPU 20 DPC highest execution time (µs): 40,560
CPU 20 DPC total execution time (s): 0,014180
CPU 20 DPC count: 3782
_________________________________________________________________________________________________________
CPU 21 Interrupt cycle time (s): 8,737384
CPU 21 ISR highest execution time (µs): 0,0
CPU 21 ISR total execution time (s): 0,0
CPU 21 ISR count: 0
CPU 21 DPC highest execution time (µs): 73,120
CPU 21 DPC total execution time (s): 0,004863
CPU 21 DPC count: 821
_________________________________________________________________________________________________________
CPU 22 Interrupt cycle time (s): 9,569276
CPU 22 ISR highest execution time (µs): 0,690
CPU 22 ISR total execution time (s): 0,000001
CPU 22 ISR count: 1
CPU 22 DPC highest execution time (µs): 64,180
CPU 22 DPC total execution time (s): 0,014190
CPU 22 DPC count: 2779
_________________________________________________________________________________________________________
CPU 23 Interrupt cycle time (s): 8,782922
CPU 23 ISR highest execution time (µs): 0,0
CPU 23 ISR total execution time (s): 0,0
CPU 23 ISR count: 0
CPU 23 DPC highest execution time (µs): 75,380
CPU 23 DPC total execution time (s): 0,013792
CPU 23 DPC count: 1975
_________________________________________________________________________________________________________
 
my High Definition Audio Device keeps giving me latency issues even when i disable it. I've attempted to update the drivers through driver booster pro and did a SFC/ scannow through cmd as admin.