Jeremy Huddleston wrote: []
No, I don't want the full text. I just want the one for the visual that is being used by your application. You need to set the LIBGL_DUMP_VISUALID environment variable when you run your application, and it will just print a hex number which is the visual id. Just copy/paste the info for that visual.
The strange thing is that for the ("correct") figure without gtk, there is a visualid shown, but for the "bad" one, there is *nothing* shown: costabel% env LIBGL_DUMP_VISUALID=1 vtkpython ./imagepluspoly.py visualid 0x66 visualid 0x66 visualid 0x66 costabel% env LIBGL_DUMP_VISUALID=1 vtkpython ./gtkvtkdebug.py ./gtkvtkdebug.py:449: GtkDeprecationWarning: gtk.mainquit is deprecated, use gtk.main_quit instead gtk.main() costabel% (The last two lines appear when the window is closed.) -- Martin