• 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.19/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.
 
Joined
Nov 11, 2004
Messages
6,594 (1.14/day)
Location
Formosa
System Name Overlord Mk MXVI
Processor AMD Ryzen 7 3800X
Motherboard Gigabyte X570 Aorus Master
Cooling Corsair H115i Pro
Memory 32GB Viper Steel 3600 DDR4 @ 3800MHz 16-19-16-19-36
Video Card(s) Gigabyte RTX 2080 Gaming OC 8G
Storage 1TB WD Black NVMe (2018), 2TB Viper VPN100, 1TB WD Blue 3D NAND
Display(s) Asus PG27AQ
Case Corsair Carbide 275Q
Audio Device(s) Corsair Virtuoso SE
Power Supply Corsair RM750
Mouse Logitech G500s
Keyboard Wooting Two
Software Windows 10 Pro
Benchmark Scores https://valid.x86.fr/33u9si
Not seeing anything nearly as high as you do.

1596885310149.png
 
Joined
Jan 8, 2017
Messages
5,623 (4.16/day)
System Name Good enough
Processor AMD Ryzen R7 1700X - 4.0 Ghz / 1.350V
Motherboard ASRock B450M Pro4
Cooling Deepcool Gammaxx L240 V2
Memory 16GB - Corsair Vengeance LPX - 3333 Mhz CL16
Video Card(s) OEM Dell GTX 1080 with Kraken G12 + Water 3.0 Performer C
Storage 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) 4K Samsung TV
Case Deepcool Matrexx 70
Power Supply GPS-750C
The question is what problems do you exactly encounter ?
 
Joined
Feb 18, 2005
Messages
3,123 (0.55/day)
Location
Ikenai borderline!
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
1,249 (0.33/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
147 (0.22/day)
System Name 24/7 setup
Processor Intel I9 9900k@5.1GHz (Naked, Conductonaut on bare core)
Motherboard Gigabyte z390 Aorus Pro
Cooling Custom wc (2xThermochill PA360 rads, 2xDDC-1 pumps in series, Alphacool NexXxoS GPX, EK Supremacy)
Memory 4x8Gb G.Skill PC3600CL15@3900CL15
Video Card(s) Palit Jetstream 1080ti mining farm salvage (2100/1500, xoc BIOS, no powerlimit, 1.200Vgpu)
Storage Samsung 970 Evo Plus 500GB, Samsung 840Pro 256GB, Samsung 860Evo 500GB, Seagate Barracuda 2TB
Display(s) Samsung 27" LED C27JG50 144Hz VA
Case Lian Li PC343B
Audio Device(s) Onboard
Power Supply Corsair RM1000i
Mouse Logitech G Pro
Keyboard Corsair K70
Software Win10, Win7, Server 2016
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.19/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
147 (0.22/day)
System Name 24/7 setup
Processor Intel I9 9900k@5.1GHz (Naked, Conductonaut on bare core)
Motherboard Gigabyte z390 Aorus Pro
Cooling Custom wc (2xThermochill PA360 rads, 2xDDC-1 pumps in series, Alphacool NexXxoS GPX, EK Supremacy)
Memory 4x8Gb G.Skill PC3600CL15@3900CL15
Video Card(s) Palit Jetstream 1080ti mining farm salvage (2100/1500, xoc BIOS, no powerlimit, 1.200Vgpu)
Storage Samsung 970 Evo Plus 500GB, Samsung 840Pro 256GB, Samsung 860Evo 500GB, Seagate Barracuda 2TB
Display(s) Samsung 27" LED C27JG50 144Hz VA
Case Lian Li PC343B
Audio Device(s) Onboard
Power Supply Corsair RM1000i
Mouse Logitech G Pro
Keyboard Corsair K70
Software Win10, Win7, Server 2016
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

RealTemp Author
Joined
Jun 1, 2008
Messages
2,168 (0.48/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
183 (0.05/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
5,623 (4.16/day)
System Name Good enough
Processor AMD Ryzen R7 1700X - 4.0 Ghz / 1.350V
Motherboard ASRock B450M Pro4
Cooling Deepcool Gammaxx L240 V2
Memory 16GB - Corsair Vengeance LPX - 3333 Mhz CL16
Video Card(s) OEM Dell GTX 1080 with Kraken G12 + Water 3.0 Performer C
Storage 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) 4K Samsung TV
Case Deepcool Matrexx 70
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.19/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
1,249 (0.33/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.19/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
1,249 (0.33/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
3,123 (0.55/day)
Location
Ikenai borderline!
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.19/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

Joined
Jun 3, 2010
Messages
1,249 (0.33/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.19/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
1,249 (0.33/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