xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #375: osxXpraTests_7-11

File osxXpraTests_7-11, 8.9 KB (added by alas, 8 years ago)

list of test results with various included encodings, and error outputs

Line 
1osx beta-7-11 ... server still 0.10 r3778 fedora (with focus debug logging enabled, though I tried to weed those out whenever not relevant).
2
3w/jpeg:
4
5Video is somewhat choppy, and the placement of items in the window is buggy. (Paint issues in UI client?) Also, the keyboard focus seemed to periodically fail. (Client UI lock?) I wasn't able to pin down a specific cause, or reproduce reliably, but it seemed to happen whenever there was a fair amount of activity (I had two tabs open and suddenly decided to open a third in short order- the address bar was unresponsive to keyboard input, while the other two tabs were behaving as expected. At another point I was bouncing back and forth between tabs, went to one with Youtube open and the search bar was non-responsive to keyboard inputs... though mouse input was as expected... and the focus didn't shift anywhere, it just disappeared/failed). In every case of keyboard input non-responsiveness, a minute or two of inactivity was enough to return expected functionality.
6
7Meanwhile, the server was spitting out the following error message non-stop every dozen or two milliseconds:
8
92013-07-11 12:40:01,414 error processing damage data: encoder error -2 when writing image file
10Traceback (most recent call last):
11  File "/usr/lib/python2.7/site-packages/xpra/server/source.py", line 1183, in data_to_packet
12    encode_and_queue()
13  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 617, in make_data_packet_cb
14    packet = self.make_data_packet(*data)
15  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 792, in make_data_packet
16    data, client_options, outw, outh, outstride = encoder(coding, image, options)
17  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 937, in PIL_encode
18    im.save(buf, "JPEG", **kwargs)
19  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1439, in save
20    save_handler(self, fp, filename)
21  File "/usr/lib64/python2.7/site-packages/PIL/JpegImagePlugin.py", line 471, in _save
22    ImageFile._save(im, fp, [("jpeg", (0,0)+im.size, 0, rawmode)])
23  File "/usr/lib64/python2.7/site-packages/PIL/ImageFile.py", line 491, in _save
24    raise IOError("encoder error %d when writing image file" % s)
25IOError: encoder error -2 when writing image file
26Suspension not allowed here
272013-07-11 12:40:01,437 error processing damage data: encoder error -2 when writing image file
28Traceback (most recent call last):
29  File "/usr/lib/python2.7/site-packages/xpra/server/source.py", line 1183, in data_to_packet
30    encode_and_queue()
31  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 617, in make_data_packet_cb
32    packet = self.make_data_packet(*data)
33  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 792, in make_data_packet
34    data, client_options, outw, outh, outstride = encoder(coding, image, options)
35  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 937, in PIL_encode
36    im.save(buf, "JPEG", **kwargs)
37  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1439, in save
38    save_handler(self, fp, filename)
39  File "/usr/lib64/python2.7/site-packages/PIL/JpegImagePlugin.py", line 471, in _save
40    ImageFile._save(im, fp, [("jpeg", (0,0)+im.size, 0, rawmode)])
41  File "/usr/lib64/python2.7/site-packages/PIL/ImageFile.py", line 491, in _save
42    raise IOError("encoder error %d when writing image file" % s)
43IOError: encoder error -2 when writing image file
44Suspension not allowed here
45
46
47over and over again... (very similarly to the error messages listed in the linked discussion thread of the history of this bug).
48
49With min-speed > 50 (60) got non-focusable xterm.
50
51With min-speed < 50 (40) got Suspension & PIL errors and the lazarus browser window was rendered chaotically. Also got AssertionErrors on client side.
52
53With Speed > 50 (60) I get a non-responsive lazarus browser, a non-responsive xterm which produces PIL errors server side (though without the Suspension error) whenever it receives any keyboard input:
542013-07-11 16:24:02,347 _focus(ServerSource(Protocol(SocketConnection(('10.0.32.196', 1201) - ('10.0.11.78', 53124)))), 1, None) has_focus=1
55Suspension not allowed here
562013-07-11 16:24:02,363 error processing damage data: encoder error -2 when writing image file
57Traceback (most recent call last):
58  File "/usr/lib/python2.7/site-packages/xpra/server/source.py", line 1183, in data_to_packet
59    encode_and_queue()
60  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 617, in make_data_packet_cb
61    packet = self.make_data_packet(*data)
62  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 792, in make_data_packet
63    data, client_options, outw, outh, outstride = encoder(coding, image, options)
64  File "/usr/lib/python2.7/site-packages/xpra/server/window_source.py", line 937, in PIL_encode
65    im.save(buf, "JPEG", **kwargs)
66  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1439, in save
67    save_handler(self, fp, filename)
68  File "/usr/lib64/python2.7/site-packages/PIL/JpegImagePlugin.py", line 471, in _save
69    ImageFile._save(im, fp, [("jpeg", (0,0)+im.size, 0, rawmode)])
70  File "/usr/lib64/python2.7/site-packages/PIL/ImageFile.py", line 491, in _save
71    raise IOError("encoder error %d when writing image file" % s)
72IOError: encoder error -2 when writing image file
732013-07-11 16:24:02,473 _focus(ServerSource(Protocol(SocketConnection(('10.0.32.196', 1201) - ('10.0.11.78', 53124)))), 1, None) has_focus=1
74
75This also resulted in a crash (server says client disconnected, client says server requested disconnect).
76
77Reconnection gets a responsive xterm, but lazarus browser is painting only part of the window (youtube) & clicking links is producing partially re-drawn videos, accompanied with another instance, server-side, of the above error message, prefaced with a Suspension not allowed here message (before the timestamped error processing message). Repeatedly. Opening a second tab produces yet more Suspension not allowed messages, repeated with each piece of the new window that is drawn... and the window never gets around to fully being drawn.
78
79The youtube window also showed no focus initially on the search bar (or anywhere else) and mouse-clicks to try to focus on search bar were consistently producing the client side AssertionError mentioned below.
80
81With speed < 50 (40) The drawing is a little better, but still pretty awful. The suspension errors repeat whenever a new video with pop-up description stuffs is scrolled over clicking on a video produces the error whenever there is video playing (even when the playing video isn't being successfully painted on the client side... and even with a relatively minimal sized window taking up no more than 25% of the space of a small laptop screen).
82
83The video periodically freezes for minutes at a time. (Speed is considerably less than 40).
84
85---------
86With rgb
87
88Behaved well. Occasional client-side assertion error messages. Restored focus reversions seem to fix that issue for the nonce.
89
90-------
91With png
92
93Behaved awfully. Quick slideshow video at best. Keyboard input seemed, on the client side, to lock - though on the server side the focus logs showed that the keystrokes were being recognized... so it was really just a sort of incredible lag/latency (or maybe just a failure to paint the new screen changes to include the characters?). Aside from an occasional AssertionError message on the client side (see below) and a gob of focus log messages on the server side there wasn't any real indication of what was causing the problems.
94
95--------
96With png/P
97
98Graphics look dot-matrix (to be expected I assume). Opening a second tab (as an initial youtube tab plays) led to immediate keyboard input non-responsiveness. The server logs do show the focus reminders to indicate that the server is receiving keyboard input, no response on client side though, and returning to the initial tab also shows no keyboard input response. A few minutes later, keyboard input behaves as expected.
99
100The client side traceback error message was spit out from time to time, but I couldn't produce it consistently.
101
102---------
103With png/L
104
105Clicking on a video link (youtube) caused this server-side error regularly, but not consistently:
106Traceback (most recent call last):
107  File "/usr/lib/python2.7/site-packages/xpra/x11/gtk_x11/window.py", line 358, in do_xpra_property_notify_event
108    if event.delivered_to is self.corral_window:
109AttributeError: 'OverrideRedirectWindowModel' object has no attribute 'corral_window'
110
111Graphics again slide-show-esque. Client side traceback error message also intermittent.
112
113----------
114
115client error message, appearing periodically with any of the encodings (not consistently, as mentioned above, but regularly).
116Traceback (most recent call last):
117   File "xpra/client/gtk_base/gtk_client_window_base.pyc", line 376, in _focus_change
118AssertionError