I need help solving DPC latency

DarthVader

Member
Joined
Aug 22, 2015
Posts
16
I just built a new PC and I'm getting severe DPC latency after using LatencyMon to check it. I first noticed it when I was playing The Witcher 3. It is a demanding task and causes my audio to absolutely fall apart with stuttering and cracking. I don't know what to do.

Here are some screen shots of LatencyMon that might make things clearer:

60fa58f6bf8f444cbc1d21420519473f.png
8110db11fd77c856c9e5d728c63ac4dd.png

Let me know if you need more images.

I've already tried disabling my WIFI card's driver and it did nothing to alleviate the problem.

I'll be grateful for any help or possible solution.
 
Hi! :smile9:

Check the second step here--> https://www.sysnative.com/forums/wi...c-latency-issues-wpa-windows-vista-7-8-a.html
Yes, it (seems to) works also on windows 10 (just tried).
I tried these commands:
Code:
xperf -on DiagEasy

xperf -d "%userprofile%\Desktop\trace.etl"
Merged Etl: C:\Users\REN49\Desktop\trace.etl
The trace you have just captured "C:\Users\REN49\Desktop\trace.etl" may contain personally identifiable information, including but no
t necessarily limited to paths to files accessed, paths to registry accessed and process names. Exact information depends on the even
ts that were logged. Please be aware of this when sharing out this trace with other people.

And the trace.etl file appeared on the desktop. I've opened it, clicked computation, then DPC/ISR, then DPC duration by CPU.
Maybe someone here will want to see your trace.etl, hence you could provide a link of it in your next reply...

:wave:
 
Hi! :smile9:

Check the second step here--> https://www.sysnative.com/forums/wi...c-latency-issues-wpa-windows-vista-7-8-a.html
Yes, it (seems to) works also on windows 10 (just tried).
I tried these commands:
Code:
xperf -on DiagEasy

xperf -d "%userprofile%\Desktop\trace.etl"
Merged Etl: C:\Users\REN49\Desktop\trace.etl
The trace you have just captured "C:\Users\REN49\Desktop\trace.etl" may contain personally identifiable information, including but no
t necessarily limited to paths to files accessed, paths to registry accessed and process names. Exact information depends on the even
ts that were logged. Please be aware of this when sharing out this trace with other people.

And the trace.etl file appeared on the desktop. I've opened it, clicked computation, then DPC/ISR, then DPC duration by CPU.
Maybe someone here will want to see your trace.etl, hence you could provide a link of it in your next reply...

:wave:

I gave it a go but came up with this error:

a85d5c847d4c4038c3ceeafa88fb5e4d.png

What did I do wrong?
 
Re-try with an elevated command prompt (right-click windows start, click command prompt (administrator)).

It worked until I had to type in this part

"xperf %userprofile%\Desktop\trace.etl"

It said the parameter was incorrect.

Did you want me to type this in instead at that point "C:\Users\REN49\Desktop\trace.etl"?

Sorry if its really obvious. Pretty terrible with computers!
 
Okay, I had a bit more time to properly check out the stuff and I completely misread your post xilolee haha. Sorry. Here is the trace stuff that I thought might be useful.

Here is DPC duration by CPU usage:

dbd813b4b0777f2a6ba63dc8d9f493d7.png

Here is DPC/ISR duration by module, function:

9f9d5b6201450d051b91d3e3e4558eb6.png

I hope this is more useful and hopefully someone can identify the problem and possibly give me a solution :)

If you need more images, let me know.

EDIT: A quick note, the stuttering in sound doesn't seem to occur when using my monitor's speakers. It only seems to happen with headphones or external speakers. It's also possible that because my monitor's speakers are quite low, I don't notice it (I probably would though).
 
Re-try with an elevated command prompt (right-click windows start, click command prompt (administrator)).
Did you want me to type this in instead at that point "C:\Users\REN49\Desktop\trace.etl"?

No, that's a windows user on this PC (where I'm writing).

I think helpers here would want the entire file (trace.etl), hence you can paste it here if it is of little size, or use a website where you can upload files for free (yes they exist!).
 
Well, I'm not an expert here, but I see origin, steam, galaxy (I think they are game clients?) and chrome between the processes that occupy a lot the CPU.
Hence: should those processes be enabled at windows startup and when you run the game?
Could you enable them on-demand?
Did you try another browser?
 
I have already tried it with no other application running other than the game client needed for that certain game. So with The Witcher 3, I'll have the GOG client open and that's it. No browsers or any other game client but the noise in that game will stutter, crack and the volume will go low. This happens constantly, almost every second. I can't believe it is the performance of the system as it is top notch. i5 6600k, GTX 970, 16 GB DDR4 3000 Mhz. I thought my trace.etl file might show that there is a driver that is causing this sound latency.

Also, have I posted this on the wrong part of the forum? You are the only one helping me (and I'm grateful for that) but it seems like you would prefer someone with more expertise to help me.

Thanks again :)
 
FWIK, this is the correct forum... I can't see a forum section for DPC latency, hence Windows 10 forum should be right.
Probably the BSOD section could also be correct.
I saw in these months that usually TomasD checks these topics about DPC latency; but his last message is dated 28th May 2015...
Try to send a message to him and to someone of the BSOD staff (BlueRobot, blueelvis, Jared, Patrick and so forth).
 
Oh okay, here it is I think:

trace.etl :: Free File Hosting - File Dropper: File Host for Mp3, Videos, Music, Documents.

Let me know if the link works. If not, I'll try again. (it does download to the trace.etl file when I click it...)

The trace does not contain call stacks, that could help us identify the cause of the spikes. Could you please generate a new trace, following the guide below?

  1. Download Windows Software Development Kit (SDK) for Windows and run the setup.
  2. Select Windows Performance Toolkit feature (all the others can be unchecked) and proceed with the download/installation.
  3. Once the installation finishes, open an elevated Command Prompt by right-clicking on CMD.EXE shortcut in your start menu and selecting Run As Administrator from the context menu.
  4. Type the following command, which will start tracing, in the Command Prompt window you just opened:
    Code:
    xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DRIVERS+POWER+IDLE_STATES -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular
    If you see a yellow warning "xperf: warning: This system is not fully configured for x64 stack tracing" after running the above command, please complete these extra steps (otherwise, proceed to the step #5):
    Read More:
    If you see a red error "xperf: error: NT Kernel Logger: A device attached to the system is not functioning. (0x1f)" after running the above command, please complete these extra steps (otherwise, proceed to the step #5):
    Read More:

    If you see a red error "xperf: error: NT Kernel Logger: Cannot create a file when that file already exists. (0xb7)", please do the following (otherwise, proceed to the step #5):
    Read More:
  5. Perform some activities with your computer for few minutes, making sure the issues you reported are reproduced.
  6. Run the following command, which will stop the tracing, in the command prompt window you already have opened:
    Code:
    xperf -stop -d C:\CPU.etl
  7. Compress file C:\CPU.etl
  8. Upload the compressed file to a file sharing service (e.g. OneDrive or DropBox).
  9. Share the download link here.
 
Last edited:
I'm having the same problem on a fujitsu i7 notebook I use to record music with a firewire presonus firestudio soundcard after update to w10 sound have dropouts on trying latency moon the problem come from ACPI.sys in W7 I could stop this with process hacker but with w10 this does not work, here the link to my CPU.etl:
https://drive.google.com/file/d/0B7_-jLxxF_x0QjBqTzN2dFR0WnM/view?usp=sharing
Thanks for any help!

Sorry, but issues related to using external sound cards/controllers are very specific and it would be better if you contact the vendor of the card regarding these issue.
 

It seems there are high interrupts in your storage subsystem. Even though there are many factors that could cause this, I would start with installing the latest version of Intel RST driver, as the system is using default Windows storage driver instead of the one provided by the chipset vendor.

Okay, thanks for identifying that. How would I go about installing the new drivers? I've done the setup for Intel RST and I've downloaded the ZIP file with the driver files but I don't know what to do with them. This may seem very obvious but I'm terrible with computers haha.
 

It seems there are high interrupts in your storage subsystem. Even though there are many factors that could cause this, I would start with installing the latest version of Intel RST driver, as the system is using default Windows storage driver instead of the one provided by the chipset vendor.

Okay, thanks for identifying that. How would I go about installing the new drivers? I've done the setup for Intel RST and I've downloaded the ZIP file with the driver files but I don't know what to do with them. This may seem very obvious but I'm terrible with computers haha.

Download SetupRST.exe from the link I have provided and run the setup. Reboot the computer afterwards. See if the issue persists and if it does, provide a new trace.
 

It seems there are high interrupts in your storage subsystem. Even though there are many factors that could cause this, I would start with installing the latest version of Intel RST driver, as the system is using default Windows storage driver instead of the one provided by the chipset vendor.

Okay, thanks for identifying that. How would I go about installing the new drivers? I've done the setup for Intel RST and I've downloaded the ZIP file with the driver files but I don't know what to do with them. This may seem very obvious but I'm terrible with computers haha.

Download SetupRST.exe from the link I have provided and run the setup. Reboot the computer afterwards. See if the issue persists and if it does, provide a new trace.

Do I need to activate RAID at all in BIOS? I remember seeing that there when I was using BIOS to overclock my RAM.
 

It seems there are high interrupts in your storage subsystem. Even though there are many factors that could cause this, I would start with installing the latest version of Intel RST driver, as the system is using default Windows storage driver instead of the one provided by the chipset vendor.

Okay, thanks for identifying that. How would I go about installing the new drivers? I've done the setup for Intel RST and I've downloaded the ZIP file with the driver files but I don't know what to do with them. This may seem very obvious but I'm terrible with computers haha.

Download SetupRST.exe from the link I have provided and run the setup. Reboot the computer afterwards. See if the issue persists and if it does, provide a new trace.

Do I need to activate RAID at all in BIOS? I remember seeing that there when I was using BIOS to overclock my RAM.

No, it is not related.
 

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

Back
Top