Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTK3 OpenGL win32 window is transparent #2466

Closed
totaam opened this issue Oct 29, 2019 · 18 comments
Closed

GTK3 OpenGL win32 window is transparent #2466

totaam opened this issue Oct 29, 2019 · 18 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Oct 29, 2019

Like it's not getting painted at all.

Tried 2.5.3 and 3.0.x on a win7 system with a Quadro M4000.

The code was originally added in r16993 + r16964, see #1569#comment:5.

See also:

@totaam
Copy link
Collaborator Author

totaam commented Oct 29, 2019

2019-10-29 13:25:54: antoine commented


Using v3.0.1-r24295, and just showing an xterm:

  • python2 client:
2019-10-29 20:15:09,820 process_new_common: wid=1, OR=False, geometry([276, 60, 489, 292])=(276, 60, 489, 292) / (489, 292)
2019-10-29 20:15:09,823 init_formats() texture pixel format=RGB, internal format=RGB8, rgb modes=['YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR']
2019-10-29 20:15:09,823 new_backing(489, 292)=<gtk.DrawingArea object at 0x2922b0f0 (GtkDrawingArea at 0x7ef5620)>
2019-10-29 20:15:09,824 setup_window() position=(276, 60), set_initial_position=False, OR=False, decorated=True
2019-10-29 20:15:09,824 setup_window() window frame sizes={'caption': 33, 'minimum': (194, 55), 'menu-bar': 30, 'normal': (11, 11), 'frame': (11, 11, 44, 11), 'fixed': (3, 3), 'border': 1, 'offset': (11, 44)}
2019-10-29 20:15:09,824 setup_window() adjusted initial position=(265, 16)
2019-10-29 20:15:09,826 set_size_constraints({'base-size': (19, 4), 'gravity': 1, 'increment': (6, 13), 'minimum-size': (194, 55)}, (32767, 32767))
2019-10-29 20:15:09,826 intpair(maximum-size)=None
2019-10-29 20:15:09,827 intpair(minimum-size)=(194, 55)
2019-10-29 20:15:09,827 intpair(base-size)=(19, 4)
2019-10-29 20:15:09,827 intpair(increment)=(6, 13)
2019-10-29 20:15:09,827 modified hints for max window size (32767, 32767): {'width_inc': 6, 'height_inc': 13, 'min_height': 55, 'base_width': 19, 'min_width': 194, 'base_height': 4} (rw=0, rh=3) -> max=32767x32764
2019-10-29 20:15:09,827 calling: <bound method GLClientWindow.apply_geometry_hints of GLClientWindow(1 : gtk2.GLDrawingArea(1, (489, 292), None))>({'width_inc': 6, 'height_inc': 13, 'max_width': 32767, 'min_height': 55, 'base_width': 19, 'max_height': 32764, 'min_width': 194, 'base_height': 4})
2019-10-29 20:15:09,845 ChoosePixelFormat for window 0x6a0054 and 8 bpc: 0xf
2019-10-29 20:15:09,846 DescribePixelFormat: {'accum-size': 64, 'alpha-shift': 0, 'aux-buffers': 4, 'red-size': 8, 'blue-shift': 0, 'red-shift': 16, 'stencil-size': 8, 'green-shift': 8, 'blue-size': 8, 'accum-green-size': 16, 'alpha-size': 0, 'double-buffered': True, 'depth-size': 0, 'green-size': 8, 'accum-red-size': 16, 'depth': 32, 'accum-blue-size': 16, 'rgba': True, 'visible-mask': 0}
2019-10-29 20:15:09,847 wglCreateContext(0x72011197)=0x20000
2019-10-29 20:15:09,847 wglMakeCurrent(0x72011197, 0x20000)
2019-10-29 20:15:09,850 BeginPaint hdc=0xffffffff9d01102e
2019-10-29 20:15:09,850 GL_MAX_TEXTURE_SIZE=16384
2019-10-29 20:15:09,851 Texture size GL_MAX_RECTANGLE_TEXTURE_SIZE=16384
2019-10-29 20:15:09,851 Initializing GL context for window size (489, 292), backing size (489, 292), max texture size=16384
2019-10-29 20:15:09,852 gtk2.GLDrawingArea(1, (489, 292), None).gl_init_textures() textures: [1 2 3 4 5 6 7], offscreen fbo: 1, tmp fbo: 2
2019-10-29 20:15:09,856 YUV2RGB shader initialized
2019-10-29 20:15:09,856 YUV2RGBFULL shader initialized
2019-10-29 20:15:09,857 RGBP2RGB shader initialized
2019-10-29 20:15:09,857 gl_init() done
2019-10-29 20:15:09,857 set_alignment(16, 64, 'RGBA') GL_UNPACK_ROW_LENGTH=0, GL_UNPACK_ALIGNMENT=8
2019-10-29 20:15:09,859 GL cursor 16x16 uploaded 1024 bytes of RGBA pixel data using zerocopy:bytes-as-memoryview
2019-10-29 20:15:09,860 EndPaint
2019-10-29 20:15:09,861 GL do_configure_event(<gtk.gdk.Event at 00000000291d8b70: GDK_CONFIGURE x=276, y=60, width=487, height=290>)
2019-10-29 20:15:09,861 ['configure-window', 1, 276, 60, 487, 290, {'screen': 0, 'encoding.transparency': False, 'encoding.bit-depth': 24, 'encoding.send-window-size': True, 'encoding.scrolling': True, 'encodings.rgb_formats': ['YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR'], 'encoding.full_csc_modes': {u'mpeg1': [u'YUV420P'], u'mpeg2': [u'YUV420P'], u'mpeg4': [u'YUV420P'], u'h264': [u'ARGB', u'BGRA', u'BGRX', u'GBRP', u'RGB', u'XRGB', u'YUV420P', u'YUV422P', u'YUV444P'], u'h265': [u'BGRX', u'GBRP', u'RGB', u'XRGB', u'YUV420P', u'YUV422P', u'YUV444P'], u'vp9': [u'YUV420P', u'YUV444P'], u'vp8': [u'YUV420P'], 'webp': ['BGRA', 'BGRX', 'RGBA', 'RGBX']}}, 0, {}, False]
2019-10-29 20:15:09,862 configure event: current size=(489, 292), new size=(487, 290), backing=gtk2.GLDrawingArea(1, (489, 292), None), iconified=False
2019-10-29 20:15:09,862 wglMakeCurrent(0x72011197, 0x20000)
2019-10-29 20:15:09,862 BeginPaint hdc=0xffffffff9d01102e
2019-10-29 20:15:09,863 GL_MAX_TEXTURE_SIZE=16384
2019-10-29 20:15:09,863 Texture size GL_MAX_RECTANGLE_TEXTURE_SIZE=16384
2019-10-29 20:15:09,863 Initializing GL context for window size (487, 290), backing size (487, 290), max texture size=16384
2019-10-29 20:15:09,864 gl_init() done
2019-10-29 20:15:09,866 EndPaint
2019-10-29 20:15:09,867 GLClientWindow(1 : gtk2.GLDrawingArea(1, (487, 290), None)).window_state_updated(GLClientWindow(1 : gtk2.GLDrawingArea(1, (487, 290), None)), <gtk.gdk.Event at 00000000291ed870: GDK_WINDOW_STATE>) changed_mask=<flags GDK_WINDOW_STATE_WITHDRAWN of type GdkWindowState>, new_window_state=<flags 0 of type GdkWindowState>
2019-10-29 20:15:09,867 window_state_updated(..) state updates: {}, actual updates: {}, server updates: {}
2019-10-29 20:15:09,867 GL process_map_event()
2019-10-29 20:15:09,868 map-window wid=1, geometry=(276, 60, 487, 290), client props={'screen': 0, 'workspace': 65535}, state={'frame': (11, 11, 44, 11)}
2019-10-29 20:15:09,868 GL do_configure_event(<gtk.gdk.Event at 00000000291d8b70: GDK_CONFIGURE x=276, y=60, width=487, height=290>)
2019-10-29 20:15:09,869 ['configure-window', 1, 276, 60, 487, 290, {}, 0, {}, False]
2019-10-29 20:15:09,870 configure event: current size=(487, 290), new size=(487, 290), backing=gtk2.GLDrawingArea(1, (487, 290), None), iconified=False
2019-10-29 20:15:09,870 configure event: size unchanged, queueing redraw
2019-10-29 20:15:09,870 wglMakeCurrent(0x72011197, 0x20000)
2019-10-29 20:15:09,870 BeginPaint hdc=0xffffffff9d01102e
2019-10-29 20:15:09,871 present_fbo: adding (0, 0, 487, 290) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:15:09,871 do_present_fbo: painting ((0, 0, 487, 290),)
2019-10-29 20:15:09,871 Presenting FBO on screen
2019-10-29 20:15:09,873 1.do_gl_show(gtk2.GLDrawingArea(1, (487, 290), None)) swapping buffers now
2019-10-29 20:15:09,873 swap_buffers: calling SwapBuffers(0xffffffff9d01102e)
2019-10-29 20:15:09,893 gl_show after  69ms took 19ms,  1 updates
2019-10-29 20:15:09,893 gtk2.GLDrawingArea(1, (487, 290), None).gl_frame_terminator()
2019-10-29 20:15:09,893 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x00000000072c74d0>(GL_FRAMEBUFFER (36160), 2)
2019-10-29 20:15:09,894 gtk2.GLDrawingArea(1, (487, 290), None).do_present_fbo() done
2019-10-29 20:15:09,894 EndPaint
2019-10-29 20:15:09,908 wglMakeCurrent(0x72011197, 0x20000)
2019-10-29 20:15:09,908 BeginPaint hdc=0xffffffff9d01102e
2019-10-29 20:15:09,909 set_alignment(16, 64, 'RGBA') GL_UNPACK_ROW_LENGTH=0, GL_UNPACK_ALIGNMENT=8
2019-10-29 20:15:09,909 GL cursor 16x16 uploaded 1024 bytes of RGBA pixel data using zerocopy:bytes-as-memoryview
2019-10-29 20:15:09,909 EndPaint
2019-10-29 20:15:09,917 wglMakeCurrent(0x72011197, 0x20000)
2019-10-29 20:15:09,917 BeginPaint hdc=0xffffffff9d01102e
2019-10-29 20:15:09,918 do_present_fbo: painting ((0, 0, 487, 290),)
2019-10-29 20:15:09,918 Presenting FBO on screen
2019-10-29 20:15:09,919 1.do_gl_show(gtk2.GLDrawingArea(1, (487, 290), None)) swapping buffers now
2019-10-29 20:15:09,919 swap_buffers: calling SwapBuffers(0xffffffff9d01102e)
2019-10-29 20:15:09,926 gl_show after  33ms took  6ms,  1 updates
2019-10-29 20:15:09,926 gtk2.GLDrawingArea(1, (487, 290), None).gl_frame_terminator()
2019-10-29 20:15:09,927 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x00000000072c74d0>(GL_FRAMEBUFFER (36160), 2)
2019-10-29 20:15:09,927 gtk2.GLDrawingArea(1, (487, 290), None).do_present_fbo() done
2019-10-29 20:15:09,927 EndPaint
2019-10-29 20:15:09,945 gtk2.GLDrawingArea(1, (487, 290), None).do_paint_rgb(RGB, 564920 bytes, x=0, y=0, width=487, height=290, rowstride=1948, options={'encoding': 'webp', 'quality': 100, 'window-size': (487, 290), 'rgb_format': u'RGB'})
2019-10-29 20:15:09,946 wglMakeCurrent(0x72011197, 0x20000)
2019-10-29 20:15:09,947 BeginPaint hdc=0xffffffff9101119c
2019-10-29 20:15:09,947 RGB update at (0,0) size 487x290 (564920 bytes), using GL zerocopy:memoryview format=RGB / UNSIGNED_BYTE to internal format=RGB8
2019-10-29 20:15:09,948 set_alignment(487, 1948, u'RGB') GL_UNPACK_ROW_LENGTH=649, GL_UNPACK_ALIGNMENT=4
2019-10-29 20:15:09,949 present_fbo: adding (0, 0, 487, 290) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:15:09,950 do_present_fbo: painting ((0, 0, 487, 290),)
2019-10-29 20:15:09,950 Presenting FBO on screen
2019-10-29 20:15:09,951 1.do_gl_show(gtk2.GLDrawingArea(1, (487, 290), None)) swapping buffers now
2019-10-29 20:15:09,951 swap_buffers: calling SwapBuffers(0xffffffff9101119c)
2019-10-29 20:15:09,959 gl_show after  33ms took  8ms,  1 updates
2019-10-29 20:15:09,960 gtk2.GLDrawingArea(1, (487, 290), None).gl_frame_terminator()
2019-10-29 20:15:09,961 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x00000000072c74d0>(GL_FRAMEBUFFER (36160), 2)
2019-10-29 20:15:09,961 gtk2.GLDrawingArea(1, (487, 290), None).do_present_fbo() done
2019-10-29 20:15:09,961 EndPaint
2019-10-29 20:15:10,154 gtk2.GLDrawingArea(1, (487, 290), None).do_paint_rgb(RGB, 564920 bytes, x=0, y=0, width=487, height=290, rowstride=1948, options={'encoding': 'webp', 'quality': 100, 'window-size': (487, 290), 'rgb_format': u'RGB'})
2019-10-29 20:15:10,161 wglMakeCurrent(0x72011197, 0x20000)
2019-10-29 20:15:10,163 BeginPaint hdc=0x32011246
2019-10-29 20:15:10,165 RGB update at (0,0) size 487x290 (564920 bytes), using GL zerocopy:memoryview format=RGB / UNSIGNED_BYTE to internal format=RGB8
2019-10-29 20:15:10,166 set_alignment(487, 1948, u'RGB') GL_UNPACK_ROW_LENGTH=649, GL_UNPACK_ALIGNMENT=4
2019-10-29 20:15:10,172 present_fbo: adding (0, 0, 487, 290) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:15:10,173 do_present_fbo: painting ((0, 0, 487, 290),)
2019-10-29 20:15:10,174 Presenting FBO on screen
2019-10-29 20:15:10,176 1.do_gl_show(gtk2.GLDrawingArea(1, (487, 290), None)) swapping buffers now
2019-10-29 20:15:10,177 swap_buffers: calling SwapBuffers(0x32011246)
2019-10-29 20:15:10,193 gl_show after 233ms took 17ms,  1 updates
2019-10-29 20:15:10,195 gtk2.GLDrawingArea(1, (487, 290), None).gl_frame_terminator()
2019-10-29 20:15:10,196 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x00000000072c74d0>(GL_FRAMEBUFFER (36160), 2)
2019-10-29 20:15:10,197 gtk2.GLDrawingArea(1, (487, 290), None).do_present_fbo() done
2019-10-29 20:15:10,197 EndPaint
  • python3 client:
2019-10-29 20:24:41,839 process_new_common: wid=1, OR=False, geometry([276, 60, 487, 290])=(276, 60, 487, 290) / (487, 290)
2019-10-29 20:24:42,013 init_formats() texture pixel format=RGB, internal format=RGB8, rgb modes=['YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR']
2019-10-29 20:24:42,013 setup_window() position=(276, 60), set_initial_position=False, OR=False, decorated=True
2019-10-29 20:24:42,014 setup_window() window frame sizes={'normal': (11, 11), 'fixed': (3, 3), 'minimum': (194, 55), 'menu-bar': 30, 'border': 1, 'caption': 33, 'offset': (11, 44), 'frame': (11, 11, 44, 11)}
2019-10-29 20:24:42,014 setup_window() adjusted initial position=(265, 16)
2019-10-29 20:24:42,015 set_size_constraints({b'base-size': (19, 4), b'increment': (6, 13), b'gravity': 1, b'minimum-size': (194, 55)}, (32767, 32767))
2019-10-29 20:24:42,015 intpair(b'maximum-size')=None
2019-10-29 20:24:42,015 intpair(b'minimum-size')=(194, 55)
2019-10-29 20:24:42,015 intpair(b'base-size')=(19, 4)
2019-10-29 20:24:42,015 intpair(b'increment')=(6, 13)
2019-10-29 20:24:42,016 modified hints for max window size (32767, 32767): {b'min_width': 194, b'min_height': 55, b'base_width': 19, b'base_height': 4, b'width_inc': 6, b'height_inc': 13} (rw=0, rh=3) -> max=32767x32764
2019-10-29 20:24:42,016 calling: <bound method GTK3ClientWindow.apply_geometry_hints of GLClientWindow(1 : gtk3.GLDrawingArea(1, (487, 290), None))>({b'min_width': 194, b'min_height': 55, b'base_width': 19, b'base_height': 4, b'width_inc': 6, b'height_inc': 13})
2019-10-29 20:24:42,039 ChoosePixelFormat for window 0x4704fe and 8 bpc: 0xf
2019-10-29 20:24:42,039 DescribePixelFormat: {'rgba': True, 'depth': 32, 'red-size': 8, 'green-size': 8, 'blue-size': 8, 'alpha-size': 0, 'red-shift': 16, 'green-shift': 8, 'blue-shift': 0, 'alpha-shift': 0, 'accum-red-size': 16, 'accum-green-size': 16, 'accum-blue-size': 16, 'accum-size': 64, 'depth-size': 0, 'stencil-size': 8, 'aux-buffers': 4, 'visible-mask': 0, 'double-buffered': True}
2019-10-29 20:24:42,040 wglCreateContext(0xffffffffe701115e)=0x20000
2019-10-29 20:24:42,040 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,042 BeginPaint hdc=0xffffffffe30110e2
2019-10-29 20:24:42,042 GL_MAX_TEXTURE_SIZE=16384
2019-10-29 20:24:42,042 Texture size GL_MAX_RECTANGLE_TEXTURE_SIZE=16384
2019-10-29 20:24:42,042 Initializing GL context for window size (487, 290), backing size (487, 290), max texture size=16384

(Xpra_Audio.exe:3796): GStreamer-WARNING **: 20:24:42.046: Failed to load plugin 'C:\msys64\mingw64\lib\gstreamer-1.0\libgsttwolame.dll': 'C:\msys64\mingw64\lib\gstreamer-1.0\libgsttwolame.dll': The specified procedure could not be found.
2019-10-29 20:24:42,060 gtk3.GLDrawingArea(1, (487, 290), None).gl_init_textures() textures: [1 2 3 4 5 6 7], offscreen fbo: 1, tmp fbo: 2
2019-10-29 20:24:42,071 YUV2RGB shader initialized
2019-10-29 20:24:42,072 YUV2RGBFULL shader initialized
2019-10-29 20:24:42,072 RGBP2RGB shader initialized
2019-10-29 20:24:42,072 gl_init() done
2019-10-29 20:24:42,072 set_alignment(16, 64, 'RGBA') GL_UNPACK_ROW_LENGTH=0, GL_UNPACK_ALIGNMENT=8
2019-10-29 20:24:42,073 GL cursor 16x16 uploaded 1024 bytes of RGBA pixel data using copy:bytes
2019-10-29 20:24:42,073 EndPaint
2019-10-29 20:24:42,079 GL do_configure_event(<Gdk.EventConfigure object at 0x0000000029d40270 (void at 0x0000000013b46290)>)
2019-10-29 20:24:42,080 ['configure-window', 1, 265, 60, 483, 279, {'encodings.rgb_formats': ['YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR'], 'encoding.transparency': False, 'encoding.full_csc_modes': {'h264': ['ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'vp8': ['YUV420P'], 'h265': ['BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'mpeg4': ['YUV420P'], 'mpeg1': ['YUV420P'], 'mpeg2': ['YUV420P'], 'vp9': ['YUV420P', 'YUV444P'], 'webp': ['BGRA', 'BGRX', 'RGBA', 'RGBX']}, 'encoding.send-window-size': True, 'encoding.scrolling': True, 'encoding.bit-depth': 24}, 0, {}, False]
2019-10-29 20:24:42,080 configure event: current size=(487, 290), new size=(483, 279), backing=gtk3.GLDrawingArea(1, (487, 290), None), iconified=False
2019-10-29 20:24:42,081 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,081 BeginPaint hdc=0x7f011241
2019-10-29 20:24:42,081 GL_MAX_TEXTURE_SIZE=16384
2019-10-29 20:24:42,081 Texture size GL_MAX_RECTANGLE_TEXTURE_SIZE=16384
2019-10-29 20:24:42,082 Initializing GL context for window size (483, 279), backing size (483, 279), max texture size=16384
2019-10-29 20:24:42,082 gl_init() done
2019-10-29 20:24:42,083 EndPaint
2019-10-29 20:24:42,084 GLClientWindow(1 : gtk3.GLDrawingArea(1, (483, 279), None)).window_state_updated(GLClientWindow(1 : gtk3.GLDrawingArea(1, (483, 279), None)), <Gdk.EventWindowState object at 0x0000000029d4bc20 (void at 0x0000000013b465b0)>) changed_mask=<flags GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_FOCUSED of type Gdk.WindowState>, new_window_state=<flags GDK_WINDOW_STATE_FOCUSED of type Gdk.WindowState>
2019-10-29 20:24:42,085 _focused=True (was False)
2019-10-29 20:24:42,085 window_state_updated(..) state updates: {'focused': True}, actual updates: {'focused': True}, server updates: {'focused': True}
2019-10-29 20:24:42,085 GL do_configure_event(<Gdk.EventConfigure object at 0x0000000029d4bc20 (void at 0x0000000013b46330)>)
2019-10-29 20:24:42,085 ['configure-window', 1, 265, 60, 483, 279, {}, 0, {'focused': True}, False]
2019-10-29 20:24:42,085 configure event: current size=(483, 279), new size=(483, 279), backing=gtk3.GLDrawingArea(1, (483, 279), None), iconified=False
2019-10-29 20:24:42,086 configure event: size unchanged, queueing redraw
2019-10-29 20:24:42,086 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,086 BeginPaint hdc=0x7f011241
2019-10-29 20:24:42,086 present_fbo: adding (0, 0, 483, 279) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:24:42,086 do_present_fbo: painting ((0, 0, 483, 279),)
2019-10-29 20:24:42,086 Presenting FBO on screen
2019-10-29 20:24:42,088 1.do_gl_show(gtk3.GLDrawingArea(1, (483, 279), None)) swapping buffers now
2019-10-29 20:24:42,088 swap_buffers: calling SwapBuffers(0x7f011241)
2019-10-29 20:24:42,109 gl_show after  96ms took 20ms,  1 updates
2019-10-29 20:24:42,109 gtk3.GLDrawingArea(1, (483, 279), None).gl_frame_terminator()
2019-10-29 20:24:42,110 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x0000000006f4a8e0>(GL_FRAMEBUFFER (GL_FRAMEBUFFER), 2)
2019-10-29 20:24:42,110 gtk3.GLDrawingArea(1, (483, 279), None).do_present_fbo() done
2019-10-29 20:24:42,110 EndPaint
2019-10-29 20:24:42,111 map-window wid=1, geometry=(265, 60, 483, 279), client props={'workspace': 65535}, state={'frame': (11, 11, 44, 11)}
2019-10-29 20:24:42,111 GL do_configure_event(<Gdk.EventConfigure object at 0x0000000029d4bc20 (void at 0x0000000013b46650)>)
2019-10-29 20:24:42,111 ['configure-window', 1, 265, 60, 483, 279, {}, 0, {}, False]
2019-10-29 20:24:42,111 configure event: current size=(483, 279), new size=(483, 279), backing=gtk3.GLDrawingArea(1, (483, 279), None), iconified=False
2019-10-29 20:24:42,112 configure event: size unchanged, queueing redraw
2019-10-29 20:24:42,112 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,112 BeginPaint hdc=0xffffffffe30110e2
2019-10-29 20:24:42,112 present_fbo: adding (0, 0, 483, 279) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:24:42,112 do_present_fbo: painting ((0, 0, 483, 279),)
2019-10-29 20:24:42,112 Presenting FBO on screen
2019-10-29 20:24:42,113 1.do_gl_show(gtk3.GLDrawingArea(1, (483, 279), None)) swapping buffers now
2019-10-29 20:24:42,113 swap_buffers: calling SwapBuffers(0xffffffffe30110e2)
2019-10-29 20:24:42,126 gl_show after  16ms took 12ms,  1 updates
2019-10-29 20:24:42,126 gtk3.GLDrawingArea(1, (483, 279), None).gl_frame_terminator()
2019-10-29 20:24:42,126 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x0000000006f4a8e0>(GL_FRAMEBUFFER (GL_FRAMEBUFFER), 2)
2019-10-29 20:24:42,126 gtk3.GLDrawingArea(1, (483, 279), None).do_present_fbo() done
2019-10-29 20:24:42,127 EndPaint
2019-10-29 20:24:42,131 clip_to_backing(gtk3.GLDrawingArea(1, (483, 279), None), <cairo.Context object at 0x0000000026f7a710>) rectangle=(0, 0, 483, 279)
2019-10-29 20:24:42,131 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,132 BeginPaint hdc=0x7f011241
2019-10-29 20:24:42,132 present_fbo: adding (0, 0, 483, 279) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:24:42,132 do_present_fbo: painting ((0, 0, 483, 279),)
2019-10-29 20:24:42,132 Presenting FBO on screen
2019-10-29 20:24:42,133 1.do_gl_show(gtk3.GLDrawingArea(1, (483, 279), None)) swapping buffers now
2019-10-29 20:24:42,133 swap_buffers: calling SwapBuffers(0x7f011241)
2019-10-29 20:24:42,142 gl_show after  16ms took  9ms,  1 updates
2019-10-29 20:24:42,143 gtk3.GLDrawingArea(1, (483, 279), None).gl_frame_terminator()
2019-10-29 20:24:42,143 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x0000000006f4a8e0>(GL_FRAMEBUFFER (GL_FRAMEBUFFER), 2)
2019-10-29 20:24:42,143 gtk3.GLDrawingArea(1, (483, 279), None).do_present_fbo() done
2019-10-29 20:24:42,143 EndPaint
2019-10-29 20:24:42,144 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,145 BeginPaint hdc=0x7f011241
2019-10-29 20:24:42,145 do_present_fbo: painting ((0, 0, 483, 279),)
2019-10-29 20:24:42,145 Presenting FBO on screen
2019-10-29 20:24:42,146 1.do_gl_show(gtk3.GLDrawingArea(1, (483, 279), None)) swapping buffers now
2019-10-29 20:24:42,146 swap_buffers: calling SwapBuffers(0x7f011241)
2019-10-29 20:24:42,159 gl_show after  16ms took 13ms,  1 updates
2019-10-29 20:24:42,159 gtk3.GLDrawingArea(1, (483, 279), None).gl_frame_terminator()
2019-10-29 20:24:42,159 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x0000000006f4a8e0>(GL_FRAMEBUFFER (GL_FRAMEBUFFER), 2)
2019-10-29 20:24:42,160 gtk3.GLDrawingArea(1, (483, 279), None).do_present_fbo() done
2019-10-29 20:24:42,160 EndPaint
2019-10-29 20:24:42,166 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,167 BeginPaint hdc=0x7f011241
2019-10-29 20:24:42,167 set_alignment(16, 64, 'RGBA') GL_UNPACK_ROW_LENGTH=0, GL_UNPACK_ALIGNMENT=8
2019-10-29 20:24:42,167 GL cursor 16x16 uploaded 1024 bytes of RGBA pixel data using copy:bytes
2019-10-29 20:24:42,167 EndPaint
2019-10-29 20:24:42,169 gtk3.GLDrawingArea(1, (483, 279), None).do_paint_rgb(RGB, 532948 bytes, x=0, y=0, width=481, height=277, rowstride=1924, options={b'rgb_format': 'RGB', b'quality': 100, b'window-size': (481, 277), 'encoding': 'webp'})
2019-10-29 20:24:42,169 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,170 BeginPaint hdc=0x7f011241
2019-10-29 20:24:42,170 RGB update at (0,0) size 481x277 (532948 bytes), using GL copy:memoryview.tobytes format=RGB / UNSIGNED_BYTE to internal format=RGB8
2019-10-29 20:24:42,170 set_alignment(481, 1924, 'RGB') GL_UNPACK_ROW_LENGTH=641, GL_UNPACK_ALIGNMENT=4
2019-10-29 20:24:42,171 present_fbo: adding (0, 0, 481, 277) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:24:42,172 do_present_fbo: painting ((0, 0, 483, 279),)
2019-10-29 20:24:42,172 Presenting FBO on screen
2019-10-29 20:24:42,172 1.do_gl_show(gtk3.GLDrawingArea(1, (483, 279), None)) swapping buffers now
2019-10-29 20:24:42,172 swap_buffers: calling SwapBuffers(0x7f011241)
2019-10-29 20:24:42,176 gl_show after  16ms took  3ms,  1 updates
2019-10-29 20:24:42,176 gtk3.GLDrawingArea(1, (483, 279), None).gl_frame_terminator()
2019-10-29 20:24:42,176 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x0000000006f4a8e0>(GL_FRAMEBUFFER (GL_FRAMEBUFFER), 2)
2019-10-29 20:24:42,176 gtk3.GLDrawingArea(1, (483, 279), None).do_present_fbo() done
2019-10-29 20:24:42,176 EndPaint
2019-10-29 20:24:42,273 gtk3.GLDrawingArea(1, (483, 279), None).do_paint_rgb(RGB, 532948 bytes, x=0, y=0, width=481, height=277, rowstride=1924, options={b'rgb_format': 'RGB', b'quality': 100, b'window-size': (481, 277), 'encoding': 'webp'})
2019-10-29 20:24:42,273 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,273 BeginPaint hdc=0xffffffffe30110e2
2019-10-29 20:24:42,273 RGB update at (0,0) size 481x277 (532948 bytes), using GL copy:memoryview.tobytes format=RGB / UNSIGNED_BYTE to internal format=RGB8
2019-10-29 20:24:42,274 set_alignment(481, 1924, 'RGB') GL_UNPACK_ROW_LENGTH=641, GL_UNPACK_ALIGNMENT=4
2019-10-29 20:24:42,276 present_fbo: adding (0, 0, 481, 277) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:24:42,276 do_present_fbo: painting ((0, 0, 483, 279),)
2019-10-29 20:24:42,276 Presenting FBO on screen
2019-10-29 20:24:42,276 1.do_gl_show(gtk3.GLDrawingArea(1, (483, 279), None)) swapping buffers now
2019-10-29 20:24:42,277 swap_buffers: calling SwapBuffers(0xffffffffe30110e2)
2019-10-29 20:24:42,292 gl_show after 116ms took 16ms,  1 updates
2019-10-29 20:24:42,293 gtk3.GLDrawingArea(1, (483, 279), None).gl_frame_terminator()
2019-10-29 20:24:42,293 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x0000000006f4a8e0>(GL_FRAMEBUFFER (GL_FRAMEBUFFER), 2)
2019-10-29 20:24:42,293 gtk3.GLDrawingArea(1, (483, 279), None).do_present_fbo() done
2019-10-29 20:24:42,293 EndPaint
2019-10-29 20:24:42,391 gtk3.GLDrawingArea(1, (483, 279), None).do_paint_rgb(RGB, 532948 bytes, x=0, y=0, width=481, height=277, rowstride=1924, options={b'rgb_format': 'RGB', b'quality': 100, b'window-size': (481, 277), 'encoding': 'webp'})
2019-10-29 20:24:42,391 wglMakeCurrent(0xffffffffe701115e, 0x20000)
2019-10-29 20:24:42,393 BeginPaint hdc=0x700110bd
2019-10-29 20:24:42,393 RGB update at (0,0) size 481x277 (532948 bytes), using GL copy:memoryview.tobytes format=RGB / UNSIGNED_BYTE to internal format=RGB8
2019-10-29 20:24:42,393 set_alignment(481, 1924, 'RGB') GL_UNPACK_ROW_LENGTH=641, GL_UNPACK_ALIGNMENT=4
2019-10-29 20:24:42,397 present_fbo: adding (0, 0, 481, 277) to pending paint list (size=0), flush=0, paint_screen=True
2019-10-29 20:24:42,398 do_present_fbo: painting ((0, 0, 483, 279),)
2019-10-29 20:24:42,398 Presenting FBO on screen
2019-10-29 20:24:42,400 1.do_gl_show(gtk3.GLDrawingArea(1, (483, 279), None)) swapping buffers now
2019-10-29 20:24:42,400 swap_buffers: calling SwapBuffers(0x700110bd)
2019-10-29 20:24:42,409 gl_show after 116ms took  9ms,  1 updates
2019-10-29 20:24:42,410 gtk3.GLDrawingArea(1, (483, 279), None).gl_frame_terminator()
2019-10-29 20:24:42,411 <OpenGL.platform.baseplatform.glBindFramebuffer object at 0x0000000006f4a8e0>(GL_FRAMEBUFFER (GL_FRAMEBUFFER), 2)
2019-10-29 20:24:42,412 gtk3.GLDrawingArea(1, (483, 279), None).do_present_fbo() done
2019-10-29 20:24:42,412 EndPaint

@totaam
Copy link
Collaborator Author

totaam commented Oct 30, 2019

2019-10-30 15:31:35: antoine uploaded file gtkglarea.patch (4.3 KiB)

try to use Gtk.GLArea

@totaam
Copy link
Collaborator Author

totaam commented Oct 30, 2019

2019-10-30 15:38:01: antoine commented


Turns out that we may be able to use GTK.GLArea with legacy contexts: GTK Bug 756142 - Bring back support for legacy OpenGL contexts using the undocumented env var GDK_GL=legacy. (patch hooks the widget)

As per gdkglcontext-win32.c: * OpenGL does not work with WS_EX_LAYERED enabled, so we need to disable WS_EX_LAYERED when we acquire a valid HGLRC*
I've tried doing the same thing in the window style fixup code (removing WS_EX_LAYERED), but that did not help.

@totaam
Copy link
Collaborator Author

totaam commented Oct 31, 2019

This may help if we have to use gtk.glarea: #2467 move to opengl core profile

@totaam
Copy link
Collaborator Author

totaam commented Nov 2, 2019

As per #2469, this also seems to affect some linux drivers.

@totaam
Copy link
Collaborator Author

totaam commented Nov 3, 2019

Easy fix in r24350 + r24351 + r24353, with older versions use:

XPRA_OPENGL_DRAW_REFRESH=1 ./Xpra_cmd.exe attach ...

Backport in r24352.

@totaam
Copy link
Collaborator Author

totaam commented Nov 3, 2019

2019-11-03 16:12:51: antoine commented


The fix is incorrect, it ends up disabling opengl because this now triggers a rendering error:

Error presenting FBO
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 666, in present_fbo
    self.do_present_fbo()
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 691, in do_present_fbo
    glBindFramebuffer(GL_FRAMEBUFFER, 0)
  File "E:\Xpra\trunk\src\dist\lib\library.zip\OpenGL\error.py", line 223, in glCheckError
    raise GLError(
OpenGL.error.GLError: GLError(
        err = 1282,
        description = b'invalid operation',
        baseOperation = glBindFramebuffer,
        cArguments = (GL_FRAMEBUFFER, 0)
)
EndPaint

@totaam
Copy link
Collaborator Author

totaam commented Nov 4, 2019

The rendering error is fixed in r24365, but the window remains transparent..

@totaam
Copy link
Collaborator Author

totaam commented Nov 4, 2019

"Fix" for now is to disable opengl on win32: r24369 + r24371.

Backport in 24374.

See also #2243 and r23305, maybe #2457 is related somehow?

@totaam
Copy link
Collaborator Author

totaam commented Nov 7, 2019

Indeed, #2457 and #2475 were related and r24405 fixes all 3 bugs.

So r24405 partially reverts r24369 and r24371: we just keep the opengl variable substitution in the config file.
v3.x revert in r24406.

@totaam
Copy link
Collaborator Author

totaam commented Nov 17, 2019

XPRA_OPENGL_DRAW_REFRESH=1 seems to have caused a performance regression: #2481

@totaam
Copy link
Collaborator Author

totaam commented Jan 6, 2020

2020-01-06 19:52:18: afarr uploaded file ticket-1797-opengl-log.txt (213.8 KiB)

Long client logs with -d opengl, including launch of chromium-browser from xterm.

@totaam
Copy link
Collaborator Author

totaam commented Jan 6, 2020

2020-01-06 19:52:58: afarr uploaded file ticket-1797-opengl-log2.txt (77.0 KiB)

Short client logs with -d opengl, connecting to session with chromium-browser already launched.

@totaam
Copy link
Collaborator Author

totaam commented Jan 6, 2020

2020-01-06 19:53:32: afarr uploaded file ticket-1797-opengl-off-log.txt (1.8 KiB)

Very short client logs with -d opengl, but oengl=off.

@totaam
Copy link
Collaborator Author

totaam commented Jan 6, 2020

2020-01-06 20:01:52: afarr commented


I guess I'm reopening this ticket.

With Xpra-Python3_Setup_3.0.4-24778.exe (on windows 7) launched against Fedora 30 server with xpra v3.0.4-24778 (I don't see a r24903 or later server version, mentioned in #1797, or client version available with dnf update on stable or pulling from /dists directory) with my new-usual server launch command of:

 xpra start :13 --no-daemon --bind-tcp=0.0.0.0:1234 --bind-ws=0.0.0.0:1237 --bind-wss=0.0.0.0:1239 --ssl-cert=/etc/xpra/148-ssl.pem  --start-child=xterm --start-child=xterm --exit-with-children

When the python client connects with opengl enabled, I am unable to display a chromium-browser launched from an xterm... though I am able to display firefox.

Attached new log.txt with a long list of client-side logs with -d opengl... which started with initial launch of session and then all the time it took to launch the chromium-browser in one of the xterms (which didn't display).

Attached log2.txt which is shorter, client-side logs from simply re-connecting to the same session with that chromium-browser application already running (which doesn't display) and then disconnecting within a second or three.

And, just for comparison, included opengl-off-log.txt capturing the logs with opengl disabled - which unsurprisingly results in a very short bit of logs, but seemed like it ought to be included just for completeness?

@totaam
Copy link
Collaborator Author

totaam commented Jan 6, 2020

2020-01-06 20:31:15: antoine commented


Happening again with a chromium window, but not the xterm. (just like #2514 - maybe should have gone there?)

Key elements from the logs:

OpenGL enabled with Intel(R) HD Graphics 530

[/wiki/ClientRendering/OpenGL#IntelDriverIssues Intel driver], we meet again.

Desktop-scaling is triggered by the large desktop size:

desktop size is 5760x2160 with 1 screen:
  Default (1524x571 mm - DPI: 96x96)
    Lenovo Wide viewing angle & High density FlexView Display 1920x1080 1920x1080 at 3840x1080 (344x194 mm - DPI: 141x141) workarea: 1920x1040
    (Standard monitor types) DELL UP3214Q 3840x2160 (698x392 mm - DPI: 139x139) workarea: 3840x2160
 upscaled to 125%, virtual screen size: 4608x1728
  Default (1524x571 mm - DPI: 76x76)
    Lenovo Wide viewing angle & High density FlexView Display 1920x1080 1536x864 at 3072x864 (344x194 mm - DPI: 113x113) workarea: 1536x832
    (Standard monitor types) DELL UP3214Q 3072x1728 (698x392 mm - DPI: 111x111) workarea: 3072x1728

The xterm window which does show up:

Initializing GL context for window size (624, 395), backing size (499, 316), max texture size=16384

I am guessing that the chromium window must be this one:

Initializing GL context for window size (1313, 853), backing size (1050, 682), max texture size=16384

Lots of h264 screen updates quite early on, but nothing unexpected otherwise.


@afarr: Looks to me like 24727 isn't doing what it is supposed to. As per #2514#comment:8: GTK3 is just buggy on win32 with undecorated windows, we are not supposed to use opengl on win32 with GTK3 if the window is not decorated. (I believe your chromium window draws its own decorations and does not use the default window manager decorations) Yet, from the logs, opengl seems to be used to try to draw it. Weird.

The only other possibility is some bad interaction between desktop-scaling and 24441 / 24483, does the problem go away if you turn it off? (either using --desktop-scaling=no or using the system tray menu).

If not, please post the -d window log of just when chromium is launched.

@totaam
Copy link
Collaborator Author

totaam commented Jan 6, 2020

2020-01-06 20:55:51: afarr commented


Using the same versions, when I launch the client with --desktop-scaling=no the chromium-browser still fails to display when launched (with greylisted but on opengl).

Got this from the -d window in client-side logs when launching the chromium-browser.

2020-01-06 12:50:52,119 make_new_window(..) client_window_classes=(<class 'xpra.client.gl.gtk3.nativegl_client_window.GLClientWindow'>, <class 'xpra.client.gtk3.client_window.ClientWindow'>), group_leader_window=<__gi__.GdkWin32Window object at 0x000000003c18dc80 (GdkWin32Window at 0x0000000003004960)>
2020-01-06 12:50:52,120 <class 'xpra.client.gl.gtk3.nativegl_client_window.GLClientWindow'>(gtk3.client, <__gi__.GdkWin32Window object at 0x000000003c18dc80 (GdkWin32Window at 0x0000000003004960)>, 0, 4, 395, 1030, 1050, 682, 1050, 682, {b'xid': b'0xc00001', b'client-machine': b'xpra-lib-fed30-2', b'pid': 13942, b'title': b'New Tab - Chromium', b'role': b'browser', b'class-instance': (b'chromium-browser', b'Chromium-browser'), b'window-type': (b'NORMAL',), b'size-constraints': {b'position': (395, 1030), b'minimum-size': (508, 87)}, b'
icon-title': b'', b'decorations': 0, b'set-initial-position': True, b'iconic': False}, False, {}, WindowBorder(False, 0xD41D8C, 0.6, 5), (32767, 32767), [4096, 2048, 16, 16, 7, 7, 1, b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xf
f\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xf
f\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xf
f\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0
0\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x0
0\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xf
f\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xf
f\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\xff\x00\x00\x00\xff\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff', b''], 0)
2020-01-06 12:50:52,135 setup_window(1050, 682)
2020-01-06 12:50:52,137 new_backing(1050, 682) backing_class=<class 'xpra.client.gl.gtk_base.gl_drawing_area.GLDrawingArea'>
2020-01-06 12:50:52,138 make_new_backing(<class 'xpra.client.gl.gtk_base.gl_drawing_area.GLDrawingArea'>, 1050, 682, 1050, 682) effective backing class=<class 'xpra.client.gl.gtk_b
ase.gl_drawing_area.GLDrawingArea'>, server alpha=False, window alpha=False
2020-01-06 12:50:52,140 set_window_type(['NORMAL']) hints=0
2020-01-06 12:50:52,141 make_new_window(..) window(4)=GLClientWindow(4 : gtk3.GLDrawingArea(4, (1050, 682), None))
2020-01-06 12:50:52,147 Win32Hooks: window frame size is 8x8
2020-01-06 12:50:52,148 Win32Hooks: message_map={36: <bound method Win32Hooks.on_getminmaxinfo of <xpra.platform.win32.window_hooks.Win32Hooks object at 0x000000003ae24640>>}
2020-01-06 12:50:52,155 GL do_configure_event(<Gdk.EventConfigure object at 0x000000003c18b950 (void at 0x000000001b394510)>)
2020-01-06 12:50:52,158 GLClientWindow(4 : gtk3.GLDrawingArea(4, (1050, 682), None)).do_map_event(<Gdk.EventAny object at 0x000000003ae254f0 (void at 0x000000001b394b50)>) OR=False

2020-01-06 12:50:52,160 GL do_configure_event(<Gdk.EventConfigure object at 0x000000003ae254f0 (void at 0x000000001b394bf0)>)
2020-01-06 12:50:52,229 cairo_paint_border(<cairo.Context object at 0x000000003c189830>, None)
2020-01-06 12:50:52,242 cairo_paint_border(<cairo.Context object at 0x000000003c189910>, None)
2020-01-06 12:50:52,246 cairo_paint_border(<cairo.Context object at 0x000000003ae13f10>, None)
2020-01-06 12:50:52,265 cairo_paint_border(<cairo.Context object at 0x000000003c1899f0>, None)
2020-01-06 12:50:52,267 cairo_paint_border(<cairo.Context object at 0x000000003c189470>, None)
2020-01-06 12:50:52,282 cairo_paint_border(<cairo.Context object at 0x000000003c189c50>, None)
2020-01-06 12:50:52,284 cairo_paint_border(<cairo.Context object at 0x000000003c189070>, None)
2020-01-06 12:50:52,294 cairo_paint_border(<cairo.Context object at 0x000000003c189750>, None)
2020-01-06 12:50:52,296 cairo_paint_border(<cairo.Context object at 0x000000003ae13e10>, None)
2020-01-06 12:50:52,308 cairo_paint_border(<cairo.Context object at 0x000000003ae13e10>, None)
2020-01-06 12:50:52,310 cairo_paint_border(<cairo.Context object at 0x000000003ae13e50>, None)
2020-01-06 12:50:52,325 cairo_paint_border(<cairo.Context object at 0x000000003c189830>, None)
2020-01-06 12:50:52,327 cairo_paint_border(<cairo.Context object at 0x000000003ae13e10>, None)
2020-01-06 12:50:52,342 cairo_paint_border(<cairo.Context object at 0x000000003c189090>, None)
2020-01-06 12:50:52,345 cairo_paint_border(<cairo.Context object at 0x000000003ae13e50>, None)
2020-01-06 12:50:52,359 cairo_paint_border(<cairo.Context object at 0x000000003ae13f10>, None)
2020-01-06 12:50:52,361 cairo_paint_border(<cairo.Context object at 0x000000003ae13e10>, None)
2020-01-06 12:50:52,376 cairo_paint_border(<cairo.Context object at 0x000000003c189c50>, None)
2020-01-06 12:50:52,378 cairo_paint_border(<cairo.Context object at 0x000000003ae13e50>, None)
2020-01-06 12:50:52,392 cairo_paint_border(<cairo.Context object at 0x000000003c189750>, None)
2020-01-06 12:50:52,394 cairo_paint_border(<cairo.Context object at 0x000000003ae13e50>, None)
2020-01-06 12:50:52,408 cairo_paint_border(<cairo.Context object at 0x000000003c189cb0>, None)
2020-01-06 12:50:52,410 cairo_paint_border(<cairo.Context object at 0x000000003ae13e50>, None)
2020-01-06 12:50:52,425 cairo_paint_border(<cairo.Context object at 0x000000003c189050>, None)
2020-01-06 12:50:52,427 cairo_paint_border(<cairo.Context object at 0x000000003ae13a30>, None)
2020-01-06 12:50:52,443 cairo_paint_border(<cairo.Context object at 0x000000003c189970>, None)
2020-01-06 12:50:52,446 cairo_paint_border(<cairo.Context object at 0x000000003ae13e50>, None)
2020-01-06 12:50:57,270 cairo_paint_border(<cairo.Context object at 0x000000003c18fc70>, None)
2020-01-06 12:50:57,287 cairo_paint_border(<cairo.Context object at 0x000000003c18f530>, None)
2020-01-06 12:50:57,304 cairo_paint_border(<cairo.Context object at 0x000000003c18ffd0>, None)
2020-01-06 12:50:57,322 cairo_paint_border(<cairo.Context object at 0x000000003c18f730>, None)
2020-01-06 12:50:57,338 cairo_paint_border(<cairo.Context object at 0x000000003c18fc90>, None)
2020-01-06 12:50:57,353 cairo_paint_border(<cairo.Context object at 0x000000003c18fc90>, None)
2020-01-06 12:50:57,370 cairo_paint_border(<cairo.Context object at 0x000000003c18fc90>, None)
2020-01-06 12:50:57,387 cairo_paint_border(<cairo.Context object at 0x000000003c18feb0>, None)
2020-01-06 12:50:57,403 cairo_paint_border(<cairo.Context object at 0x000000003c18fb70>, None)
2020-01-06 12:50:57,420 cairo_paint_border(<cairo.Context object at 0x000000003c18fb50>, None)
2020-01-06 12:50:57,437 cairo_paint_border(<cairo.Context object at 0x000000003c18ffd0>, None)
2020-01-06 12:50:57,454 cairo_paint_border(<cairo.Context object at 0x000000003c18fdf0>, None)
2020-01-06 12:50:57,470 cairo_paint_border(<cairo.Context object at 0x000000003c18f9d0>, None)

@totaam
Copy link
Collaborator Author

totaam commented Jan 7, 2020

Thanks for the logs afarr!

It was a patch problem: #2514 comment 12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant