Xpra: Ticket #1469: Windows resize problems

Resized windows have repaint problems. If the window is smaller and it's being enlarged, the new area is not painted. If the window size is reduced, the content is pushed down but it responds to mouse events in the place is should be. The only workaround is to restart the xpra client after each window resize.

OS: Arch Linux DE: Xfce Xpra version: v2.0-r15316



Mon, 20 Mar 2017 04:10:56 GMT - Antoine Martin: owner changed

How is this different from #1468? Does it occur with / without opengl rendering? Does it happen with another DE?

Please provide more information as per ticket:1468#comment:1 and wiki/ReportingBugs.


Tue, 21 Mar 2017 04:46:35 GMT - alin104n:

It is not different from #1468. It occurs without opengl rendering.

I'm unable to log the server or try out any other DEs but here is the client log:

[usr@pc ~]$ xpra attach :11 -d geometry
2017-03-21 06:36:20,656 Xpra gtk2 client version 2.0-r15316 64-bit
2017-03-21 06:36:20,656  running on Linux Parabola rolling n/a
2017-03-21 06:36:21,602 GStreamer version 1.10.4 for Python 2.7.13 64-bit
2017-03-21 06:36:21,853 Warning: vendor 'Intel Open Source Technology Center' is greylisted,
2017-03-21 06:36:21,854  you may want to turn off OpenGL if you encounter bugs
2017-03-21 06:36:21,862 PyOpenGL warning: missing accelerate module
2017-03-21 06:36:21,867 setup_window() position=(-100, -100), set_initial_position=False, OR=False, decorated=True
2017-03-21 06:36:21,867 set_size_constraints({}, (4096, 4096))
2017-03-21 06:36:21,867 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:21,867 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(4294967295)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:21,880 OpenGL enabled with Mesa DRI Intel(R) Ivybridge Desktop
2017-03-21 06:36:21,904  keyboard settings: rules=evdev, model=pc105, layout=ro
2017-03-21 06:36:21,905  desktop size is 1920x1080 with 1 screen:
2017-03-21 06:36:21,905   :0.0 (508x285 mm - DPI: 96x96) workarea: 1882x1080 at 38x0
2017-03-21 06:36:21,905     monitor 1 (1600x900 mm - DPI: 30x30)
2017-03-21 06:36:21,994 enabled fast mmap transfers using 256MB shared memory area
2017-03-21 06:36:21,994 Xpra X11 server version 2.0-r15316 64-bit
2017-03-21 06:36:21,994  running on Linux Parabola rolling n/a
2017-03-21 06:36:21,994 enabled remote logging
2017-03-21 06:36:22,005 Attached to :11 (press Control-C to detach)
2017-03-21 06:36:56,890 process_new_common: wid=193, OR=False, geometry([254, 268, 1666, 812])=(254, 268, 1666, 812, 1666, 812)
2017-03-21 06:36:56,892 setup_window() position=(254, 268), set_initial_position=True, OR=False, decorated=True
2017-03-21 06:36:56,893 setup_window() window frame sizes={'frame': (1, 1, 24, 1), 'offset': (1, 24)}
2017-03-21 06:36:56,893 setup_window() adjusted initial position=(253, 244)
2017-03-21 06:36:56,894 set_size_constraints({'position': (254, 268)}, (4096, 4096))
2017-03-21 06:36:56,894 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:56,895 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(193)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:56,896 set_size_constraints({'position': (254, 268)}, (4096, 4096))
2017-03-21 06:36:56,896 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:56,897 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(193)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:56,968 ['configure-window', 193, 253, 267, 1666, 812, {'encoding.scrolling': True, 'encodings.rgb_formats': ['YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR'], 'encoding.transparency': False, 'encoding.bit-depth': 24}, 0, {}, False, 193, (615, 468), []]
2017-03-21 06:36:56,974 ['configure-window', 193, 253, 267, 1666, 812, {}, 0, {'focused': True}, False, 193, (615, 468), []]
2017-03-21 06:36:56,976 ['configure-window', 193, 253, 267, 1666, 812, {}, 0, {}, False, 193, (615, 468), []]
2017-03-21 06:36:56,979 map-window wid=193, geometry=(253, 267, 1666, 812), client props={'workspace': 65535}, state={'frame': (1, 1, 24, 1)}
2017-03-21 06:36:57,012 set_size_constraints({'position': (254, 268), 'minimum-size': (486, 66)}, (4096, 4096))
2017-03-21 06:36:57,013 modified hints for max window size (4096, 4096): {'min_width': 486, 'min_height': 66} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:57,013 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(193)>({'min_width': 486, 'min_height': 66, 'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:57,678 ['configure-window', 193, 253, 267, 1666, 812, {'screen': 0, 'workspace': 0}, 0, {'focused': False}, True, 193, (617, 467), []]
2017-03-21 06:36:58,505 ['configure-window', 193, 253, 267, 1666, 812, {}, 0, {'focused': True}, True, 193, (617, 468), []]
2017-03-21 06:36:59,327 process_new_common: wid=194, OR=True, geometry([487, 283, 234, 30])=(487, 283, 234, 30, 234, 30)
2017-03-21 06:36:59,328 setup_window() position=(487, 283), set_initial_position=False, OR=True, decorated=False
2017-03-21 06:36:59,329 window fits in monitor 0:
2017-03-21 06:36:59,329 set_size_constraints({}, (4096, 4096))
2017-03-21 06:36:59,329 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:59,330 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(194)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:59,331 set_size_constraints({}, (4096, 4096))
2017-03-21 06:36:59,331 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:59,331 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(194)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:37:02,599 _process_configure_override_redirect[194, 494, 282, 201, 30] move resize window GLClientWindow(194 : gtk2.GLWindowBacking(194, (234, 30), None)) (id=194) to (494, 282, 201, 30)
2017-03-21 06:37:02,600 window 194 move_resize(494, 282, 201, 30, -1)
2017-03-21 06:37:02,600 window origin=487x283, root origin=487x283, actual position=494x282
2017-03-21 06:37:02,601 validated window position for total screen area 1920x1080 : 494x282
2017-03-21 06:37:02,601 <gtk.gdk.Window object at 0x33806d9b320 (GdkWindow at 0x5623386d80)>.move_resize(494, 282, 201, 30)
2017-03-21 06:37:03,516 _process_configure_override_redirect[194, 494, 282, 234, 30] move resize window GLClientWindow(194 : gtk2.GLWindowBacking(194, (201, 30), None)) (id=194) to (494, 282, 234, 30)
2017-03-21 06:37:03,517 window 194 move_resize(494, 282, 234, 30, -1)
2017-03-21 06:37:03,517 unchanged position 494x282, using resize(234, 30)
2017-03-21 06:37:03,597 ['configure-window', 193, 252, 262, 1667, 817, {}, 0, {}, False, 193, (253, 245), []]
2017-03-21 06:37:03,599 ['configure-window', 193, 252, 262, 1667, 817, {}, 0, {}, False, 193, (253, 245), []]
2017-03-21 06:37:03,629 ['configure-window', 193, 252, 261, 1667, 818, {}, 0, {}, False, 193, (253, 244), []]
2017-03-21 06:37:03,631 ['configure-window', 193, 252, 261, 1667, 818, {}, 0, {}, False, 193, (253, 244), []]
2017-03-21 06:37:03,664 ['configure-window', 193, 251, 259, 1668, 820, {}, 0, {}, False, 193, (252, 242), []]
2017-03-21 06:37:03,667 ['configure-window', 193, 251, 259, 1668, 820, {}, 0, {}, False, 193, (252, 242), []]
2017-03-21 06:37:03,695 ['configure-window', 193, 250, 257, 1669, 822, {}, 0, {}, False, 193, (251, 240), []]
2017-03-21 06:37:03,698 ['configure-window', 193, 250, 257, 1669, 822, {}, 0, {}, False, 193, (251, 238), []]

Tue, 21 Mar 2017 04:48:14 GMT - alin104n:

It is not different from #1468. It occurs without opengl rendering.

I'm unable to log the server or try out any other DEs but here is the client log:

[usr@pc ~]$ xpra attach :11 -d geometry
2017-03-21 06:36:20,656 Xpra gtk2 client version 2.0-r15316 64-bit
2017-03-21 06:36:20,656  running on Linux Parabola rolling n/a
2017-03-21 06:36:21,602 GStreamer version 1.10.4 for Python 2.7.13 64-bit
2017-03-21 06:36:21,853 Warning: vendor 'Intel Open Source Technology Center' is greylisted,
2017-03-21 06:36:21,854  you may want to turn off OpenGL if you encounter bugs
2017-03-21 06:36:21,862 PyOpenGL warning: missing accelerate module
2017-03-21 06:36:21,867 setup_window() position=(-100, -100), set_initial_position=False, OR=False, decorated=True
2017-03-21 06:36:21,867 set_size_constraints({}, (4096, 4096))
2017-03-21 06:36:21,867 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:21,867 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(4294967295)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:21,880 OpenGL enabled with Mesa DRI Intel(R) Ivybridge Desktop
2017-03-21 06:36:21,904  keyboard settings: rules=evdev, model=pc105, layout=ro
2017-03-21 06:36:21,905  desktop size is 1920x1080 with 1 screen:
2017-03-21 06:36:21,905   :0.0 (508x285 mm - DPI: 96x96) workarea: 1882x1080 at 38x0
2017-03-21 06:36:21,905     monitor 1 (1600x900 mm - DPI: 30x30)
2017-03-21 06:36:21,994 enabled fast mmap transfers using 256MB shared memory area
2017-03-21 06:36:21,994 Xpra X11 server version 2.0-r15316 64-bit
2017-03-21 06:36:21,994  running on Linux Parabola rolling n/a
2017-03-21 06:36:21,994 enabled remote logging
2017-03-21 06:36:22,005 Attached to :11 (press Control-C to detach)
2017-03-21 06:36:56,890 process_new_common: wid=193, OR=False, geometry([254, 268, 1666, 812])=(254, 268, 1666, 812, 1666, 812)
2017-03-21 06:36:56,892 setup_window() position=(254, 268), set_initial_position=True, OR=False, decorated=True
2017-03-21 06:36:56,893 setup_window() window frame sizes={'frame': (1, 1, 24, 1), 'offset': (1, 24)}
2017-03-21 06:36:56,893 setup_window() adjusted initial position=(253, 244)
2017-03-21 06:36:56,894 set_size_constraints({'position': (254, 268)}, (4096, 4096))
2017-03-21 06:36:56,894 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:56,895 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(193)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:56,896 set_size_constraints({'position': (254, 268)}, (4096, 4096))
2017-03-21 06:36:56,896 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:56,897 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(193)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:56,968 ['configure-window', 193, 253, 267, 1666, 812, {'encoding.scrolling': True, 'encodings.rgb_formats': ['YUV420P', 'YUV422P', 'YUV444P', 'GBRP', 'BGRA', 'BGRX', 'RGBA', 'RGBX', 'RGB', 'BGR'], 'encoding.transparency': False, 'encoding.bit-depth': 24}, 0, {}, False, 193, (615, 468), []]
2017-03-21 06:36:56,974 ['configure-window', 193, 253, 267, 1666, 812, {}, 0, {'focused': True}, False, 193, (615, 468), []]
2017-03-21 06:36:56,976 ['configure-window', 193, 253, 267, 1666, 812, {}, 0, {}, False, 193, (615, 468), []]
2017-03-21 06:36:56,979 map-window wid=193, geometry=(253, 267, 1666, 812), client props={'workspace': 65535}, state={'frame': (1, 1, 24, 1)}
2017-03-21 06:36:57,012 set_size_constraints({'position': (254, 268), 'minimum-size': (486, 66)}, (4096, 4096))
2017-03-21 06:36:57,013 modified hints for max window size (4096, 4096): {'min_width': 486, 'min_height': 66} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:57,013 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(193)>({'min_width': 486, 'min_height': 66, 'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:57,678 ['configure-window', 193, 253, 267, 1666, 812, {'screen': 0, 'workspace': 0}, 0, {'focused': False}, True, 193, (617, 467), []]
2017-03-21 06:36:58,505 ['configure-window', 193, 253, 267, 1666, 812, {}, 0, {'focused': True}, True, 193, (617, 468), []]
2017-03-21 06:36:59,327 process_new_common: wid=194, OR=True, geometry([487, 283, 234, 30])=(487, 283, 234, 30, 234, 30)
2017-03-21 06:36:59,328 setup_window() position=(487, 283), set_initial_position=False, OR=True, decorated=False
2017-03-21 06:36:59,329 window fits in monitor 0:
2017-03-21 06:36:59,329 set_size_constraints({}, (4096, 4096))
2017-03-21 06:36:59,329 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:59,330 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(194)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:36:59,331 set_size_constraints({}, (4096, 4096))
2017-03-21 06:36:59,331 modified hints for max window size (4096, 4096): {} (rw=0, rh=0) -> max=4096x4096
2017-03-21 06:36:59,331 calling: <bound method GLClientWindow.apply_geometry_hints of ClientWindow(194)>({'max_height': 4096, 'max_width': 4096})
2017-03-21 06:37:02,599 _process_configure_override_redirect[194, 494, 282, 201, 30] move resize window GLClientWindow(194 : gtk2.GLWindowBacking(194, (234, 30), None)) (id=194) to (494, 282, 201, 30)
2017-03-21 06:37:02,600 window 194 move_resize(494, 282, 201, 30, -1)
2017-03-21 06:37:02,600 window origin=487x283, root origin=487x283, actual position=494x282
2017-03-21 06:37:02,601 validated window position for total screen area 1920x1080 : 494x282
2017-03-21 06:37:02,601 <gtk.gdk.Window object at 0x33806d9b320 (GdkWindow at 0x5623386d80)>.move_resize(494, 282, 201, 30)
2017-03-21 06:37:03,516 _process_configure_override_redirect[194, 494, 282, 234, 30] move resize window GLClientWindow(194 : gtk2.GLWindowBacking(194, (201, 30), None)) (id=194) to (494, 282, 234, 30)
2017-03-21 06:37:03,517 window 194 move_resize(494, 282, 234, 30, -1)
2017-03-21 06:37:03,517 unchanged position 494x282, using resize(234, 30)
2017-03-21 06:37:03,597 ['configure-window', 193, 252, 262, 1667, 817, {}, 0, {}, False, 193, (253, 245), []]
2017-03-21 06:37:03,599 ['configure-window', 193, 252, 262, 1667, 817, {}, 0, {}, False, 193, (253, 245), []]
2017-03-21 06:37:03,629 ['configure-window', 193, 252, 261, 1667, 818, {}, 0, {}, False, 193, (253, 244), []]
2017-03-21 06:37:03,631 ['configure-window', 193, 252, 261, 1667, 818, {}, 0, {}, False, 193, (253, 244), []]
2017-03-21 06:37:03,664 ['configure-window', 193, 251, 259, 1668, 820, {}, 0, {}, False, 193, (252, 242), []]
2017-03-21 06:37:03,667 ['configure-window', 193, 251, 259, 1668, 820, {}, 0, {}, False, 193, (252, 242), []]
2017-03-21 06:37:03,695 ['configure-window', 193, 250, 257, 1669, 822, {}, 0, {}, False, 193, (251, 240), []]
2017-03-21 06:37:03,698 ['configure-window', 193, 250, 257, 1669, 822, {}, 0, {}, False, 193, (251, 238), []]

Tue, 28 Mar 2017 12:47:28 GMT - mviereck:

Same here on debian stretch, tested with xpra versions 0.17.6, 1.0.3 and v2.0-r15319. I've created server logfile with

xpra start :300 -d geometry --daemon=no > xpraserver.log.1469 2>&1

Attachments: server and client logfile, both started with "-d geometry"


Tue, 28 Mar 2017 12:48:16 GMT - mviereck: attachment set


Tue, 28 Mar 2017 12:48:38 GMT - mviereck: attachment set


Tue, 28 Mar 2017 12:59:03 GMT - alin104n:

I now use xpra 0.17.4 because this issue and others. With this version I have no resize problem.


Wed, 29 Mar 2017 04:41:37 GMT - Antoine Martin:

I now use xpra 0.17.4 because this issue and others. With this version I have no resize problem.

Are you saying that this issue is a regression that occurred between 0.17.4 and 0.17.6 client side?? That would narrow it down substantially: from r12925 (0.17.4) to r14314 (0.17.6): 14314 to 12925 The full diff is here: changeset from 12925. Looking at the client code specifically: client changeset from 12925.

And there's nothing there geometry related in there at all.. There's a "draw_needs_refresh" window paint change, but this one only affects opengl=on, the only other paint change would be skipped if you used "desktop-scaling=no". The compression / encoding changes can all easily be skipped by using "encodings=rgb" for testing.


this issue and others

What are the "others"?


Wed, 29 Mar 2017 04:48:38 GMT - mviereck:

I just checked with xpra v2.0-r15319: disabling OpenGL in xpra client solves the issue!


Wed, 29 Mar 2017 05:05:31 GMT - Antoine Martin: milestone set

disabling OpenGL in xpra client solves the issue!

FYI:

comment:2 says It occurs without opengl rendering. Also, ticket:1468#comment:4 looks like the same bug and does not use opengl..

If it is caused by opengl rendering (TBC), then the problem is very likely to be r14396. Undoing this change may negatively affect performance as we will be double-painting for nothing in most cases. (but I cannot think of a clean easy way to keep track of when we would need to trigger the window refresh and when not to - since things are asynchronous) Please include the "-d opengl" client log output of just when the problem occurs.

Also, does this make any difference?:

XPRA_OPENGL_DOUBLE_BUFFERED=1 xpra attach ..

(only MS Windows uses double-buffering by default)


Wed, 29 Mar 2017 06:03:16 GMT - mviereck:

Also, does this make any difference?:

XPRA_OPENGL_DOUBLE_BUFFERED=1 xpra attach ..

Yes, the window can be resized without problems. (OpenGL enabled in this case.)

wiki/ReportingBugs says: does switching off certain features make a difference (ie: sound, opengl, clipboard)

ok, I will read it more carefully next time ... :-)


Wed, 29 Mar 2017 06:11:06 GMT - mviereck: attachment set

xpra attach :30 -d opengl. Open window, maximize, close.


Wed, 29 Mar 2017 06:16:04 GMT - Antoine Martin:

In 2.1 onwards, we will now use double-buffering by default on all platforms: r15449. (unless overriden with the XPRA_OPENGL_DOUBLE_BUFFERED=0 env var)

For older branches (v1.0.x and v2.0.x), I have reverted r14396 in r15450. (the performance degradation doesn't seem noticeable here - but this could vary with other window managers, OS, drivers, etc)

I will wait to hear from @alin104n and @timthelion before closing this ticket since they claim that the bug occurs with opengl rendering disabled.


Fri, 21 Apr 2017 08:33:30 GMT - alin104n:

Sry for the long delay. I can confirm that the resize problems occur only WITH opengl enabled under Arch Linux / Xfce / xpra v2.0.2-r15657.


Fri, 21 Apr 2017 08:36:13 GMT - Antoine Martin:

Please attach the output of the gl_check script, see wiki/ClientRendering/OpenGL.


Fri, 21 Apr 2017 08:58:08 GMT - alin104n:

Warning: vendor 'Intel Open Source Technology Center' is greylisted,
 you may want to turn off OpenGL if you encounter bugs
PyOpenGL warning: missing accelerate module
OpenGL properties:
* GLU.extensions                  : GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess
* GLU.version                     : 1.3
* accum-blue-size                 : 0
* accum-green-size                : 0
* accum-red-size                  : 0
* alpha-size                      : 8
* aux-buffers                     : 0
* blue-size                       : 8
* depth                           : 24
* depth-size                      : 0
* display_mode                    : ALPHA, DOUBLE
* double-buffered                 : True
* extensions                      : GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture, GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture, GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters, GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_separate_specular_color, GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB, GL_ARB_multitexture, GL_EXT_framebuffer_sRGB, GL_IBM_multimode_draw_arrays, GL_IBM_texture_mirrored_repeat, GL_3DFX_texture_compression_FXT1, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix, GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_secondary_color, GL_EXT_texture_env_add, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_S3_s3tc, GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_EXT_framebuffer_object, GL_EXT_texture_compression_s3tc, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil, GL_NV_texture_rectangle, GL_ARB_depth_texture, GL_ARB_occlusion_query, GL_ARB_shadow, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_window_pos, GL_EXT_stencil_two_side, GL_EXT_texture_cube_map, GL_NV_depth_clamp, GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_draw_buffers, GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers, GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_MESA_pack_invert, GL_NV_primitive_restart, GL_ARB_depth_clamp, GL_ARB_fragment_program_shadow, GL_ARB_half_float_pixel, GL_ARB_occlusion_query2, GL_ARB_point_sprite, GL_ARB_shading_language_100, GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object, GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate, GL_OES_read_format, GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object, GL_ARB_texture_compression_rgtc, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_EXT_packed_float, GL_EXT_pixel_buffer_object, GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_texture_shared_exponent, GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil, GL_APPLE_object_purgeable, GL_ARB_vertex_array_object, GL_ATI_separate_stencil, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_gpu_program_parameters, GL_EXT_texture_array, GL_EXT_texture_integer, GL_EXT_texture_sRGB_decode, GL_EXT_timer_query, GL_OES_EGL_image, GL_ARB_copy_buffer, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced, GL_ARB_half_float_vertex, GL_ARB_instanced_arrays, GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle, GL_ARB_vertex_array_bgra, GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra, GL_NV_conditional_render, GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, GL_AMD_seamless_cubemap_per_texture, GL_ARB_ES2_compatibility, GL_ARB_blend_func_extended, GL_ARB_debug_output, GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions, GL_ARB_provoking_vertex, GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, GL_ARB_shader_texture_lod, GL_ARB_texture_cube_map_array, GL_ARB_texture_gather, GL_ARB_texture_multisample, GL_ARB_texture_query_lod, GL_ARB_texture_rgb10_a2ui, GL_ARB_uniform_buffer_object, GL_ARB_vertex_type_2_10_10_10_rev, GL_EXT_provoking_vertex, GL_EXT_texture_snorm, GL_MESA_texture_signed_rgba, GL_NV_texture_barrier, GL_ARB_get_program_binary, GL_ARB_robustness, GL_ARB_separate_shader_objects, GL_ARB_shader_bit_encoding, GL_ARB_texture_compression_bptc, GL_ARB_timer_query, GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5, GL_ARB_compressed_texture_pixel_storage, GL_ARB_conservative_depth, GL_ARB_internalformat_query, GL_ARB_map_buffer_alignment, GL_ARB_shader_atomic_counters, GL_ARB_shader_image_load_store, GL_ARB_shading_language_420pack, GL_ARB_shading_language_packing, GL_ARB_texture_storage, GL_ARB_transform_feedback_instanced, GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_transform_feedback, GL_AMD_shader_trinary_minmax, GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_clear_buffer_object, GL_ARB_compute_shader, GL_ARB_copy_image, GL_ARB_explicit_uniform_location, GL_ARB_framebuffer_no_attachments, GL_ARB_invalidate_subdata, GL_ARB_program_interface_query, GL_ARB_shader_image_size, GL_ARB_shader_storage_buffer_object, GL_ARB_texture_query_levels, GL_ARB_texture_storage_multisample, GL_ARB_texture_view, GL_ARB_vertex_attrib_binding, GL_KHR_debug, GL_KHR_robustness, GL_ARB_buffer_storage, GL_ARB_clear_texture, GL_ARB_internalformat_query2, GL_ARB_multi_bind, GL_ARB_seamless_cubemap_per_texture, GL_ARB_shader_draw_parameters, GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_vertex_type_10f_11f_11f_rev, GL_EXT_shader_integer_mix, GL_ARB_clip_control, GL_ARB_conditional_render_inverted, GL_ARB_cull_distance, GL_ARB_derivative_control, GL_ARB_get_texture_sub_image, GL_ARB_pipeline_statistics_query, GL_ARB_shader_texture_image_samples, GL_ARB_texture_barrier, GL_EXT_polygon_offset_clamp, GL_KHR_blend_equation_advanced, GL_KHR_context_flush_control, GL_ARB_shader_atomic_counter_ops, GL_ARB_shader_clock, GL_EXT_shader_samples_identical, GL_MESA_shader_integer_functions,
* gdkgl
  - version                       : 1.4
* gdkglext
  - version                       : 1.2.0
* green-size                      : 8
* gtkglext
  - version                       : 1.2.0
* has-depth-buffer                : False
* has-stencil-buffer              : False
* has_alpha                       : True
* max-viewport-dims               : (32768, 32768)
* opengl                          : 3, 0
* pygdkglext
  - version                       : 1.1.0
* pyopengl                        : 3.1.0
* red-size                        : 8
* renderer                        : Mesa DRI Intel(R) Ivybridge Desktop
* rgba                            : True
* safe                            : True
* sample-buffers                  : 0
* samples                         : 0
* shading-language-version        : 1.30
* stencil-size                    : 0
* stereo                          : False
* texture-size-limit              : 4096
* transparency                    : True
* vendor                          : Intel Open Source Technology Center
* zerocopy                        : False

Fri, 21 Apr 2017 09:29:46 GMT - Antoine Martin:

@alin104n, in comment:3 you said It occurs without opengl rendering but now in comment:11 I can confirm that the resize problems occur only WITH opengl enabled...

When starting the client you should have seen this hint:

Warning: vendor 'Intel Open Source Technology Center' is greylisted,
 you may want to turn off OpenGL if you encounter bugs

If it is opengl related, I see that you have an Intel GPU... and those are renowned for causing problems: wiki/ClientRendering/OpenGL.

We used to disable opengl with all chipsets using the Intel driver but that changed in 2.0: ticket:1367#comment:1. r15689 blacklists the "Ivy Bridge" specifically, since that's the chipset you reported in comment:13. We now do a test rendering before enabling the opengl backend, and these problems seem limited to only some chipset + OS + desktop environments, so I'm only going to disable chipsets selectively rather than blacklisting the "Intel" driver again.

@alin104n: until this change lands in a stable update, run with opengl turned off. Sorry. Can I close this ticket?


Fri, 21 Apr 2017 09:35:51 GMT - alin104n:

Yes, it did occur before without opengl rendering. The problem is that being on Arch, I always update libs so that turns it into a moving target. I think the ticket ca be closed.


Fri, 21 Apr 2017 09:39:04 GMT - Antoine Martin: status changed; resolution set


Sat, 23 Jan 2021 05:25:08 GMT - migration script:

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