[vfio-users] W10: installing RX Vega 56 drivers locks up VM

Tmplt tmplt at dragons.rocks
Thu Mar 28 18:58:37 UTC 2019


I recently bought a Sapphire Radeon RX Vega 56 to replace my VMs GTX
970. On an ASUS Z97-A with Linux 4.19.8 (with the ACS override patch,
and the Vega reset hack[0]), QEMU 3.0.0 and libvirt 4.5.0 I successfully
isolate the GPU and can start the VM without having to reset the card.

Problem occurs when I try to install drivers: towards the end of the
installation the screen blacks out and the VM seemingly freezes. When I
try to reboot the VM it locks up when Windows is loading (during GPU
driver initialization, I figure). This also occurs if I remove the reset
hack patch, start the VM from a host reboot, and if I try resetting the
card first (with and without [0]). During this freeze one of the four
dedicated cores are at 100% load and `dmesg` gives me

  kvm [4642]: vcpu0, guest rIP: 0xfffff80422786067 ignored rdmsr: 0x641
  kvm [4642]: vcpu0, guest rIP: 0xfffff8042278607d ignored rdmsr: 0x606
  kvm [4642]: vcpu0, guest rIP: 0xfffff80422786261 ignored rdmsr: 0x606
  kvm [4642]: vcpu0, guest rIP: 0xfffff804227810dc ignored rdmsr: 0x641

As far as I can tell, I'm using W10 build 14393 (output from the command
`ver`).

Is there something I've missed here? I'm using the i440FX architecture
with OVMF UEFI firmware. VM XML is attached.

Cheers.

[0] https://gist.github.com/numinit/1bbabff521e0451e5470d740e0eb82fd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vm.xml
Type: text/xml
Size: 5000 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20190328/1b1c2f93/attachment.xml>


More information about the vfio-users mailing list