Hello, I am having difficulty passing through my GTX 1060 to a Windows Virtual Machine. I have tried just about everything many times on 2 different systems. Spaceinvader One has been a huge help to get me this far. I know I am overlooking or missing something, I just can't figure it out. Any suggestions would be appreciated.
I have been successful in passing through an AMD GPU, so I know my bios setting are correct for virtualization.
I can set VNC as primary GPU and my GTX 1060 as secondary, which I can access through VNC remote. Doing it that way, I can see my 1060 showing up in windows as disabled (code 43). The only way can get the VM to start is to use the unedited VBios (hence the error code) and access it though VNC. If I use the edited Vbios, and/or don't use VNC, I just get a black screen no matter what I do.
I used this guide to get my Vbios. I also used the more recent method of extracting vbios through the script Spaceinvader wrote, but that method always ends in an error for me.
My theory is that I am not setting up the NVIDIA GPU correctly regarding the IOMMU devices with multifunction, or using ACS override. I say that because I have yet to get any VM display output directly from my 1060, whether I use the edited or unedited vbios. My native IOMMU groups are good enough (I think). My Video controller and Audio share the same IOMMU group, so I separated them with ACS and enabled multi function.
Nvidia GPU Passthrough to VM Black Screen
in VM Engine (KVM)
Posted · Edited by mbaut
Change Title
Hello, I am having difficulty passing through my GTX 1060 to a Windows Virtual Machine. I have tried just about everything many times on 2 different systems. Spaceinvader One has been a huge help to get me this far. I know I am overlooking or missing something, I just can't figure it out. Any suggestions would be appreciated.
I have been successful in passing through an AMD GPU, so I know my bios setting are correct for virtualization.
I can set VNC as primary GPU and my GTX 1060 as secondary, which I can access through VNC remote. Doing it that way, I can see my 1060 showing up in windows as disabled (code 43). The only way can get the VM to start is to use the unedited VBios (hence the error code) and access it though VNC. If I use the edited Vbios, and/or don't use VNC, I just get a black screen no matter what I do.
I used this guide to get my Vbios. I also used the more recent method of extracting vbios through the script Spaceinvader wrote, but that method always ends in an error for me.
My theory is that I am not setting up the NVIDIA GPU correctly regarding the IOMMU devices with multifunction, or using ACS override. I say that because I have yet to get any VM display output directly from my 1060, whether I use the edited or unedited vbios. My native IOMMU groups are good enough (I think). My Video controller and Audio share the same IOMMU group, so I separated them with ACS and enabled multi function.
I have attached my VM XML code if that can help.