With changeset 3053, the visual artefacts remain. When your suggested change to gl_check.py, I appear to be viewing the penultimate window update e.g. if I click on "File", then the background of "File" changes colour, but the actual File menu does not appear until I move the mouse to the position of the first menu entry, which forces a background colour change for that menu entry and the whole menu gets drawn.
Regards, Nick. On 7 April 2013 12:33, Antoine Martin <[email protected]> wrote: > Hi Nick, > > Many thanks for the feedback. > The error with menu items should be fixed by this change: > https://www.xpra.org/trac/changeset/3053/xpra > > If you still get visual artefacts, you may want to try this patch: > > --- src/xpra/gl/gl_check.py (revision 3046) > +++ src/xpra/gl/gl_check.py (working copy) > @@ -22,7 +22,7 @@ > def get_DISPLAY_MODE(): > import gtk.gdkgl > #return gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_DEPTH | > gtk.gdkgl.MODE_DOUBLE > - return gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_DOUBLE > + return gtk.gdkgl.MODE_RGB > > #by default, we raise an ImportError as soon as we find something missing: > def raise_error(msg): > > Cheers > Antoine > > > On 07/04/13 09:31, Nick Burrett wrote: > > Sorry, no, doing that just broken OpenGL-accelerate. So it appears that > > with OpenGL enabled, the double-buffering is often the previous buffer > when > > moving through menus or doing any sort of window updates. > > > > On 7 April 2013 09:26, Nick Burrett <[email protected]> wrote: > > > >> I fixed this by upgrading the Python OpenGL-accelerate module: > >> > >> easy_install OpenGL-accelerate > >> > >> > >> On 7 April 2013 09:07, Nick Burrett <[email protected]> wrote: > >> > >>> I'm trying this out with the xfce4 terminal - /usr/bin/Terminal on > Ubuntu > >>> quantal (12.10) > >>> > >>> Rendering is certainly faster, however just moving the mouse across the > >>> various menu items at the top of the window will flick between the > current > >>> image and a previous window image and will regularly produce this: > >>> > >>> 2013-04-07 09:03:51,306 OpenGL Version: 4.2.11903 Compatibility Profile > >>> Context > >>> 2013-04-07 09:03:51,333 GL Extension GL_ARB_shader_objects available > >>> 2013-04-07 09:03:51,353 GL Extension GL_ARB_fragment_program available > >>> 2013-04-07 09:03:51,353 GL Extension GL_ARB_texture_rectangle available > >>> 2013-04-07 09:03:51,354 GL Extension GL_ARB_vertex_program available > >>> 2013-04-07 09:04:00,139 Attached to ssh:devbox:100 (press Control-C to > >>> detach) > >>> > >>> 2013-04-07 09:05:00,204 do_paint_rgb24 error > >>> Traceback (most recent call last): > >>> File "/usr/local/lib/python2.7/dist-packages/xpra/window_backing.py", > >>> line 371, in do_paint_rgb24 > >>> self._do_paint_rgb24(img_data, x, y, width, height, rowstride, > >>> options, callbacks) > >>> File > >>> "/usr/local/lib/python2.7/dist-packages/xpra/gl/gl_window_backing.py", > line > >>> 181, in _do_paint_rgb24 > >>> self.gl_end(drawable) > >>> File > >>> "/usr/local/lib/python2.7/dist-packages/xpra/gl/gl_window_backing.py", > line > >>> 127, in gl_end > >>> if drawable.is_double_buffered(): > >>> AttributeError: 'NoneType' object has no attribute 'is_double_buffered' > >>> > >>> > >>> On 16 March 2013 14:35, Antoine Martin <[email protected]> wrote: > >>> > >>>> Hi, > >>>> > >>>> The OpenGL client rendering has been enabled again, and this time it > >>>> looks like it should work in almost all cases (the "nouveau" driver on > >>>> Linux is blacklisted however - and OSX is unlikely to be supported). > >>>> Please give it a whirl and report any display visual artifacts / bugs > so > >>>> that the 0.9.0 release can include it enabled by default, more details > >>>> here: > >>>> http://xpra.org/trac/wiki/ClientRendering#OpenGLNotes > >>>> Updated beta packages here: > >>>> http://xpra.org/beta/ > >>>> > >>>> Thanks > >>>> Antoine > >>>> _______________________________________________ > >>>> shifter-users mailing list > >>>> [email protected] > >>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users > >>>> > >>> > > _______________________________________________ shifter-users mailing list [email protected] http://lists.devloop.org.uk/mailman/listinfo/shifter-users
