id = 1891
title = "qemu 8.1.0 breaks gvt-g + qemu-ui-gtk w gl=on (black screen, qemu: eglCreateImageKHR failed)"
state = "closed"
created_at = "2023-09-15T10:25:40.593Z"
closed_at = "2023-10-10T01:28:04.205Z"
labels = ["GUI::GTK", "Stable::to backport", "VFIO", "host: x86", "workflow::Patch available"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1891"
host-os = "Manjaro latest, Artix latest"
host-arch = "x86_64"
qemu-version = "QEMU emulator version 8.1.0"
guest-os = "Windows 10 21H1"
guest-arch = "x86_64"
description = """As of 8.1.0, qemu-ui-gtk renders a black window with the error `qemu: eglCreateImageKHR failed` repeatedly appearing in the command line.
#"""
reproduce = """1. enable kernel modules, set parameters etc.
2. create vgpu
`echo "$GVT_GUID" > "/sys/devices/pci0000:00/0000:00:02.0/mdev_supported_types/i915-GVTg_V4_2/create"`
3. launch VM
4. wait
Instructions (a small part of which I wrote by trial and error) for the setup are on the [Arch Wiki](https://wiki.archlinux.org/title/Intel_GVT-g).
#"""
additional = """Windows is installed directly to a second SSD, I dual-boot it.
I've been using this exact VM, from libvirt, for almost two years.
relevant sections:
```
```
The patched vBIOS necessary to use DMA-BUF with OVMF is linked there too, but its [successors](https://github.com/patmagauran/i915ovmfPkg) doesn't work either.
#"""