Ongoing DPC latency problem

Dri3ku5

Member
Joined
Dec 15, 2020
Posts
17
Hello people,

Since some time I have noticed that my PC had a latency problem. I am a hobbyphotographer and do a lot of photoediting on my PC. At certain moment I noticed that, at the time that I export photo's from Adobe LR to my HDR software, the audio from an MP3, that was playing at the same time, for a moment started to stutter. If I was playing a YouTube video at the same time the video would freeze and the audio stutterd. At first I thought this was a normal phenomenon but when I got a new PC at work wich didn't suffer with latency problems, I saw that audiostutter isn't normal. After some searching on Google I found out that the stuttering on my PC was due to DPC latency and after running Latencymon this was confirmed. Then the struggle began.

I have tried almost everything that I camne across as possible solutions. I updated drivers, installed a seperate audicard, switched the GPU, did a clean Windows install and so on, and so on, but the problem with latency stayed. Finally I changed the mobo, CPU and RAM on my system and went from an Intel I7-8700K to an AMD Ryzen7-3700X expecting that this would definitly solve the lkatency problem. Bad luck, the latency problem is still present :-(

The screenprints and so are made yesterday evening. One thing has changed untill now and that is the fact that I have updated the Nvidia driver for the GPU (wich ofcourse didn't solve the problem). Although sometimes Latencymon says that my system is suitable for playing live audio this definitly not the case. As soon as I export photo's from Adobe LR the audio stutters, even though Latencymon says there is no problem. At my work I work on a PC with alomst exactly the same specifications (only an AMD GPU instead of a Intel, and a little slower RAM) and on this PC I do the same work with absolutely no problem at all. It's frustrating that my PC doesn't work so smooth and free of problems although the specs are almost the same.

I don't know what to do any more and I am almost desperate. I hope that you can help me and guide me in the right direction.

Trace and BSOD file

Speccy results
 

Attachments

  • ltncmn-01.jpg
    ltncmn-01.jpg
    133 KB · Views: 7
  • ltncmn-02.jpg
    ltncmn-02.jpg
    150.7 KB · Views: 7
  • ltncmn-03.jpg
    ltncmn-03.jpg
    103.6 KB · Views: 7
Hi!

I'd start with these:
  • Keep intel lan drivers and uninstall every other thing by intel.
  • Realtek audio driver (from MoBo support): Realtek HD Audio Driver
  • Chipset drivers: not sure...
    I'd reinstall them: Gigabyte x570 aorus elite (MoBo support) AMD Chipset Driver
  • Ram 32gb 3600: I'd change it; MoBo and CPU could prefer 3200 (in bios settings).
  • Current bios is f11: optional update available is f31o - 03 Dec 2020.
  • Things that seem to be updated:
    • Nvidia graphics driver (game ready or studio?)
    • Windows 10 Home x64 Build 19042
    • Intel i211 GbE: E1R68X64.SYS (12.18.11.1, 579,36 kB (593.264 bytes), 19-6-2020 11:57)
 
I'll give it a try tomorrow evening. I assume that the LAN driver is the only Intel on my system as I did a clean Windows install after changing the mobo and CPU.

Reïnstalling the Realtek driver to use the onboard audio is preferred over the Creative Sound audiocard?

I had 32Gb 3200Mhz RAM on my system with the Ryzen 7, wich I have replaced with 3600Mhz. With the 3200Mhz RAM the problem was present as well, but I can change the speed to 3200 to see if this changes anything.

BIOS update, when I look to the BIOS updates for my mobo there isn't any update that affects the CPU that I am using. Therefor I don't think to update the BIOS unless it will be te last possible option.

Nvidia is the studio driver.

I am hoping to report tomorrow what actions I have taken and what the result will be.

With kind regards,
Erik
 
I've seen other intel drivers on your system, but maybe they were added by the windows installation.


Reïnstalling the Realtek driver to use the onboard audio is preferred over the Creative Sound audiocard?

I didn't notice the creative labs sound blaster audio card...
That's why we ask also this:
Provide answers for (answer the best that you can)
Read More:
 
My apologies.

In my case it is a desktop PC wich I build about two years ago, with a ASRock Z370 Extreme 4 mobo, an Intel I7-8700K CPU and G.Skill Ripjaws 32Gb 3200Mhz RAM. About a month-and-a-half ago I changed the mobo, CPU and RAM. The current setup of my sytem is:

OS: Windows 10 (Retail)
Mobo: Gigabyte Aorus X570 ELITE
CPU: AMD Ryzen 7 3700X
CPU-cooler: Scythe Mugen 5 PCGH Edition
RAM: G.Skill Ripjaws V F4-3600C16D-32GVKC (The RAM modules are put in slots DDR4_A2 and DDR4_B2)
GPU: MSI GeForce GTX 1070 Ti Gaming 8G
Soundcard: Creative Sound Blaster Audigy Fx
Power Supply: Cooler Master GM G750M (750 Watt)

Overal age of the hardware is about two years except for the CPU, mobo and RAM. Windows 10 has been reïnstalled when I changed the mobo, CPU and RAM.

I once tried to overclock the GPU with MSI Afterburner, but but I didn't go through with that. Since then nothing has been overclocked, and at the moment nothiong is overclocked. OInly the RAM has an XMP profile in the BIOS to run at 3600Mhz.

Security software: Norton 360
Backup/sync software: GoodSync (wich monitors, and backs up, the disks with my photolibraries)

With kind regards,
Erik
 
Removed Intell Network Connection software and replaced the cipset drivers with the drivers from the Gigatbyte website. Unfortunally no luck as can be seen on the two screenprints from Latencymon. The Nvidia and network driver keep spiking.

Regards,
Erik
 

Attachments

  • ltncmn-04.jpg
    ltncmn-04.jpg
    128.6 KB · Views: 4
  • ltncmn-05.jpg
    ltncmn-05.jpg
    145.8 KB · Views: 3
Did you already try this procedure?

1) Find your pci string in "Device manager, Sound, Video and game controllers", "High Definition Audio Device", properties, details tab, Property: Parent, Value: Your-PCIString

realtekpci.png

2) Open regedit and "navigate" here: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\Your-PCIString\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties

Obviously, you have to substitute the letters "Your-PCIString", in the above path, with the pci string you found at point one.

3) Change the MSISupported value, from 0 to 1. If it doesn't exist, create a new dword (32-bit value), name it MSISupported, give it 1 as value.

msisupported.png
 
I hadn't done that yet so I 've done it just now but unfortunally no result.

Regards,
Erik
 

Attachments

  • ltncmn-06.jpg
    ltncmn-06.jpg
    96.8 KB · Views: 2
  • ltncmn-07.jpg
    ltncmn-07.jpg
    127.5 KB · Views: 2
Let's check some parameters.
From an elevated command prompt, i.e. command prompt (admin), launch these commands:
Code:
reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&7D521C4&0&0048000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported
reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&3298272D&0&0042\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported
reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&2B648123&0&0050000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported
reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&9B70DCB&0&0043\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported
Post their results.
 
Code:
C:\Windows\system32>reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&7D521C4&0&0048000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&7D521C4&0&0048000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties
    msisupported    REG_DWORD    0x1


C:\Windows\system32>reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&3298272D&0&0042\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&3298272D&0&0042\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties
    msisupported    REG_DWORD    0x1


C:\Windows\system32>reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&2B648123&0&0050000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&2B648123&0&0050000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties
    msisupported    REG_DWORD    0x1


C:\Windows\system32>reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&9B70DCB&0&0043\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&9B70DCB&0&0043\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties
    msisupported    REG_DWORD    0x1


C:\Windows\system32>
 
Last edited:
I think I have found a serious suspect. As the latency problem most of the time occurs at exactly the time that I press the button for Adobe LR to export some photo's I thought that it has to be someting to od with the photo's. Then I realised that I am syncing and backingup the photo's, and when I make a change to a photo this will be synced to the backup location. This evening I have paused the jobs on the backupo software and the latency problem didn't occur. I tried it several times and the YouTube video kept playing adn the audio didn't stutter. The exporting of the photo's went faster as well. As soon as I started the backup again, the latency problem was back as well. I don't want to cheer too soon but this could be the cause of my latency problem. I have contacted the support of GoodSync and will await their reply. I hope that they can confirm my suspicion and can give me advice for appropiate settings for my backup.

Regards,
Erik
 
Then let's try to change those msisupported values from 1 to 0, for your ahci drivers.
This could (or could not) decrease a bit the disks usage.

From an elevated command prompt, i.e. command prompt (admin), launch these commands:
Code:
reg add "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&7D521C4&0&0048000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported /t reg_dword /d 0 /f
reg add "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&3298272D&0&0042\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported /t reg_dword /d 0 /f
reg add "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_79011022&REV_51\6&2B648123&0&0050000A\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported /t reg_dword /d 0 /f
reg add "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_B0021458&REV_51\4&9B70DCB&0&0043\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported /t reg_dword /d 0 /f
Post their results.
Then reboot.
 
Done it but latency is still present. Also received an answer from the support of GoodSync wich shows that they haven't got a clue what I am talking about.

Regards,
Erik
 
Next tries and steps:
1) uninstall Norton AV/FW altogether (find your license key, and installer if needed, before this).
Windows defender should enable itself (on its own).
2) Verify if this solved the issue.
3) If it didn't, disable windows fast startup (control panel).
Or hibernation altogether.
Let me know what you decided.
4) Verify if this solved the issue.
5) Let me know if (and how, what program) you have a system image (i.e., partitions necessary for the boot), a full system image (i.e., all partitions), a backup of your important files...
Given that we could try something risky (or don't... It depends on you).
 
Uninstalled Norton, no effect. Disabled both fast startup and hibernation, no effect.

I wonder. How can it be that, even after replacing mobo, CPU and RAM and a clean Windows install my system still has DPC latency? The export from photo's in LR must be triggering something else (as this is the one event when I am experiencing latency), but what? I also experience bugs in Adobe Photoshop (wich uses the GPU as well) but those aren't latency problems. Could there still be a connection of some sort?

Regards,
Erik
 
Last edited:
Uninstalled Hitman and tried exporting photto's and playing a YouTube video at the same time. The video didn't freeze, the audio didn't stutter and the mouse wasn't laaging but still Latencymon comes to the conclusion that the system isn't suitable for handling realtime audio and shows that the nvidia driver is still spiking.
 

Attachments

  • ltncmn-08.jpg
    ltncmn-08.jpg
    96.2 KB · Views: 1
  • ltncmn-09.jpg
    ltncmn-09.jpg
    129.6 KB · Views: 1

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top