June 3, 20179 yr I have an HP Z600 with the following setting: M/B: Hewlett-Packard - 0B54h CPU: Intel® Xeon® CPU X5650 @ 2.67GHz HVM: Enabled IOMMU: Enabled Cache: 384 kB, 1536 kB, 12288 kB Memory: 24 GB (max. installable capacity 24 GB) Network: bond0: fault-tolerance (active-backup), mtu 1500 eth0: 1000 Mb/s, full duplex, mtu 1500 Kernel: Linux 4.9.30-unRAID x86_64 BIOS version 6.3 I am trying to setup a Windows 10 VM and pass thru one of my graphics cards. Sapphire Radeon HD 5750 GeForce 9400 GT With both cards I am getting this error: internal error: qemu unexpectedly closed the monitor: 2017-06-03T01:30:56.467950Z qemu-system-x86_64: -device vfio-pci,host=28:00.0,id=hostdev0,x-vga=on,bus=pci.0,addr=0x5: vfio: failed to set iommu for container: Operation not permitted 2017-06-03T01:30:56.467998Z qemu-system-x86_64: -device vfio-pci,host=28:00.0,id=hostdev0,x-vga=on,bus=pci.0,addr=0x5: vfio: failed to setup container for group 15 2017-06-03T01:30:56.468006Z qemu-system-x86_64: -device vfio-pci,host=28:00.0,id=hostdev0,x-vga=on,bus=pci.0,addr=0x5: vfio: failed to get group 15 2017-06-03T01:30:56.468026Z qemu-system-x86_64: -device vfio-pci,host=28:00.0,id=hostdev0,x-vga=on,bus=pci.0,addr=0x5: Device initialization failed I have tried both OVMF and SeaBIOS get the same message. I am at a loss at what else to try and if I can not get this to work then I will just use it for docker and running different server OSes. I wanted to try doing some gaming since it has dual xeon processors and 24 GBs of RAM.
June 3, 20179 yr step 1- make sure you're passing the audio and video in the vm manager. step 2- verify that the audio and video of the card are the only 2 devices in iommu group 15, identified with their corresponding id (tools tab>system devices) if not, then you will have to try enabling acs override (settings>vm manager, click basic-advanced toggle, enable acs override, reboot.) if the audio/video are still not alone, you will need to post diagnostics (tools>diagnostics) and we'll help you with the next step) if they are alone in group 15, then step 3: modify your syslinux.cfg (via main tab>flash) to the following; append vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot then reboot. if that does not work, then post diagnostics.
June 4, 20179 yr Author Sir or Madam, I would hug you if I could. THANK YOU so much! It took till step 3, but it worked! I am currently setting up my Windows 10 machine on my monitor through the 5750. If you could take a moment and explain what that does so I can better understand for the future? Once again thank you for your help.
June 4, 20179 yr the interrupts modification is usually needed on hp servers, some microservers, and i guess now workstations. what the modification does, to the best of my understanding, is allows system that don't support interrupt remapping to operate in an "unsafe" manner and allow them.
June 4, 20179 yr Community Expert I had to use the same on my consumer x58 Asus board running an x5670 cpu, same generation so not surprised.
Archived
This topic is now archived and is closed to further replies.