I have submitted the patch upstream to the libvirt mailing list. I don't feel qualified to assert that giving the VM read access to those sysfs files is the right fix, but it did resolve the issue for me.
I noticed that GNOME-Boxes bug too while troubleshooting this. I did not try the egl-headless suggestion at the end of the thread, but did attempt to set the env var "MESA_LOADER_DRIVER_OVERRIDE=i965", which still resulted in a blank display for me. It is unclear to me whether the "qemu_spice_gl_scanout_texture: failed to get fd for texture" message is specific to this issue, or if it would occur in a broad class of errors where the graphics fails to initialize. In my case, this is running on an i7-1165G7 Framework laptop with Mesa Intel(R) Xe Graphics (TGL GT2) (0x9a49). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1972075 Title: Blank screen when viewing GL-accelerated virtio screen on 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1972075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs