GNOME Bugzilla – Bug 692204
Chose better compression options for local VMs
Last modified: 2016-03-31 14:02:49 UTC
Boxes created VMs are always local, which means very high bandwidth and low latency. This means its probably a waste of time to compress images. We should experiment with just disabling image compression and make the video streaming not use compression.
I think we want: <image compression='off'> <jpeg compression='never'> <zlib compression='never'> <playback compression='off'> Unfortunately there is no way to set the streaming mode compression. Its always using jpeg. And we don't want to disable it as that looses e.g. lip-sync.
I tried this, and it indeed feels faster. However it also gives me some weird kind of drawing artifacts, where horizontal strips of the display are updated with some delay. Very weird....
I've been meaning to look at that for a while, so I agree on the approach. Is streaming mode the code that detects screen areas that are often modified and chooses to stream them as mjpeg? This is the one that I'd like to see disabled as it's easy to see some compression artifacts in some cases (animated windows cursors for example).
Well, if streaming mode is completely disabled you will never get regular updates and lip sync with the video. However, if it instead used streaming mode but with no compression that would probably be fine, but that requires some protocol updates i believe. Only mjpeg supported atm.
Ideally, this should have been the other way around but patches went bug#695492. *** This bug has been marked as a duplicate of bug 695492 ***