Success coupling Windows-VM's audio with Linux
Posted: Fri May 14, 2021 2:53 pm
I finally got it: high quality sound from Windows to Linux and vice versa.
Given:
Windows 10 VM on my Linux notebook (kvm/libvirt/qemu)
Linux notebook as main machine and VM host
1.) Setup a network bridge on the Linux notebook to connect the Windows VM to. Since I use netjack2 I had some problems getting the Linux' jackd to listen to the "NAT bridge" that libvirt defines.
If you have 2 different machines (no VM) on the same Ethernet then you have no problem anyway
2.) Install JACK for Windows from https://jackaudio.org/downloads/ with all options (important: JackRouter)
Set under [AUTO_CONNECT] input=0 output=0 in both 32and 64bit JackRouter.ini because there's a nasty off-by-one error.
Use Qjackctl's patchbay instead.
Use the "net" driver in Qjackctl's settings.
3.) On Linux: jack_load netmanager
4.) Install ASIOBridge from https://vb-audio.com/Cable/index.htm#DownloadASIOBridge
Now all "normal" Windows applications output to VB-Audio ASIO Bridge, the ASIO bridge outputs to JackRouter and JackRouter outputs to Netjack.
ASIO applications (e.g. Wavosaur when set to ASIO) output to JackRouter directly.
Have fun.
Given:
Windows 10 VM on my Linux notebook (kvm/libvirt/qemu)
Linux notebook as main machine and VM host
1.) Setup a network bridge on the Linux notebook to connect the Windows VM to. Since I use netjack2 I had some problems getting the Linux' jackd to listen to the "NAT bridge" that libvirt defines.
If you have 2 different machines (no VM) on the same Ethernet then you have no problem anyway
2.) Install JACK for Windows from https://jackaudio.org/downloads/ with all options (important: JackRouter)
Set under [AUTO_CONNECT] input=0 output=0 in both 32and 64bit JackRouter.ini because there's a nasty off-by-one error.
Use Qjackctl's patchbay instead.
Use the "net" driver in Qjackctl's settings.
3.) On Linux: jack_load netmanager
4.) Install ASIOBridge from https://vb-audio.com/Cable/index.htm#DownloadASIOBridge
Now all "normal" Windows applications output to VB-Audio ASIO Bridge, the ASIO bridge outputs to JackRouter and JackRouter outputs to Netjack.
ASIO applications (e.g. Wavosaur when set to ASIO) output to JackRouter directly.
Have fun.