Experiencing Audio Cutting Out in Proxmox VE Windows 11 VM

Lemmy@lemm.ee to Linux@lemmy.ml – 13 points –

Hello, I'm using a Windows 11 VM on Proxmox VE, and my audio keeps cutting out. I use GPU passthrough with my NVIDIA 2080 SUPER for gaming, but I don't know where this issue is coming from. I've switched audio devices, but the issue persists. The audio cuts out for a few seconds, then comes back. I updated Windows to the latest version, uninstalled and reinstalled the USB Composite Device in Device Manager (using a USB to 3.5mm audio jack).

I don't believe I experienced this issue before. This build uses a Librebooted Dell T1650 motherboard which uses SeaBIOS. Maybe I need to switch OVMF (UEFI) to SeaBIOS in the VM? Not sure what's going on. This is a recently created VM, and the only things installed are my Steam games and nothing else. Any help is appreciated!

5

You are viewing a single comment

I wonder if there is something going on with scheduling waits that is impacting the audio process. I would first try upping the CPU units in Processors->Advanced settings for the VM, bump it to something like 200. Otherwise, if you over subscribing your CPU cores, try temporarily dropping the number of cores subbed out to your VMs to match the physical host to see if it helps, since that could help resolve scheduling issues as well.

This was the issue! I enabled SMT and set my CPU cores on the VM from 4 to 8 cores and it fixed it. Thank you so much for the advice!

I disabled SMT to avoid meltdown attacks, so I added 'nosmt' in /etc/default/grub on Proxmox. Currently I'm using a Xeon E3 1275 V2 which has 4 cores, but since nosmt disables hyperthreading, I'm not using 8 cores. I do think you're right though, this problem hadn't appeared before and I believe only started to happen when I started messing around with the amount of cores the CPU has. I'll test it out and keep you updated! Thanks for the advice!