GPU passthrough, black screen while VM is running
Hello.
I tried passing my NVIDIA GPU to the windows 10 vm.
I have my iGPU disabled in the BIOS, confirmed with lspci | grep VGA
.
My specs are: NVIDIA GTX 1080 (565.77 drivers), i7-6700, linux-6.6.63
After I unload the nvidia modules and start the vm via virsh, I can see that its running, but the screen is black, and after a few seconds it says No Signal
after which it stays black forever.
I enabled all Intel virtualization stuff in the BIOS, passed through both the GPU and the NVIDIA HDMI audio controller.
I have vfio
, vfio-pci
, vfio_iommu_type1
, kvm_intel
modules loaded, along with iommu=pt
and intel_iommu=on
kernel parameters.
I patched gpu's VBIOS since I saw the message about the shadowing, but saw no difference with it.
Tried enabling and disabling ROM BAR with no effect.