Discussion: NVIDIA Display Driver (nvlddmkm.sys) DPC Latency

Status
Not open for further replies.
i did a latmon and it had spikes with dx and nvlddmkm.sys but lasso said that it was perfectly fine, no issues
I'm not sure where the cutoff is in LatencyMon, maybe 1,000? Anything below that it will say it's "Fine", but this isn't always accurate, like in this Nvidia case here. I think they just had to draw a line somewhere for guidance, but if it's spiking every 10 seconds up to say 500 or whatever below the cutoff, it will manifest as problems, such as audio dropouts, lower 1% framerates, stutters, etcetera.
 
I'm not sure where the cutoff is in LatencyMon, maybe 1,000? Anything below that it will say it's "Fine", but this isn't always accurate, like in this Nvidia case here. I think they just had to draw a line somewhere for guidance, but if it's spiking every 10 seconds up to say 500 or whatever below the cutoff, it will manifest as problems, such as audio dropouts, lower 1% framerates, stutters, etcetera.

no audio dropouts, and averaged around 400+ let it run for a good 15 mins. did have to shut down AV and a few other background things, but i hear ya. it didn't hit peaks every few seconds, it mostly just picked up other things after initial nvd and dx spikes
 
thinking about it, could it be motherboard instead of 'drivers' ?

....... i mean, i did have that A board but got a rog strix instead, but it is a gaming board
 
no audio dropouts, and averaged around 400+ let it run for a good 15 mins. did have to shut down AV and a few other background things, but i hear ya. it didn't hit peaks every few seconds, it mostly just picked up other things after initial nvd and dx spikes
Yeah, the other thing that makes this difficult to resolve too is not everyone is sensitive to this stuff, even when it comes to framerates and not DPC. Necrosaro commented about this in the past, and funny enough I have the same situation. I play Nintendo Switch with my wife, and that console is so underpowered for most of the games it runs, we'll be playing Overcooked for example and the framerate is already capped at 30 to begin with which I can barely bring myself to play on, but it will constantly dip down into the 20's and it's so noticeable to me, to the point where I just couldn't play the game anymore.

My wife on the other hand is like "You're crazy, I don't see any problems." Then I go to dash around the kitchen and my character falls through the map and dissapears, and I'm like "Uh huh. You were saying?" lol. Unrelated bug obviously, but summarizes my experiences with gaming over the years :p
 
Yeah, the other thing that makes this difficult to resolve too is not everyone is sensitive to this stuff, even when it comes to framerates and not DPC. Necrosaro commented about this in the past, and funny enough I have the same situation. I play Nintendo Switch with my wife, and that console is so underpowered for most of the games it runs, we'll be playing Overcooked for example and the framerate is already capped at 30 to begin with which I can barely bring myself to play on, but it will constantly dip down into the 20's and it's so noticeable to me, to the point where I just couldn't play the game anymore.

My wife on the other hand is like "You're crazy, I don't see any problems." Then I go to dash around the kitchen and my character falls through the map and dissapears, and I'm like "Uh huh. You were saying?" lol. Unrelated bug obviously, but summarizes my experiences with gaming over the years :p

i know what you mean. currently i have issues with one eye. so i would if anything probably be more sensative to a change in framerates with the good eye. ..... but real world scenario, if i play a game and i know it will strain it, i expect it. it does have to be something big for me to notice it at the minute tho.

what i can do is try another test, but because all systems arent equal, i could look to see if there is any MS background apps running that could be a trigger for the spikes too. i know we all use different programs so trying to 100% replicate will either a) cost ££ which i don't have or b) could be impossible to identically match
 
i'll run a latmon ( latencyMon home edition v 6.71 - resplendence.com )

see what that 1 says........

additional note. i have steam running and a few edge windows open, while the software is running
 
i'll run a latmon ( latencyMon home edition v 6.71 - resplendence.com )

see what that 1 says........

additional note. i have steam running and a few edge windows open, while the software is running

10 MINS IN - with steam, discord, several twitch streams,
 

Attachments

  • 10minswith backgroundprogson.txt
    86.2 KB
have noticed dx, wdf and hd aud bus having ISR counts too

but highest DPC was ndis.sys, Nvlddmkm.sys and dxgkrnl . but as stated, that is a 10 min test with several things running and it did say ' your system seems to be having difficulty handling realtime audio and other tasks. you may experience dropouts clicks or pops due to buffer underruns. one problem may be related to power management, disable cpu throttling settings in control panel and bios setup. check for bios updates '

few notes..... Latest bios update for motherboard, so not bios. i do have it on high performance. no overclocking of any form.

addendum - gtx 1070 graphics card , driver 527.37 DCH type gamer ready
 
Last edited:
This is actually good stuff that you posted Taosd, thank you for the txt log. So I have a few quick takeaways from your report, which shares some similarities to Necrosaro's:

Your Nvidia driver isn't spiking very high at all, only up to 188 microseconds under a load (you had things like Twitch running, etcetera) which is actually quite good in this circumstance. It may be better to run the test again though, for just 5 minutes, and without anything else running, on a fresh reboot of the PC, that way we can more directly compare your "DPC Count" numbers to Necrosaro's results and see what that tells us. It's kind of hard to know if those DPC counts are good or bad when things are running like Twitch for example.

It's possible though, from your Nvidia number that maybe you too have some tweak on your system that is preventing the huge spikes so many of us are seeing. Some of the DPC Counts in your log are pretty high, but most of that is likely just coming from the network adapter being used, plus also McAfee is assuredly causing the ndis.sys and tcpip.sys to be higher than they normally would too, so I suspect that's the issue there.

If you don't mind posting, what are your PC specs outlined in this post (link) from earlier.

Are you currently using any NTLite xml and/or things like registry tweaks and such on your current system?
 
Last edited:
This is actually good stuff that you posted Taosd, thank you for the txt log. So I have a few quick takeaways from your report, which shares some similarities to Necrosaro's:

Your Nvidia driver isn't spiking very high at all, only up to 188 microseconds under a load (you had things like Twitch running, etcetera) which is actually quite good in this circumstance. It may be better to run the test again though, for just 5 minutes, and without anything else running, on a fresh reboot of the PC, that way we can more directly compare your "DPC Count" numbers to Necrosaro's results and see what that tells us. It's kind of hard to know if those DPC counts are good or bad when things are running like Twitch for example.

It's possible though, from your Nvidia number that maybe you too have some tweak on your system that is preventing the huge spikes so many of us are seeing. Some of the DPC Counts in your log are pretty high, but most of that is likely just coming from the network adapter being used, plus also McAfee is assuredly causing the ndis.sys and tcpip.sys to be higher than they normally would too, so I suspect that's the issue there.

If you don't mind posting, what are your PC specs outlined in this post:
https://www.ntlite.com/community/in...iver-nvlddmkm-sys-dpc-latency.2924/post-30597

Are you currently using any NTLite xml and/or things like registry tweaks and such on your current system?

to help, no reg tweaks, clean install. most i have done is dos commands, but it was to disable hibernate
as for windows, official iso, unmodded
PC Type: desktop
Operating System/Version: w11 pro
Processor: AMD Ryzen 5 5600 6-Core Processor 3.50 GHz
Graphics: nvidia gtx 1070 8gb
Driver Type: geforce gamer ready driver
Driver Version: 527.56
DPC Spikes:

driver also updated while running


will run another from clean boot ( will disable steam etc as all set for auto start on boot ) and post results
 
Hrm, interesting that Taosd and Necrosaro have the same Nvidia graphics (1070) as well as both having AMD processor.
 
In this thread, Slender also reported the combo of AMD processor with Nvidia graphics and had no latency issues (though he was complaining of mouse jitter), while Savitarax has an Intel processor with lots of cores and had DPC issues until he manually assigned the Nvidia driver to another core.

This all plays into the "What we know" stuff I talked about in my recent summary post, where I think what's happening is people that have a lot of cores, tend to have a good chance that Windows will out of dumb luck move sensitive drivers onto different cores which is why some people don't have the issue.

I'm not well versed in CPU affinity though, am I wrong in assuming how that works? Do the drivers themselves get coded to determine what core to move to, or is it fully up to Windows to automate, or does everything just get thrown onto Core 0 and then the other cores get used in other ways?
 
Hrm, interesting that Taosd and Necrosaro have the same Nvidia graphics (1070) as well as both having AMD processor.
Mine is a much older one, had a 8120 originally then took my friends 8350 when he upgraded just as a heads up

Nvidia is a 1070 from zotac
 
That txt log doesn't have the "Drivers" tab included, unfortunately when exporting txt through LatencyMon they made it so that only the currently selected tab gets exported, rather than all of them. So I can't compare the DPC Counts to Necrosaro's. This page does show though that you have a lot of hard pagefaults, and that McAfee is for sure slowing down the network adapter and causing DPC issues for several drivers.

Pagefaults can be reduced dramatically by disabling indexer and/or pagefile. McAffee and Defender are big contributors too.
 
In this thread, Slender also reported the combo of AMD processor with Nvidia graphics and had no latency issues (though he was complaining of mouse jitter), while Savitarax has an Intel processor with lots of cores and had DPC issues until he manually assigned the Nvidia driver to another core.

This all plays into the "What we know" stuff I talked about in my recent summary post, where I think what's happening is people that have a lot of cores, tend to have a good chance that Windows will out of dumb luck move sensitive drivers onto different cores which is why some people don't have the issue.

I'm not well versed in CPU affinity though, am I wrong in assuming how that works? Do the drivers themselves get coded to determine what core to move to, or is it fully up to Windows to automate, or does everything just get thrown onto Core 0 and then the other cores get used in other ways?

from what i understand, the ryzen cpu's are updated regularly to enhance better compatability with memory and motherboard updates. i could be wrong with that, but all i know is i have another chipset update thats just come out
 
Status
Not open for further replies.
Back
Top