You are not logged in.

#1 2016-09-27 23:09:50

computoruzer
Member
Registered: 2016-09-05
Posts: 6

XPS 9350 Thunderbolt 3 eGPU PCI Passthrough

I'm trying to pass my GPU to a virtual guest on my XPS 9350. I've tested with the following hardware:
Razer Core
Akitio Thunder 2 + TB2 to TB3 adapter
GTX 560
GTX970

I followed the PCI passthrough via OVMF wiki article to the tee and am only passing the leaf peripherals (GPU, network adapter, etc.) and not the TB3 root hub. The guest enumerates both GPUs with generic drivers on both Windows 10 and Ubuntu 16.04, but after installing NVIDIA proprietary drivers I experience black and white screens, blank windows, windows not updating, and system hangs (host). I experience this with both GPUs and TB adapters.

$ for iommu_group in $(find /sys/kernel/iommu_groups/ -maxdepth 1 -mindepth 1 -type d); do echo "IOMMU group $(basename "$iommu_group")"; for device in $(\ls -1 "$iommu_group"/devices/); do echo -n $'\t'; lspci -nns "$device"; done; done

IOMMU group 7
	00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:9d10] (rev f1)
	00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 [8086:9d14] (rev f1)
	00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 [8086:9d15] (rev f1)
	01:00.0 PCI bridge [0604]: Intel Corporation DSL5110 Thunderbolt Bridge [Falcon Ridge LP 2014] [8086:1576]
	02:00.0 PCI bridge [0604]: Intel Corporation DSL5110 Thunderbolt Bridge [Falcon Ridge LP 2014] [8086:1576]
	02:01.0 PCI bridge [0604]: Intel Corporation DSL5110 Thunderbolt Bridge [Falcon Ridge LP 2014] [8086:1576]
	02:02.0 PCI bridge [0604]: Intel Corporation DSL5110 Thunderbolt Bridge [Falcon Ridge LP 2014] [8086:1576]
	03:00.0 System peripheral [0880]: Intel Corporation DSL5110 Thunderbolt NHI [Falcon Ridge LP 2014] [8086:1575]
	04:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	05:01.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	05:04.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)
	06:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)
	07:00.0 USB controller [0c03]: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Ridge] [8086:15b6]
	3a:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 2a)
	3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
IOMMU group 5
	00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
IOMMU group 3
	00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
	00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
IOMMU group 1
	00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Graphics 540 [8086:1926] (rev 0a)
IOMMU group 8
	00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:9d18] (rev f1)
	3c:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller [144d:a802] (rev 01)
IOMMU group 6
	00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
IOMMU group 4
	00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
	00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
IOMMU group 2
	00:04.0 Signal processing controller [1180]: Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] (rev 09)
IOMMU group 0
	00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:1904] (rev 09)
IOMMU group 9
	00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
	00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
	00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
	00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)

$ cat /etc/modprobe.d/vfio.conf

options vfio-pci ids=10de:13c2,10de:0fbb,8086:15b6,8086:24f3,10ec:525a

Has anyone attempted this, or have any advice?

Offline

#2 2016-10-16 07:55:00

dispicio
Member
Registered: 2015-09-28
Posts: 1

Re: XPS 9350 Thunderbolt 3 eGPU PCI Passthrough

Did you find a solution for this problem?

I am thinking about doing the same thing (need to use some productivity tools in a VM).
Do you think an AMD GPU would work or is this problem related to the laptop?

Offline

Board footer

Powered by FluxBB