Python 3 crash when running on optimus card

Ákos Tóth <[email protected]> Mon, 3 Mar 2014 23:09:43 +0100
Newsgroups gmane.comp.python.opengl.user
Message-ID <CACxAQjUSoP=qV2OVVTQTLK4S_vP2i278ohhhnXmGxRAp0Ui4EQ@mail.gmail.com>
Hi,

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 *".

Run log: http://pastebin.com/yZbxWJeJ

Thank you in advance for your help,
Ákos Tóth

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users