You are not logged in.

#1 2017-02-17 21:32:15

Haroon
Member
From: Germany
Registered: 2017-02-14
Posts: 24

[solved] GPU passthrough system doesn't boot after GPU is bound

SOLVED: The system is still grabbing my guest gpu for output and not the host gpu, thats why it looked like my system wasn't booting. I found this out by installing ssh and seeing if I could connect or not, which I was able to.

Mainboard: Gigabyte H77-DS3H
CPU: XEON-E3-1230-v2
GUEST GPU for Gaming in the VM: VTX3D R9 390
HOST GPU for Arch Desktop Environment: ATI HD 3450.

Hello everyone

I'm trying to get PCI passthough working and I'm following the guide on the wiki for it. I'm currently stuck Isolating the GPU.

I can isolate the GPU using pci-stub, but not using vfio-pci. But I think pci-stub doesn't work corrctly either, because my guest gpu is still the main video output source and my host gpu isn't getting used as the main video output. further more since the guest gpu is claimed by pci-stub drivers I have a very bad resolution in the terminal. I can't run a desktop environment the startxfce4 won't event start it just gives back a error.

The computer doesn't boot futher than this and I can't figure out why.

:running early hook[udev]
starting version 232

I edit vfio.conf and execute mkinitcpio -p linux-vfio.

$cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:67b1,1002:aac8
$cat /etc/mkinitcpio.conf
...
MODULES="vfio vfio_iommu_type1 vfio_pci vfio_virqfd"
...
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
...

I have the following IOMMU groups for my setup, If I use pcie_acs_override=downstream as a boot parameter in refind.conf the GPU is in it's own iommu group, but that still doesn't make my system boot, so I disabled it again.

...
IOMMU Group 14 06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV620 LE [Radeon HD 3450] [1002:95c5]
IOMMU Group 14 06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RV620 HDMI Audio [Radeon HD 3450/3470/3550/3570] [1002:aa28]
IOMMU Group 1 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
IOMMU Group 1 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] [1002:67b1] (rev 80)
IOMMU Group 1 01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X] [1002:aac8]
...

Regards

Last edited by Haroon (2017-02-23 20:05:06)

Offline

#2 2017-02-21 17:24:42

Haroon
Member
From: Germany
Registered: 2017-02-14
Posts: 24

Re: [solved] GPU passthrough system doesn't boot after GPU is bound

Hello I edited the original post I reduced unnecessary information gave a bit about my hardware. I hope someone will be able to assist me.
If I forgot information please let me know.

Last edited by Haroon (2017-02-21 17:32:05)

Offline

Board footer

Powered by FluxBB