I recently started using pyOpenGL with Python 3.3 on Ubuntu 13.10. I am in the unfortunate situation of owning a laptop with a switchable (Optimus technology) dedicated video card. With the most recent version of pyOpenGL (3.1.0b1) installed, the program crashes quite seriously when running the line "from OpenGL.GL import *" - to the point where Ubuntu actually opens an error dialog for this. This problem is specific to Python 3 with optirun - in C++, OpenGL works on the optimus card without any hiccups, and version 3.0.2 with Python 2.7 also works without a problem.
Tests concluded so far:
- Python 2.7, pyOpenGL and accelerate version 3.0.2 with or without optirun. No problems.
- Python 3.3, pyOpenGL and accelerate version 3.1.0b1 without optirun - no problems but the intel card only supports openGL contexts up to version 3.1, which is far behind what I require.
- Python 3.3, pyOpenGL and accelerate version 3.1.0b1 with optirun, crash on import. In the pastebin link below is the output of python3 -vvvvvc "from OpenGL.GL import *".
Thank you in advance for your help,