xpra icon
Bug tracker and wiki

Changes between Version 1 and Version 2 of Ticket #1232, comment 18


Ignore:
Timestamp:
10/08/16 09:32:21 (3 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1232, comment 18

    v1 v2  
    55And, I'm not able to trigger the new encoding at all. I can tell this because running with {{{XPRA_OPENGL_PAINT_BOX=1}}}, upon scrolling all I see is h264, none of the new paints mentioned earlier.
    66
    7 Also, I keep seeing this  pop up in the logs:
     7Also, I keep seeing this  pop up in the logs: [/attachment/ticket/1232/zero.log]
    88
    99{{{
    10 Traceback (most recent call last):
    11   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 823, in encode_from_queue
    12     self.make_data_packet_cb(*item)
    13   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1448, in make_data_packet_cb
    14     packet = self.make_data_packet(damage_time, process_damage_time, image, coding, sequence, options, flush)
    15   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1794, in make_data_packet
    16     ret = encoder(coding, image, options)
    17   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1461, in video_encode
    18     return self.do_video_encode(encoding, image, options)
    19   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1523, in do_video_encode
    20     if not self.check_pipeline(encoding, w, h, src_format):
    21   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1184, in check_pipeline
    22     scores = self.get_video_pipeline_options(encodings, w, h, src_format)
    23   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1047, in get_video_pipeline_options
    24     add_scores("direct (no csc)", None, src_format)
    25   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1040, in add_scores
    26     scaling = self.calculate_scaling(width, height, encoder_spec.max_w, encoder_spec.max_h)
    27   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1120, in calculate_scaling
    28     ffps = int(pixels/(width*height)/(time.time() - otime))
    29 ZeroDivisionError: integer division or modulo by zero
    30 2016-10-07 15:32:27,981 error processing encode queue at index 0
    31 2016-10-07 15:32:27,981 item=(1291, 1, 1475879547.964618, 1475879547.979094, XShmImageWrapper(BGRX: 0, 65, 1291, 1), 'auto', 213, {}, 0)
    32 Traceback (most recent call last):
    33   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 823, in encode_from_queue
    34     self.make_data_packet_cb(*item)
    35   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1448, in make_data_packet_cb
    36     packet = self.make_data_packet(damage_time, process_damage_time, image, coding, sequence, options, flush)
    37   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1794, in make_data_packet
    38     ret = encoder(coding, image, options)
    39   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1461, in video_encode
    40     return self.do_video_encode(encoding, image, options)
    41   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1523, in do_video_encode
    42     if not self.check_pipeline(encoding, w, h, src_format):
    43   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1184, in check_pipeline
    44     scores = self.get_video_pipeline_options(encodings, w, h, src_format)
    45   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1047, in get_video_pipeline_options
    46     add_scores("direct (no csc)", None, src_format)
    47   File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1040, in add_scores
    48     scaling = self.calculate_scaling(width, height, encoder_spec.max_w, encoder_spec.max_h)
     10(..)
    4911  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1120, in calculate_scaling
    5012    ffps = int(pixels/(width*height)/(time.time() - otime))