Hello Everyone.
I saw this video on XCP-ng - AMD Radeon GPU Passthrough I thought it was excellent.
https://www.youtube.com/watch?v=zN67vnNkuYw
However when trying to do the same in my home lab with similar equipment I get an error message.
Internal error: xenopsd internal error: Cannot_add(0000:0b:00.0, Xenctrlext.Unix_error(30, “1:Operation not permitted”))
I am running xcp-ng 8.2, and I am using an old HP Prolaint G6 ML350 running 2 Xeon x5670 and 144gb of ram. I have added a AMD Sapphire Radeon RX 550 card and I am attempting GPU pass through as in the video link.
VT-d is enabled and USB pass through works, and I have an HDMI blank/dongle connected to the output display of the sapphire card rx550.
I noticed most my cards are on the same IRQ 11, is this an issue?
As a test, The Embedded mother board video card ( ATI ES1000 ) works to pass through when set not to be use by the server as display.
My onboard card is my primary display and AMD Radeon card is my secondary.
All attempts have the same error message.
Internal error: xenopsd internal error: Cannot_add(0000:0b:00.0, Xenctrlext.Unix_error(30, “1:Operation not permitted”))
I think XCP-NG sees this Radeon card as two different cards.
A video card and a sound card.
When i run lspci from the console line I can see 2 listings:
0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] (rev ff)
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
When I run a xl pci-assignable-list I get
0000:0b:00.0
0000:0b:00.1
as assignable. When I try to assign both of them they assign ok with no errors:
xe vm-param-set other-config:pci=0/0000:0b:00.0,0/0000:0b:00.1 uuid=a0552ff6-87f1-2044-ba59-ed920db6377e
Its only after I try boot up the VM I get the new error message:
Internal error: xenopsd internal error: Cannot_add(0000:0b:00.1, Xenctrlext.Unix_error(30, “1:Operation not permitted”))
I still think this is a issue that’s related to the BIOS , like an IRQ issue.
Any ideas?