Page MenuHomeSolus

QEMU doesn't support SPICE OpenGL
Closed, ResolvedPublic

Description

I am trying to create a Windows QEMU guest with access to my Optimus Nvidia card so that I don't have to dual boot and deal with Windows asserting itself as the default EFI bootloader. I've attempted to do this using virt-manager with QXL as a video driver and SPICE as the display server, with the OpenGL option enabled and my Nvidia card selected. When I try to start the virtual machine, I receive the following error:

Error starting domain: unsupported configuration: This QEMU doesn't support spice OpenGL

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 82, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1489, in startup
    self._backend.create()
  File "/usr/lib/python2.7/site-packages/libvirt.py", line 1062, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unsupported configuration: This QEMU doesn't support spice OpenGL

OpenGL seems to be enabled in the QEMU and SPICE packages, however it looks like the problem is that SPICE OpenGL support in QEMU checks for a SPICE version of at least 0.13.1, while the latest stable is 0.12.8. Here is the relevant QEMU commit that shows the hardcoded version check.

It would be nice (for me) if Solus were to update SPICE to 0.13.3 (latest development version), but this issue is more to make the devs aware that this is a problem.