Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

13 Feb 2011   #1
SvB4EvA

Windows 7 Ultimate x64
 
 
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 System SpecsSystem Spec
.
14 Feb 2011   #2
SvB4EvA

Windows 7 Ultimate x64
 
 

Bump?
My System SpecsSystem Spec
14 Feb 2011   #3
NoN

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
 
 

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 System SpecsSystem Spec
.

14 Feb 2011   #4
SvB4EvA

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
14 Feb 2011   #5
NoN

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
 
 

Quote   Quote: Originally Posted by SvB4EvA View Post
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 System SpecsSystem Spec
14 Feb 2011   #6
SvB4EvA

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by NoN View Post
Quote   Quote: Originally Posted by SvB4EvA View Post
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 System SpecsSystem Spec
14 Feb 2011   #7
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

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


Attached Images
There is high CPU usage when using a USB audio device connected to...-2011-02-14_1514.png 
My System SpecsSystem Spec
14 Feb 2011   #8
SvB4EvA

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by whs View Post
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 System SpecsSystem Spec
14 Feb 2011   #9
NoN

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
 
 

Quote   Quote: Originally Posted by SvB4EvA View Post
Quote   Quote: Originally Posted by whs View Post
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 System SpecsSystem Spec
20 Feb 2011   #10
SvB4EvA

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by NoN View Post
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 System SpecsSystem Spec
Reply

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




Thread Tools




Similar help and support threads
Thread Forum
realtek high definition audio and high definition audio device problem
Hi everyone, I would be very grateful for some help please! My laptop recently installed a BIOS update - I don't know what this was but since it happened I have been having sound problems with my laptop. After the update I had no sound. I read around and found how to get the sound back on - I...
Sound & Audio
High Definition Audio Device - No Sound
Hi everyone. I bought my mom a refurbished PC and no sound comes out of the speakers. I have made multiple attempts to update the sound driver with no luck. The salesperson over the phone told me I needed to download a new sound driver, but offered no help in identifying which one. I have...
Sound & Audio
High CPU Usage Spikes w/ Audio Distortion
Ever since I built my computer 2 years ago, it has suffered on and off from this same problem. When watching youtube, listening to iTunes, or playing a game through Steam sometimes it will begin to lag. The lag seems to come in waves, and causes my mouse and whatever is on my screen to lag....
Performance & Maintenance
high definition audio device not working
hi everyone, i cant use skype cause my contacts does not hear me.ive got high definition audio device,high definition audio device 2, line in and cd audio.i selected high definition audio device by default and its not working.i even tried the others to no avail.ive also deactivated bass booster...
Sound & Audio
High definition audio device PROBLEM
Since I installed Windows 7 , have no sound ! I have the same problem with xp , but I fixed it simply. In device manager I disabled ati audio or something like that and everything was ok . But now, with windows 7 I can't do that , there is no ati audio ... I suppose that is something about my...
Sound & Audio
No sound (High definition audio device)
Sound works on Win XP (multibooted) but not on Win 7 RC1. I do not know which sound card my computer is using. I have a Samsung Sens Q35 laptop. When I click on the sound icon on the tray on the bottom right, the only device that is listed is Digital Audio (S/PDIF) When I go to the device...
Sound & Audio


Our Sites

Site Links

About Us

Find 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 16:48.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App