[winswitch] windows xpra client CPU usage

Antoine Martin antoine at nagafix.co.uk
Thu Nov 17 05:21:21 GMT 2016

Please don't top post.

On 17/11/16 12:14, Thomas Esposito wrote:
> I'm pretty sure that I have audio disabled on the server side,
There are 3 possible values for the "speaker" option: on, off, disabled.
If you disable it server side, the client cannot enable it.

> but I'll check again tomorrow.
> Do I have to do anything special to disable audio
> on the client side?
There are many ways of doing this on the client side, you can add:
* "--speaker=off" to you command line, as a one-off.
* "speaker=off" to your connection file if you use one (for that host)
* "speaker=off" to your user settings (affects all connections)
* "speaker=off" to your global xpra settings (affects all users)
* turn it off using the system tray at runtime


> On Nov 16, 2016 9:27 PM, "Antoine Martin via shifter-users"
> <shifter-users at lists.devloop.org.uk
> <mailto:shifter-users at lists.devloop.org.uk>> wrote:
>     On 16/11/16 22:41, Thomas Esposito via shifter-users wrote:
>     > My Xpra-Launcher.exe process is ALWAYS using from 5% to 10% of my CPU
>     > capacity, even when my X applications are TOTALLY idle (i.e.
>     windows are
>     > out of focus and/or no redrawing from X clients).
>     My guess is that sound is enabled, sound forwarding uses a stream and
>     will consume network and CPU even when no sound is being played.
>     > This is a HUGE increase in CPU usage (and heat generation) on my
>     laptop
>     > relative to when I'm just doing simple browsing and email. For
>     example, if
>     > i'm just browsing and reading/writing email, my total CPU usage
>     stays under
>     > 1% to 2% and the laptop stays cool with the fan off. If I add the Xpra
>     > client to this, even though I'm not interacting with the X application
>     > windows and they are not redrawing, my laptop starts getting hot
>     and the
>     > fan turns on. Note this is only with a single X application window
>     running.
>     Without sound, there should not be any network or CPU usage unless the
>     application's window is refreshing.
>     (bar ping packets every few seconds, but those are tiny)
>     > In comparison, the TigerVNC viewer and x2go CPU usage is
>     effectively 0% if
>     > the windows are not updating.
>     TigerVNC does not do sound, or printing, and many other things!
>     Cheers
>     Antoine
>     _______________________________________________
>     shifter-users mailing list
>     shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>
>     http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>     <http://lists.devloop.org.uk/mailman/listinfo/shifter-users>

More information about the shifter-users mailing list