Xpra: Ticket #1832: python3 cairo backend is unbearably slow

2018-05-07 13:12:29,020 do_video_paint rgb using \
    swscale(YUV420P 3840x2160 - RGB 3840x2160).convert_image(AVImageWrapper-AVFrameWrapper(0x7f2ca0014300)(YUV420P:(0, 0, 3840, 2160, 24):3_PLANES))=\
    ImageWrapper(RGB:(0, 0, 3840, 2160, 24):PACKED)
2018-05-07 13:12:29,021 cairo._do_paint_rgb(RGB24, False, 24883200 <class 'memoryview'>,0,0,3840,2160,11520,
    {b'speed': 31, b'frame': 22, b'pts': 19843, b'csc': b'YUV444P', b'quality': 31, 'encoding': 'h265', b'rgb_format': 'RGB'}) \
    set_image_surface_data=<built-in function set_image_surface_data>, use pixbuf=False
2018-05-07 13:12:29,804 source image surface: (cairo.Format.RGB24, 3840, 2160, 15360, cairo.Content.COLOR)
2018-05-07 13:12:29,804 cairo_paint_surface(<function CairoBackingBase.cairo_paint_surface.<locals>.set_source_surface at 0x7f2cad725bf8>, \
    <cairo.ImageSurface object at 0x7f2c9f758a50>, 0, 0, 3840, 2160, \
    {b'speed': 31, b'frame': 22, b'pts': 19843, b'csc': b'YUV444P', b'quality': 31, 'encoding': 'h265', b'rgb_format': 'RGB'}) \
    backing=<cairo.ImageSurface object at 0x7f2c9e6ed1d0>, paint box line width=0
2018-05-07 13:12:29,810 record_decode_time(True, ) wid=1, b'h265': 3840x2160, 839.0ms

That's almost 1 second for a single 2160p frame.



Mon, 07 May 2018 10:02:03 GMT - Antoine Martin: status, milestone changed; resolution set

Fixed in r19232.


Sat, 23 Jan 2021 05:34:58 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1832