Skip to content

Windows 10 VM with KVM, Good Enough For Pro Tools/ Gaming?

I've got a 2080ti in my desktop rig.. Right now I dual boot Arch and Windows 10... My proc is a 9700k. I'm thinking about trying Windows 10 as a KVM VM and using the built in GFX for the linux side, passing through the 2080ti to Windows 10. I'm new to this but, does this sound like it would work and still get me the same performance for the 2 games I run in Windows? Also wondering about running Pro Tools...

14 points22 comments
Open on Reddit
About this post
Posted
Archived
Score
14 · 100% up
Kind
Text
ID
devh8g

22 comments

The gpu performance is pretty much native inside the vm. Raw cpu performance has very little overhead as well, but things like IO may need configuration to work well. You can just pass through a whole hdd for best performance.

9 points

So I can pass through a whole nvme drive and that will be where the VM exists? It doesn’t exist in a single file like on virtual box?

1 points

That depends. As already mentioned look up the whole concept about PCI passthrough, the subreddit has plenty of info about various configs.

2 points

You can do either. Note that the passed through drive wont be accessible on the host os. On virtualbox, you can pass through full drives as well.

1 points

your 9700k supports VT-d. I've never personally set up a system as you've described, but have been interested in doing so, and from the bit of research I've done it should be possible, and run at 'close' to bare-metal performance.

One thing I do know for sure is that windows doesn't like changing hardware. So once you make a VM don't boot into it physically, or the license might get flagged as being installed on new hardware and you might have to get a new one...

4 points

I have a similar setup with an i7 9700k and a 2070 RTX, for gaming purposes it works very well using GPU passthrough even if IO storage performance is a bit lower than the dual boot setup. In the end I went back to dual booting for the following reasons:

- I don't have enough space (yet) on the desk to put two screens, two mouse and two keyboards (I tried to setup a software KVM switch to use only 1 pair of mouse+keyboard but didn't succeed)

- I had troubles passing audio to the host as described in the wiki, so I needed to dedicate USB headphones either to the host or the guest, which was a bit annoying

1 points

Why to need two monitors? I was thinking it would be possible on my setup to use HDMI from the mobo for linux and Displayport from the 2080ti for Windows to the same monitor.

1 points

Yes you are right, my monitors are a bit old and have only 1 HDMI and 1 VGA each, so I assumed you had to use two of them.

1 points

Setting this up is pretty in depth it took me a few weeks of trial and error to get it working. A word of advice: unlike many other things the process for Arch and the process for Ubuntu/Debian is very different. Make sure you are following a guide for Arch Linux w/ Nvidia GPU or nothing will work. I wish someone told me this to begin with. Good luck!

1 points

I used to do this for about a year in ~2017 but since moved back to a dual boot and install-with-lutris on Arch setup. My two primary reasons, which no-one mentioned yet, were:

  1. You need a mouse and keyboard. If you require native performance or have a gaming mouse that needs a special driver (think: additional mouse buttons), you'll have to pass these through (preferrably the USB controller they are attached to) as well or find a cheap KVM switch
  2. Audio output, especially where input (Mic) is required. You can pass through your internal audio controller, which gave me poor performance with skipping and lag, or buy a dedicated (in my case USB) controller. The latter tended to work for a few hours and then randomly stop audio out- and input alltogether. I tried multiple USB controllers and they all did this, so it might have been my mainboard's fault.

Performance was fantastic though once I had hugepages and passthrough / blacklisting on Arch figured out. With my GTX970 at the time I saw a 10 fps dip in PUBG compared to a native Windows install.

For hardware longevity and I/O performance I recommend passing through an entire SSD instead of just a partition on it. You don't want Windows 10 and Arch fight for control over some SSD features like trim - ever.

1 points

Hm, what are those 2 games you are playing? Don't they run on linux?

For Pro Tools... I run a Win10 VM for Photoshop, Lightroom, and some other image editing stuff. Also a 9700k, 32GB RAM (24 dedicated for the VM + 6 cores). Works actually pretty good, even with really big panorama stitching and stuff. I'm using VMWare Workstation, which seems to use some GPU accelerating in some way. Never tried gaming on it though. It should be worth a try.

I thought about passing my NVIDIA GPU to a VM, but in my case, it was not worth it. Most games run with wine/dxvk pretty well. For programs I can't get to work on linux there is said VM. Passthrough also has some drawbacks I can't get around, check /r/VFIO.

1 points

If you need low buffers for recording I don't think a VM will be very good for a DAW. I wanted to do the same thing with Studio One, but eventually gave up on it.

1 points

yes it works fairly reliably. I run a setup with the host on a Vega56 and the guest on a seperate nvidia 1080.

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

helps. You can also check out level1techs forums for a bunch of useful guides and posts on the topic. You can actually boot your existing windows install with KVM - that is what I do (careful with drivers - windows can freak out).

Regarding Pro Tools. It should work fine as long as you can pass through your soundcard. I have a seperate USB audiocard that I use for the guest audio.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.