Trying to get a windows vm with gpu acceleration working on a new optimus laptop and I think I need to pass through both gpus for the nvidia gpu to work since it uses the intel one for actually displaying the results. Alternatively it might work if there is some virtual device that provides the same functionality ie. tells windows that it renders to a built in screen or something like that.
I tried activating gvt-g using the instructions here: https://nixos.wiki/wiki/IGVT-g . I also checked the arch wiki and tried the kernel parameters manually. But the folder /sys/bus/pci/devices/0000:00:02.0/mdev_supported_types does not show up.
Does anyone know if gvt-g even works with Ice Lake processors or if I am doing something else wrong?
So I guess it’s not there yet. Thanks!