Sign in to follow this  
Followers 0
brajenful

ndis.sys causing high DPC Latency

20 posts in this topic

Hi!
I was playing, when I noticed that about every minute, for about 10 seconds my fps went down to about 10-12, and with a little searching on the internet, i figured out it was because of the high DPC Latency. I downloaded LatencyMon and DPC Latency Checker, and it showed that most of the time it was around
150-200 μs, but about every minute, it went up to 3000-3500 μs. I checked the execution times with LatencyMon, and the highest was ndis.sys with 5.2 ms. I disabled the wireless adapter, hoping that it will solve the problem, but it didn't work. I still get these spikes, and now the highest was rspLLL64.sys with 0.5 ms. Strangely, I didn't get any pops and cracks while listening to music, as long as the wireless adapter was enabled. After I disabled it, they appeared. I tried updating the wireless and the audio drivers, but they didn't solve the problem. I've been searching for the solution for about 1-2 weeks, but i didn't find it. I would be grateful if any of you could help me.

PS: Sorry if my english is bad, it's not my native language.

post-380031-0-38125200-1374268051_thumb.

0

Share this post


Link to post
Share on other sites

update the driver for your Atheros WIFI

attachicon.gifDPC.png

You use the old version "9.0.0.202.

Get the driver version 10 from here:

http://www.atheros.cz/atheros-wireless-download.php?chipset=40&system=5

Well, I thought I used the latest version, because I installed it a long time ago, and it said it was successful, but never mind. However, I tried to install it now, and of couse it doesn't work. I tried it a couple times, and it says Install Failed. I even uninstalled the previous driver completely before installing the new one, but it didn't work either.

xamaXj9.png

0

Share this post


Link to post
Share on other sites

update the driver with the device manager and point to the extracted INF.

If this fails, upload the setupapi.dev.log from C:\Windows\Inf

0

Share this post


Link to post
Share on other sites

Windows thinks the driver is already installed, but can't find it:

     inf:      {SetupCopyOEMInf: c:\users\brajenful.brajenful-pc\desktop\win7-10.0.0.234-whql\netathrx.inf} 21:32:15.835!    inf:           Package was already in store: skipping Driver Store add     inf:           Driver Store location: C:\Windows\System32\DriverStore\FileRepository\netathrx.inf_amd64_neutral_3d20c0e894328962\netathrx.inf     inf:           Published Inf Path: C:\Windows\INF\oem3.inf!    inf:      Unable to load INF: 'C:\Windows\System32\DriverStore\FileRepository\netathrx.inf_amd64_neutral_3d20c0e894328962\netathrx.inf'(00000003)!    inf:      Error 3: The system cannot find the path specified.!!!  inf:      Could not load INF 'C:\Windows\System32\DriverStore\FileRepository\netathrx.inf_amd64_neutral_3d20c0e894328962\netathrx.inf'.!!!  inf:      Error 3: The system cannot find the path specified.

use pnpultil to uninstall this OEM3.inf:

pnputil.exe -d oem3.inf

reboot adn try to install the new driver again. If this fails, too upload the new log.

0

Share this post


Link to post
Share on other sites

I see that you still used the old driver (Opened INF: 'c:\users\brajenful.brajenful-pc\desktop\wireless lan_atheros_9.0.0.202_win7x86x64\ndis6xwin7\netathrx.inf' ([strings]))

Use this tool to kill Atheros drivers:

http://driverstoreexplorer.codeplex.com/releases/view/99694

Which BSOD did you get? Can you share the .dmp file from C:\Windows\Minidump?

0

Share this post


Link to post
Share on other sites

ok, the dump shwos that the new driver is causing it.

Have you tried the older drivers from the 10.x series like 10.0.0.227, 10.0.0.221, 10.0.0.216, 10.0.0.75 or 10.0.0.54?

0

Share this post


Link to post
Share on other sites

I tried 10.0.0.227, but it didn't work. By the way, when I uninstalled all the Atheros drivers, rebooted the system, and I still got the spikes, so maybe something else causes it.

0

Share this post


Link to post
Share on other sites

maybe Windows 7 includes a generic driver for your card, too.

0

Share this post


Link to post
Share on other sites

I think it doesn't because I reinstalled the system a couple of times, and i had to install all the drivers every time. Furthermore, I killed all the network drivers before I tested the DPC Latency.

0

Share this post


Link to post
Share on other sites

use the tool from codeplex and remove all Atheros drivers. Now Windows should not find any driver.

0

Share this post


Link to post
Share on other sites

I did, and it's not working. It's very strange, because I removed all the Atheros drivers using Drive Store Explorer, and I still have an internet connection (I removed the network drivers too, obviously), and my spikes are still caused by ndis.sys. So basically, I have internet connection without a network driver.

Edit: Now I get the pops again (which seems reasonable, because I got them before too, when the wireless adapter was disabled), and most of the time my DPC Latency is around 3000-4000, and goes down below that for only a few seconds

Edited by brajenful
0

Share this post


Link to post
Share on other sites

capture a new trace with the wifi adpater disabled.

0

Share this post


Link to post
Share on other sites

This is starting to get ridiculous. I've made some kind of progress (even though, I have no idea how). I disabled the wifi adapter, and started tracing. There wasn't a single spike for like 3-4 minutes, I stopped it. Then about 5 minutes later, there was a spike for 1(!) second, and there wasn't any since that. The strange is that there were no spikes even when the wifi adapter was enabled. So basically, the spikes somehow disappeared, but the pops in the sound are still here, regardless of the wifi adapter. Sorry if it's hard to understand. Basically, there were 2-3 sec spikes periodically, when the wifi adapter was enabled (there were no pops). When I disabled it, the pops appeared, and the spikes were still there. Now the spikes are gone, but there are pops, even when the wifi adapter is enabled.

By the way, I made two tracings, one with the wifi adapter enabled, one with disabled. (just in case you can use them)

Disabled:

http://www.mediafire.com/download/6kplr32zra1117z/DPC_Interrupt.rar

Enabled:

http://www.mediafire.com/download/wqk6igs4pt4tn81/DPC_Interrupt2.rar

Edit: The pops are gone, and there are still no spikes, so it seems my problem has been solved, but I would be grateful if you saw the graphs to see if there is an anomaly. Anyways, thanks for your help, your patience, and for being able to handle my incompetence:)

Edited by brajenful
0

Share this post


Link to post
Share on other sites

the traces show no issues. Higest spikes are between 256 AND 512 usecs.

The only thing I see is a bit high CPU usgae of the Audiodg.exe caused by the Realtek driver DLL (RTKAPO.Dll)

post-70718-0-90466300-1374640555_thumb.p

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.