Whenever, I try to enable 3D acceleration on any of my vms in virt-manager by changing video to Virtio, turning on 3D acceleration, changing Listen type to None and enabling OpenGL I get this error message:
Error starting domain: internal error: process exited while connecting to monitor: 2022-02-20T20:56:39.150589Z qemu-system-x86_64: egl: eglInitialize failed
2022-02-20T20:56:39.150663Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 101, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1329, in startup
self._backend.create()
File "/usr/lib/python3.10/site-packages/libvirt.py", line 1353, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: process exited while connecting to monitor: 2022-02-20T20:56:39.150589Z qemu-system-x86_64: egl: eglInitialize failed
2022-02-20T20:56:39.150663Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL
I am using runit.
I used virtualbox before, and 3d acceleration worked there without any issues, if that matters.