Hacker News new | ask | show | jobs
by matxip 3689 days ago
You should seriously look into running a VM with pcie passthrough if you've got a desktop.

There's a lot of talk about complexity and dead end edge cases, however, having now done it, I can honestly say it was significantly easier than I was expecting and absolutely stable and fast thus far. I can't speak to edge cases (conversely, I can vouch for the Asus z170-* motherboard line), but my impression was that there is less and less of them as motherboard BIOSs advance.

It seems to be an area where things are developing fast. You'll find a lot of out-of-date resources telling you things like, for example, most nvida cards will not work or require effort to get working. The reality now is that it just requires a single argument in qemu to bypass the nvidia issue.

In my opinion, it's a significantly better solution than dual booting and basically indistinguishable from normal Windows performance-wise for gaming.

Link you might want to check out: https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVM...

1 comments

Is there a way to dynamically reassign GPU between host/VM(s)?

Not everyone can afford several high-end GPUs, so it'd be really nice to use it on host OS up until the moment you run gaming VM, and then switch host to lower/embedded GPU.

This will be considered suboptimal by some, I'm sure, but the solution I went with is to reserve the dedicated GPU for the VM and use Intel integrated for Linux, in my case from a skylake i5-6600. Aside from that, you can get a cheap, low power second GPU (if you're using an AMD CPU for example). This is fine for me since I'm gaming on the VM, and not really doing much graphically intensive on Linux.

The idea of getting another high end card seems pretty absurd when you're putting windows in a VM specifically to deal with those situations. I recognize some people have special use cases, but they're just that, special use cases.

Really, overall, I don't consider it to be too bad of a trade off for what you get.