Andremelst Posted November 5, 2017 Share Posted November 5, 2017 I am trying to pass through an old Radeon HD5830 to a Ubuntu VM. I have checked that it is in its own IOMMU group, and that IOMMU is enabled in unRAID. but when i try to start my VM, i get this error.. any tip would be very much appreciated :) Execution error internal error: qemu unexpectedly closed the monitor: 2017-11-05T05:19:22.533077Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.2,addr=0x5: vfio: failed to set iommu for container: Operation not permitted 2017-11-05T05:19:22.533112Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.2,addr=0x5: vfio: failed to setup container for group 11 2017-11-05T05:19:22.533118Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.2,addr=0x5: vfio: failed to get group 11 2017-11-05T05:19:22.533133Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.2,addr=0x5: Device initialization failed Quote Link to comment
Squid Posted November 5, 2017 Share Posted November 5, 2017 Are you also passing through the card's audio? Quote Link to comment
Andremelst Posted November 11, 2017 Author Share Posted November 11, 2017 (edited) yes, trying to passthrough both. have also tried to choose just the graphics as well, but same problem. this is my setup Edited November 11, 2017 by Andremelst Quote Link to comment
saarg Posted November 12, 2017 Share Posted November 12, 2017 (edited) I'm not sure this card will work using ovmf. You could try Seabios, but I don't think that is the problem here. First try to add the below in between append and initrd=/bzroot in your syslinux.cfg. Go to the Main page of unraid, click Flash and you can add it directly in the syslinux.cfg editor. vfio_iommu_type1.allow_unsafe_interrupts=1 Edited November 12, 2017 by saarg Quote Link to comment
Andremelst Posted November 12, 2017 Author Share Posted November 12, 2017 like this? tried with that, and making a new VM with seabios. get the error as shown under. thanks for your response Quote Link to comment
Recommended Posts
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.