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

Mitja Mihelič mitja.mihelic at arnes.si
Thu Jul 5 15:04:58 UTC 2018



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


More information about the Spice-devel mailing list