• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

DPC Latency Caused by Nvidia Drivers

Joined
Apr 12, 2019
Messages
99 (0.05/day)
Processor AMD Ryzen 3700X
Motherboard Asus X570 TUF Gaming Plus
Cooling NZXT Kraken X62
Memory G.Skill 2x8GB 3600CL16
Video Card(s) Asus Strix RTX 2070
Storage Samsung 850 SSD 500GB
Display(s) Acer Predator XB271HU
Case NZXT S340 Elite
I dont edit audio, but I am after tweaking my system. I've used DPC Latency Checker to measure the systems latency and found it is most likely caused by the Nvidia drivers. Nvidia has addressed this in the past and claims it was fixed.
Setup: AMD 3700X set to 4.0Ghz constant, with C-States disabled. GPU RTX 2070 no OC. Fresh install o Windows 10 2004 build 19041.421, only Windows10 default drivers and Nvidia Driver 451.85 is installed. Tried also moded W10 with removed bloatware (Superlite edition). Also removed all possibly AMD, Intel, Nvidia by Windows installed drivers with Display Driver Uninstaller and installed Nvidia Driver only, without PhysX, HD Audio, Experience, USB-C...

dpc1.PNG


When I disable the Nvidia Driver in Device Manager
2.PNG


The latency is a lot lower
3.PNG


I did not try older Nvidia drivers as I like the Max Frame Rate option in the newer driver versions. As I dont have to run Riva Tuner or any additional software to have a fixed max frame rate.
I've ruled out HPET On/Off tweaking as the latency result was reproducible when disabling the Nvidia driver.
 

TheLostSwede

News Editor
Joined
Nov 11, 2004
Messages
16,053 (2.26/day)
Location
Sweden
System Name Overlord Mk MLI
Processor AMD Ryzen 7 7800X3D
Motherboard Gigabyte X670E Aorus Master
Cooling Noctua NH-D15 SE with offsets
Memory 32GB Team T-Create Expert DDR5 6000 MHz @ CL30-34-34-68
Video Card(s) Gainward GeForce RTX 4080 Phantom GS
Storage 1TB Solidigm P44 Pro, 2 TB Corsair MP600 Pro, 2TB Kingston KC3000
Display(s) Acer XV272K LVbmiipruzx 4K@160Hz
Case Fractal Design Torrent Compact
Audio Device(s) Corsair Virtuoso SE
Power Supply be quiet! Pure Power 12 M 850 W
Mouse Logitech G502 Lightspeed
Keyboard Corsair K70 Max
Software Windows 10 Pro
Benchmark Scores https://valid.x86.fr/5za05v
Not seeing anything nearly as high as you do.

1596885310149.png
 
Joined
Jan 8, 2017
Messages
8,925 (3.36/day)
System Name Good enough
Processor AMD Ryzen R9 7900 - Alphacool Eisblock XPX Aurora Edge
Motherboard ASRock B650 Pro RS
Cooling 2x 360mm NexXxoS ST30 X-Flow, 1x 360mm NexXxoS ST30, 1x 240mm NexXxoS ST30
Memory 32GB - FURY Beast RGB 5600 Mhz
Video Card(s) Sapphire RX 7900 XT - Alphacool Eisblock Aurora
Storage 1x Kingston KC3000 1TB 1x Kingston A2000 1TB, 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) LG UltraGear 32GN650-B + 4K Samsung TV
Case Phanteks NV7
Power Supply GPS-750C
The question is what problems do you exactly encounter ?
 
Joined
Feb 18, 2005
Messages
5,238 (0.75/day)
Location
Ikenai borderline!
System Name Firelance.
Processor Threadripper 3960X
Motherboard ROG Strix TRX40-E Gaming
Cooling IceGem 360 + 6x Arctic Cooling P12
Memory 8x 16GB Patriot Viper DDR4-3200 CL16
Video Card(s) MSI GeForce RTX 4060 Ti Ventus 2X OC
Storage 2TB WD SN850X (boot), 4TB Crucial P3 (data)
Display(s) 3x AOC Q32E2N (32" 2560x1440 75Hz)
Case Enthoo Pro II Server Edition (Closed Panel) + 6 fans
Power Supply Fractal Design Ion+ 2 Platinum 760W
Mouse Logitech G602
Keyboard Logitech G613
Software Windows 10 Professional x64
And why do you care? The program states "This machine should be able to handle real-time streaming of audio and/or video data without drop-outs."
 
Joined
Jun 3, 2010
Messages
2,540 (0.50/day)
And why do you care? The program states "This machine should be able to handle real-time streaming of audio and/or video data without drop-outs."
It lags accumulatively.
The keystroke response is different between 50-150us.
This could be due to thread optimisation. It distributes the master thread into cpu threads in the driver. Nvidia also has this cpu software rasterization and this all new hardware accelerated gpu scheduling. Both are polar opposites in lag.
One has to consider one by one where the lag stems. He might need to enable gpu scheduling in the driver if it helps. Seems like multithreaded titles like gta benefit from it greatly.
 
Joined
Nov 14, 2018
Messages
192 (0.10/day)
System Name Zen4
Processor Ryzen 9 7950x
Motherboard Asus Strix B650E-E Gaming WiFi
Cooling Some oem 240 AIO
Memory 2xKingston DDR5 2x16GB (Hynix M die)@6000 CL26-35-35-27
Video Card(s) Gainward Phantom 4090 (@2.82GHz .95V UV, 350W PL)
Storage WD Black SN850X
Display(s) LG OLED C1 48"
Case Phanteks P600S
Audio Device(s) Onboard
Power Supply Corsair RM1000i
Mouse Logitech G Pro X Superlight
Keyboard Corsair K70
VR HMD HP Reverb G2
Software Win11
Also, while in normal 2d desktop, your GPU probably clocks down (my 1080ti idles at only 139/405), which at least for me, makes my card a bit more unresponsive. When testing DPC Latency for gaming purposes in 2d desktop mode, I always lock the GPU clocks in MSI Afterburner; go to curve mode (tiny icon besides the "Core Clock (MHz)" label in main UI), select the node which represent something close to your normal gaming clocks, and press 'L' on your keyboard, a yellow vertical line should appear on that node, close the curve editor, and remember to Apply your new settings. Retest DPC Latency :)

afterburnerlock.png
EDIT: Remember to remove the lock afterwards
 
Last edited:
Joined
Apr 12, 2019
Messages
99 (0.05/day)
Processor AMD Ryzen 3700X
Motherboard Asus X570 TUF Gaming Plus
Cooling NZXT Kraken X62
Memory G.Skill 2x8GB 3600CL16
Video Card(s) Asus Strix RTX 2070
Storage Samsung 850 SSD 500GB
Display(s) Acer Predator XB271HU
Case NZXT S340 Elite
And why do you care? The program states "This machine should be able to handle real-time streaming of audio and/or video data without drop-outs."
Lets say I am sensitive to any kind of frame drop, micro stutter and lag. While I cannot influence how game engines handle this, I am at least trying to tweak my machine in a way, it minimizes it.

Enable/disable GPU Scheduling had no influence on the latency.
gpu scheduling.PNG

Fixed GPU clock did lower the overall latency but did not get rid of the spikes.
locked clock.PNG
spikes.PNG
 
Joined
Nov 14, 2018
Messages
192 (0.10/day)
System Name Zen4
Processor Ryzen 9 7950x
Motherboard Asus Strix B650E-E Gaming WiFi
Cooling Some oem 240 AIO
Memory 2xKingston DDR5 2x16GB (Hynix M die)@6000 CL26-35-35-27
Video Card(s) Gainward Phantom 4090 (@2.82GHz .95V UV, 350W PL)
Storage WD Black SN850X
Display(s) LG OLED C1 48"
Case Phanteks P600S
Audio Device(s) Onboard
Power Supply Corsair RM1000i
Mouse Logitech G Pro X Superlight
Keyboard Corsair K70
VR HMD HP Reverb G2
Software Win11
Are the spikes still caused by the nvidia drivers? Also, LatencyMon from http://www.resplendence.com/downloads might be better suited for investigating the cause of these spikes, as you get more detailed reporting.

EDIT: Here's mine before/after locking GPU clocks:

LockedGPU.png
 
Last edited:

unclewebb

ThrottleStop & RealTemp Author
Joined
Jun 1, 2008
Messages
7,330 (1.26/day)

The DPC latency utility runs on Windows 8 but does not show correct values.
This tool is not compatible with Windows 8 or Windows 10. The data it shows is meaningless on these operating systems.
 
Joined
Aug 14, 2009
Messages
216 (0.04/day)
Location
Denmark
System Name Bongfjaes
Processor AMD 3700x
Motherboard Assus Crosshair VII Hero
Cooling Dark Rock Pro 4
Memory 2x8GB G.Skill FlareX 3200MT/s CL14
Video Card(s) GTX 970
Storage Adata SX8200 Pro 1TB + Lots of spinning rust
Display(s) Viewsonic VX2268wm
Case Fractal Design R6
Audio Device(s) Creative SoundBlaster AE-5
Power Supply Seasonic TTR-1000
Mouse Pro Intellimouse
Keyboard SteelKeys 6G
Use LatencyMon instead.
 
Joined
Jan 8, 2017
Messages
8,925 (3.36/day)
System Name Good enough
Processor AMD Ryzen R9 7900 - Alphacool Eisblock XPX Aurora Edge
Motherboard ASRock B650 Pro RS
Cooling 2x 360mm NexXxoS ST30 X-Flow, 1x 360mm NexXxoS ST30, 1x 240mm NexXxoS ST30
Memory 32GB - FURY Beast RGB 5600 Mhz
Video Card(s) Sapphire RX 7900 XT - Alphacool Eisblock Aurora
Storage 1x Kingston KC3000 1TB 1x Kingston A2000 1TB, 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) LG UltraGear 32GN650-B + 4K Samsung TV
Case Phanteks NV7
Power Supply GPS-750C
For the record I tested this a short while ago and latencymon says I have atrocious latency. Yet I notice absolutely nothing wrong and not only that, I discovered that it wasn't actually caused by anything Nvidia related, it was the fact that I was running 3200mhz CL18 instead of 3000mhz CL16. How about that.

I bet they claimed it was fixed because it never had anything to do with their drivers in the first place, at least not in all cases.
 
Joined
Apr 12, 2019
Messages
99 (0.05/day)
Processor AMD Ryzen 3700X
Motherboard Asus X570 TUF Gaming Plus
Cooling NZXT Kraken X62
Memory G.Skill 2x8GB 3600CL16
Video Card(s) Asus Strix RTX 2070
Storage Samsung 850 SSD 500GB
Display(s) Acer Predator XB271HU
Case NZXT S340 Elite
This tool is not compatible with Windows 8 or Windows 10. The data it shows is meaningless on these operating systems.
You are absolutely right about that. Now with Latency Monitor also shows lower latency when Nvidia driver is disabled.

This is with GPU driver enabled
latmon.PNG


This is GPU driver disabled:
latmon gpu driver disabled.PNG
 
Joined
Jun 3, 2010
Messages
2,540 (0.50/day)
I will say this once. Install hypermatrix(timer resolution) and switch between clocks. HPET is not the quickest. You should settle for TSC, afaik.
 
Joined
Apr 12, 2019
Messages
99 (0.05/day)
Processor AMD Ryzen 3700X
Motherboard Asus X570 TUF Gaming Plus
Cooling NZXT Kraken X62
Memory G.Skill 2x8GB 3600CL16
Video Card(s) Asus Strix RTX 2070
Storage Samsung 850 SSD 500GB
Display(s) Acer Predator XB271HU
Case NZXT S340 Elite
With Timer Resolution set to max - no difference

timer res.PNG


1 ms = 1000 µs
0.5 ms = 500 µs
I am talking about +/- 200µs in Latency Monitor. TimerResolution.exe is doing who knows what and the OS/game engine uses who knows what timer.
AAMOF I am already using TSC.
timer.PNG
 
Joined
Jun 3, 2010
Messages
2,540 (0.50/day)
I haven't used timerbench. You can switch between 3 options when using hypermatrix. First is when you select hpet, it goes down to 0.1ms, deselect it to get 0.5ms and the default is 1ms. I think it sometimes goes to 0.25ms as well.
Anyway, if you aren't going to fix it, at least select whichever keeps it steady.
I'd go through shadowplay to thread optimisation to hw gpu scheduling(you have).
 
Last edited:
Joined
Feb 18, 2005
Messages
5,238 (0.75/day)
Location
Ikenai borderline!
System Name Firelance.
Processor Threadripper 3960X
Motherboard ROG Strix TRX40-E Gaming
Cooling IceGem 360 + 6x Arctic Cooling P12
Memory 8x 16GB Patriot Viper DDR4-3200 CL16
Video Card(s) MSI GeForce RTX 4060 Ti Ventus 2X OC
Storage 2TB WD SN850X (boot), 4TB Crucial P3 (data)
Display(s) 3x AOC Q32E2N (32" 2560x1440 75Hz)
Case Enthoo Pro II Server Edition (Closed Panel) + 6 fans
Power Supply Fractal Design Ion+ 2 Platinum 760W
Mouse Logitech G602
Keyboard Logitech G613
Software Windows 10 Professional x64
So, are you going to disable your GPU driver forever to get the low latency you (think you) need, or are you going to accept that you're chasing snake oil and get on with your life and actually use your PC for playing games?
 
Joined
Apr 12, 2019
Messages
99 (0.05/day)
Processor AMD Ryzen 3700X
Motherboard Asus X570 TUF Gaming Plus
Cooling NZXT Kraken X62
Memory G.Skill 2x8GB 3600CL16
Video Card(s) Asus Strix RTX 2070
Storage Samsung 850 SSD 500GB
Display(s) Acer Predator XB271HU
Case NZXT S340 Elite
I haven't used timerbench. You can switch between 3 options when using hypermatrix.
Can you specify the apps name, post a link. I've only found "Timer Resolution" when googling Hypermatrix Timer Resolution
 

Attachments

  • tr.PNG
    tr.PNG
    4 KB · Views: 289
Joined
Jun 3, 2010
Messages
2,540 (0.50/day)
Yeah that is it.

Just scroll around the settings. I just put out a notice, double clicking between maximum and default doesn't switch between the same settings.
Also, hpet timer in my instance caused repeating latency, like increasing until starting over. It totally skimped on the input response. Just take notice.
 
Joined
Apr 12, 2019
Messages
99 (0.05/day)
Processor AMD Ryzen 3700X
Motherboard Asus X570 TUF Gaming Plus
Cooling NZXT Kraken X62
Memory G.Skill 2x8GB 3600CL16
Video Card(s) Asus Strix RTX 2070
Storage Samsung 850 SSD 500GB
Display(s) Acer Predator XB271HU
Case NZXT S340 Elite
So what are the 3 options? There is just max and default.
 
Joined
Jun 3, 2010
Messages
2,540 (0.50/day)
Yeah, but if you press them consecutively it sometimes goes to 1.250ms - oh, that was the setting I forgot, not 0.250ms.
 
Top