Jump to content

Irregular sound stuttering

Go to solution Solved by ThreeG,

After few hours of trying different things I found the issue. I found out that main source of those latency peaks was my USB 3.0 WiFi card (with 2.0 one everything worked just fine). It turned out that I was missing USB 3.0 drivers, so I downloaded them and... apparently this fixed the problem. So yeah, USB 3.0 dongle caused that mayhem because of missing drivers.

Hi,

I have weird problem with onboard sound card, but I'm not sure if it's just damaged sound card or I can fix it with drivers, some software or something else.
But what's happening? There are irregular sound stutterings while playing videos/songs on youtube (including youtube music) that last like 0.5s. Interval of stutterings is very random, so it can happen 3 times/min or like once an hour, and it happens only on youtube. Every other players like twitch, spotify or anything else (including desktop apps and games) work just fine.

My config:

mobo: Gigabyte B85M-D3H-A
cpu: i5 4570
psu: Be Quiet 400w Pure Power L8
ram: Crucial 16GB

ssd: Crucial mx500 500gb
OS: Windows 10 64bit
I updated sound drivers, tested it on different browsers, and even tested it on Hiren's Boot - same situation. If this would be happening on every app or browser then I'd say that sound card is indeed damaged.

On the other hand there were no problems with this config while using MSI B85M E45 mobo.
Is there anything else I can do/check in order to fix it?
Eventually I'll think about getting new sound card, but I'd like to avoid it

 

Link to comment
https://linustechtips.com/topic/1429072-irregular-sound-stuttering/
Share on other sites

Link to post
Share on other sites

Have you tried LatencyMon?

M.S.C.E. (M.Sc. Computer Engineering), IT specialist in a hospital, 32+ years of gaming, 20+ years of computer enthusiasm, Geek, Trekkie, anime fan

  • Main PC: AMD Ryzen 7 5800X3D - EK AIO 360 D-RGB - Arctic Cooling MX-4 - Asus Prime X570-P - 4x8GB DDR4 3200 HyperX Fury CL16 - Sapphire AMD Radeon 6950XT Nitro+ - 1TB Kingston Fury Renegade - 2TB Kingston Fury Renegade - 512GB ADATA SU800 - 960GB Kingston A400 - Seasonic PX-850 850W  - custom black ATX and EPS cables - Fractal Design Define R5 Blackout - Windows 11 x64 23H2 - 3 Arctic Cooling P14 PWM PST - 5 Arctic Cooling P12 PWM PST
  • Peripherals: LG 32GK650F - Dell P2319h - Logitech G Pro X Superlight with Tiger Ice - Madlions MAD 68HE Pro - EndGame Gear MPC890 - Genius HF 1250B - Akliam PD4 - Sennheiser HD 560s - Tripowin Vivace - Simgot EM6L - Truthear Zero - QKZ x HBB - 7Hz Salnotes Zero - Logitech C270 - Behringer PS400 - BM700  - Colormunki Smile - Speedlink Torid - Jysk Stenderup - LG 24x External DVD writer - Konig smart card reader
  • Laptop: Acer E5–575G-386R 15.6" 1080p (i3 6100U + 12GB DDR4 (4GB+8GB) + GeForce 940MX + 256GB nVME) Win 10 Pro x64 22H2 - Logitech G305 + AAA Lithium battery
  • Networking: Asus TUF Gaming AX6000 - Huawei OptiXstar EG8145X6-10 - 1000/500 Mbps fiber optic Internet access
  • TV and gadgets: TCL 50EP680 50" 4K LED + Sharp HT-SB100 75W RMS soundbar - Samsung Galaxy Tab A8 10.1" - OnePlus 13 16GB/512GB - OnePlus 9 256GB - Olymous Cameda C-160 - GameBoy Color - Miyoo A30 Spruce
  • Streaming/Server/Storage PC: AMD Ryzen 5 3600 - LC-Power LC-CC-120 - MSI B450 Tomahawk Max - 2x4GB ADATA 2666 DDR4 - 120GB Kingston V300 - Toshiba DT01ACA100 1TB - Toshiba DT01ACA200 2TB - 2x WD Green 2TB - Sapphire Pulse AMD Radeon R9 380X - 550W EVGA G3 SuperNova - Chieftec Giga DF-01B - White Shark Spartan X keyboard - Roccat Kone Pure Military Desert strike - Logitech S-220 - Philips 226L
  • Livingroom PC (dad uses): AMD FX 8300 - Arctic Freezer 64 - Asus M5A97 R2.0 Evo - 2x4 GB DDR3 1833 Kingston - MSI Radeon HD 7770 1GB OC - 120GB Adata SSD - 500W Fractal Design Essence - DVD-RW - Samsung SM 2253BW - Logitech G710+ - wireless vertical mouse - MS 2.0 speakers
Link to post
Share on other sites

Oh, I didn't know about LatencyMon.

I tested it for 30min.

This time there wasn't any single stutter, but there's definitely something going on...


image.thumb.png.93a5b6966c9738039cbc63e44e83572b.png

Log below:
 

Spoiler

_________________________________________________________________________________________________________
CONCLUSION
_________________________________________________________________________________________________________
Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates. 
LatencyMon has been analyzing your system for  0:30:02  (h:mm:ss) on all processors.


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        DESKTOP-P0HDT2D
OS version:                                           Windows 10, 10.0, version 2009, build: 19044 (x64)
Hardware:                                             B85M-D3H-A, Gigabyte Technology Co., Ltd.
BIOS:                                                 F1
CPU:                                                  GenuineIntel Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
Logical processors:                                   4
Processor groups:                                     1
Processor group size:                                 4
RAM:                                                  16279 MB total


_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed (WMI):                             3201 MHz
Reported CPU speed (registry):                        3193 MHz

Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.


_________________________________________________________________________________________________________
MEASURED INTERRUPT TO USER PROCESS LATENCIES
_________________________________________________________________________________________________________
The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.

Highest measured interrupt to process latency (µs):   15279,50
Average measured interrupt to process latency (µs):   6,492128

Highest measured interrupt to DPC latency (µs):       15274,50
Average measured interrupt to DPC latency (µs):       2,394802


_________________________________________________________________________________________________________
 REPORTED ISRs
_________________________________________________________________________________________________________
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.

Highest ISR routine execution time (µs):              75,458503
Driver with highest ISR routine execution time:       HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation

Highest reported total ISR routine time (%):          0,013849
Driver with highest ISR total time:                   HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation

Total time spent in ISRs (%)                          0,020832

ISR count (execution time <250 µs):                   683724
ISR count (execution time 250-500 µs):                0
ISR count (execution time 500-1000 µs):               0
ISR count (execution time 1000-2000 µs):              0
ISR count (execution time 2000-4000 µs):              0
ISR count (execution time >=4000 µs):                 0


_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.

Highest DPC routine execution time (µs):              15396,468525
Driver with highest DPC routine execution time:       Wdf01000.sys - Aparat wykonawczy struktury sterowników trybu jądra, Microsoft Corporation

Highest reported total DPC routine time (%):          0,205861
Driver with highest DPC total execution time:         Wdf01000.sys - Aparat wykonawczy struktury sterowników trybu jądra, Microsoft Corporation

Total time spent in DPCs (%)                          0,367443

DPC count (execution time <250 µs):                   2767804
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-10000 µs):              2432
DPC count (execution time 1000-2000 µs):              5
DPC count (execution time 2000-4000 µs):              1
DPC count (execution time >=4000 µs):                 5


_________________________________________________________________________________________________________
 REPORTED HARD PAGEFAULTS
_________________________________________________________________________________________________________
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.

NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.

Process with highest pagefault count:                 chrome.exe

Total number of hard pagefaults                       169
Hard pagefault count of hardest hit process:          82
Number of processes hit:                              15


_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       47,843776
CPU 0 ISR highest execution time (µs):                75,458503
CPU 0 ISR total execution time (s):                   1,492921
CPU 0 ISR count:                                      681239
CPU 0 DPC highest execution time (µs):                15396,468525
CPU 0 DPC total execution time (s):                   23,554735
CPU 0 DPC count:                                      2337111
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       12,354773
CPU 1 ISR highest execution time (µs):                27,912621
CPU 1 ISR total execution time (s):                   0,005989
CPU 1 ISR count:                                      1876
CPU 1 DPC highest execution time (µs):                789,682744
CPU 1 DPC total execution time (s):                   1,311228
CPU 1 DPC count:                                      188548
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       12,269894
CPU 2 ISR highest execution time (µs):                49,797682
CPU 2 ISR total execution time (s):                   0,003038
CPU 2 ISR count:                                      597
CPU 2 DPC highest execution time (µs):                623,970247
CPU 2 DPC total execution time (s):                   0,908863
CPU 2 DPC count:                                      136804
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       9,729523
CPU 3 ISR highest execution time (µs):                18,572502
CPU 3 ISR total execution time (s):                   0,000069
CPU 3 ISR count:                                      12
CPU 3 DPC highest execution time (µs):                561,362042
CPU 3 DPC total execution time (s):                   0,718077
CPU 3 DPC count:                                      107784
_________________________________________________________________________________________________________
 


Update

Ok, I just got stutter, here's what it looks like in LatencyMon:


image.thumb.png.ce41bb8f26577991497d81d0ca72d7e3.png

Edited by ThreeG
Updated with new screenshot
Link to post
Share on other sites

After few hours of trying different things I found the issue. I found out that main source of those latency peaks was my USB 3.0 WiFi card (with 2.0 one everything worked just fine). It turned out that I was missing USB 3.0 drivers, so I downloaded them and... apparently this fixed the problem. So yeah, USB 3.0 dongle caused that mayhem because of missing drivers.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×