[SOLVED] ACPI.sys and Wdf01000.sys causing high DPC latency. Sound freezing.

Zandah

Member
Joined
Feb 13, 2017
Posts
16
I have bought a new Dell XPS15 (9560) which I mainly want to use for DJing with Traktor DJ software. However, during DJing I hear glitches and pops and after a few minutes the sound freezes. You hear a buzz, which is a repetition of sound of like 2 ms I think. The software is still responding though, it's just the sound that's freezing.

I optimized Windows 10 for performance using this guideline: PC Optimization Guide for Windows 10 | SweetCare
After that didn't work I decided to do a clean install of Windows 10. I downloaded all the latest drivers from the Dell website and tried DJing again. Unfortunately I still have the same problem.

While DJing I connect it to my Traktor Audio 6 external sound card through USB and I also use a Traktor X1 midi controller connected via USB. I think it has something to do with my sound card, cause when I play through my internal sound card I don't hear any glitches.

This is my hardware:
Dell XPS 15 9560
Intel Core i7 7700hq
Nividia Geforce GTX 1050
16GB DDR4 2400mhz
512GB SSD
Windows 10 Home 64 bit
Complete list of specs can be found here: XPS 15 9560 High Performance Laptop with InfinityEdge Display | Dell


I ran LatencyMon while DJing and I got the following result:
As you can see, way to high latency and hard pagefaults. Who can help me identify and solve the problem?

_________________________________________________________________________________________________________
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:06:56 (h:mm:ss) on all processors.

_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: DESKTOP-HFBUDJ4
OS version: Windows 8 , 6.2, build: 9200 (x64)
Hardware: XPS 15 9560, Dell Inc., 05FFDN
CPU: GenuineIntel Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Logical processors: 8
Processor groups: 1
RAM: 16201 MB total

_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 2808,0 MHz
Measured CPU speed: 3042,0 MHz (approx.)
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): 21689,978951
Average measured interrupt to process latency (µs): 6,458951
Highest measured interrupt to DPC latency (µs): 3691,577674
Average measured interrupt to DPC latency (µs): 2,008820

_________________________________________________________________________________________________________
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): 157,980769
Driver with highest ISR routine execution time: ACPI.sys - ACPI-stuurprogramma voor NT, Microsoft Corporation
Highest reported total ISR routine time (%): 0,009454
Driver with highest ISR total time: Wdf01000.sys - Kernel Mode Driver Framework-runtime, Microsoft Corporation
Total time spent in ISRs (%) 0,014629
ISR count (execution time <250 µs): 294201
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 0
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µ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): 21409,710470
Driver with highest DPC routine execution time: ACPI.sys - ACPI-stuurprogramma voor NT, Microsoft Corporation
Highest reported total DPC routine time (%): 0,283908
Driver with highest DPC total execution time: Wdf01000.sys - Kernel Mode Driver Framework-runtime, Microsoft Corporation
Total time spent in DPCs (%) 0,395547
DPC count (execution time <250 µs): 1680101
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 1384
DPC count (execution time 1000-1999 µs): 10
DPC count (execution time 2000-3999 µs): 0
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: svchost.exe
Total number of hard pagefaults 5157
Hard pagefault count of hardest hit process: 4602
Highest hard pagefault resolution time (µs): 361547,980413
Total time spent in hard pagefaults (%): 0,750315
Number of processes hit: 13

_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 31,340157
CPU 0 ISR highest execution time (µs): 136,851140
CPU 0 ISR total execution time (s): 0,471941
CPU 0 ISR count: 284729
CPU 0 DPC highest execution time (µs): 21409,710470
CPU 0 DPC total execution time (s): 11,308105
CPU 0 DPC count: 1427119
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 21,593659
CPU 1 ISR highest execution time (µs): 157,980769
CPU 1 ISR total execution time (s): 0,013466
CPU 1 ISR count: 9210
CPU 1 DPC highest execution time (µs): 1546,999288
CPU 1 DPC total execution time (s): 0,522029
CPU 1 DPC count: 42285
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 10,226479
CPU 2 ISR highest execution time (µs): 55,973647
CPU 2 ISR total execution time (s): 0,001374
CPU 2 ISR count: 248
CPU 2 DPC highest execution time (µs): 827,334046
CPU 2 DPC total execution time (s): 0,362544
CPU 2 DPC count: 60448
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 20,477954
CPU 3 ISR highest execution time (µs): 8,170940
CPU 3 ISR total execution time (s): 0,000081
CPU 3 ISR count: 14
CPU 3 DPC highest execution time (µs): 1623,392806
CPU 3 DPC total execution time (s): 0,060651
CPU 3 DPC count: 12738
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 10,692918
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): 789,753561
CPU 4 DPC total execution time (s): 0,286258
CPU 4 DPC count: 43449
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 19,744791
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): 605,868590
CPU 5 DPC total execution time (s): 0,081318
CPU 5 DPC count: 13295
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 18,214567
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): 864,829060
CPU 6 DPC total execution time (s): 0,225998
CPU 6 DPC count: 35772
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 19,318223
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): 736,665954
CPU 7 DPC total execution time (s): 0,317395
CPU 7 DPC count: 46392
_________________________________________________________________________________________________________
 
I think/hope I found the solution. A user at another forum had the same problem with the same laptop. He advised to use Snappy Driver Installer: Snappy Driver Installer - Install and Update Drivers for Free
This tool detects which are the most optimal drivers for your computer. I reinstalled the drivers with this tool instead of downloading them from the Dell website.

I started DJing again with LatencyMon running in the background. I heard some pops. I checked it in LatencyMon and I saw that drivers related to the wireless networking card (tcpip.sys, ndis.sys) had a latency of between 1 and 2 ms. It is generally advised to disable your network card while DJing, so I disabled it in the device manager. After that I didn't hear any glitches and pops anymore!

There was 1 spike of ACPI.sys of 4ms which is too high, but it only happened one time. Wdf01000.sys which combined with ACPI.sys caused the most trouble when I still used the old drivers had a low latency of 0.4. Before it peaked at 21ms!
I'll keep running LatencyMon while DJing this week and hope my laptop will be stable.

Strange that the drivers from the Dell website are not the most optimal for my system.
 
Hi Zandah. :welcome:

Good to read it. :thumbsup2:

I, like many others, don't rely on driver updaters anymore.
They always found incorrect drivers, and who knows where they get it from.
Imo (and not only mine), it is more reliable to get the drivers directly from manufacturers (first check the motherboard manufacturer website, and then, if they won't work, check directly the device manufacturers websites).
By the way, I didn't know this program, hence it isn't included in my list of unuseful driver updaters (yet): it could be the only good driver updater between dozens of them (even the intel driver updater fails).
 
Unfortunately it didn't work :'(
The second time I started playing I heard glitches again and again the sound froze. Everytime the sound has frozen LatencyMon shows that there's a 21ms latency of ACPI.sys and sometimes also Wdf01000.sys.
I have contacted Dell, but they say they probably cannot reproduce the problem since it only happens when I use my external sound card. So therefore they won't do anything to fix it.

Really don't know what to do anymore. This morning I played again and I disabled the following devices:
- Microsoft Surface ACPI compliant control method battery
- Integrated webcam
- Qualcomm Atheros Bluetooth
- Killer Wireless Network Adapter


I have attached new screenshots of LatencyMon I made today.
My computer is a new Dell XPS15 (9560) with the following hardware:
Intel Core i7 7700HQ Quad Core
16GB DDR4 2400mHz
512GB SSD Samsung NVME
Nvidia Geforce GTX1050 video card
1 USB 3.0 with Powershare (i have set up the windows power scheme to never cut power from USB)
1 Thunderbolt3

I hope anyone has any other tips on how to solve it.
 
Preamble
Read More:


Would you try these steps?

  • Left-click on Start, type directly msconfig, press enter.
    Is the radio button on normal startup?
  • Advanced disk cleanup with cleanmgr:
    • Open an elevated command prompt
    • Type cleanmgr /sageset:1 and press enter.
    • Select all the options, or leave unticked the ones you prefer.
    • Type cleanmgr /sagerun:1 and press enter
    • Let it work until it finishes.
  • Launch this command from an elevated command prompt:
    dism /online /cleanup-image /checkhealth
    Do you get my same result?
    Read More:
    If yes, go to the next point.
    If no:
    Read More:
  • Launch this command from an elevated command prompt and let it work until it finishes (it could last from 10 to 60 minutes):
    sfc /scannow
    If you get the following message:
    Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log
    Read Windows Update Forum Posting Instructions (click) and provide the necessary (and missing) informations to the experts. I.e., you should:
    • export and zip/compress the entire CBS folder on your desktop
    • open a new topic in the windows update sub-forum (in sysnative.com)
    • attach that zipped file to that new topic
    If the CBS compressed folder will be too large, you can check the second post on that thread (to use the sfcfix tool with a script) or you can use a (possibly fast) web service like MS OneDrive, Google Drive, DropBox, Box, Mega, Apple iCloud, Amazon Cloud Drive, and so forth...
    Instead if you get the following messages, go to the next step:
    Windows Resource Protection did not find any integrity violations
    Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log
  • Defragment your system drive (using windows default defragmenter). Steps:
    • Open an elevated command prompt
    • Type defrag c: /h and press enter
    • Wait until it finishes
  • Check your system partition, then post the result here. Steps:
    • Open an elevated command prompt.
    • Type chkdsk c: /b and press enter.
    • You'll get:
      The type of the file system is NTFS.
      Cannot lock current drive.
      Chkdsk cannot run because the volume is in use by another
      process. Would you like to schedule this volume to be
      checked the next time the system restarts? (Y/N)
    • Type Y and press enter.
    • Then restart/reboot and wait until it finishes this check.
    • To find chkdsk result:
      • Open an elevated command prompt
      • Copy/paste this command and press enter:
        Code:
        wevtutil qe application /c:1 /rd:true  /f:text /q:"*[System[Provider[(@Name='Microsoft-Windows-Wininit')]]]" > "%userprofile%\desktop\ChkDskLOG.txt" & notepad "%userprofile%\desktop\ChkDskLOG.txt"
      • It should create chkdsklog.txt on your desktop and open it: paste its content here.
      • If the command won't work, type eventvwr, press enter, in the event viewer window double-left-click Windows Logs to expand it, left-click Application, double-left-click the information event with source wininit, copy its content and post it here.


If the problem persists:

  • Please provide answers for (answer the best that you can):
    • System Manufacturer?
    • Laptop or Desktop?
    • Exact model number (if laptop, check label on bottom)
    • OS ? (Windows 10, 8.1, 8, 7, Vista)
    • x86 (32bit) or x64 (64bit)?
    • Service pack?
    • What was original installed OS on system?
    • Is the OS an OEM version (came pre-installed on system) or full retail version (YOU purchased it from retailer)?
    • Age of system? (hardware)
    • Age of OS installation?
    • Have you re-installed the OS?
    • CPU
    • RAM (brand, model, which slots are you using?)
    • Video Card
    • MotherBoard - (if NOT a laptop)
    • Power Supply - brand & wattage (if laptop, skip this one)
    • What security software are you using? (Firewall, antivirus, antimalware, antispyware, and so forth)
    • Are you using proxy, vpn, ipfilters or similar software?
    • Are you using Disk Image tools? (like daemon tools, alcohol 52% or 120%, virtual CloneDrive, roxio software)
    • Are you currently under/overclocking? Are there overclocking software installed on your system?

  • Retrieve System Information, using speccy
    1. Download Speccy portable - current version 1.30.730 (click), unzip/decompress it and put it on your desktop.
    2. When the program opens, it will retrieve some information regarding your system.
    3. Once it's done, select the File menu and choose Publish snapshot. Answer Yes to the confirmation message.
      (Or generate a log in your pc, if you prefer to not publish the snapshot for some reason)
    4. On the next screen that comes up, choose the Copy to Clipboard button and paste this link in your next reply.
      (Or upload here the generated log, in case you didn't publish the snapshot)


  • Facultative System information log (if previous point fails for some obscure reason)
    The following command should generate a log, named MsInfo.nfo, on your desktop, after some time (few seconds or minutes).
    Upload it here when windows finished its creation.
    It obviously should be run from an elevated command prompt:
    Code:
    msinfo32 /nfo msinfo32 /nfo "%userprofile%\desktop\MsInfo.nfo"

  • Download and install the Windows Performance Toolkit on dev.windows.com - Windows Software Development Kit (SDK) for Windows 10 - sdksetup.exe 1.12MB (click):
    Read More:
    Then open an elevated command prompt and launch these commands:
    Read More:

    You can also read the original tutorial/guide and its following posts for more information:

    How to Diagnose and Fix High DPC Latency Issues with WPA (Windows Vista/7/8) (click) (by Niemiro)
 
Last edited:
Thanks for the support.
I have done all the steps up to Check Disk.

For DISM I got the same result as you had.
DISM: same result
SFC: Windows Resource Protection did not find any integrity violations
Defrag: 100%. Did not execute "optimizing start up" because it's not supported on this volume. (had to translate this from Dutch).
ChkDsk: no problems.
Read More:


I'll continue with the other steps now.
 
  • Please provide answers for (answer the best that you can):
    • System Manufacturer: Dell
    • Laptop
    • Exact model number (if laptop, check label on bottom): XPS 15 9560
    • OS: Windows 10
    • x64
    • Service pack: No service pack, however latest updates are installed.
    • What was original installed OS on system: Windows 10
    • Is the OS an OEM version (came pre-installed on system) or full retail version (YOU purchased it from retailer): I did a clean install of Windows 10.
    • Age of system? (hardware): 2 weeks old
    • Age of OS installation?: 3 days ago
    • Have you re-installed the OS?: Yes
    • CPU: Intel Core i7 7700HQ 2.8 GHz
    • RAM (brand, model, which slots are you using?): Don't know which brand. Cannot find it anywhere.
    • Video Card: Intel HD Graphics 630 and Nvidia Geforce GTX1050
    • MotherBoard - (if NOT a laptop) NA
    • Power Supply - brand & wattage (if laptop, skip this one) NA
    • What security software are you using? (Firewall, antivirus, antimalware, antispyware, and so forth): Avira Antivirus, Windows firewall.
    • Are you using proxy, vpn, ipfilters or similar software?: No
    • Are you using Disk Image tools? (like daemon tools, alcohol 52% or 120%, virtual CloneDrive, roxio software): No
    • Are you currently under/overclocking? Are there overclocking software installed on your system?: No
  • Retrieve System Information, using speccy
    1. Speccy snapshot: http://speccy.piriform.com/results/V7FWm5wSREFO0YSYOSMSgYW

Should I also do the other steps? I don't get a BSOD.
 
The SysnativeFileCollectionApp collects other logs (minidump included, if they exist).
The windows performance toolkit is necessary to generate a xperf trace.

First try to solve your problem is to remove avira and use Win10 Defender only.
 
Ok, i'll continue with the next steps then. I'll also remove Avira and test again, though I don't think it's the problem, because before reinstalling Windows I had a preinstalled McAfee and I had the same problem.
By the way, should I run these tests while my external sound card is connected? Since the problem only occurs when I use the sound card in my DJ software.
Here's the zip file from the Sysnative BSOD app.
 

Attachments

Last edited by a moderator:
Ok, i'll continue with the next steps then. I'll also remove Avira and test again, though I don't think it's the problem, because before reinstalling Windows I had a preinstalled McAfee and I had the same problem.

I would have asked you to remove it too...

should I run these tests while my external sound card is connected?

Yes, you should.
 
I have uninstalled it, however during uninstalling it said it couldn't uninstal critical components. I could uninstal non critical components.
I rebooted and now it's not in the list of installed programs, but maybe some part is still active.

At this moment I'm running Traktor DJ software and latencymon for 10 minutes. I still hear quite a few pops, but the sound didn't freeze yet. A few drivers have a latency higher than 1ms.
ACPI.sys: 1.9ms
Wdf01000.sys: 1.5ms
ndis.sys: 1.4ms

Half an hour ago ACPI.sys still had a peak latency of 21ms.

Edit: just had a longer glitch in the sound and now I see Wdf01000.sys had a 21ms latency.
 
That didn't work. Still get the same message. In Device Manager under Storage controllers I see Intel Chipset SATA RAID Controller. Does it matter that it's RAID and not AHCI?
 
Check your bios settings, SATA type: it could be Native IDE, AHCI, RAID.
I think this is a choice you should do before installing windows.
I think the default should be AHCI, therefore you shouldn't need RAID drivers (that should be installed prior the windows installation).
Hence, removing the raid drivers (intel rst) shouldn't be problematic (although a restore point and a system image are always good to have before making any changes on the system).
 
In the BIOS "RAID on" is selected.

I have the following options:
Disabled
AHCI
RAID on: SATA is configured to support RAID mode (Intel Rapid Restore Technology).

Can it cause problems to change this?
 
It seems you installed Windows with RAID in mind...
I recommend you to reinstall intelRST, sorry.

Try to generate the xperf trace.
 
Last edited:
Ok, i'll do that. I think it was setup in RAID because there were some recovery partitions and other Dell partitions that I've formatted and merged while reinstalling Windows.

I've done the Xperf trace. You can download the file here: trace.zip - Google Drive
 
In msinfo32 log (storage - scsi), I found you are using version 15.2.7.1042 of "Intel Chipset SATA RAID Controller (iastora.sys)".
On intel.com I found the more recent version of it is 15.2.0.1020.
Where did you get that version from?
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top