• Still running Windows 7 or earlier? Support for Windows 7 ended on January 14th 2020. Please review the thread here for more details.

[SOLVED] DPC Problem, followed tutorial, but I'm lost.

Japanimation

Member
Joined
Dec 9, 2013
Posts
17
Lately I've been having a ton of issues involving DPC Latency. First, I will explain how I noticed this, and when it occurs.


The other day while running Media Player Classic x64, I noticed that whenever subtitles would display, my machine would act sluggish and the audio would be distorted. The video playback would also slow down and skip, too.


I was doing some research on the audio popping and distortion and that's how I learned about DPC Latency. I downloaded and installed LatencyMon and DPCLAT, and ran a few tests. In [this](http://i.imgur.com/QbHpuEp.jpg) screenshot you can see the latency spikes when a subtitle occurs. I also noticed that when Steam (a game distribution and management program) is resized to a decent sized window, say 1600x900, or lower even that the latency also occurs. [This](http://i.imgur.com/ruHK1r7.jpg) screenshot shows a continuation of the last without the subtitles and the latency while using Steam. Both of these tests are done with DPCLAT.


[Here](http://i.imgur.com/PCd4cgR.jpg) you can see what LatencyMon shows, and if you scroll down you can see a text log of this test. My knowledge with computers is limited and I only know the basics, so I'm not entirely sure what to make of either of these. So some professional or experienced input would be greatly appreciated. This test was done while moving around the enlarged Steam window.


I have tried disabling devices to find the cause of this issue, but so far I've come up empty. Please not, that the yellow amount of latency has always existed on my system and I have never had an issue with it. It is caused by my Network Adapter, it is not directly supported under Windows 7 and the only driver that works with it creates quite a bit of latency. The adapter is a Linkysys WMP300Nv1.


You can see my other system specs [here](http://i.imgur.com/xiE13hm.jpg) and [here](http://i.imgur.com/1SXx3w1.jpg). If you need additional information, or want me to run additional tests, just ask. I would really like to solve this problem, as it has become incredibly inconvenient.


Another thing to note is that while playing games, everything is fine. I don't get any stutters or hindered gameplay.

I have also gone through almost every device on my system (that I can think of) through Device Manager and disabled them one by one while monitoring DPCLAT. I've disabled my Network Adapater (which solves the yellow amount of latency, but that's not the issue, I'm looking to solve the red spikes that are hindering my proformance,) my GPU, USBs, Keyboard, Mouse, etc. I have even tried a clean install on a spare drive and booted from that, but the issue persisted.

I also followed a tutorial on this website and according to that, USBPORT.sys, hal.dll, and dxgkernal are my top contenders for this issue. I don't know where to go from there, though. The tutorial I followed is here: https://www.sysnative.com/forums/wi...ues-with-wpa-windows-windows-vista-7-8-a.html. So, thank you Niemiro for the tutorial, it at least helped me make progress.

Read More:
 
Hello,

Could you please run Windows SDK setup and select to install "Windows Performance Toolkit"? Once it's installed run the following command from elevated (Run As Administrator) command prompt (if the command asks you to modify the registry, please do that, reboot your computer and re-run the command):

Code:
xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DRIVERS -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular

Now, do something (resizing Steam window, playing video with subtitles) until you experience the issues you mentioned. Once you do, run the following command to stop the logging:

Code:
xperf -stop -d C:\CPU.etl

Attach the C:\CPU.etl log file here.

In addition, please also download and run Sysnative jcgriff2 BSOD File Collection app, attaching its log here. We need this to have more information about your system.

Thanks
 
For the latency with Steam running - check that Steam isn't using any Compatibility modes or running as Administrator.
 
Hello,

Could you please run Windows SDK setup and select to install "Windows Performance Toolkit"? Once it's installed run the following command from elevated (Run As Administrator) command prompt (if the command asks you to modify the registry, please do that, reboot your computer and re-run the command):

Code:
xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DRIVERS -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular

Now, do something (resizing Steam window, playing video with subtitles) until you experience the issues you mentioned. Once you do, run the following command to stop the logging:

Code:
xperf -stop -d C:\CPU.etl

Attach the C:\CPU.etl log file here.

In addition, please also download and run Sysnative jcgriff2 BSOD File Collection app, attaching its log here. We need this to have more information about your system.

Thanks
Hey TomasD,
I believe I have done what you asked correctly. Thanks for your quick reply.

View attachment Windows7_Vista_jcgriff2.zip, and View attachment 6194

For the latency with Steam running - check that Steam isn't using any Compatibility modes or running as Administrator.

I looked to see if Steam is running as an administrator, and it is. I also have UAC off. I tried disabling Administrator mode on it, but it made no difference.
 
I looked to see if Steam is running as an administrator, and it is. I also have UAC off. I tried disabling Administrator mode on it, but it made no difference.
Ok, now try disabling AeLookupSVC, the Application Experience Service, then reboot and test again. It's something that fixed a high kernel CPU% (I didn't check DPC levels, though they are often linked) problem with a Steam game recently.
 
I looked to see if Steam is running as an administrator, and it is. I also have UAC off. I tried disabling Administrator mode on it, but it made no difference.
Ok, now try disabling AeLookupSVC, the Application Experience Service, then reboot and test again. It's something that fixed a high kernel CPU% (I didn't check DPC levels, though they are often linked) problem with a Steam game recently.

I tried this just now and it doesn't seem to have made a difference. D:
 
No worries, it was worth trying; I still don't understand why Steam is sometimes set to run under Compatibility/Administrator mode in W7 (I've seen others reporting theirs is/was set for Vista mode) - I'll try to find some time to dig deeper into the Steam forums, there might be an answer there somewhere.
 
No worries, it was worth trying; I still don't understand why Steam is sometimes set to run under Compatibility/Administrator mode in W7 (I've seen others reporting theirs is/was set for Vista mode) - I'll try to find some time to dig deeper into the Steam forums, there might be an answer there somewhere.

I still appreciate your input and trying to help me. I'm desperate to get this solved, so thanks again. If you run into anything or find out anything in the future, please let me know.
 
Thanks, I'll be back if I think I have something ;)

Don't forget to zip and attach the C:\CPU.etl log file, I don't see it in the zip :)
 
Thanks, I'll be back if I think I have something ;)

Don't forget to zip and attach the C:\CPU.etl log file, I don't see it in the zip :)

That's weird. I uploaded two .zips, one for each thing asked for. I just re-downloaded it and unzipped it and I see it.
 
Hi there,

sorry for not backing to you sooner - I had a crazy week..

I did some analysis of the ETL you provided, but unfortunately, I cannot say for sure yet what is the root cause of your issues. I see that there was one DPC spike on CPU#1, which was caused by your network driver:

LANDPC.PNG

Anyhow, this is something you are already aware of. The problem is with the CPU#3, which has quite a few large DPC spikes:

PERFDPC.PNG

As you can see, quite a lot of DPCs are caused by hal.dll!HalpGetPmTimerSleepModePerfCounterValue function. The problem is that I cannot find any documentation related to this function, but guessing from its name it seems to be related to performance counters or/and power saving settings. An interesting thing is that if I not filter out regular CPU usage, I see that the first time this function is referenced by ATI/AMD drivers:

ATIDPC.PNG

As I said, it's hard to say for sure the issue is really caused by ATI/AMD drivers, but, still, the first thing I would like you to do is downloading the most recent version of HD4000 drivers from here and installing them. Once installed, please check if the issue persists and let us know. We can continue troubleshooting this, but I will some additional information from you in case drivers won't fix the issue.

Oh, and one more thing. I would strongly suggest you removing or at least updating Blue Eye Automation application. mousim.sys and kbdsim.sys drivers that belong to this application, made your computer to crash few times recently.

Good luck.
 
Read More:

Hey TomasD, thanks for getting back to me, sorry if I caused you any trouble.

Unfortunately, I already have the latest drivers installed for the HD4000, and I even tried installing them on a fresh install of Windows to see if the issue persists, and it does. I couldn't check it without having the GPU driver installed, because I can't display subtitles through Media Player Classic without the GPU driver. I think I'll try to uninstall them on my second install of Windows on my other HDD and see if it still happens when moving Steam around.

As for Blue Eye Automation, which I believe is an old macro program I tried out for gaming, I think the drivers it installed (mousim.sys and kbdsim.sys,) for the keyboard and mouse simulation were causing blue screens with my Logitech mouse I installed, because that didn't happen until installed the drivers for the Logitech mouse. It's since been resolved, but I will look into removing them anyway.
 
Okay, so.. I booted off my other HDD on my fresh install of Windows and installed the latest drivers (the current ones I have on this install,) and the problem persisted. I then uninstalled them and used the card's normal VGA, and the problem seemed to have gone away with Steam, but I couldn't exactly check with Media Player Classic and Subtitles because they aren't supported without a driver.

I'm almost certain that the issue has something to do with the graphic's driver now, but I also tried to install an older version and the issue still persisted.
 
Read More:
.

Hi,

sorry, it seems that the link I provided doesn't not work (AMD page does not allow direct linking). The driver I wanted you to install is this - Catalyst Software Suite 13.9. These drivers were released 2013-10-15, while the ones you currently have installed are from 2013-04-29:

Code:
amdkmdag     amdkmdag               amdkmdag               Kernel        Manual     Running    OK         TRUE        FALSE        2,535,424  8,290,304  0      [B]4/29/2013[/B] 10:07:09 PM  C:\Windows\system32\DRIVERS\atikmdag.sys         8,192     
amdkmdap     amdkmdap               amdkmdap               Kernel        Manual     Running    OK         TRUE        FALSE        12,288     208,896    0      [B]4/29/2013[/B] 10:48:15 PM  C:\Windows\system32\DRIVERS\atikmpag.sys         4,096
 
Sorry, I double checked and it seems that October package still includes files from April you already have.

Anyhow, I have an idea: it's possible that the issue is not the drivers itself, but the Catalyst software. As far as I know, it can be used to monitor tweak and monitor your GPU, so that could explain these frequent PerfCounters queries. To confirm or rule this out, it would suggest you to do the following:

  1. Download the package from the link I provided earlier
  2. Run the setup
  3. Once it finishes extracting the files and shows initial setup screen, click Cancel
  4. Using Programs and Features in Control Panel, remove EVERYTHING that relates to your video card (ATI/AMD)
  5. Reboot the computer
  6. Windows should be using default VGA driver now
  7. Open Device Manager
  8. Right click on your video card and select Update Drivers Software...
  9. Select Browse my computer for driver software
  10. Type C:\AMD\Support\13-9-legacy_vista_win7_64_dd_ccc\Packages\Drivers\Display\W76A_INF in location field
  11. Select Include subfolders and click Next
  12. Once the drivers are installed, reboot the computer
  13. Check if the issues persists
 
Sorry, I double checked and it seems that October package still includes files from April you already have.

Anyhow, I have an idea: it's possible that the issue is not the drivers itself, but the Catalyst software. As far as I know, it can be used to monitor tweak and monitor your GPU, so that could explain these frequent PerfCounters queries. To confirm or rule this out, it would suggest you to do the following:

  1. Download the package from the link I provided earlier
  2. Run the setup
  3. Once it finishes extracting the files and shows initial setup screen, click Cancel
  4. Using Programs and Features in Control Panel, remove EVERYTHING that relates to your video card (ATI/AMD)
  5. Reboot the computer
  6. Windows should be using default VGA driver now
  7. Open Device Manager
  8. Right click on your video card and select Update Drivers Software...
  9. Select Browse my computer for driver software
  10. Type C:\AMD\Support\13-9-legacy_vista_win7_64_dd_ccc\Packages\Drivers\Display\W76A_INF in location field
  11. Select Include subfolders and click Next
  12. Once the drivers are installed, reboot the computer
  13. Check if the issues persists

Thanks for your quick response TomasD,

I'll try everything you listed tomorrow, I have a lot going on tonight and will be away from my PC for the time being. Thanks as always for trying to help me troubleshoot this.
 
Alright, so I've been a bit busy the past couple days, but I finally got around to trying what you suggested. I did everything step-by-step, and the problem still persists. This is infuriating.. I just want it to go away, heh. Is there anything else I can do, maybe a more elaborate test or something? I really want to solve this..

Edit:

I also found out that if I'm on Ventrilo and a put a video file with subtitles on or move my steam client, that it will cause my sound devices to stop responding.. Oddly enough.
 
Hi,

Even I'm not glad to hear it didn't help, we can keep troubleshooting this if you want.

Do you think you could generate 4 more XPERF reports the same way you did before?

  1. Start XPERF, run a video with subtitles, stop XPERF
  2. Start XPERF, run a Ventrilo with a subtitled video, stop XPERF
  3. Start XPERF, run Steam and move its window, stop XPERF
  4. Make sure you have video player, Ventrilo, Steam close, start XPERF, wait few minutes (do not do anything with you computer), stop XPERF
Once done, compress and share all 4 report files here.
 

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

Back
Top