Bug 702658

Summary: RFE: Disable effects, reduce color bit depth when WAN is detected on Windows guest automatically
Product: Red Hat Enterprise Linux 6 Reporter: Marian Krcmarik <mkrcmari>
Component: spice-serverAssignee: Yonit Halperin <yhalperi>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: acathrow, cfergeau, cmeadors, cpelland, dblechte, ddumas, mkenneth, pvine, skrishna, tvvcox, yhalperi
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 707582 (view as bug list) Environment:
Last Closed: 2012-08-14 15:20:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 787447    
Bug Blocks: 756082, 773650, 773651, 773665, 773677, 773696, 787449, 808986    

Description Marian Krcmarik 2011-05-06 13:54:11 UTC
Description of problem:
There is an option to disable effects (wallpaper/font-smooth/animation) and reduce color bit depth with using spice client options for Windows guest. But those options are not triggered automatically when WAN is detected (on server side) which was original purpose of those features (I believe). Please add this feature so that WAN support would be even improved.

Version-Release number of selected component (if applicable):
spice-client-0.8.0-2
spice-server-0.8.0-1
Windows guests
Spice window agent

How reproducible:
Always

Steps to Reproduce:
1. Connect using spice client to Windows guest in WAN environment (<10Mbps). 

  
Actual results:
No effects are disabled. Color bit depth - 32bit

Expected results:
Guest has disabled effects 

Additional info:
Partially RFE

Comment 1 Yonit Halperin 2011-05-25 11:41:26 UTC
Did you execute the client with "-disable-effects all"?
the "-disable-effects" option need to be added to the controller and front-end

Comment 2 Marian Krcmarik 2011-05-25 12:00:53 UTC
(In reply to comment #1)
> Did you execute the client with "-disable-effects all"?
> the "-disable-effects" option need to be added to the controller and front-end

I would love to see it triggered automatically when WAN is detected, when I execute it manually It does work, please can you then move it to the right component?

Comment 3 Yonit Halperin 2011-05-25 12:13:10 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Did you execute the client with "-disable-effects all"?
> > the "-disable-effects" option need to be added to the controller and front-end
> 
> I would love to see it triggered automatically when WAN is detected, when I
> execute it manually It does work, please can you then move it to the right
> component?

What do you mean by "execute it manually"? Do you mean running spice from command line with "-disable-effects all"?

And by WAN detection, do you mean the one time WAN detection we perform when the client is being connected?

Comment 4 Marian Krcmarik 2011-05-25 12:30:35 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Did you execute the client with "-disable-effects all"?
> > > the "-disable-effects" option need to be added to the controller and front-end
> > 
> > I would love to see it triggered automatically when WAN is detected, when I
> > execute it manually It does work, please can you then move it to the right
> > component?
> 
> What do you mean by "execute it manually"? Do you mean running spice from
> command line with "-disable-effects all"?

Yes, when I run spicec with "--disable-effects all" option and connect to Windows guest, I can see that those effects are disabled, the same with --color-depth.

> 
> And by WAN detection, do you mean the one time WAN detection we perform when
> the client is being connected?
Yes, this RFE I meant about this, when client is being connected to Windows guest and low bandwidth is detected JPEG nad ZLIB over GLZ compression is enabled, and I would love to see that functionality as provided with --disable-effects would be automatically enabled too so that usability of Spice over WAN would be better. It's RFE. I do not know how much work it would requires (I guess It needs cooperation of multiple components), but I believe there are some benefits when we already have functionality of disabling those effects.

Comment 5 Yonit Halperin 2011-05-25 12:52:10 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Did you execute the client with "-disable-effects all"?
> > the "-disable-effects" option need to be added to the controller and front-end
> 
> I would love to see it triggered automatically when WAN is detected, when I
> execute it manually It does work, please can you then move it to the right
> component?

O.k. Created a bug for front-end as well #707582

Comment 8 Andrew Cathrow 2011-08-26 13:40:30 UTC
David, as discussed : 
Please make the default behaviour to enable "disable effects" and have a CLI option to overide this

Comment 11 Yonit Halperin 2011-12-18 13:30:23 UTC
I think these options (disabling wallpaper/font-smooth/ui-effects/all and changing the color-depth to 16 bit) should also be added to the user/admin portal, virt-viewer, and the controller, explicitly, or by a user profile (e.g. LAN/WAN/etc.) that implies which optimization should be done in Spice (and not necessarily just guest optimizations).

Comment 12 David Blechter 2012-02-29 14:03:51 UTC
Moving to 6.4  due to the missing definitions from rhevm PM.

Comment 15 RHEL Program Management 2012-07-10 07:57:19 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 16 RHEL Program Management 2012-07-11 02:01:06 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.