xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 3 months ago

#1832 closed defect (fixed)

python3 cairo backend is unbearably slow

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.3
Component: platforms Version: 2.2.x
Keywords: Cc:

Description

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.

Change History (1)

comment:1 Changed 3 months ago by Antoine Martin

Milestone: 2.42.3
Resolution: fixed
Status: newclosed

Fixed in r19232.

Note: See TracTickets for help on using tickets.