You are not logged in.

#1 2017-03-03 23:27:39

FeelsBanjoMan
Member
Registered: 2017-03-03
Posts: 2

[SOLVED] PCI Passthrough - IOMMU issues

Hey there!

I've been trying to pass my GTX 1070 through to a Windows 10 VM via PCI Passthrough.

Specifications:
Motherboard: ASUS X99-E WS
CPU: i7 5820k
GPU1: GTX 760
GPU2: GTX 1070

The only component I'm unsure about being compatible with IOMMU is my motherboard, I've only one person claiming to be running a PCI passthrough setup on this motherboard and I haven't been able to locate their post again.

I followed the Arch wiki page on PCI passthrough (https://wiki.archlinux.org/index.php/PC … h_via_OVMF).

I started by check whether or not Intel Virtualization Technology was enabled in my UEFI, which it was.

I modified my /boot/loader/entries/arch.conf file to look likes this:

title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID=868e8296-68d4-40d2-9860-7827226f4475 rw quiet splash intel_iommu=on


dmesg|grep -e DMAR -e IOMMU

gave me this output:

[    0.000000] DMAR: IOMMU enabled

Afterwards I ran the script provided below

#!/bin/bash
shopt -s nullglob
for d in /sys/kernel/iommu_groups/*/devices/*; do 
    n=${d#*/iommu_groups/*}; n=${n%%/*}
    printf 'IOMMU Group %s ' "$n"
    lspci -nns "${d##*/}"
done;

Which gave me no output, but I went on anyway.

[h1]Just including this part in case there is any relevant information to be found.[/h1]

Output of lspci

Output of lspci -nk

Output of lspci -nnk

I followed the vfio-pci method.

Output of

dmesg | grep -i vfio

[    5.802933] VFIO - User Level meta-driver version: 0.3
[    5.804991] vfio-pci: probe of 0000:06:00.0 failed with error -22
[    5.804995] vfio_pci: add [10de:1b81[ffff:ffff]] class 0x000000/00000000
[    5.805010] vfio-pci: probe of 0000:06:00.0 failed with error -22
[    5.805016] vfio-pci: probe of 0000:06:00.1 failed with error -22
[    5.805019] vfio_pci: add [10de:10f0[ffff:ffff]] class 0x000000/00000000

I cut this post short after being inexplicably not logged after hitting submit last time and losing the entire thing which cost me about 2 hours to fully write out sad .

Please let me know if I've left out anything relevant!

Any and all help would be appreciated!

EDIT: Forgot to mention my Google searches in this one.

I was searching on and off for a few days most of my search terms were a combination of: iommu; iommu groups; asus x99-e ws; systemd-boot; pci passthrough,

Despite looking through all the results that seemed even mildly relevant to my issues, I couldn't find any real solution.

Last edited by FeelsBanjoMan (2017-03-04 10:46:15)


Intel Core i7 5820k
ASUS X99-E WS
16GB DDR4
GTX 760, GTX 1070

Offline

#2 2017-03-04 01:41:08

metaphorex0
Member
Registered: 2016-09-09
Posts: 2

Re: [SOLVED] PCI Passthrough - IOMMU issues

Have you enabled vt-d in BIOS?
Intel Virtualization Technology isn't the same as vt-d, I had the same problem recently.

Last edited by metaphorex0 (2017-03-04 01:42:18)

Offline

#3 2017-03-04 10:33:55

FeelsBanjoMan
Member
Registered: 2017-03-03
Posts: 2

Re: [SOLVED] PCI Passthrough - IOMMU issues

metaphorex0 wrote:

Have you enabled vt-d in BIOS?
Intel Virtualization Technology isn't the same as vt-d, I had the same problem recently.

That was it! Thank you very much!

It was in Advanced -> System Agent, I thought they just clumped VT-x and VT-d together. hmm


Intel Core i7 5820k
ASUS X99-E WS
16GB DDR4
GTX 760, GTX 1070

Offline

#4 2017-04-26 20:23:32

agrajag9
Member
Registered: 2017-04-26
Posts: 1

Re: [SOLVED] PCI Passthrough - IOMMU issues

@FeelsBanjoMan - could you post your IOMMU groups and physical layout for your system? I'm looking into purchasing the same board and was curious how well the IOMMU groups are configured.

Offline

Board footer

Powered by FluxBB