Closed zombielinux closed 1 year ago
A bit more digging shows the vfio_mdev.ko
module was last built properly into the kernel at 5.13.0.52-generic.
The solution. View the example config here: https://github.com/libvirt/libvirt/blob/master/tests/qemuxml2argvdata/hostdev-mdev-display-vnc-egl-headless.xml
I was missing:
<graphics type='egl-headless'>
<gl rendernode='/dev/dri/renderD128'/>
</graphics>
I previously followed the Archlinux wiki page to get GVT-g functioning on my Dell Precision 5540.
I'm running Ubuntu 20.04 Kernel: 5.15.0-67-generic Kernel boot line:
BOOT_IMAGE=/vmlinuz-5.15.0-67-generic root=/dev/mapper/vgubuntu-root ro quiet splash intel_iommu=on i915.enable_gvt=1 i915.enable_guc=0 kvm.ignore_msrs=1 mem_sleep_default=deep vt.handoff=7
libvirtd: 6.0.0 qemu-system-x86_64: 4.2.1At some point between now and May of last year, the installation no longer functioned and fails with the cryptic message
dmesg doesn't show anything being "DENIED"
systemctl status libvirtd
shows1a9995f6-f772-47c6-ae1e-85bef9bc604b is the UUID of my GVT-g device.
/sys/bus/pci/devices/0000\:00\:02.0/1a9995f6-f772-47c6-ae1e-85bef9bc604b/
is present and a valid path owned byroot:root
Curiously,
/sys/bus/pci/devices/0000\:00\:02.0/1a9995f6-f772-47c6-ae1e-85bef9bc604b/driver
points to/sys/bus/mdev/drivers/vfio_mdev
but I vaguely recall that being reincorporated somewhere else. Trying tomodprobe vfio_mdev
yeildsmodprobe: FATAL: Module vfio_mdev not found in directory /lib/modules/5.15.0-67-generic
At this point, I've tugged on all the threads I can think of.