You are not logged in.

#1 2016-11-20 07:35:51

ElTimo
Member
From: Yardley, PA
Registered: 2011-04-06
Posts: 10

Audio in Windows 10 KVM guest lags by 1-2 seconds

Sorry if this isn't the right forum for this.

I have a libvirt VM set up with PCI passthrough for the GPU. Whenever I play audio for more than about a minute, it starts to lag 1-2 seconds behind the source. It's not warped or distorted like the common "demon audio" bug I've seen around, either.

Things I've tried:

Enabling MSI in regedit
Changing sound devices (I'm using ICH9)
Rebooting a lot

It seems to happen mostly in games, and it doesn't happen right away. Here's the relevant section of my XML

  <qemu:commandline>
    <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
    <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
    <qemu:env name='QEMU_PA_SAMPLES' value='44100'/>
    <qemu:env name='QEMU_ALSA_DAC_BUFFER_SIZE' value='1024'/>
  </qemu:commandline>

This probably isn't enough to go on, so let me know if I've forgotten anything.

Offline

Board footer

Powered by FluxBB