[libvirt-users] GPU passthrough - MSI R9 380 4GB, works only ONCE

David Hlacik david at hlacik.eu
Sun Feb 7 17:04:19 UTC 2016

Hello guys,

I have a problem when using my MSI R9 380 4G graphic card as GPU
passthrough with KVM.

At the first linux boot (Fedora 23) I am able to successfully start virtual
machine and it works!

However if i will shut down virtual machine and start it again - the screen
will stay blank!

So far I have been able to find on the internet that some graphic cards
just can not reinitialize itself when there is no power off/on, which could
be the case of mine as well.
Also I am very much surprised that this graphic card has no UEFI rom!

Any help would be appreciated

[root at brutus-coreos ~]# virsh start winos1
Domain winos1 started

dmesg output after second boot of the virtual machine winos1

[  338.346776] input: Microsoft Microsoft® Nano Transceiver v2.0 as
[  338.397715] hid-generic 0003:045E:0800.0007: input,hidraw0: USB HID
v1.11 Keyboard [Microsoft Microsoft® Nano Transceiver v2.0] on
[  338.402847] input: Microsoft Microsoft® Nano Transceiver v2.0 as
[  338.403605] hid-generic 0003:045E:0800.0008: input,hidraw1: USB HID
v1.11 Mouse [Microsoft Microsoft® Nano Transceiver v2.0] on
[  338.419310] input: Microsoft Microsoft® Nano Transceiver v2.0 as
[  338.470855] hid-generic 0003:045E:0800.0009: input,hiddev0,hidraw2: USB
HID v1.11 Device [Microsoft Microsoft® Nano Transceiver v2.0] on
[  754.055255] vgaarb: device changed decodes:
[  754.087966] xhci_hcd 0000:00:14.0: remove, state 4
[  754.087982] usb usb2: USB disconnect, device number 1
[  754.090201] xhci_hcd 0000:00:14.0: USB bus 2 deregistered
[  754.090399] xhci_hcd 0000:00:14.0: remove, state 1
[  754.090409] usb usb1: USB disconnect, device number 1
[  754.090413] usb 1-2: USB disconnect, device number 2
[  754.090964] usb 1-8: USB disconnect, device number 3
[  754.091904] usb 1-10: USB disconnect, device number 4
[  754.222281] xhci_hcd 0000:00:14.0: USB bus 1 deregistered
[  755.359725] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19 at 0x270
[  755.359733] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x1b at 0x2d0
[  755.384598] vfio-pci 0000:03:00.0: enabling device (0000 -> 0002)
[  755.485743] vfio_ecap_init: 0000:03:00.0 hiding ecap 0x1e at 0x154

screen is blank - I have to reboot my Linux machine in order to be able to
start this virtual machine once again

David Hlacik

+420-777-307-745 | david at hlacik.cz

[image: View David Hlacik's profile on LinkedIn]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160207/8dc7410e/attachment.htm>

More information about the libvirt-users mailing list