Skip to content. | Skip to navigation

Personal tools
Log in
Sections
You are here: Home Using a virtual machine for Ardour/Jack on a pulseaudio host OS (Linux)

Using a virtual machine for Ardour/Jack on a pulseaudio host OS (Linux)

published Apr 02, 2017 07:45   by admin ( last modified Apr 02, 2017 08:01 )

KVM works, VirtualBox doesn't in my tests.

Ardour and Jack do not play well with PulseAudio. On my Ubuntu 16.04 it kills Pulseaudio and that is a bit awkward. So I decided to install Ardour on a virtual machine, and I wanted to test the performance. So I installed Ubuntu Studio on VirtualBox and KVM too see which one gives me best performance for audio editing. In VirtualBox it seemed to work internally, but alas, no sound reached the host system, regardless of configuration Kvm/Qemu worked on the first try!

Host operating system is Ubuntu 16.04LTS

Guest operating system is Ubuntu studio 16.04

Virtual machine is KVM/QEMU

Using the virtual machine manager

You may want to share files between the host machine and the Ubuntu Studio VM. In that case: Mount a volume into the virtual machine like this:

Setting up KVM shared directory in ubuntu 14.04 | Pascal d'Hermilly's tech Blog

Summary:

Make a mount filesystem with driver Default in kvm, mode passthrough, enter "/commonshare" for target path.

Try in clientmachine

sudo mount -t 9p -o trans=virtio,version=9p2000.L /commonshare /mnt/commonshare

Then enter in /etc/fstab

/commonshare /mnt/commonshare 9p trans=virtio,version=9p2000.L,access=any 0 0

 

Mikael Ståldal says:
Apr 06, 2017 09:53

I think it is spelled "alsa", not "alas". https://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture

admin says:
Apr 07, 2017 08:14

Good joke :)

Add comment

You can add a comment by filling out the form below. Plain text formatting. You can use the Markdown syntax for links and images. Comments are moderated.

Question: What is 10 + 3 ?
Your answer:
Ads