[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Real-Time Audio Applications in QEMU virtual machines
Re: [Qemu-discuss] Real-Time Audio Applications in QEMU virtual machines ?
Tue, 19 Sep 2017 08:58:10 +0200
I've solved VM audio crackling and distortion with trying the sound card
that synchronizes better for the guest software.
Look your host's available emulations with something like:
qemu-system-x86_64 -soundhw ?
El 18/09/17 a les 22:19, Niklas Reppel ha escrit:
> Dear List,
> i've been trying to make some real-time audio applications
> (SuperCollider, JACK, Pure Data) run in a QEMU virtual machine,
> running on a Linux host, with an Arch Linux guest system. My machine has
> a pretty recent i7 CPU and plenty of RAM. On the
> host side, i used the "alsa" audio driver. On the guest side, i've
> applied most of the little tricks that improve real-time calculation
> with Linux.
> Still, i've not managed to achieve a state that i deem usable. Generic
> audio playback (i.e. playing a YT video in Chromium) works
> just fine, but just as much as playing a sine wave in Pure Data doesn't
> work, as the output is crackling/distorted all the time.
> Jack2 won't allow connecting clients (showing similar symptoms as
> described here: https://github.com/jackaudio/jack2/issues/116).
> With Jack1, i actually managed to start it (with a very high latency)
> and get a sine wave play from SuperCollider, but with a permanently
> rising number of xruns.
> Anyway, before i look on any further, is there any general, systemic
> reason why real-time audio won't ever work in a VM, so i can stop looking ?