You are not logged in.

#1 2016-12-04 07:56:24

Rojikku
Member
Registered: 2014-07-01
Posts: 31

[Solved] QEMU PCIe Passthrough with OVMF monitor not displaying

I have Arch as my host, Windows 10 as my Guest.
My motherboard is a Gigabyte Z170X-Gaming 7. My processors is a 6700k.
As far as I can tell, VT-d and IOMMU are both working. I can list IOMMU groups, and have this output for dmesg. https://pastebin.com/Jrisqzz9 ; Here is an unfiltered dmesg in case someone wants that. https://pastebin.com/p9RBN6sD

Here are my IOMMU groups https://pastebin.com/bTgFVTsb .
I am using the card in group 7, my 660TI, for passthrough. The AMD card is running on the host. I PCI passthroughed 07 and 07:00.1- being the graphics and sound cards for the 660TI in Virt-Manager. It gives me no errors when starting the machine, however if I remove the spice session and just try to start it, my screen remains in sleep mode and black. Meaning the card isn't sending anything through HDMI, since I checked the connection.
It doesn't give errors, nouveau is blacklists, and the addresses are in the vfio file. I assume if that part was wrong, it would give me an error, or freeze, or otherwise create an issue.
Screenshot of Virt-Manager: https://puu.sh/sDEma/c439339913.png

Any ideas as to why this isn't working? I'm not sure if this is the correct forum, and hopefully someone has ideas.

Last edited by Rojikku (2016-12-05 03:35:08)

Offline

#2 2016-12-04 10:51:50

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: [Solved] QEMU PCIe Passthrough with OVMF monitor not displaying

Have you tried to hide the hypervisor signature?  See: Here.  That could be it.

Offline

#3 2016-12-04 18:53:07

Rojikku
Member
Registered: 2014-07-01
Posts: 31

Re: [Solved] QEMU PCIe Passthrough with OVMF monitor not displaying

My CPU Configuration is set to host-passthrough. I'm trying to figure out how tp ass the kvm=off through Virt-Manager now, if that isn't it.

Edit: Is it worth mentioning that this is the first boot, and I don't have any drivers installed yet, nor is the UEFI flashing on the monitor?

Edit: FIgured it out. Sudo EDITOR=vim virsh edit win10 and then some messing around in the XML. However, this still doesn't appear to work, as the screen remains as dark as before. If not for the fact I'd investigated three times, I'd just think the monitor was unplugged.

Edit: Current research suggests I'm an idiot, and my 660TI does not support EFI booting, thus the issue.

Last edited by Rojikku (2016-12-04 20:09:24)

Offline

#4 2016-12-05 04:40:07

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: [Solved] QEMU PCIe Passthrough with OVMF monitor not displaying

Rojikku wrote:

Current research suggests I'm an idiot, and my 660TI does not support EFI booting, thus the issue.

Yes, to boot in UEFI-mode all the hardware must have UEFI firmware in them.  That UEFI firmware in each device is a bytecode driver that your UEFI motherboard calls as needed.  Without it, no UEFI-mode.

Offline

Board footer

Powered by FluxBB