Intel GPU passthrough Question
-
I want to passthrough the Intel GPU to enable hardware acceleration in a Plex VM. I am following the instruction here: https://xcp-ng.org/docs/compute.html#pci-passthrough
In my lspci I have found the intel gpu: 00:02.0
So I ran: /opt/xensource/libexec/xen-cmdline --set-dom0 "xen-pciback.hide=(0000:00:02.0)"
I rebooted and didn't see anything in the: xl pci-assignable-listI reran: /opt/xensource/libexec/xen-cmdline --set-dom0 "xen-pciback.hide=(0000:00:02.0)"
Then running: /opt/xensource/libexec/xen-cmdline --delete-dom0 xen-pciback.hide
I rebooted and didn't see anything in the: xl pci-assignable-listThoughts on places to look?
Thanks -
@cyrus104 is this an iGPU? I don't think you can pass through those as they are needed for the main console.
-
@Forza yeah, I was hoping to pass the iGPU through. Half my lab is XCP-ng and the other half is still ESXi which I am able able to do iGPU passthrough so I just figured it would be doable here too.
In theory if XCP-ng was not capable of passing the iGPU through because it was needed for console, I waste an m.2 slot and install an m.2 gpu for the console but would still need the Intel iGPU for the quicksync feature.
https://www.asrockrack.com/general/productdetail.asp?Model=M2_VGA#Specifications
Edit: article that shows that it seems to have worked for somebody.
https://jasonloong.com/2020/migrated-a-plex-intel-nuc-to-xcp-ng-xenserver-with-igpu-passthrough/ -
@Forza I spent a few more minutes on the second linked article and while it doesn't actually spell it out, it does say to use XCP-ng Center to make it easier.
I went to XCP-ng Center, went to properties on the host and then went to GPU and said "This server will not use the integrated GPU" which will take affect after reboot.
After reboot:
I can now added this to a VM:
We can go ahead and mark this as solved, I'm not sure why it didn't work as expected in the command line so maybe there could be some help testing that out.
-
@cyrus104 said in Intel GPU passthrough Question:
ond linked article and while it doesn't actually spell it out, it does say to use XCP-ng Center to make it easier.
I went to XCP-ng Center, went to properties on the hosThat's an interesting find. Thanks for sharing
-
This post is deleted! -
-
I would like to highlight that this does work but there are some performance issues with the iGPU. I it for transcoding plex and it will transcode a 4K to 1080p which is a huge load on baremetal but when I use the passthrough to the same basic Windows install it says hw transcoding. However, there is a performance hit somewhere in the passthrough as I can't do a 4K transcode.
FYI