HP GEN8 GPU pass through AMD


Recommended Posts

Hi there, 

 

New to unRAID... i have read all over the web about this issue but havent managed to rectify and fix it... 

As far as I understand its not a problem that unRAID show the console output through HDMI of the Radeon HD6450 however when I try to pass through this GPU to a VM i get the following

 

internal error: qemu unexpectedly closed the monitor: 2017-07-05T20:25:58.673496Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to set iommu for container: Operation not permitted
2017-07-05T20:25:58.673538Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to setup container for group 11
2017-07-05T20:25:58.673544Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to get group 11
2017-07-05T20:25:58.673562Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device initialization failed

 

Please advice 

 

Thanks in advance

 
Link to comment
50 minutes ago, 1812 said:

 

I am keep getting this in the log? any ideas

 

Jul 5 23:34:16 PRIME kernel: vfio-pci 0000:07:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.

 

and in the log of the VM

 

2017-07-05T22:32:49.060861Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to set iommu for container: Operation not permitted
2017-07-05T22:32:49.060900Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to setup container for group 11
2017-07-05T22:32:49.060906Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to get group 11
2017-07-05T22:32:49.060923Z qemu-system-x86_64: -device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x5: Device initialization failed
2017-07-05 22:32:49.083+0000: shutting down, reason=failed

Edited by comdex
Link to comment

OK so the newer hp bios does not play nice with newer linux kernel quite often. Without seeing your full diagnostics, 07:00.1 is probably the audio portion of your GPU causing problems.

 

My entire thread about it is here:

 

The last post in the thread has a bios fix that might be applicable to you.

 

 

If the bios fix isn't applicable, then you'll have to follow the steps outlined in the thread to split the GPU video and it's audio component into separate IOMMU groups, and then only pass through the video part and figure out something else for audio (like usb audio, or an audio card.)

 

---

 

also, don't have unraid use same graphic output as your vm. I guess some do it? But it seems to cause more problems than not. If the server doesn't have onboard graphics, get a cheap nvidia card for 20-30 buck, let unRaid use that, and save yourself a headache.

Edited by 1812
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.