Jump to content

GPU Passthrough not working after update (AMD r9 290)


tayshun12

Recommended Posts

 

 

Hello all!

 

I seem to be having an issue with GPU passthrough after updating my unraid. Heres the breakdown. 

 

I believe I was on 6.0 with everything working in my VMs. This was before unRAID GUI had the option to passthrough PCI. I used to manually edit the xml to add some qemu:commandline lines, like so:

 <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=01:00.1,bus=root.1,addr=00.1'/>
  </qemu:commandline>

which was working for me. 

 

Quote

internal error: qemu unexpectedly closed the monitor: 2018-07-24T10:36:19.451126Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/0 (label charserial0)


2018-07-24T10:36:19.503434Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio error: 0000:01:00.0: failed to open /dev/vfio/27: Operation not permitted

I was away at school so I havent used my VMs for a while but now when I try to start my VM I get the following error:

 

 

 

 

I've tried to fix the issue on my own, making sure that ACS override was enabled, editing my syslinux.cfg by adding:

 

vfio_iommu_type1.allow_unsafe_interrupts=1

but thats still not working. I'm wondering if somehow my device is in use and its not allowing the GPU to be passed through? any help would be greatly appreciated! 

 

Thanks,

 

T

 

EDIT: sorry guys my GPU is an AMD r9 290.

Link to comment

UPDATE: I Figured it out I feel like an idiot! 

 

After Re-reading some posts, namely these two:

 

I realized that what I was overlooking was my bios settings. After switching to seabios (this is user CHBMB's Picture). The VM boots up correctly! 

BUJsMqk.jpg

 

 

This thread can be locked or saved for reference. 

 

TAG: Radeon, GPU

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...