glcanvas flickering

Hello,

I'm using wx 2.8.9.1 (gtk2-unicode) in Fedora 9. I ran the GLCanvas
demo and the when interact with it the cube or cone are flickering, I
tried a application using vtk with wx and the same occurs, I tried to
use SetDoubleBuffered(True) but it gets worst. My video card is a
Nvidia Quadro FX 1500 with proprietary driver version 173.14.12, the
output from glxgears:

59675 frames in 5.0 seconds = 11934.842 FPS
60009 frames in 5.0 seconds = 12001.707 FPS

I ran other 3d apps too and the same doesn't occur, they aren't wx
apps. There is a workaround? Should I have to compile with a specific
flag? Any Idea?
I compiled wxGTK with these options:

./ configure \
  --x-libraries=%{x11libdir} \
  --with-opengl \
  --with-odbc \
  --with-sdl \
  --with-gnomeprint \
  --enable-shared \
  --enable-soname \
  --disable-optimise \
  --enable-debug_info \
  --enable-intl \
  --enable-unicode \
  --enable-no_deps \
  --disable-rpath \
  --enable-geometry \
  --enable-graphics_ctx \
  --enable-sound \
  --enable-mediactrl \
  --enable-display \
  --enable-timer \
  --enable-compat24

Thiago Franco Moraes wrote:

Hello,

I'm using wx 2.8.9.1 (gtk2-unicode) in Fedora 9. I ran the GLCanvas
demo and the when interact with it the cube or cone are flickering, I
tried a application using vtk with wx and the same occurs, I tried to
use SetDoubleBuffered(True) but it gets worst. My video card is a
Nvidia Quadro FX 1500 with proprietary driver version 173.14.12, the
output from glxgears:

59675 frames in 5.0 seconds = 11934.842 FPS
60009 frames in 5.0 seconds = 12001.707 FPS

I ran other 3d apps too and the same doesn't occur, they aren't wx
apps. There is a workaround? Should I have to compile with a specific
flag? Any Idea?

Please ask about this on wx-users. There are more people familiar with OpenGL and wxGLCanvas on that list.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!