Second gpu share iommu groups with other devices, ACS Override doesn't help


klingan

Recommended Posts

Hi

 

I have 1st Windows vm working with 1st GTX 750ti GPU and now I've tried to add a second GPU to a openelec vm but get start up errors.

I didn't know skylake CPUs was a bad choice for passthrough solutions when I got it...

 

I read in some thread that someone moved the other device to another group by changing some parameter id thingie (lost track of the thread) but I don't know if that would help me too? And is it possible to move any of the devices in group 5? Like the NIC?

I have tried ACS override and that just movies around the groups but the second GPU still have other devices in the same group.

I would really appreciate some help.

 

Here is the error:

internal error: early end of file from monitor: possible problem:

2016-09-21T17:54:48.533541Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,bus=pcie.0,multifunction=on,x-vga=on: vfio: error, group 5 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.

2016-09-21T17:54:48.533559Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,bus=pcie.0,multifunction=on,x-vga=on: vfio: failed to get group 5

2016-09-21T17:54:48.533566Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,bus=pcie.0,multifunction=on,x-vga=on: Device initialization failed

2016-09-21T17:54:48.533573Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,bus=pcie.0,multifunction=on,x-vga=on: Device 'vfio-pci' could not be initialized

 

 

Here is my PCI device list:

00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)

00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)

00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)

00:17.0 SATA controller: Intel Corporation Device a102 (rev 31)

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)

00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)

00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)

00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)

01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)

02:00.0 VGA compatible controller: NVIDIA Corporation Device 128b (rev a1)

02:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

 

 

IOMMU GROUPS:

/sys/kernel/iommu_groups/0/devices/0000:00:00.0

/sys/kernel/iommu_groups/1/devices/0000:00:01.0

/sys/kernel/iommu_groups/1/devices/0000:01:00.0

/sys/kernel/iommu_groups/1/devices/0000:01:00.1

/sys/kernel/iommu_groups/2/devices/0000:00:14.0

/sys/kernel/iommu_groups/3/devices/0000:00:16.0

/sys/kernel/iommu_groups/4/devices/0000:00:17.0

/sys/kernel/iommu_groups/5/devices/0000:00:1c.0

/sys/kernel/iommu_groups/5/devices/0000:00:1c.7

/sys/kernel/iommu_groups/5/devices/0000:02:00.0

/sys/kernel/iommu_groups/5/devices/0000:02:00.1

/sys/kernel/iommu_groups/5/devices/0000:03:00.0

/sys/kernel/iommu_groups/6/devices/0000:00:1d.0

/sys/kernel/iommu_groups/7/devices/0000:00:1f.0

/sys/kernel/iommu_groups/7/devices/0000:00:1f.2

/sys/kernel/iommu_groups/7/devices/0000:00:1f.3

/sys/kernel/iommu_groups/7/devices/0000:00:1f.4

 

 

*Edit*

I forgot to add that I have tried moving the second GPU to another slot on the motherboard but it's still in group with the NIC and other devices.

 

 

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.