I changed PyOpenGL 2.1.1 to PyOpenGL 1.5.7 (__version__=1.5.6b1),
but wxGLCanvas program in demo.py shows only noisy (OpenGL) window!
And wxPython 2.3.1 works okay.And wxGTK-2.3.2/samples/opengl/cube/cube.cpp works okay.
What is the difference between wxPython-2.3.2(wxGLCanvas.py) and
wxGTK-2.3.2+cube.cpp?
The difference is not in glcanvas.cpp or glcanvas.py.
I made a test program without glcanvas, but it doesn't works, too.
Perhaps the difference is in wxFrame, wxApp, or other initialization.
wxPython-2.3.2(Linux + nVIDIA OpenGL) -> No
wxGTK-2.3.2 only (Linux + nVIDIA OpenGL) -> OK
wxPython-2.3.1(Linux + nVIDIA OpenGL) -> OK
wxPython-2.3.2(Windows2000Pro + nVIDIA card) -> OK
wxPython-2.3.1(Windows2000Pro + nVIDIA card) -> OK
wxPython-2.3.2-glcanvas+wxGTK-2.3.2(Linux + nVIDIA OpenGL) -> No
OK : OpenGL functions works perfect.
No : All OpenGL functions seem to do nothing.
The GLCanvas window is filled with random stripes.
CPU is Pentium 4 (1.7GHz).
OS is Turbo Linux 7.0 WS.
Graphics chip is Quadro2 Pro(nVIDIA). GloriaIII. AGP-x1-x4 card.
Driver for Linux is
NVIDIA_GLX-1.0-1541.i386.rpm
NVIDIA_kernel-1.0-1541.src.rpm
downloaded from nVIDIA's WWW page.