Advice request for new PC OS / VM setup

I’m not sure if what I’m looking to do is possible, but hopefully I can get some advice here. I’m looking to set up my new PC with a number of VMs for different tasks. The PC has an old Quadro M2000 card and at some point I will also be getting a ‘gaming’ graphics card for it. The VMs I intend on setting up are for:
Web Server (Linux)
Various OSX (Safari Browser testing)
Windows (Windows based Browser testing)
Audio (Probably Windows, but could be OSX)
Photo / Video (Probably Windows, but could be OSX) - importantly this needs to output to the screen at 30 bit. This is what the quadro is for, though I understand with newer Nvidia drivers a geforce card will also work.
Gaming (Probably Windows, but could be Linux).
General (Could be Win/Linux/OSX)

Note that I would only ever be likely to run 2-3 of these at a time.

The main issue is the 30bit display / OpenGL output I need for Photo and Video work. I’ve looked at GPU ParaVirtualisation with Hyper-V and I like the way this doesn’t completely dedicate the card to a specific VM. But I can’t see how I can get the 30 bit output needed.

The only way I can really think of getting it setup as I’m wanting is using pass-thru for the Quadro to the Photo / Video VM, then GPU ParaVirtualisation for the Geforce card to share it between all the other VMs.

As far as I’m aware I’d need to use Hyper-V as the host for this, I don’t think you can share a GPU across various VMs without splitting it into pre-defined chunks in Linux?

Not sure if it has any relevance, but the PC this will be setup on is a Gigabyte X570 board with 5900X. Storage is a 1TB NVMe Gen4, then probably a SATA SSD for the host OS.

If anyone has suggestions on the host OS and setup, that would be great.

It’s a lot to put in one place.

I may consider two routes, one - for pervasive VM’s

For a machine heavy enough to lift it all, I can at least imagine that it would be fine without PCI passthrough of video for ‘general’ use VM’s, unless there’s more to these than I can be aware, and it appears you’ve thought about it quite a lot already.

If you’re aiming to have 2 GPU’s to cover your uses this way, I might suggest then to consider not sharing GPU across multiple VM’s. If you do so, that puts in addition to the host, 3 apparent categories of VM for pass through.

  • quadro → photo/video VM (connected presumably to its own physical monitor, to use when VM is booted)

  • game card → game VM

  • every other VM

Via Linux/KVM, on a 3900X I find OSX to run virtualised faster than my old, granted but physical mac mini, with no pass through, so good hardware can keep up. Though this does serve to indicate a limitation, that the macOS 11 audio, virtualised in KVM so far as I’ve used has been ‘not good’, though I’ve never had a goal to use as such and that may be solved.

I won’t say this is the best way, but is how I’d probably start - if VM’s were a mandated part of the solution.

If it’s not ‘necessary’ each function be a VM -

if you have a 30 bit game card for your photo/video & games directly on the host, the rest would run as VM’s (use quadro, until then). If you want windows, choose hyperv on a normal win10 pro installation and run hyperv like it were virtualbox*, and this obviates some of the more awkward configurations. Which if you’re doing, work - may be the best answer.

* HyperV - I don’t know you can virtualize OSX that way

Thanks for the reply. I did think about having stuff on the host, and that could provide the best performance.

There were two main reasons for wanting to get everything on VMs, though they are not particularly strong ones:

  1. It keeps things cleaner and more neatly separated.
  2. With separate VMs they can (I assume?) easily be backed up and then moved to another machine if necessary. Whereas with stuff on the host I would presumably need to restore the backup to similar hardware to get it working. Having said that, I generally am not too concerned about OS level backups, just data, which would be the same whether working straight on the host or via a VM.

With Hyper-V to run OSX you need to run it nested (via WSL), which won’t be great for performance. On the other hand, with a Linux host you can’t really share the GPU. I think really I’m going need to try different ways and see which works best.