Re: Questions regarding Bug 62033 - Means to detect local-only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

1. Yes, exactly, I meant to use this option.

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.

So we have following separate enhancements:
1) Detect local-only
2) Monitor bandwidth&latency
3) If local-only, disable many internal features meant for remote (i.e. compression, double rendering etc)
4) If requested to disable effects, notify guest's DE (already implemented in vdagent for Windows, needs something similar for Linux)
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?)

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.

--
Thanks,
Fedor



On Tue, Jun 25, 2013 at 2:16 PM, Marc-André Lureau <mlureau@xxxxxxxxxx> wrote:

Hi

----- Mensaje original -----
> OK, so first implementation will work via --spice-disable-effects option. As
> far as I understand, this user-provided option flags should already be
> available at the agent, need to handle appropriate message as in Windows
> vdagent, correct?

There is already:
--spice-disable-effects=<wallpaper,font-smooth,animation,all>
--spice-color-depth=<16,32>

> Anyway, I still don't understand how we can control these effects on Linux
> desktops correctly - supporting only Gnome and not providing any means for
> other DEs to catch up seems to be bad design (I'm using KDE, for example;
> and even supporting both Gnome&KDE isn't solving this as there are a few
> more, fairly popular - Unity, XFce...). Also how interaction with this Gnome
> settings should be implemented? If via function call from some shared API,
> this adds on vdagent dependency (probably undesired by any other DE users) -
> so usage of dload() is expected?

I don't think there is a standard to handle those settings, so it will be likely a per-desktop implementation.

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)

Cheers

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]