<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>1. Yes, exactly, I meant to use this option.<br><br></div>2. And yes, that's my point - why vdagent should tweak settings for all desktops (it is impossible to support all desktops) - but we need to provide some means for desktop developers to take in account the DE is viewed via Spice (local or remote client) - at least that is requested in bug 62033.<br>
<br></div>So we have following separate enhancements:<br></div><div>1) Detect local-only<br></div><div>2) Monitor bandwidth&latency<br></div>3) If local-only, disable many internal features meant for remote (i.e. compression, double rendering etc)<br>
</div>4) If requested to disable effects, notify guest's DE (already implemented in vdagent for Windows, needs something similar for Linux)<br><div><div><div><div><div>5) If remote && ((bandwidth < B) || (latency > L)), by default disable all effects (so probably we'd need an --spice-enable-effects=... alternative for the user; what about GUI menu in spice-gtk as well?)<br>
<br></div><div>Right now I'm trying to start working on 4, as it is what is requested in the bug description... Hence this open question: how to notify Linux guest's DE? - to support arbitrary DE.<br></div><div><br>
--<br></div><div>Thanks,<br></div><div>Fedor<br><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 2:16 PM, Marc-André Lureau <span dir="ltr"><<a href="mailto:mlureau@redhat.com" target="_blank">mlureau@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi<br>
<br>
----- Mensaje original -----<br>
<div class="im">> OK, so first implementation will work via --spice-disable-effects option. As<br>
> far as I understand, this user-provided option flags should already be<br>
> available at the agent, need to handle appropriate message as in Windows<br>
> vdagent, correct?<br>
<br>
</div>There is already:<br>
--spice-disable-effects=<wallpaper,font-smooth,animation,all><br>
--spice-color-depth=<16,32><br>
<div class="im"><br>
> Anyway, I still don't understand how we can control these effects on Linux<br>
> desktops correctly - supporting only Gnome and not providing any means for<br>
> other DEs to catch up seems to be bad design (I'm using KDE, for example;<br>
> and even supporting both Gnome&KDE isn't solving this as there are a few<br>
> more, fairly popular - Unity, XFce...). Also how interaction with this Gnome<br>
> settings should be implemented? If via function call from some shared API,<br>
> this adds on vdagent dependency (probably undesired by any other DE users) -<br>
> so usage of dload() is expected?<br>
<br>
</div>I don't think there is a standard to handle those settings, so it will be likely a per-desktop implementation.<br>
<br>
Probably the best performance improvements will be made by implementing the shared memory suggestions from Hans and Yonit, so I wouldn't worry much about desktop effects. Also, it is not necessarily the agent role to tweak settings like animation for all desktops, the desktop settings daemon could also handle it)<br>
<br>
Cheers<br>
</blockquote></div><br></div></div>