[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[vfio-users] Which next steps in GPU passthrough



Hello!

I'm trying to do GPU passthrough on my new build - ASUS Maximus IX Hero z270 chipset, Intel i7 7700K, GTX 1050Ti for host and GTX 1070 for guest (Win 8.1 probably). My main system is Debian Testing Stretch.
When I'm trying to execute script that creates virtual machine I get an error: "vfio error: 0000:01:00.0: group 1 is not viable" which means two GPUs are in the same iommu group I guess. Below are some details:

root sphinx:/home/w/Pulpit/KVM# uname -a
Linux sphinx 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux

root sphinx:/home/w/Pulpit/KVM# find /sys/kernel/iommu_groups/ -type l | grep /1/
/sys/kernel/iommu_groups/1/devices/0000:00:01.1
/sys/kernel/iommu_groups/1/devices/0000:02:00.1
/sys/kernel/iommu_groups/1/devices/0000:01:00.1
/sys/kernel/iommu_groups/1/devices/0000:00:01.0
/sys/kernel/iommu_groups/1/devices/0000:02:00.0
/sys/kernel/iommu_groups/1/devices/0000:01:00.0

root sphinx:/home/w/Pulpit/KVM# lspci -nnk | grep 01:00
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1)

root sphinx:/home/w/Pulpit/KVM# lspci -nnk | grep 02:00
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
02:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fb9] (rev a1)

root sphinx:/home/w/Pulpit/KVM# lspci -nnk | grep 00:01
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 05)
00:01.1 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x8) [8086:1905] (rev 05)

What should I do next? I've read about ACS and VGA patches but not sure if I need them with this version of kernel and two nvidia GPUs. I'm not very familiar with Linux so please be a little detailed if you can. 

Thank you for your help.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]