Unraid error with PCI passtrough


Recommended Posts

Hi,

 

I'm new to the whole Virtualization through GPU. I want to try a cheap 2 player gamer pc.

I bought a server board dseb-dg/sas from asus with 2 pci express slots and 2 771 cpu slots with 2 xeon x5450 quad core processors.

 

I followed every step from linus on YouTube

 

 

And i get this error:

 

internal error: qemu unexpectedly closed the monitor: 2017-05-15T12:20:42.511301Z qemu-system-x86_64: -device vfio-pci,host=0a:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to set iommu for container: Operation not permitted
2017-05-15T12:20:42.511364Z qemu-system-x86_64: -device vfio-pci,host=0a:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to setup container for group 2
2017-05-15T12:20:42.511371Z qemu-system-x86_64: -device vfio-pci,host=0a:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to get group 2
2017-05-15T12:20:42.511387Z qemu-system-x86_64: -device vfio-pci,host=0a:00.0,id=hostdev0,bus=pci.0,addr=0x5: Device initialization failed

 

Group 2 is the group for my GPU

if i go through VNC i can start up de virtualisation but through my GPU it gives this error.

vt-d is enabled in the bios the only thing i don't know is if the xeon 5450 support vt-d. can't find anything about that

 

my sytem information:

Model: Custom

M/B: ASUSTek Computer INC. - DSEB-DG/SAS
CPU: Intel® Xeon® CPU X5450 @ 3.00GHz
HVM: Enabled
IOMMU: Enabled
Cache: 128 kB, 12288 kB
Memory: 16 GB (max. installable capacity 64 GB)
Network: bond0: fault-tolerance (active-backup), mtu 1500
 eth0: not connected
 eth1: 1000 Mb/s, full duplex, mtu 1500
 eth2: not connected
 eth3: not connected
Kernel: Linux 4.9.19-unRAID x86_64
OpenSSL: 1.0.2k
Uptime: 

.

 

also, is there maybe a free software for virtualisation with GPU?

 

thank you in advance!

 

greetings,

virtualization rookie

 

 
Edited by uncensored
Link to comment

Post your IOMMU groups. (Tools> system devices). Sounds like you have more than one device in IOMMU group 2.

if thats the case, you'll need to enable the PCIe ACS Override patch in Settings>VM Manager (enable advanced settings, reboot after changing) to break up the IOMMU groups so you can pass that device through.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.