Re: PyOpenGL crash on Intel HD 3000

Cyrille Rossant <[email protected]> Fri, 8 Mar 2013 11:57:53 +0000
Newsgroups gmane.comp.python.opengl.user
Message-ID <CA+-1RQSSOCv3kANeYQJ_nOjU=STtfXTz=yKti28VQ=i24Yuttg@mail.gmail.com>
Some precisions that may be useful:

  * the same script works fine on other machines
  * glGetString(GL_VERSION) returns OpenGL 3.1
  * same crash with PyQt4 or GLUT
  * same crash with a bunch of different GL commands, like
"glGetStringi(Gl_EXTENSIONS, 0)"

Here is the script:

import sys
from OpenGL.GLUT import *
from OpenGL.GL import *
from OpenGL.GLU import *

def init():
    buffer = glGenBuffers(1)

glutInit(sys.argv)
glutInitWindowSize(600, 600)
glutCreateWindow("Sample")
init()
glutMainLoop()

Thanks for your help.
Cyrille


2013/3/7 Cyrille Rossant <[email protected]>

> Hi,
>
> I have an issue with PyOpenGL 3.0.2 on a Windows 8 64 bits laptop with an
> Intel HD 3000 graphics chipset. Any call to glGenBuffers(1) crashes:
>
>   File ".\sample.py", line 7, in init
>     buffer = glGenBuffers(1)
>   File "latebind.pyx", line 32, in
> OpenGL_accelerate.latebind.LateBind.__call__ (src\latebind.c:768)
>   File "wrapper.pyx", line 308, in
> OpenGL_accelerate.wrapper.Wrapper.__call__ (src\wrapper.c:5811)
>   File "C:\Python27\lib\site-packages\OpenGL\platform\baseplatform.py",
> line 379, in __call__
>     return self( *args, **named )
> WindowsError: exception: access violation writing 0x00000000720CF630
>
> I have the latest version of the GPU driver (15.28.12.64.2932) which
> supports OpenGL 3.1.
>
> Any ideas?
>
> Thanks,
> Cyrille
>
>
>

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

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