There is high CPU usage when using a USB audio device connected to...  

Page 1 of 2 12 LastLast

  1. Posts : 7
    Windows 7 Ultimate x64
       #1

    There is high CPU usage when using a USB audio device connected to...


    ... a USB 2.0 EHCI host controller

    What was happening was I was getting CPU usage spikes on a single CPU core. Every 40 seconds or so it would spike to 100% on my 4th CPU core (using xperf I could see this was only about 4 to 6 tenths of a second from start to finish, but still not right). I finally narrowed it down to an audio issue, then finally down to a USB only audio issue. This happens with any USB audio device. I have two different headsets, one uses Microsoft Generic USB audio drivers and the other uses Logitech G930 drivers.

    Then I found this hotfix: There is high CPU usage when using a USB audio device connected to a USB 2.0 EHCI host controller

    I thought my prayers were answered. Turns out this hotfix only helped it by ~50%. This hotfix has made my 4th CPU core spike to about 50% instead of 100%, it is better than nothing, but I am still not satisfied.

    I have tried everything that I can think of but a fresh Win7 install at this point (which I would like to avoid, and I think the problem would remain anyway). This includes disabling all enhancements in audio properties, reinstalling drivers, updated firmware, BIOS, "clean boots", disabling any and all anti virus/anti malware/antispam/anti-whatevers, disable firewalls, using no other USB devices, removing ghosted devices, checked event viewer for problems, used Malwarebytes and SuperAntiSpyware in safemode to search for problems, etc...

    Also, if it helps, this problem does NOT happen if I am not playing any audio. Also I have noticed when playing audio alone, it will only spike to about 25%, but when using input from a USB mic as well, it will go to 50%. Seems that its doubled when using input and output. Ventrilo is very good at aggravating this problem, when connected to a Ventrilo server I will get a spike almost exactly every ~40 seconds. Please note that the spikes do not coincide with audio input/output usage, they are almost like clock work every 40 or so seconds regardless of how much audio traffic is going on.

    One more thing to note is that when I change the USB headset to different USB root hubs, the same problem happens, BUT it will spike my second CPU core instead of the fourth. I don't think this has any thing to do with it, just putting it out there. The problem also exists when I plug into a USB 3.0 port.

    I believe the parent file causing the spikes is audiodg.exe, and specifically audioeng.dll and audiokse.dll.

    Here is a screen shot of Process Manager, this shot is at the tail end of a spike. It's very hard to get a screen shot of it using more CPU because it happens so fast:


    Here is a shot of a gadget on my desktop that is a CONSTANT reminder. Also oddly enough its doing double spikes now that you can see by looking at the orange lines:


    Can anyone help? I am at my wits end with this.
      My Computer


  2. Posts : 7
    Windows 7 Ultimate x64
    Thread Starter
       #2

    Bump?
      My Computer


  3. NoN
    Posts : 4,166
    Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
       #3

    The MS hotfix you linked is good and was made for that.

    You might want to run now a SFC/SCANNOW at start up to check the files. Might be also the dsound.dll corrupted.

    SFC /SCANNOW
      My Computer


  4. Posts : 7
    Windows 7 Ultimate x64
    Thread Starter
       #4

    Thanks for the reply NoN. Unfortunately sfc did not find any errors. Would SFC find a problem with dsound.dll if it was corrupted? Or should I just try to replace dsound.dll anyway?
      My Computer


  5. NoN
    Posts : 4,166
    Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
       #5

    SvB4EvA said:
    Thanks for the reply NoN. Unfortunately sfc did not find any errors. Would SFC find a problem with dsound.dll if it was corrupted? Or should I just try to replace dsound.dll anyway?
    No, dsound.dll is part of Windows 7 but it get corrupted sometimes by install of 3rd Party, and during the files checker process it get fixed, so...

    Just run once more Sfc /Scannow in case.

    But i dare after that it could be done much to lower the CPU without a software that could mess more the computer.

    PS:
    I though that soon it will be the Windows 7 SP1 on Windows Update, including many fixes, not only securities updates. Could be wise to wait and see.
      My Computer


  6. Posts : 7
    Windows 7 Ultimate x64
    Thread Starter
       #6

    NoN said:
    SvB4EvA said:
    Thanks for the reply NoN. Unfortunately sfc did not find any errors. Would SFC find a problem with dsound.dll if it was corrupted? Or should I just try to replace dsound.dll anyway?
    No, dsound.dll is part of Windows 7 but it get corrupted sometimes by install of 3rd Party, and during the files checker process it get fixed, so...

    Just run once more Sfc /Scannow in case.

    But i dare after that it could be done much to lower the CPU without a software that could mess more the computer.

    PS:
    I though that soon it will be the Windows 7 SP1 on Windows Update, including many fixes, not only securities updates. Could be wise to wait and see.
    SFC isn't finding anything.

    Yes, I am kind of banking on SP1... I really hope it fixes this problem.
      My Computer


  7. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #7

    Have a look whether you have any "Enhancements" running. If yes, disable them all.
      My Computer


  8. Posts : 7
    Windows 7 Ultimate x64
    Thread Starter
       #8

    whs said:
    Have a look whether you have any "Enhancements" running. If yes, disable them all.
    Thanks for the reply whs. As stated in my original post, I have already done this.
      My Computer


  9. NoN
    Posts : 4,166
    Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
       #9

    SvB4EvA said:
    whs said:
    Have a look whether you have any "Enhancements" running. If yes, disable them all.
    Thanks for the reply whs. As stated in my original post, I have already done this.
    Looks stable for me...just some little picks in the CPU, that can be latency or throttling maybe...I suggest you to watch out the time SP1 comes around.
      My Computer


  10. Posts : 7
    Windows 7 Ultimate x64
    Thread Starter
       #10

    NoN said:
    Looks stable for me...just some little picks in the CPU, that can be latency or throttling maybe...I suggest you to watch out the time SP1 comes around.
    Yes, my system is stable. I'm an avid overclocker and that is obviously something I take very seriously. Before any one asks about the overclocking, yes I have set my BIOS to default settings and the problem is the same. It isn't really affecting system performance (although I am sure it would make a difference when running a stressful benchmark with audio playing via USB), it just should not be happening. It is NOT normal, nor is it latency or throttling.

    For example, when I use my video cards HDMI for audio out to my TV and watch a movie, my CPU never goes over 3-5% on any core.

    This is strictly a USB audio problem, and Microsoft knows about. Only when I use a USB audio device AND I am actually playing audio or recording, do I get CPU usage spikes.

    I will install SP1 on Tuesday when its released. I have hope, but I am not getting my hopes high. I am assuming the hotfix that I have installed will probably be the same version in SP1. I hope I'm wrong tho!
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:08.
Find Us