Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GPU Passthrough Issues

Featured Replies

I am new to UnRAID and am receiving the following error message when trying to launch a VM with a dedicated GPU.

 

internal error: process exited while connecting to monitor:
2017-03-20T02:22:24.702355Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to set iommu for container: Operation not permitted
2017-03-20T02:22:24.702398Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to setup container for group 20
2017-03-20T02:22:24.702405Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to get group 20
2017-03-20T02:22:24.702421Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: Device initialization failed

 

The VM boots fine with the VNC option checked.  My system specs are as follows.

 

Model: Custom
M/B: -
CPU: Intel® Xeon® CPU E5530 @ 2.40GHz
HVM: Enabled
IOMMU: Enabled
Cache: 128 kB, 128 kB, 1024 kB, 1024 kB, 8192 kB, 8192 kB
Memory: 18 GB (max. installable capacity 384 GB)
Network: bond0: fault-tolerance (active-backup), mtu 1500
 eth0: 1000 Mb/s, full duplex, mtu 1500
 eth1: not connected
 eth2: not connected
 eth3: not connected
Kernel: Linux 4.9.10-unRAID x86_64
OpenSSL: 1.0.2k

4 things:

 

1. do you have a separate graphical output that unraid is currently using (like onboard video or other card?)

 

2. make sure you're also passing through the audio component of the video card to the vm.

 

3. check your iommu group 20 and make sure only the video card and it's audio component are listed there.

 

4. if the preceding points are correct, then you may need to try adding the following to your syslinux.cfg

 

append vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot

 

  • Author
14 hours ago, 1812 said:

4 things:

 

1. do you have a separate graphical output that unraid is currently using (like onboard video or other card?)

 

2. make sure you're also passing through the audio component of the video card to the vm.

 

3. check your iommu group 20 and make sure only the video card and it's audio component are listed there.

 

4. if the preceding points are correct, then you may need to try adding the following to your syslinux.cfg

 


append vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot

 

All 4 things are are in order but still no luck.  I have no clue why i am getting issues.

post diagnostics then

This is your problem: 

 

Mar 20 21:17:46 Tower kernel: vfio-pci 0000:0b:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement.  Contact your platform vendor.

 

What bios version/year are you on? (Currently working on this same issue with someone else and on a few of my own servers) 

 

There is a workaround that doesn't allow sound to operate, but trying to find a solution is a pain.

  • Author
16 hours ago, 1812 said:

This is your problem: 

 


Mar 20 21:17:46 Tower kernel: vfio-pci 0000:0b:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement.  Contact your platform vendor.

 

What bios version/year are you on? (Currently working on this same issue with someone else and on a few of my own servers) 

 

There is a workaround that doesn't allow sound to operate, but trying to find a solution is a pain.

What is the workaround?

9 hours ago, pwn4fun said:

What is the workaround?

 

 

sorry, should have posted that, was a busy day yesterday:

 

 

Archived

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.