GPU passtrough error. tried google.. help please :)


Recommended Posts

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

 

 

Link to comment

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 by saarg
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.