Re: [PyOpenGL-Users] glutInitDisplay segfault in python, but works in C++
Brought to you by:
mcfletch
From: Duong D. <dan...@gm...> - 2011-02-23 16:08:48
|
On Wed, Feb 23, 2011 at 4:53 PM, Ian Mallett <geo...@gm...> wrote: > On Wed, Feb 23, 2011 at 8:38 AM, Alejandro Segovia <as...@gm...> > wrote: >> >> Hello Duong, >> >> On Wed, Feb 23, 2011 at 11:55 AM, Duong Dang <dan...@gm...> wrote: >>> >>> Hello there, >>> >>> We are having a problem with PyOpenGL on a Ubuntu 10.04 machine with a >>> Intel GMA945 graphics card. The following code works in C++, but its >>> counterpart seg-faults in python. Any idea why that is? >> >> I can't reproduce the problem on an NVIDIA video card, > > Nor I. Thanks for testing, we also tried http://www.opengl.org/resources/code/samples/redbook/hello.c and http://bazaar.launchpad.net/~mcfletch/pyopengl-demo/trunk/annotate/head:/PyOpenGL-Demo/redbook/hello.py which should be identical. The c program displays a white square just fine but the python script seg faults again on the Intel card. On another PC with a nvidia card, both programs work fine. Cheers, --- Duong |