HI! I'm on an arch linux host and trying to run win10 in a VM.
I have two GPUs: the one in my CPU(i5-6400, HD 530) and an nvidia 1060 3gb. My monitors are connected to the nvidia gpu.
I've managed to setup GVT-g, but I can't use DMA-BUF to view the screen.
I've installed the drivers and I can set a resolution. It even boots with only the GVT-g GPU and I had keyboard input: I could shut it down by using win10 keyboard shortcuts. But there is no image. The QEMU window says "Guest has not initialized the display (yet)."
I've tried using spice but that too only shows the emulated GPU and it has an even worse performance.
Once in a while windows crashes on boot, and sometimes I get "bad address" errors.
qemu-system-x86_64: vfio_region_write(77fe23a8-d315-47a0-9078-9f441f8a441c:region0+0x2080, 0x0,4) failed: Bad address
qemu-system-x86_64: vfio_region_write(77fe23a8-d315-47a0-9078-9f441f8a441c:region0+0x12080, 0x0,4) failed: Bad address
qemu-system-x86_64: vfio_region_write(77fe23a8-d315-47a0-9078-9f441f8a441c:region0+0x22080, 0x0,4) failed: Bad address
qemu-system-x86_64: vfio_region_write(77fe23a8-d315-47a0-9078-9f441f8a441c:region0+0x1a080, 0x0,4) failed: Bad address
(77fe23a8-d315-47a0-9078-9f441f8a441c being the UUID I've used for GVT-g)
Other strange issue I ran into is that with GTK if I use gl=on not even the emulated GPU's image is visible.
QEMU version: 5.2.0 (arch official build)
uname: Linux ARCHPC 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64 GNU/Linux
Launch script:
#!/bin/sh
GVT_GUID=77fe23a8-d315-47a0-9078-9f441f8a441c
qemu-system-x86_64 \
-enable-kvm \
-cpu host -smp 4 -m 4G \
-vga none \
-display sdl,gl=on \
-device vfio-pci,sysfsdev=/sys/bus/mdev/devices/$GVT_GUID,display=on,x-igd-opregion=on \
testing.img
HI! I'm on an arch linux host and trying to run win10 in a VM.
I have two GPUs: the one in my CPU(i5-6400, HD 530) and an nvidia 1060 3gb. My monitors are connected to the nvidia gpu.
I've managed to setup GVT-g, but I can't use DMA-BUF to view the screen.
I've installed the drivers and I can set a resolution. It even boots with only the GVT-g GPU and I had keyboard input: I could shut it down by using win10 keyboard shortcuts. But there is no image. The QEMU window says "Guest has not initialized the display (yet)."
I've tried using spice but that too only shows the emulated GPU and it has an even worse performance.
Once in a while windows crashes on boot, and sometimes I get "bad address" errors.
(77fe23a8-d315-47a0-9078-9f441f8a441c being the UUID I've used for GVT-g)
Other strange issue I ran into is that with GTK if I use
gl=onnot even the emulated GPU's image is visible.QEMU version: 5.2.0 (arch official build)
uname: Linux ARCHPC 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64 GNU/Linux
Launch script: