Author Topic: Having audio stutters?  (Read 522 times)

Offline MrRiplEy[H]

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 11633
Having audio stutters?
« on: September 18, 2012, 10:57:44 AM »
I ran into this forum posting while looking for other stuff.. http://forums.steampowered.com/forums/showthread.php?t=1043281

As usual, experiment at your own risk.

Quote
Hi there, I've recently had an extremely annoying issue regarding sound, games, multiplayer, and Windows 7. When I would start up a game (such as Counter-Strike Source or Heroes of Newerth) and connect to server
, my fps and ping would be nominally OK, but the game would lag. In HoN this would be displayed by the heroes moving jerkily around the map, even though my fps and ping were good. In Counter Strike, this evidenced itself by glitchy nades that don't bounce smoothly, and whenever sounds are played, the ping spikes a bit. It's kind of like playing on a 33 tic server, for those of you familiar with the game. None of these issues occurred in single player games or in the aforementioned games with a local server. Symptoms included warping, skipping, and lagging while moving or viewing other players move.

Anyway, I searched and searched here and couldn't find anything, but finally I found something in Google (note: this is only a partial fix, don't do this, see update):

* Stop and disable the "Multimedia Class Scheduler" service
* Run regedit and go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\Audiosrv"
* Double click on the entry "DependOnService" and delete the line with "MMCSS" from the text box
* Reboot and enjoy lag free games


I diagnosed the issue by realizing that by disabling audio devices in device manager, lag would disappear in-game. So glad I found this solution after installing 6 different audio drivers and generally being very frustrated. Just thought I'd leave this here as a reference for others with a similar issue.

Update: doing this will likely induce audio issues such as crackling, popping, stuttering, and skipping. My final solution was to leave this service enabled but disable it's network throttling component (if you already did the first fix you should undo it and re-enable the service). This resolved my audio issues caused by disabling the MMCS while keeping my games lag free. This is not a solution if you are not experiencing network issues. If you are experiencing audio issues only, you should make sure the MMCSS is running. The best way to test if you have this problem is to disable your sound device in Device Manager and then see if the lag persists. If it does, you have some other issue. If the lag goes away, re-enable your sound device and try the following fix:

Quote:
Leave the multimedia class scheduler service running, but disable its network throttling "feature":

* Open regedit
* Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile
* There will be an entry for network performance throttling, default value is 10; set it to FFFFFFFF hex (willl look like 0xFFFFFFFF to the right of the entry)
* Reboot

Here are some example threads where this fix was useful:
Counter-Strike Series & Windows 7 = Lag?
stuttering in games. (mainly valve)
High Ping and Choke in Windows 7 (CSS/TF2)

Games affected:
Source Engine Games (Team Fortress 2 (TF2), Left 4 Dead, Counter Strike Source (CS:S, CSS))
Heroes of Newerth (HoN)
Call of Duty Series (CoD), possibly including Modern Warfare
Overlord Series (Overlord, Overlord: Raising Hell, Overlord 2)


Post if you find another game that's affected so I can add it to this list!

For those interested, here are some articles on the MMCSS:
http://courtneymalone.com/2007/08/28...network-speed/
http://blogs.msdn.com/larryosterman/...slowdowns.aspx
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
http://blogs.technet.com/markrussino...7/1833290.aspx
http://www.thebits.info/windows/vista-mcs-56.htm


My optimal solution was to keep the MMCS service running, as if you turn it off your audio may start cackling/skipping in an annoying fashion. However, I disabled the network throttling component of this service. I believe it's a general audio problem specific to Windows 7 and multiplayer / online games. I don't think the audio card or the drivers make a difference, or at least they didn't in my case.

Leave the multimedia class scheduler service running, but disable its network throttling feature:

* Open regedit
* Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile
* There will be an entry for network performance throttling, default value is 10; set it to FFFFFFFF hex (willl look like 0xFFFFFFFF to the right of the entry)
* Reboot


This removed the lag I was experiencing while still enabling me to have normal sound in-game. Specs in profile.
Definiteness of purpose is the starting point of all achievement. –W. Clement Stone

Offline zack1234

  • Plutonium Member
  • *******
  • Posts: 13182
Re: Having audio stutters?
« Reply #1 on: September 18, 2012, 12:17:07 PM »
 :salute

I run all my Sound through HDMI on my Graphics card because I had lots of problems with sound card :old:
There are no pies stored in this plane overnight

                          
The GFC
Pipz lived in the Wilderness near Ontario

Offline Bino

  • Platinum Member
  • ******
  • Posts: 5937
Re: Having audio stutters?
« Reply #2 on: September 18, 2012, 12:54:15 PM »
Ripley, I will try that throttling thing this evening.  :salute


"The plural of 'anecdote' is not 'data'." - Randy Pausch

PC Specs

Offline doc1kelley

  • Silver Member
  • ****
  • Posts: 1508
Re: Having audio stutters?
« Reply #3 on: September 20, 2012, 09:52:39 AM »
Hmmm... wondering how this applies to Winblows XP?  Still a bunch of us old fart hard core fanatics that still run the game in XP.

All the Best...

   Jay
awDoc1
The Flying Circus Rocks! We're clowns of a different color!

Beer! helping ugly folks get laid!

Offline Bino

  • Platinum Member
  • ******
  • Posts: 5937
Re: Having audio stutters?
« Reply #4 on: September 20, 2012, 09:59:49 AM »
Here is the MS page about this:  http://support.microsoft.com/kb/948066

Does not apply to XP, apparently.  Just Vista and later.



"The plural of 'anecdote' is not 'data'." - Randy Pausch

PC Specs

Offline Pudgie

  • Silver Member
  • ****
  • Posts: 1280
Re: Having audio stutters?
« Reply #5 on: September 22, 2012, 04:46:08 PM »
I went & performed this tip on my box just to see if I could notice anything.

Game ran very smooth & couldn't detect any change in sound quality.

Waiting to catch a mega furball to really push it to see if I can notice anything.

Since I'm using the onboard sound on this RIV Gene I figured that it may help.

So far, so good.

 :salute
Win 10 Home 64, AMD Ryzen 9 3900X, MSI MPG X570 Gaming Plus, GSkill FlareX 32Gb DDR4 3200 4x8Gb, XFX Radeon RX 6900X 16Gb, Samsung 950 Pro 512Gb NVMe PCI-E SSD (boot), Samsung 850 Pro 128Gb SATA SSD (pagefile), Creative SoundBlaster X7 DAC-AMP, Intel LAN, SeaSonic PRIME Gold 850W, all CLWC'd

Offline MrRiplEy[H]

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 11633
Re: Having audio stutters?
« Reply #6 on: September 23, 2012, 02:24:06 AM »
I went & performed this tip on my box just to see if I could notice anything.

Game ran very smooth & couldn't detect any change in sound quality.

Waiting to catch a mega furball to really push it to see if I can notice anything.

Since I'm using the onboard sound on this RIV Gene I figured that it may help.

So far, so good.

 :salute

As a reminder to everyone: If your game IS working without stutters currently, do NOT perform any 'fixes' because you're bound to break something in the end. The old saying 'if it ain't broke, don't fix it' is 100% true with computers. Try this only if you are currently experiencing stuttering or hiccups that coincide with audio cues.
Definiteness of purpose is the starting point of all achievement. –W. Clement Stone