Audio & Video

Windows 11: ASIO audio buffer underruns and pops only when Hyper‑V virtualization is enabled

Environment

Environment

Windows 11 Pro (22H2) laptop used for DAW work: Reaper with Focusrite Scarlett 2i2 (USB) using ASIO driver, Hyper‑V features enabled (for WSL2, Docker Desktop), no VMs actively running but vmswitch / vEthernet adapters present, power plan set to Balanced.

Symptoms

Symptoms

During low-latency ASIO audio playback/recording sessions at 64-sample buffer size, periodic buffer underruns, audible pops/clicks and XRuns occur. Underruns start within minutes and are reproducible only when Hyper‑V is enabled. Disabling Hyper‑V (via bcdedit /set hypervisorlaunchtype off and reboot) removes all underruns with the same DAW session and buffer settings.

Observations

Observations

LatencyMon shows elevated DPC/ISR times when Hyper‑V is enabled; a small number of drivers (vmswitch.sys and vethernet.sys) show high DPC execution. CPU usage is low during audio glitches (<20%) and no obvious user-mode contention. Updating audio driver to latest vendor version did not resolve. Turning off Wi‑Fi reduced but did not eliminate underruns. Event Viewer shows occasional vmswitch warnings around the time of underruns.

Already attempted

Already attempted

Updated Windows and device drivers, disabled CPU core parking, set high-performance power plan, increased ASIO buffer to 256 samples (which reduces underruns), uninstalled Docker Desktop (no change until Hyper‑V/WSL features truly disabled), captured LatencyMon trace and Windows Performance Recorder samples for an offending session.

Question

Question

What is the best way to isolate whether Hyper‑V's virtual network drivers (vmswitch/vEthernet) are causing DPC spikes, whether other Hyper‑V components inject periodic interrupts, and what reversible workarounds exist to run low‑latency ASIO reliably on a workstation that occasionally needs virtualization features?

COMMUNITY RESPONSES

Verified community troubleshooting

0 replies

No answers yet..

Showing 0 of 0 community responses
AI DIAGNOSTICS

Incident analysis

Updated 1mo ago• Trouble ID

Most likely causes

Hyper‑V virtual network stack (vmswitch.sys/vEthernet) causing periodic high DPC/ISR times that starve real-time audio processing 75%
Hardware network driver offloads interacting poorly with Hyper‑V leading to interrupt bursts (e.g., RSS/VMQ misbehaviour) 50%
USB audio driver interacts poorly with interrupt routing under the hypervisor (driver not written for Hyper‑V environment) 35%

Summary

LatencyMon evidence pointing to vmswitch/vEthernet drivers with elevated DPC times strongly implicates Hyper‑V's virtual networking stack as a source of ISR/DPC latency causing ASIO buffer underruns. Hypervisor presence can alter interrupt routing and timers, introducing latency for USB audio drivers. While disabling Hyper‑V resolves the issue, that may not be acceptable in workflows that require virtualization. Network driver timers or vSwitch offloads (VMQ, RSS) can create DPC spikes under certain NIC/driver combos.

Suggested Fixes

Diagnostic step 1
Run LatencyMon and capture ETW traces while reproducing the underrun; collect which drivers show elevated DPC/ISR times. Keep copies of captures to share with vendor support if needed.
Diagnostic step 2
Temporarily disable vmswitch by removing virtual switches (Hyper‑V Manager → Virtual Switch Manager) and test audio stability without a full Hyper‑V disable. This is reversible and should not delete VMs if done properly.
Diagnostic step 3
If virtual switches are required, disable advanced NIC offloads (VMQ, RSS, Large Send Offload) on the physical NIC via Device Manager or NIC vendor tools and retest, as these offloads are known to interact badly with Hyper‑V in some drivers.

Continue troubleshooting

Matched from the title, description and tags