Hi there, maybe I porsue something that cannot be done by now… (please forgive my english I’m not native)
Summary: I want to use my Traktor Pro 3 DJ software with my Traktor Kontrol S2 MK3 controller in a Virtual Machine without cracks
So the story:
I use evertything on linux what I need for work, buuut my DJ controller and its software is not working with lutris or the alternatives (mixxx) is not an option here.
Made a PC with KVM+Qemu Passed through PCIe VGA (Shapphire radeon RX460) works like a charm. But the Traktor Pro 3 and the controller (Traktor Control S2 MK3 USB2.0) has some cracking and probably latency issues.
The PC config: It is an R930 Fujitsu Workstation with 2x2630L-v2 CPU, 64 GB ECC 1333 MHz RAM Fujitsu motherboard c600/x79 chipset. Some HDD and SSD for the host OS which is Kubuntu 20.04 64 bit and changed the kernel to 5.4.0-40-lowlatency (because “maybe that will help”… not so much)
Guest OS win 8.1 64 bit, HW: tried 8-16-32 Gigs of RAM and various cpu topology, the best is when core count is above 4 (like 2 cores / 4 threads) I use it with 6 core/12 threads, but I changed every possibility and nothing helped with latency.
I figured out to passthrough the whole USB2.0 controller not just the DJ controller, USB 2.0 is better then the USB 3.0 passthrough (With the Texas instrument USB 3.0 controller the latency was worse, also the traktor controller is USB2.0 so does not matter)
I also passthrough a LAN card from the two on the mainboard, for easier networking.
I got separate monitors and keyboard and mouse, so no need for the QXL and SPICE things I removed them from the default machine. The HDD is an image with the virtio driver runs cool from and SSD. Also no emulated sound card added.
In the guest os (win8.1) the latency monitor program said that the USB and occasionally the NET drivers are the weakest links in latency, everything updated
Obviously want to use the controllers sound interface, does not matter if some settings add some latency if the crackling will gone.
Tried the followings, without success
- CPU core count variations as mentioned above
- USB 3.0
- USB drivers and energy saving settings in guest os
- Low Latency kernel in HOST OS
- Frequency, sample and USB buffers settings variations in the guest OS and in Traktor pro 3
- Tried Traktor kontrol s2 mk3 's ASIO drivers and the reckognized WASAPI drivers too
- Tried windows 10 too for guest OS
- Sacrificed some goats and virgins for the latency gods
- read the “how to improve audio in KVM” threads those are usually for (donno) emulated soundcards
Will try:
- update the cpu for a bit faster MHz (I’ve a 2670 V1, I will give 2 cores for the WM so they can jump up to 3.2 GHz probably
- make a bare metal install of windows … maybe that machine is not capable of that what I wanna do
- remove any kind of network adapter from the guest, USB must have :\
- Will try other dj program maybe Traktor pro 3 does not like virtualisation
Thinkings:
- Do I need this XD (yeah I really wanna do because of the joy and fight and overcried nights and similar)
- Maybe WM-s does not capable such a low latency, at least with my shity hardware…
- Need more virgins (definiatelly)
- Need a faster clocked CPU ( 4Xample a 1620 v1 but I will lose the fantastic of the dual CPU system )
- Need a wizard !
- Please be kind, My only knowledge is Ctrl+C and CTRL+V
Thanx, Ask freely … what do you need for this investigation, I like reading if ya have a good link that I have not found yet …
Peace and love!
Kenny