Jump to content

Windows VM Crackling Audio

Go to solution Solved by AdmiralDerp,
1 hour ago, DrMacintosh said:

I had a similar audio issue with In-Home Steam streaming from my PC to my Mac but changing the audio rates to match fixed it, if the issue goes further than that then I have no idea lol. 

 

Sorry. 

No problem! Every piece of advice helps and sometimes it's good to double check (or triple check) these settings. :P

 

Edit:

I managed to figure out the issue. It turns out it was an issue with my CPU layout and the host OS needed an extra core for audio emulation.

I recently set up a PCI passthrough VM on Debian using Virtual Machine Manager to run Windows 10 for a few games. Everything seems to be running flawlessly except for my audio, which is giving me issues. Using ich6/ich9 there's pretty bad crackling and with AC97 it lags the VM like crazy and still crackles. I've followed the troubleshooting guide on the Arch Wiki, tried adjusting the bit-rate in Windows, as well as try the methods on this guy's site, however nothing seems to get rid of it. I'm using an external USB DAC (a Fiio E07K) and I'd like to avoid simply passing its USB bus through or buying a separate sound card if possible. Is there anything else I can try? Thanks!

 

My specs:

OS: Debian unstable x86-64

Kernel: 4.9.0-3-amd64

CPU: Intel Core i7 7700K

Motherboard: Z270X-Gaming K7

GPU1: Intel HD 630

GPU2: NVidia GeForce GTX 980 Ti

 

EDIT:

I managed to figure out the issue. It turns out it was an issue with my CPU layout and the host OS needed an extra core for audio emulation.

Link to comment
https://linustechtips.com/topic/803339-windows-vm-crackling-audio/
Share on other sites

Link to post
Share on other sites

is the Audio playback set to the same on both operating systems? 

 

Example: Untitled.jpeg.04cf116bfcc456eb64c16923b02a78ab.jpeg

 

 

Laptop: 2024 16" MacBook Pro M4 Pro, 512GB, 48GB Unified Memory | Phone: iPhone 16 Pro Max 512GB | Wearables: Apple Watch SE | Car: 2025 Honda Accord SE & 2007 Ford Taurus SE | CPU: R7 5700X | Mobo: ASRock B450M Pro4 | RAM: 32GB 3200 | GPU: Sapphire Nitro+ 9070XT | Case: Fractal North | OS: Win 11 | Storage: 1TB Crucial P3 NVME SSD, 1TB PNY CS900, & 4TB WD Blue HDD | PSU: Seasonic Focus GX-850 | Display: LG 27GL83A-B 1440p @ 144Hz, Dell S2719DGF 1440p @144Hz | Cooling: Noctua NH-U12S | Keyboard: G610 Orion Cherry MX Brown | Mouse: G305 | Audio: Audio Technica ATH-M50X & Blue Snowball | Server: 2024 M4 Mac mini, 256GB SSD, 16GB Unified Memory | Storage: Terramaster D4-320 DAS (12TB Seagate Ironwolf Pro, 12TB Seagate Ironwolf, 6TB WD Blue HDD, 500GB Crucial SSD)
Link to post
Share on other sites

9 minutes ago, DrMacintosh said:

is the Audio playback set to the same on both operating systems? 

 

Example:

Yeah, they are both set to 16bit (the highest the VM will go) and 48KHz. I've tried changing them to 44100Hz as well but that does the same thing.

Link to post
Share on other sites

Just now, AdmiralDerp said:

Yeah, they are both set to 16bit (the highest the VM will go) and 48KHz. I've tried changing them to 44100Hz as well but that does the same thing.

I had a similar audio issue with In-Home Steam streaming from my PC to my Mac but changing the audio rates to match fixed it, if the issue goes further than that then I have no idea lol. 

 

Sorry. 

Laptop: 2024 16" MacBook Pro M4 Pro, 512GB, 48GB Unified Memory | Phone: iPhone 16 Pro Max 512GB | Wearables: Apple Watch SE | Car: 2025 Honda Accord SE & 2007 Ford Taurus SE | CPU: R7 5700X | Mobo: ASRock B450M Pro4 | RAM: 32GB 3200 | GPU: Sapphire Nitro+ 9070XT | Case: Fractal North | OS: Win 11 | Storage: 1TB Crucial P3 NVME SSD, 1TB PNY CS900, & 4TB WD Blue HDD | PSU: Seasonic Focus GX-850 | Display: LG 27GL83A-B 1440p @ 144Hz, Dell S2719DGF 1440p @144Hz | Cooling: Noctua NH-U12S | Keyboard: G610 Orion Cherry MX Brown | Mouse: G305 | Audio: Audio Technica ATH-M50X & Blue Snowball | Server: 2024 M4 Mac mini, 256GB SSD, 16GB Unified Memory | Storage: Terramaster D4-320 DAS (12TB Seagate Ironwolf Pro, 12TB Seagate Ironwolf, 6TB WD Blue HDD, 500GB Crucial SSD)
Link to post
Share on other sites

1 hour ago, DrMacintosh said:

I had a similar audio issue with In-Home Steam streaming from my PC to my Mac but changing the audio rates to match fixed it, if the issue goes further than that then I have no idea lol. 

 

Sorry. 

No problem! Every piece of advice helps and sometimes it's good to double check (or triple check) these settings. :P

 

Edit:

I managed to figure out the issue. It turns out it was an issue with my CPU layout and the host OS needed an extra core for audio emulation.

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

×