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
[email protected]
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
xwininfo: Window id: 0x15f (the root window) (has no name)

  Root window id: 0x15f (the root window) (has no name)
  Parent window id: 0x0 (none)
     25 children:
     0x801f59 "smplayer": ("smplayer" "Smplayer")  800x44+283+693  +283+693
        1 child:
        0x801f5b (has no name): ()  1x1+-1+-1  +282+692
     0x80204d (has no name): ("smplayer" "Smplayer")  236x380+119+100  +119+100
        1 child:
        0x80204f (has no name): ()  1x1+-1+-1  +118+99
     0x800683 (has no name): ("smplayer" "Smplayer")  223x306+66+100  +66+100
        1 child:
        0x800685 (has no name): ()  1x1+-1+-1  +65+99
     0x805516 (has no name): ("smplayer" "Smplayer")  202x46+858+54  +858+54
        1 child:
        0x805518 (has no name): ()  1x1+-1+-1  +857+53
     0x805434 (has no name): ("smplayer" "Smplayer")  202x46+1060+79  +1060+79
        1 child:
        0x805436 (has no name): ()  1x1+-1+-1  +1059+78
     0x8049ef (has no name): ("smplayer" "Smplayer")  243x251+422+170  +422+170
        1 child:
        0x8049f1 (has no name): ()  1x1+-1+-1  +421+169
     0x8020b8 (has no name): ("smplayer" "Smplayer")  330x412+94+78  +94+78
        1 child:
        0x8020ba (has no name): ()  1x1+-1+-1  +93+77
     0x80464a (has no name): ("smplayer" "Smplayer")  380x477+202+78  +202+78
        1 child:
        0x80464c (has no name): ()  1x1+-1+-1  +201+77
     0x80461f (has no name): ("smplayer" "Smplayer")  198x327+148+78  +148+78
        1 child:
        0x804621 (has no name): ()  1x1+-1+-1  +147+77
     0x8005de (has no name): ("smplayer" "Smplayer")  115x161+361+185  +361+185
        1 child:
        0x8005e0 (has no name): ()  1x1+-1+-1  +360+184
     0x8021b8 (has no name): ("smplayer" "Smplayer")  300x191+292+808  +292+808
        1 child:
        0x8021ba (has no name): ()  1x1+-1+-1  +291+807
     0x80079b (has no name): ("smplayer" "Smplayer")  709x122+988+683  +988+683
        1 child:
        0x80079d (has no name): ()  1x1+-1+-1  +987+682
     0x80004b (has no name): ()  1x1+0+0  +0+0
     0xa00079 "smplayer": ("smplayer" "Smplayer")  200x200+0+0  +0+0
        1 child:
        0xa0007a (has no name): ()  1x1+-1+-1  +-1+-1
     0xa00003 "smplayer": ("smplayer" "Smplayer")  200x200+0+0  +0+0
        1 child:
        0xa00004 (has no name): ()  1x1+-1+-1  +-1+-1
     0xa00001 "smplayer": ("smplayer" "Smplayer")  10x10+10+10  +10+10
        1 child:
        0xa00002 (has no name): ()  1x1+-1+-1  +9+9
     0x400033 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x400032 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x400031 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x40001d "Xpra": ("xpra" "Xpra")  1920x1080+0+0  +0+0
        2 children:
        0x4001e8 (has no name): ()  800x683+286+54  +286+54
           1 child:
           0x800049 "[Commie] Fate ⁄ Zero - 06 [7622898E].mkv - SMPlayer": 
("smplayer" "Smplayer")  800x683+0+0  +286+54
              9 children:
              0x8005db (has no name): ()  1x1+-1+-1  +285+53
              0x800157 (has no name): ()  100x30+0+0  +286+54
              0x800155 (has no name): ()  800x40+0+621  +286+675
              0x800153 (has no name): ()  347x40+453+25  +739+79
              0x800151 (has no name): ()  453x40+0+25  +286+79
              0x80014f (has no name): ()  800x22+0+661  +286+715
              0x80014d (has no name): ()  800x25+0+0  +286+54
              0x80014b (has no name): ()  800x683+0+0  +286+54
                 1 child:
                 0x800159 (has no name): ()  800x683+0+0  +286+54
                    1 child:
                    0x80015b (has no name): ()  800x450+0+116  +286+170
                       1 child:
                       0x80015d (has no name): ()  150x150+565+285  +851+455
              0x800149 (has no name): ()  1x1+-1000+-1000  +-714+-946
        0x40001e (has no name): ()  1x1+-1+-1  +-1+-1
     0x40001c "Xpra": ()  1x1+0+0  +0+0
     0x400003 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x600001 "Xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x600002 (has no name): ()  1x1+-1+-1  +9+9
     0x400001 "Xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x400002 (has no name): ()  1x1+-1+-1  +9+9
     0x200001 "xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x200002 (has no name): ()  1x1+-1+-1  +9+9

xwininfo: Window id: 0x15f (the root window) (has no name)

  Root window id: 0x15f (the root window) (has no name)
  Parent window id: 0x0 (none)
     26 children:
     0x4001e8 (has no name): ()  800x683+0+0  +0+0
        1 child:
        0x800049 "[Commie] Fate ⁄ Zero - 06 [7622898E].mkv - SMPlayer": 
("smplayer" "Smplayer")  800x683+0+0  +0+0
           9 children:
           0x8005db (has no name): ()  1x1+-1+-1  +-1+-1
           0x800157 (has no name): ()  100x30+0+0  +0+0
           0x800155 (has no name): ()  800x40+0+621  +0+621
           0x800153 (has no name): ()  347x40+453+25  +453+25
           0x800151 (has no name): ()  453x40+0+25  +0+25
           0x80014f (has no name): ()  800x22+0+661  +0+661
           0x80014d (has no name): ()  800x25+0+0  +0+0
           0x80014b (has no name): ()  800x556+0+65  +0+65
              1 child:
              0x800159 (has no name): ()  800x556+0+0  +0+65
                 1 child:
                 0x80015b (has no name): ()  800x450+0+53  +0+118
                    1 child:
                    0x80015d (has no name): ()  150x150+565+285  +565+403
           0x800149 (has no name): ()  1x1+-1000+-1000  +-1000+-1000
     0x801f59 "smplayer": ("smplayer" "Smplayer")  800x44+283+693  +283+693
        1 child:
        0x801f5b (has no name): ()  1x1+-1+-1  +282+692
     0x80204d (has no name): ("smplayer" "Smplayer")  236x380+119+100  +119+100
        1 child:
        0x80204f (has no name): ()  1x1+-1+-1  +118+99
     0x800683 (has no name): ("smplayer" "Smplayer")  223x306+66+100  +66+100
        1 child:
        0x800685 (has no name): ()  1x1+-1+-1  +65+99
     0x805516 (has no name): ("smplayer" "Smplayer")  202x46+858+54  +858+54
        1 child:
        0x805518 (has no name): ()  1x1+-1+-1  +857+53
     0x805434 (has no name): ("smplayer" "Smplayer")  202x46+1060+79  +1060+79
        1 child:
        0x805436 (has no name): ()  1x1+-1+-1  +1059+78
     0x8049ef (has no name): ("smplayer" "Smplayer")  243x251+422+170  +422+170
        1 child:
        0x8049f1 (has no name): ()  1x1+-1+-1  +421+169
     0x8020b8 (has no name): ("smplayer" "Smplayer")  330x412+94+78  +94+78
        1 child:
        0x8020ba (has no name): ()  1x1+-1+-1  +93+77
     0x80464a (has no name): ("smplayer" "Smplayer")  380x477+202+78  +202+78
        1 child:
        0x80464c (has no name): ()  1x1+-1+-1  +201+77
     0x80461f (has no name): ("smplayer" "Smplayer")  198x327+148+78  +148+78
        1 child:
        0x804621 (has no name): ()  1x1+-1+-1  +147+77
     0x8005de (has no name): ("smplayer" "Smplayer")  115x161+361+185  +361+185
        1 child:
        0x8005e0 (has no name): ()  1x1+-1+-1  +360+184
     0x8021b8 (has no name): ("smplayer" "Smplayer")  300x191+292+808  +292+808
        1 child:
        0x8021ba (has no name): ()  1x1+-1+-1  +291+807
     0x80079b (has no name): ("smplayer" "Smplayer")  709x122+988+683  +988+683
        1 child:
        0x80079d (has no name): ()  1x1+-1+-1  +987+682
     0x80004b (has no name): ()  1x1+0+0  +0+0
     0xa00079 "smplayer": ("smplayer" "Smplayer")  200x200+0+0  +0+0
        1 child:
        0xa0007a (has no name): ()  1x1+-1+-1  +-1+-1
     0xa00003 "smplayer": ("smplayer" "Smplayer")  200x200+0+0  +0+0
        1 child:
        0xa00004 (has no name): ()  1x1+-1+-1  +-1+-1
     0xa00001 "smplayer": ("smplayer" "Smplayer")  10x10+10+10  +10+10
        1 child:
        0xa00002 (has no name): ()  1x1+-1+-1  +9+9
     0x400033 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x400032 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x400031 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x40001d "Xpra": ("xpra" "Xpra")  1920x1080+0+0  +0+0
        1 child:
        0x40001e (has no name): ()  1x1+-1+-1  +-1+-1
     0x40001c "Xpra": ()  1x1+0+0  +0+0
     0x400003 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x600001 "Xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x600002 (has no name): ()  1x1+-1+-1  +9+9
     0x400001 "Xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x400002 (has no name): ()  1x1+-1+-1  +9+9
     0x200001 "xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x200002 (has no name): ()  1x1+-1+-1  +9+9

xwininfo: Window id: 0x15f (the root window) (has no name)

  Root window id: 0x15f (the root window) (has no name)
  Parent window id: 0x0 (none)
     25 children:
     0x801f59 "smplayer": ("smplayer" "Smplayer")  800x44+283+693  +283+693
        1 child:
        0x801f5b (has no name): ()  1x1+-1+-1  +282+692
     0x80204d (has no name): ("smplayer" "Smplayer")  236x380+119+100  +119+100
        1 child:
        0x80204f (has no name): ()  1x1+-1+-1  +118+99
     0x800683 (has no name): ("smplayer" "Smplayer")  223x306+66+100  +66+100
        1 child:
        0x800685 (has no name): ()  1x1+-1+-1  +65+99
     0x805516 (has no name): ("smplayer" "Smplayer")  202x46+858+54  +858+54
        1 child:
        0x805518 (has no name): ()  1x1+-1+-1  +857+53
     0x805434 (has no name): ("smplayer" "Smplayer")  202x46+1060+79  +1060+79
        1 child:
        0x805436 (has no name): ()  1x1+-1+-1  +1059+78
     0x8049ef (has no name): ("smplayer" "Smplayer")  243x251+422+170  +422+170
        1 child:
        0x8049f1 (has no name): ()  1x1+-1+-1  +421+169
     0x8020b8 (has no name): ("smplayer" "Smplayer")  330x412+94+78  +94+78
        1 child:
        0x8020ba (has no name): ()  1x1+-1+-1  +93+77
     0x80464a (has no name): ("smplayer" "Smplayer")  380x477+202+78  +202+78
        1 child:
        0x80464c (has no name): ()  1x1+-1+-1  +201+77
     0x80461f (has no name): ("smplayer" "Smplayer")  198x327+148+78  +148+78
        1 child:
        0x804621 (has no name): ()  1x1+-1+-1  +147+77
     0x8005de (has no name): ("smplayer" "Smplayer")  115x161+361+185  +361+185
        1 child:
        0x8005e0 (has no name): ()  1x1+-1+-1  +360+184
     0x8021b8 (has no name): ("smplayer" "Smplayer")  300x191+292+808  +292+808
        1 child:
        0x8021ba (has no name): ()  1x1+-1+-1  +291+807
     0x80079b (has no name): ("smplayer" "Smplayer")  709x122+988+683  +988+683
        1 child:
        0x80079d (has no name): ()  1x1+-1+-1  +987+682
     0x80004b (has no name): ()  1x1+0+0  +0+0
     0xa00079 "smplayer": ("smplayer" "Smplayer")  200x200+0+0  +0+0
        1 child:
        0xa0007a (has no name): ()  1x1+-1+-1  +-1+-1
     0xa00003 "smplayer": ("smplayer" "Smplayer")  200x200+0+0  +0+0
        1 child:
        0xa00004 (has no name): ()  1x1+-1+-1  +-1+-1
     0xa00001 "smplayer": ("smplayer" "Smplayer")  10x10+10+10  +10+10
        1 child:
        0xa00002 (has no name): ()  1x1+-1+-1  +9+9
     0x400033 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x400032 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x400031 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x40001d "Xpra": ("xpra" "Xpra")  1920x1080+0+0  +0+0
        2 children:
        0x4001e8 (has no name): ()  800x683+283+54  +283+54
           1 child:
           0x800049 "[Commie] Fate ⁄ Zero - 06 [7622898E].mkv - SMPlayer": 
("smplayer" "Smplayer")  800x683+0+0  +283+54
              9 children:
              0x8005db (has no name): ()  1x1+-1+-1  +282+53
              0x800157 (has no name): ()  100x30+0+0  +283+54
              0x800155 (has no name): ()  800x40+0+621  +283+675
              0x800153 (has no name): ()  347x40+453+25  +736+79
              0x800151 (has no name): ()  453x40+0+25  +283+79
              0x80014f (has no name): ()  800x22+0+661  +283+715
              0x80014d (has no name): ()  800x25+0+0  +283+54
              0x80014b (has no name): ()  800x556+0+65  +283+119
                 1 child:
                 0x800159 (has no name): ()  800x556+0+0  +283+119
                    1 child:
                    0x80015b (has no name): ()  800x450+0+53  +283+172
                       1 child:
                       0x80015d (has no name): ()  150x150+565+285  +848+457
              0x800149 (has no name): ()  1x1+-1000+-1000  +-717+-946
        0x40001e (has no name): ()  1x1+-1+-1  +-1+-1
     0x40001c "Xpra": ()  1x1+0+0  +0+0
     0x400003 "Xpra": ()  10x10+-100+-100  +-100+-100
     0x600001 "Xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x600002 (has no name): ()  1x1+-1+-1  +9+9
     0x400001 "Xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x400002 (has no name): ()  1x1+-1+-1  +9+9
     0x200001 "xpra": ("xpra" "Xpra")  10x10+10+10  +10+10
        1 child:
        0x200002 (has no name): ()  1x1+-1+-1  +9+9

_______________________________________________
shifter-users mailing list
[email protected]
http://lists.devloop.org.uk/mailman/listinfo/shifter-users

Reply via email to