System interrupts, Latency, HDaudbus.sys

xilolee you're god send.

My last resort was to RMA my Motherboard because this was driving me fucking insane.

Thank you so much!


Also, hopefully someone can help me with this...

When I run reg query HKLM\SYSTEM\CurrentControlSet\Enum\PCI\ /s /f ndis.sys I'm getting 0 matches found, but yet I see ndis.sys within LatencyMon?
 
Last edited:
xilolee you're god send.

My last resort was to RMA my Motherboard because this was driving me fucking insane.

Thank you so much!


Also, hopefully someone can help me with this...

When I run reg query HKLM\SYSTEM\CurrentControlSet\Enum\PCI\ /s /f ndis.sys I'm getting 0 matches found, but yet I see ndis.sys within LatencyMon?

You could try the same procedure using your network driver.

As a real example, I have got "Realtek RTL8111GR" (NIC integrated in MB) and its driver is rt640x64.sys.
If I follow the same procedure I did for hdaudbus, searching the parent (in device manager, network adapters, Realtek PCIe GbE family controller, properties, details tab, property: parent - from the drop-down menu under "property" textbox), I get:
PCI\VEN_1022&DEV_1426&SUBSYS_12341022&REV_00\3&11583659&0&1A.
Then I open regedit and go there: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_1426&SUBSYS_12341022&REV_00\3&11583659&0&1A\Device Parameters\Interrupt Management
I have got only the default string value, with no data in it.




To simplify:

1) Find your pci string in "Device manager", "network adapters", YOUR-NETWORK-CONTROLLER-NAME, properties, details tab, Property: Parent, Value: Your-PCIString


DEVMAN-NIC-PCI-PARENT.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.


REGEDIT-NIC-PCI-PARENT.png





But keep in mind:
- I made the same steps for High Definition Audio Device
- I didn't try this myself
- I don't know if it works (I don't have latency issues)
- Nobody tried this (here in this forum, at least)
- Nobody can confirm it works, or it worked
- It could be inutile (useless/worthless... I used inutile because it is an Italian word, just curious if you British/American use it - google translator suggested it :-) )
 
A topic that started back in 2017 and got its answer 6 months later and... how many thankful people until 2020 and... here I am during 2021! I also registered just to confirm that this is working and it is just amazing having in mind how annoying it was!

I was struggling with this problem all night trying to fix it on a brand new machine and fresh install. The last step (almost) was struggling (really) to understand what exactly Windows Performance Analyzer shows and I was just about to quit as this program looks so difficult and I preferred to go to bed instead, but I came here with my first google search and I do not regret it!

So here is how it worked for me - I run the following command:

reg query HKLM\SYSTEM\CurrentControlSet\Enum\PCI\ /s /f hdaudbus

It gave me 2 results and next I looked after them with regedit and I had MSISupported set to 0 at both places, so I changed it to 1 at both places again, restarted and my problems are gone!

Now I am writing this from another machine which does not have this value set to 0 (there are no any values at all), but this machine has never had the problem at first place. Hope this helps to further narrow the problem.
 
To fix this, you need to switch "High Definition Audio Controller (Microsoft)" to MSI mode. In the registry in the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI""YOUR HD AUDIO PARENT""\DeviceParameters\Interrupt Management\MessageSignaled\InterruptProperties\ "MSISupported" Change to "0x00000001"
YOUR HD AUDIO PARENT see in Device Manager\Sound, Video and game controllers\hdaudio, realtek and other\Properties\Details\Parent
Hi there, i hope you're still active because I'm very thankful for this solution.
I took me more than a year to figure this out. And now i have 90%+ cpu again.

How did you figure this out?
 
Well holy hell... Thank you - How are lenovo shipping these with this issue? Literally had my Legion 5 Pro less than a week.
 
PowerFulls said:

To fix this, you need to switch "High Definition Audio Controller (Microsoft)" to MSI mode. In the registry in the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI""YOUR HD AUDIO PARENT""\DeviceParameters\Interrupt Management\MessageSignaled\InterruptProperties\ "MSISupported" Change to "0x00000001"
YOUR HD AUDIO PARENT see in Device Manager\Sound, Video and game controllers\hdaudio, realtek and other\Properties\Details\Parent

Hi there, i hope you're still active because I'm very thankful for this solution.
I took me more than a year to figure this out. And now i have 90%+ cpu again.

How did you figure this out?

Ok. I am not what you would call smart when it comes to computer tech. I purchased a Lenovo Legion 5 Pro and I'm having same issues. I am going to screenshot where I have got to. Afraid to take next steps cause unsure what I'm supposed to do. I make it as far as getting to details and parent sections, but unsure what to do. I have Nahimic and Realtek. Not sure what I'm going for or if multiple need changed? Or how to change them. Afraid I'm going to screw my computer up worst if I take a leap and guess. lol.
 

Attachments

  • Screenshot 2021-11-28 081002.png
    Screenshot 2021-11-28 081002.png
    364.6 KB · Views: 86
Problem Solved!!!!... Use free program MSI_util_V2.....Switch Sound Card and video drivers over to MSI mode with a simple click.

You can also switch any other drivers with a negative irq or supported LineBased MSI as well. Avoid checking MSI mode on drivers that have a positive irq or don't support MSI mode.

If your gamer..make sure to switch your video card drivers to MSI mode for improved performance.
 

Attachments

  • Screenshot (26).png
    Screenshot (26).png
    150.4 KB · Views: 115
Last edited:
Hello All!
I registered to this forum specially to just say thank you!
The issue with very high latency on network and audio (ndis.sys) caused me agony for good few years now. No sudden hangs, but whenever I opened any slightly "heavier" website the sound on my PC would start cracking and breaking horribly until the page would load completely - and the websites were loading slower as well. For instance if I opened dpreview.com it would take like 10sec to load completely and during that time foobar2000 or any audio would make horrible noise. This suggestion from PowerFulls solved it!
I have onboard Realtek so mine was in enum\HDAUDIO and I had to create "Interrupt Management\MessageSignaledInterruptProperties", quick restart and now no more cracking and breaking of the radio, and for comparison dpreview opens in 2sec now!
Thank you again!
Thank you, same case with my lenovo.
 
To fix this, you need to switch "High Definition Audio Controller (Microsoft)" to MSI mode. In the registry in the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI""YOUR HD AUDIO PARENT""\DeviceParameters\Interrupt Management\MessageSignaled\InterruptProperties\ "MSISupported" Change to "0x00000001"
YOUR HD AUDIO PARENT see in Device Manager\Sound, Video and game controllers\hdaudio, realtek and other\Properties\Details\Parent
I can confirm switching the HD Audio Controller to MSI mode, using the registry location stated above, fixed my DPC and Interrupts high CPU on Processor 0

Thank you again for your tip and help!
 
I have the same problem, but I don't have MSI I have Asus rog Strix b 360 F gaming mobo. Please I want to solve this issue. I hear static noise from my mic and headphone
 

Attachments

  • Screenshot 2022-03-02 003313.png
    Screenshot 2022-03-02 003313.png
    141.7 KB · Views: 24
I have the same problem, but I don't have MSI I have Asus rog Strix b 360 F gaming mobo. Please I want to solve this issue. I hear static noise from my mic and headphone
MSI is not the computer trademark here, it stands for Message Signaled Interrupts. Of course the tweak works on Asus, it worked for me on an Asus TUF gaming. Just follow the guidelines on how to identify the correct registry location to enable MSI interrupts for the High definition audio device
 
I have tried multiple methods, but I don't know what else to do, I'm getting crackling noises all the time from the speakers of my laptop and random freezes from time to time
 
2023 and this forum is still helping people. I had issues with the High Definition Audio Controller on my ASUS ROG Crosshair X670E Hero and changing it to MSI mode in the registry seemed to fix the issue. Thank you so much PowerFulls for the fix.
 
I made a profile to thank you guys, I had especially bad sound problems and crackling with the sounds while playing, they were so bad that the game jerked badly during them. I looked for the problem everywhere, in memory etc. until I downloaded the LatencyMon program. The Nvidia driver went badly red even though I wasn't playing. I made the registry changes in the instructions above (from 0 to 1). At the same time, I downloaded MSI_util_v3, checked those values with it and added the Nvidia Gpu to High. Thanks again, screenshot of latency while playing. The picture shows a short shot, the spikes have not risen when I held it in the background.
It's strange that this hasn't been fixed by Microsoft yet.
 

Attachments

  • WsEuFnaHuM.jpg
    WsEuFnaHuM.jpg
    89.3 KB · Views: 30
Back
Top