You are not logged in.

#1 2022-06-08 20:01:39

NeroBurner
Member
Registered: 2013-09-05
Posts: 30

[SOLVED] libvirsh 8.4.0 can't start vm as spicevmc needs spice graphic

Upgrading to libvirsh-1:8.4.0-1 leads to the following error when I want to start my VM:

    chardev 'spicevmc' not supported without spice graphics

It is a VM with the GPU passed through with OVMF. So I don't have a spice display. But I still need the spicevmc channel to pass through USB devices

Downgrading to libvirsh-1:8.3.0-1 enabled me to start the VM again

    sudo pacman -U /var/cache/pacman/pkg/libvirt-1\:8.3.0-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/libvirt-python-1:8.3.0-1-x86_64.pkg.tar.zst
    sudo systemctl restart libvirtd

Can I do something else to make my VM work with libvirsh-1:8.4.0-1? Downgrading is just a temporary workaround

Last edited by NeroBurner (2022-06-11 09:50:32)

Offline

#2 2022-06-09 06:08:50

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] libvirsh 8.4.0 can't start vm as spicevmc needs spice graphic

Please post the full configuration.


sys2064

Offline

#3 2022-06-10 20:48:41

NeroBurner
Member
Registered: 2013-09-05
Posts: 30

Re: [SOLVED] libvirsh 8.4.0 can't start vm as spicevmc needs spice graphic

Offline

#4 2022-06-11 01:20:07

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] libvirsh 8.4.0 can't start vm as spicevmc needs spice graphic

NeroBurner wrote:

I don't have a spice display.

Try to add Spice/display/none.


sys2064

Offline

#5 2022-06-11 09:45:56

NeroBurner
Member
Registered: 2013-09-05
Posts: 30

Re: [SOLVED] libvirsh 8.4.0 can't start vm as spicevmc needs spice graphic

I've added "Video none"

<video>
  <model type="none"/>
</video>

but that didn't work (same error message as before)

Did I add the wrong one?

Offline

#6 2022-06-11 09:49:29

NeroBurner
Member
Registered: 2013-09-05
Posts: 30

Re: [SOLVED] libvirsh 8.4.0 can't start vm as spicevmc needs spice graphic

Additionally added Display Spice with listen type none

<graphics type="spice">
  <listen type="none"/>
  <image compression="off"/>
  <gl enable="no"/>
</graphics>

And now it works. Thanks!

Can't remove the "video None" from before, but the output still goes over the NVidia GPU connected display

Offline

#7 2022-06-13 08:34:33

unnilquadium
Member
Registered: 2017-08-27
Posts: 70

Re: [SOLVED] libvirsh 8.4.0 can't start vm as spicevmc needs spice graphic

For information:

As a temporary workaround you can also downgrade libvirt. This way you don't have to alter your xml file.

I "fixed" it by downgrading both libvirt and libvirt-python to version 1:8.3.0-1.

Last edited by unnilquadium (2022-06-13 09:52:46)

Offline

Board footer

Powered by FluxBB