You are not logged in.

#1 2016-08-01 20:08:46

dali99
Member
From: Norway, Vestfold
Registered: 2016-08-01
Posts: 5

qemu vm using OVMF UEFI windows blackscreen...

qemu vm using OVMF UEFI windows blackscreen after "starting windows"

I'm trying to follow the PCI_passthrough_via_OVMF guide on the wiki.

sadly I'm getting stuck trying to actually install windows to the EFI VM

Using QXL the VM freezes on "starting windows" after loading the windows installation files
Using Cirrus the VM goes to a black screen after "starting windows"

Here's a video showing what happens https://www.youtube.com/watch?edit=vd&v=VvHM1ANt4k4

What I've tried:
    libvirt KVM/qemu
        BIOS
            With BIOS windows installation successfully completed and I was granted a windows desktop
        UEFI
            Both iso and passthroughing a thumbdrive created with rufus specifically for UEFI booting failed in the above ways
    VMware Workstation 12
        UEFI
            Booting and installing worked fine and I was greeted with a working desktop
            Workstation doesn't support GPU passthrough.
     Using the virtual disks created by the VMWare VM in qemu bluescreened and started up the windows start up reparation tool, which blackscreened just as the the normal UEFI install did.

My specs:
Intel i7 - 4770K - Using CPU graphics on host
MSI R9 290 - running the vfio-pci driver
Asus Z97-E Motherboard
Linux kernel: 4.6.4-1-vfio

I don't know if there are any logs that would be of help.
But I've been googling and trying things for three days. So if anyone would be able to help. I'd be very thankful!

Last edited by dali99 (2016-08-22 19:50:23)

Offline

#2 2016-08-22 15:10:31

dali99
Member
From: Norway, Vestfold
Registered: 2016-08-01
Posts: 5

Re: qemu vm using OVMF UEFI windows blackscreen...

After trying out Windows 8.1, it did get to the install screen. So Windows 8.1 works at least.

When googling about this issue Ive found a lot of threads telling me to build OVMF myself, but all these threads are from 2014 - early 2015. And ovmf-git in the AUR seems to be up to date.

Do anyone know if perhaps there's some kind of flag I have to add when building OVMF from the AUR? To have it be compatible with Windows 7?

Offline

#3 2016-08-22 19:30:29

dali99
Member
From: Norway, Vestfold
Registered: 2016-08-01
Posts: 5

Re: qemu vm using OVMF UEFI windows blackscreen...

The issue was in qemu https://bugzilla.redhat.com/show_bug.cgi?id=1339267
This was supposed to be fixed in 2.6.1, but I could not get that to work
Compiling 2.7 did fix it however.

You can easilly compile 2.7 with yaourt, but you have to edit the packagefile to enable building with spice and its dependencies spice, and spice-protocol!

Looks like I celebrated too soon... I forgot to switch from BIOS to OVMF hmm

Last edited by dali99 (2016-08-22 19:50:04)

Offline

#4 2017-01-10 10:52:31

josh1707
Member
Registered: 2017-01-10
Posts: 1

Re: qemu vm using OVMF UEFI windows blackscreen...

I have the same problem.
Have you slove this problem?
How to switch from BIOS to OVMF?

Offline

#5 2017-01-26 15:54:56

timofonic
Member
Registered: 2007-05-15
Posts: 47

Re: qemu vm using OVMF UEFI windows blackscreen...

I'm interesting in knowing the solution about this too.

Offline

#6 2017-02-08 01:03:48

psfan
Member
Registered: 2017-02-08
Posts: 1

Re: qemu vm using OVMF UEFI windows blackscreen...

I also met this problem and not solved yet...

Offline

Board footer

Powered by FluxBB