[Spice-devel] Spice console pixelated noise on display changes

Mitja Mihelič mitja.mihelic at arnes.si
Wed Jul 11 08:45:08 UTC 2018


On 05/07/2018 17:04, Mitja Mihelič wrote:
>
>
> On 05/07/2018 16:56, Mitja Mihelič wrote:
>>
>>
>> On 19/06/2018 10:09, Victor Toso wrote:
>>> Hi,
>>>
>>> On Mon, Jun 18, 2018 at 04:23:32PM +0200, Mitja Mihelič wrote:
>>>>>> Does it work fine with remote-viewer?
>>> Question ^
>>>
>>>>>> You could try different image compression too,
>>>>>> e.g image-compression=off
>>>>>> https://people.freedesktop.org/~teuf/spice-doc/html/ch03.html
>>>>>>
>>>>>> Cheers,
>>>>>>           toso
>>>>>>
>>>>>>> Why would this be happening? Help would be very much
>>>>>>> appreciated.
>>>>>>>
>>>>>>> Kind regards,
>>>>>>> Mitja
>>>>>>>
>>>>> I would also try to download a new version of spice-html5 and use
>>>>> it directly to see if the problem is fixed.
>>>>>
>>>>> Note that you can set image compression using libvirt like
>>>>>
>>>>>     <graphics type='spice' port='5901' autoport='no'>
>>>>>       <image compression='auto_glz'/>
>>>>>     </graphics>
>>>>>
>>>>> (note the "image" element inside "graphics").
>>>>>
>>>>> Frediano
>>>> Where would I set those options?
>>> You must have access to the host which is the computer running
>>> qemu and run `virsh edit $domain` for the xml file
>>>
>>>          toso
>> Here are the sections containing the string "spice".
>>
>>     <channel type='spicevmc'>
>>       <target type='virtio' name='com.redhat.spice.0'/>
>>       <address type='virtio-serial' controller='0' bus='0' port='3'/>
>>     </channel>
>> ...
>>     <graphics type='spice' autoport='yes' keymap='en-us' 
>> defaultMode='secure' passwd='*****' passwdValidTo='1970-01-01T00:00:01'>
>>       <listen type='network' network='vdsm-ovirtmgmt'/>
>>       <channel name='main' mode='secure'/>
>>       <channel name='display' mode='secure'/>
>>       <channel name='inputs' mode='secure'/>
>>       <channel name='cursor' mode='secure'/>
>>       <channel name='playback' mode='secure'/>
>>       <channel name='record' mode='secure'/>
>>       <channel name='smartcard' mode='secure'/>
>>       <channel name='usbredir' mode='secure'/>
>>     </graphics>
>>
>> Is there anything else I should be looking at?
>>
>> Kind regards,
>> Mitja
> The previous output was taken from a server, where SPICE works. This 
> one is from a server that produces the initially described issue. The 
> only difference I see are the passwd and passwdValidTo settings.
>
>     <channel type='spicevmc'>
>       <target type='virtio' name='com.redhat.spice.0'/>
>       <address type='virtio-serial' controller='0' bus='0' port='3'/>
>     </channel>
> ...
>     <graphics type='spice' autoport='yes' keymap='en-us' 
> defaultMode='secure'>
>       <listen type='network' network='vdsm-ovirtmgmt'/>
>       <channel name='main' mode='secure'/>
>       <channel name='display' mode='secure'/>
>       <channel name='inputs' mode='secure'/>
>       <channel name='cursor' mode='secure'/>
>       <channel name='playback' mode='secure'/>
>       <channel name='record' mode='secure'/>
>       <channel name='smartcard' mode='secure'/>
>       <channel name='usbredir' mode='secure'/>
>     </graphics>
>
> Kind regards,
> Mitja
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Answering the question for posterity.
We found a temporary solution to the described problem.
We had an oVirt development cluster with a working SPICE console. By 
comparing packages we have established the differences between working 
and not working SPICE setup. We have isolated the spice-server package.
The installed version was spice-server-0.14.0-2.el7_5.3.x86_64
We downgraded the package to spice-server-0.12.8-2.el7.1.x86_64 and 
rebooted the nodes in sequence.
Now the SPICE console works again.

Kind regards,
Mitja


More information about the Spice-devel mailing list