Monday, August 26th 2019

Windows 10 1903 Has a Nasty Audio Stutter Bug Microsoft Hasn't Managed to Fix

Windows 10 May 2019 Update (version 1903) is the pinnacle of neglect and contempt Microsoft has shown towards the all-important audio subsystem of the modern PC. With it, Redmond has one-upped its last big move against audio, by killing the DirectSound hardware pipeline and mongrelizing PC audio under Intel's lousy and fundamentally anti-competitive Azalia specification that solves common audio compatibility problems under a scorched-earth guiding principle - "kill any feature that could possibly lick our aftersales support budget, by dumping every aspect of audio onto a very restrictive host-signal processing (HSP) architecture, let people come up with their own soft DSPs, because CPUs can handle them." Windows 1903 proves how this approach wasn't a silver bullet against PC audio problems, and is fallible.

I've never owned a PC without a discrete sound card. My first "multimedia PC experience" was powered by a Creative kit that included a Sound Blaster PCI, an Infra-CDROM drive, a clip-on mic, and tiny stereo speaker boxes. ISA-based integrated audio solutions back then were bested by greeting cards. I've since made it a habit to buy a sound card every 5 or so years. No gleaming SNR numbers by Realtek can convince me that an integrated audio solution can best a $100 discrete sound-card, and I've owned plenty of motherboards over the years with the most premium Azalia implementations (be it the ALC889 or the modern ALC1220). My current machines feature an ASUS Xonar AE (a bang-for-the-buck ESS ES9023P implementation with a 150 Ω amp), and a Creative SB Recon 3D. Both cards implement the Azalia pipeline at some level, to survive operating with post-Vista Windows. The SB Recon 3D uses a chip that converts PCIe to the HDA bus; while the Xonar AE uses a PCIe to USB chip and a USB (Azalia) to I2S chip (essentially a USB headset laid out on a sound card with a high-quality analog side). Both cards are borked after the "upgrade" to Windows 10 May 2019 Update (1903), and two successive "Patch Tuesday" updates haven't managed to solve it.
Symptoms
Audio stuttering and glitching, and lots of it. Think Winamp circa 1999 running on a Pentium 133 with its CPU priority toggle set to "low," and the CPU being subject to the rigors of Internet Explorer rendering Yahoo.com over a 56K PCI soft-MODEM. That bad! My AMD Ryzen 7 2700X has 8 cores and 32 GB of DDR4-2667 memory at its disposal, and yet iTunes playing back Apple Music Radio in the background with Google Chrome rendering Twitter is sufficient to send me 20 years back in time. My Intel Core i5-9400F doesn't fare any better.

What's Wrong
Drawing inspiration from the other world-famous Washingtonian product, the Boeing 737 MAX airplane, Microsoft introduced Windows 10 1903 with a boatload of insufficiently-documented under-the-hood changes. Some of these changes affect Deferred Procedure Call (DPC) tick-rate, causing spikes in DPC latency, affecting the audio pipeline. Focusrite beautifully summarized DPC affecting audio:
DPC (Deferred Procedure Call) is the operation that Windows uses to assign a priority to processes/drivers that run simultaneously in the same system. If processes that are involved in streaming audio aren't assigned high enough priority then various issues can occur since the audio will not be streamed correctly in 'real-time'. These can include pops/clicks, "glitchy" audio and device disconnections.
It goes on to postulate that outdated drivers for audio devices that have gone EOL (end of life) that aren't ready for dynamic DPC could effectively render your otherwise physically-perfect discrete sound cards unusable. "A common cause for DPC latency is out of date device drivers and Windows processes that are not optimized correctly. Many processes/drivers are involved in streaming audio and many other processes/drivers can cause interruptions in the audio stream."

First Public Acknowledgment by Microsoft
Pete Brown, among other things, heads client-segment audio hardware user-experience at Microsoft, and Tweeted the first acknowledgment by Microsoft that it screwed up:
In the above Tweet, Pete posted a link to an Update applicable to Windows 1903 chronicled under KB4505903. This update was touted to fix audio glitches, and would go on to be part of the August Patch Tuesday rollout (you can separately download it here).

Did the Patch Work?
No. At least not in case of my sound cards. ASUS and Creative are possibly the last two discrete sound-card manufacturers with extensive lineups of discrete audio solutions in various form-factors (internal cards, external USB boxes, USB headsets, etc.), and even they haven't begun unpacking the mess that is 1903. The two have dozens of EOL sound cards between them (many still in the retail channel), and haven't updated their Windows 10-compatible drivers in years. My Xonar AE isn't EOL, yet. Realtek released updated HD Audio drivers for both its UAD and legacy driver-models. Most online tech communities simply advocate updating these single-origin Realtek drivers, and with KB4505903, the overwhelming majority of PC users who listen to Realtek CODECs have possibly solved their audio problems, prompting Pete's team to call it a day. But those on discrete audio solutions that don't get driver updates as regularly as Realtek CODECs do, are shortchanged. Pandering to "creators" no more?

What You can Try
If you want to take Microsoft's approach to solving problems (scorched earth) and absolutely, positively want your audio to work (maybe because you're a music composer whose discrete audio hardware puts food on the table), then paste the following line in an elevated Command Prompt and hit Enter (and reboot):
BCDEDIT /SET DISABLEDYNAMICTICK YES
And when Pete's team has finally figured out how to use a discrete sound card, and released a patch that works, you can revert the above change to let Windows 1903 function as intended:
BCDEDIT /SET DISABLEDYNAMICTICK NO
Or you can just disconnect your studio rig from the Internet, flick on CSM, and install Windows XP SP3 x64 over multi-boot.
Add your own comment

186 Comments on Windows 10 1903 Has a Nasty Audio Stutter Bug Microsoft Hasn't Managed to Fix

#176
x7007
TrantaLockedAnyone experience audio glitches with an HT Omega Fenix PCIe card? I've tried the solutions mentioned in the article and comments and no luck. On occasion the audio will freeze in a glitchy way for a second then go back to normal, never happens with Realtek or USB dacs.
Hey, which drivers do you use for this card? I have the Omega HT PCIe card and I don't know if to install the official HT OMEGA drivers or the maxedtech.com/asus-xonar-unified-drivers/
Posted on Reply
#177
Mussels
Freshwater Moderator
I dont think this is relevant to any modern audio problems, since this is a windows bug from 4 years ago
Posted on Reply
#178
barbaroja9
It is relevant, as Microsoft never actually cared about the thousands or maybe millions? of music producers out there. For me, it rendered an otherwise perfectly, $1700 firewire audio interface useless. I was forced to upgrade because in W10 1809 there was also a limitation with the number of FLS slots available so I could not open two projects at the same time without running out of plugin slots.

Pete said nothing changed in the firewire audio system but it is not firewire related, it is audio subsystem related. And it is obvious something changed. I got 3 firewire audio interfaces and all of them are good for nothing now. Talk about electronic waste.

Easier way out is to postpone and negate issues and later on say that the support for your windows version is over, like they did with this MAJOR issue.

Screwing people up is an accepted practice nowadays.
Posted on Reply
#179
trparky
Um... Firewire hasn't been a thing for more than seven years. Hell, even Apple, the people who made the standard, don't even care about it anymore. Maybe that should tell you something.
Posted on Reply
#180
Dr. Dro
barbaroja9It is relevant, as Microsoft never actually cared about the thousands or maybe millions? of music producers out there. For me, it rendered an otherwise perfectly, $1700 firewire audio interface useless. I was forced to upgrade because in W10 1809 there was also a limitation with the number of FLS slots available so I could not open two projects at the same time without running out of plugin slots.

Pete said nothing changed in the firewire audio system but it is not firewire related, it is audio subsystem related. And it is obvious something changed. I got 3 firewire audio interfaces and all of them are good for nothing now. Talk about electronic waste.

Easier way out is to postpone and negate issues and later on say that the support for your windows version is over, like they did with this MAJOR issue.

Screwing people up is an accepted practice nowadays.
Sorry man you shouldn't be running this version of Windows anymore. If the problem happens on 22H2, then indeed I may agree with you. FireWire is a dead standard, though. Might just consider an old Mac for your DAW setup. Good luck.
Posted on Reply
#181
Mussels
Freshwater Moderator
Firewire is way older than i realised



Designed and made by Sony, Apple and Panasonic in that order - not just apple, but this fits with my memory of it being popular for high speed transfers from sony cameras and camcorders to apple devices for video editing, and where that started for apple originally.

"Steve Jobs declared FireWire dead in 2008" And that was that, Thunderbolt replaced it.

It's a very odd thing to be upset about, when you can run any other OS to use that outdated hardware - just because you spent so much money on a firewire device doesnt mean something a fraction of the price cant be superior to it now.
barbaroja9limitation with the number of FLS slots available
This says something is incorrect with your FLS comment - you never explained or referenced your issue OR the hardware
Load more VSTs : Effectively removing the FLS Slot allocation limit in Windows 10 - Windows MIDI and Music dev (microsoft.com)
In the case of FLS Slots in Windows (going back to at least XP), that explicit limit was 128 per-process. That means, each application could have, at most, 128 FLS slots allocated.
As mentioned above, the limit of 128 Fiber Local Storage slots has existed in Windows for a long time. This wasn’t something new to Windows 8 or Windows 10. However, most musicians hadn’t previously run into this because they would hit processing and latency limits before they hit a limit on the number of unique plugins they could use at once.
As it turned out, the existing limitations were baked through several parts of the FLS source in the kernel, and were not simple to adjust up or down. So, the developer rewrote the FLS Slot storage and allocation/deallocation code to be more robust and extensible in the future. We picked a max number of slots for now (around 4k) with the understanding that any existing limit will eventually be hit, so it had to be much easier to change in the future. So, once we hit the 4k slot mark in an application (or get close) we can easily increase that limit to something larger.

You may wonder why we’d have limits at all. Having limits today helps prevent runaway allocations or other crazy things that buggy or malicious code might do. Allocating 4k FLS slots isn’t going to cause issues. An app allocating a few billion slots probably isn’t something we’d want to see happen.
As a musician, the only thing you need to do to take advantage of this, is running a recent version of Windows 10 (1903 or later).
So it sounds like you actually had your problem completely wrong - that issue always existed and 1903 has the fix.
Posted on Reply
#183
Mussels
Freshwater Moderator
trparkyGod, that came out when I was four years old.

Thank you for making me feel old. /sarcasm
I'm older than firewire, google, and wifi.
This was quite the trip down memory lane.
Posted on Reply
#184
Athlonite
MusselsI'm older than firewire, google, and wifi.
This was quite the trip down memory lane.
Oh man now I feel positively ancient what with being older than the internet and probably all personal computers
Posted on Reply
#185
jarvis1996
Wanted to post my solution to the audio stuttering I was encountering. It may or may not be the same type of fault referenced by the OP, but since people will come looking for solutions to Windows' audio glitches in general, I think it's still worth sharing here.
I am on a fresh install of Windows 10, on a Dell laptop with 8th generation chipset.
After trying *all* the standard 'solutions' posted all over the web, including updating every conceivable driver and messing with absolutely anything that could possibly be related to audio, nothing worked. But a couple of articles had suggested that various types of power-saving settings might potentially be involved. With that thought, I went to look through Windows' advanced Power Options, and noticed a PCI Express --> Link State Power Management section and it looked like the best candidate for causing issues, though it was a reach.
But lo and behold, when I switched its 'Plugged in:' setting from 'Maximum power savings' to 'Off', or 'Moderate power savings', the audio glitches disappeared. I was literally playing audio while I changed the option back and forth, and the audio stuttering came and went depending on whether I selected the original 'Maximum...' option or the 'Moderate...' option (or 'Off') respectively. So, an immediate and night-and-day difference.
I ended up keeping it on 'Moderate...' since that option worked perfectly well and I can still benefit from... whatever power savings that gives you.
I taxed the machine by playing a bunch of YouTube videos on top of the music, plus making lots of 'ding' system sounds (which used to exhibit the stuttering effect), all at the same time, and I couldn't get it to stutter while on the improved power setting.



And so it was that Windows had claimed more days of my life. But at least I won in the end. And maybe now you can too :)
Posted on Reply
#186
TrantaLocked
x7007Hey, which drivers do you use for this card? I have the Omega HT PCIe card and I don't know if to install the official HT OMEGA drivers or the maxedtech.com/asus-xonar-unified-drivers/
Back then I was using HT OMEGA's driver, but the stock Windows 10 driver works perfectly. You might also want to try disabling your onboard audio in the BIOS. I'm not sure if the stuttering was fixed in Linux as it's been a couple years since I had it installed.
Posted on Reply
Add your own comment
Nov 21st, 2024 03:44 EST change timezone

New Forum Posts

Popular Reviews

Controversial News Posts