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

Status
Not open for further replies.
As per rule in post no619 "newer posts which don't fit "this worked for me" have been removed.

A repeat of Garlins post no619.
MODERATOR NOTE:

Welcome to our new visitors, just a quick reminder. We've had an outpouring of feedback, but now after 31 pages -- it's time to get MORE FOCUSED on new comments. Specifically, we're looking for cases where users made noticeable improvements to DPC latency, or stability.

Not to pick on anyone, but we're not here to share "me too!" stories. Everyone knows DPC's broken on NVIDIA/"gaming" PC's!

The goal moving forward is to find patterns in success stories. We have enough stories of XYZ did not work for me. Hopefully, some of the success stories will help other users improve their setups.

Because this thread's getting long, as Mod, newer posts which don't fit "this worked for me" will be trimmed. Yes, DPC is a frustrating topic, but we'll get there faster if we streamline the responses.

DON'T FORGET: BE MORE SPECIFIC. Share your Windows patch level (19045.xxxx), driver version, etc. You don't have to post every LatencyMon graph if your latency numbers look terrible. There's always someone who has a PC worse than you.
 
Last edited:
OK for me the latency spikes go away if I set the NVCP global setting to Prefer Maximum Performance and then reboot. I can check this is working because A) I can hear the fans and B) hwinfo64 reports over 60w power usage and the card is locked at 2520Mhz. In Normal mode, the power usage drops down to 30w and low clocks. I don't know why a reboot was required.

I'm going to leave it on Normal as I assume this is intended behaviour.

But because I was trying to knock out power-saving as a cause, I also tried the Balanced vs Ultimate power plans, and these are the results (both with the NVCP set to Prefer Maximum Performance):

Balanced:
Balanced.jpg

Ultimate:
Ultimate.jpg
 
it was in idle?
Soon i show 2 test recorded

EDIT with the test
The first one is with default setting in Afterburner, so the clock jump a bit

The second one with the CURVE set, and the clock is a lot more stable
Why this?
Its pretty clear in this test, started Latency moon with gpu working, not generating huge spike. Only someone around 0,600
BUT when the benchmark stopped and clock going donw, then up when i open brave "The Disaster happen"
To be honest, in game 0,600 is what? Nothing? Also, with nvidia reflex maybe the feel is less.
Ofc is not a solution, just a clarification.
 
Last edited:
Yes idle. Windows had just booted.
mine is (and was in the 2 videos) same as you, prefer maximum performance in global setting + vertical sync off + g-sync off + texture filter quality high performance. just to be clear about my test
But in high performance power plan
 
POST #619 , and aVRage, just a for your information (FYI) an IDLE run means NOT RUNNING A LOAD OF THINGS WHILE TESTING
 
OK for me the latency spikes go away if I set the NVCP global setting to Prefer Maximum Performance and then reboot. I can check this is working because A) I can hear the fans and B) hwinfo64 reports over 60w power usage and the card is locked at 2520Mhz. In Normal mode, the power usage drops down to 30w and low clocks. I don't know why a reboot was required.

I'm going to leave it on Normal as I assume this is intended behaviour.

But because I was trying to knock out power-saving as a cause, I also tried the Balanced vs Ultimate power plans, and these are the results (both with the NVCP set to Prefer Maximum Performance):

Balanced:
View attachment 8982

Ultimate:
View attachment 8983
Try Nvidia inspector and disable

Nvidia's Force P2 Power State​

 
POST #619 , and aVRage, just a for your information (FYI) an IDLE run means NOT RUNNING A LOAD OF THINGS WHILE TESTING
Of course, but 90% of "OMG getting spike of latency, OH gno my game, i cant shoot faster" is based to 5/10min of idle Latency Moon and make nosense to me, where in a real situation of using the gpu, things change, and change better if the clock is stable.
anyway thats my 10min of idle
ApplicationFrameHost_qA2mIxFJpQ.jpg
Nvidia Driver: 528.02
 

Attachments

  • A8vhsf4McS.jpg
    A8vhsf4McS.jpg
    273.1 KB
  • WdkL0hLelz.jpg
    WdkL0hLelz.jpg
    335.8 KB
  • LCH0qRArkI.jpg
    LCH0qRArkI.jpg
    355.2 KB
Last edited:
Of course, but 90% of "OMG getting spike of latency, OH gno my game, i cant shoot faster" is based to 5/10min of idle Latency Moon and make nosense to me, where in a real situation of using the gpu, things change, and change better if the clock is stable.
anyway thats my 10min of idle

IF you had read the WHOLE topic, it isnt specifically gaming, it is people doing OTHER things ( MUSIC PRODUCTION / RECORDING ) so your assumption of it being a gaming only issue is invalid
 
LOOK AT THIS, 10min idle after a restart, with this settings in Nvidia Inspector
Again
index.php

Driver: 528.02
Going to make an image of the disk before something broke everything :eek:
 

Attachments

  • globalprofile.rar
    380 bytes
  • 4Bt1baAm6W.jpg
    4Bt1baAm6W.jpg
    342.6 KB
  • QsPXJoNkuA.jpg
    QsPXJoNkuA.jpg
    301 KB
  • 2uBNvwxvmI.jpg
    2uBNvwxvmI.jpg
    226 KB
did you have a DPC issue before making those changes ? as in .... sound drops, crackling, popping, delays etc ?
 
Several readers don't understand the point of this thread. We're not here to fix random NVIDIA driver issues.

The goal to make the NVIDIA (or AMD) driver more fair-share, so other real-time apps like audio tools don't get impacted. When there's high latency from the NVIDIA driver, it means the driver is monopolizing CPU attention at the expense of other functions. Smoothing out the frame rate or jitters may not do anything for the audio driver.

A lower DPC suggests on average, audio is taking less of a hit on each pass.
 
did you have a DPC issue before making those changes ? as in .... sound drops, crackling, popping, delays etc ?
Let me explain, usually i plug the soundbar directly to the out of my monitor, the driver in this case is High Definition Audio Device
Then i changed, and plug the soundbar directly to my motherboard, avoided to install Nvidia Audio drivers and now using Realtek Audio
When i was plugged to the monitor in idle spiking like 1k 1.5k
Then, directly to the motherboard BEFORE the "Prefer maximum performance" in inspector it was about 400 500 in 10min of idle. (look at the screens above)
Now, AFTER "PMP" is just better... better in numbers, better because latency moon show it better
The OS is installed from yesterday, not many test of audio listening, im just based to the numbers result of latency moon.
Now, for example, is 20min i write this and listening VLC (linking park :)) with latency moon running, NTLite opened with an image loaded etc
look at the screen
sorry for my poor english XD
 

Attachments

  • FFzeqqaZZm.jpg
    FFzeqqaZZm.jpg
    234.4 KB
i dont like it at all from 90W at wall (only the case) to 170W with the P2 OFF
Forced to uninstall and reinstall the driver
Don't touch it, in my opinion
It just keeps it from down clocking and up clocking all the time. I keep the p2 state off all the time and it stays at 39c without doing gaming. I also use MSI to change fan speed. It also keeps my 4k movies running smoothly.

Each to there own however, will see if I can find another solution for you. There might be one more I can get you to try at the moment.
 
A DPC latency tuning guide (link) is now available for viewing! Do not post any Nvidia driver bug topics in that new thread, it is purely meant for general non-specific DPC issues that affect all computers and all hardware. Regardless of if someone is a gamer or not, DPC still affects everyone, it's just that gamers are the first to notice because games put a very heavy load on a computer which helps to reveal underlying problems easier.

Please note that this new guide is not intended to become a tech support thread where we solve everyone's individual DPC problems everyday. The guide has the answers for almost every DPC issue, what it requires though is some real effort by the readers to work through it and perform the steps properly.

I get that installing Windows is boring and people just want to play games, but the reality is that computers are complicated, and becoming more difficult with time, not less. If you want to be part of the "PC Master Race" it requires some hard work. Today's modern operating systems are not geared towards gamers at all, so things require tweaking to make them work as expected for us, far more than they ever did in the past.

I'll check into the newer posts on this Nvidia thread tommorow since I have a chance to get back into testing this stuff now.
 
Last edited:
- New thread is up,

Please note that this new guide is not intended to become a tech support thread where we solve everyone's individual DPC problems everyday. The guide has the answers for almost every DPC issue, what it requires though is some real effort by the readers to work through it (not skim) and perform the steps properly.

I get that installing Windows is boring and people just want to play games, but the reality is that computers are complicated, and becoming more difficult with time, not less. If you want to be part of the "PC Master Race" it requires some hard work. Today's modern operating systems are not geared towards gamers at all, so things require tweaking to make them work as expected for us, far more than they ever did in the past.

I'll check into the newer posts on this Nvidia thread tommorow since I have a chance to get back into testing this stuff now.
Don't burn yourself out, enjoy some time off
 
Last edited:
Status
Not open for further replies.
Back
Top