Skip to contentSkip to conversation

Question and probable bug in qemu spice's parameters

Qemu-devel Fabio Fantoni 2 participants 3 messages Jan 9, 2015

lore
Share & tools
lore
#0 lore raw

In qemu docs seems that spice streaming video is default to "filter" but after this patch seems default to "off" without updating qemu-options.hx file: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=f1d3e586f069e17f83b669842bc02d60d509daca
What is the correct default actually?

If I specify spice image compression, qemu doesn't start and gives me this error:
spice: invalid stream video control: (null)

To solve I have to set also qemu spice's streaming video parameters.

Why qemu doesn't take automatically the default of spice image compression in this case?

Thanks for any reply.

#1 lore raw
Quoted 5 lines · Fabio Fantoni

In qemu docs seems that spice streaming video is default to "filter" but after this patch seems default to "off" without updating qemu-options.hx file:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=f1d3e586f069e17f83b669842bc02d60d509daca
What is the correct default actually?

It should be filter, but the filter heuristics actually has trouble distinguishing real videos from gnome desktop, resulting in bad display quality. Switching to "off" was meant to be a temporary stopgap for that.

Anyone can comment what is the state here? Became the heuristic better meanwhile, so we can flip it back to filter? Otherwise we should probably fixup the docs to match reality ...

Quoted 3 lines

If I specify spice image compression, qemu doesn't start and gives me this error:
spice: invalid stream video control: (null)

Hmm, can't reproduce.
What is the exact command line leading to this error?

cheers,
Gerd

#2 lore raw

Il 09/01/2015 12:23, Gerd Hoffmann ha scritto:

Quoted 15 lines · Fabio Fantoni
Quoted 5 lines

In qemu docs seems that spice streaming video is default to "filter" but after this patch seems default to "off" without updating qemu-options.hx file:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=f1d3e586f069e17f83b669842bc02d60d509daca
What is the correct default actually?

It should be filter, but the filter heuristics actually has trouble distinguishing real videos from gnome desktop, resulting in bad display quality. Switching to "off" was meant to be a temporary stopgap for that.

Anyone can comment what is the state here? Became the heuristic better meanwhile, so we can flip it back to filter? Otherwise we should probably fixup the docs to match reality ...

Quoted 5 lines
Quoted 3 lines

If I specify spice image compression, qemu doesn't start and gives me this error:
spice: invalid stream video control: (null)

Hmm, can't reproduce.
What is the exact command line leading to this error?

Sorry, I saw only now that this is caused by my mistake in one libxl patch to implement it.

Quoted 5 lines

cheers,
Gerd