[winswitch] Using Xpra on multi-GPU laptops

Eric Appleman erappleman at gmail.com
Fri Nov 11 19:21:42 GMT 2011


On 11/11/2011 01:09 PM, Antoine Martin wrote:
> (....)
>> Here's the current release: http://youtu.be/b7pEEErvnAI
>>
>> Still can't figure out how to increase screen updates.
> I have just added support for mmap memory transfers in svn:
> http://xpra.org/trac/changeset/273
> Since your server and client are on the same machine, you can take 
> advantage of this to get a higher refresh rate (and lower CPU usage) 
> with "--enable-mmap" on both client and server.
>
> Testing with various fast screen updating workloads showed a CPU load 
> reduction of 20% to 50% for the xpra process.
>
> The next step will be to dynamically tune the damage batching to keep 
> the mmap buffer (almost) full at all times, in the meantime you 
> probably want to reduce it yourself, ie:
> MAX_EVENTS = 100
> or even turn batching off completely:
> BATCH_EVENTS = False
>
> Cheers
> Antoine
>
>>
>> - Eric
>> _______________________________________________
>> shifter-users mailing list a
>> shifter-users at lists.devloop.org.uk
>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
mmap helps a lot. Most of the input lag, and CPU spikes are gone.

Tearing continues to increase with window size. For window resizing, 
some apps change their hex id or window arrangement when they enter 
fullscreen mode or are maximized. Xpra doesn't always handle these 
transformations properly and updates to the window may stop. I've 
attached 3 examples of this.

- Eric
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hex_fullscreen.txt
URL: <https://lists.devloop.org.uk/pipermail/shifter-users/attachments/20111111/da5630f1/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hex_maximize.txt
URL: <https://lists.devloop.org.uk/pipermail/shifter-users/attachments/20111111/da5630f1/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hex_window.txt
URL: <https://lists.devloop.org.uk/pipermail/shifter-users/attachments/20111111/da5630f1/attachment-0002.txt>


More information about the shifter-users mailing list