Re: access violation when calling glGenFramebuffers

Cyrille Rossant <[email protected]> Wed, 3 Apr 2013 16:50:14 +0100
Newsgroups gmane.comp.python.opengl.user
Message-ID <CA+-1RQQ0se=JZP77Bw7md+0tPi8DtF8hQcj=LzzfMZ7JnkR01A@mail.gmail.com>
I had a similar problem with a similar configuration and a similar graphics
card. I couldn't solve the problem, so I ended up removing my whole 64 bits
Python distribution and reinstalling everything with Python 32 bits... and
it worked.

Cyrille


2013/4/3 Patrick Dietrich <[email protected]>

> Hi everyone,
>
> I have a problem when calling glGenFramebuffers on Windows 7 64 bit:
>
> Traceback (most recent call last):
>      ...
>    File "C:\Users\Patrick\Dev\PCT\open_gl_widgets.py", line 197, in
> __init__
>      self.framebuffer_id = glGenFramebuffers(1);
>    File "latebind.pyx", line 32, in
> OpenGL_accelerate.latebind.LateBind.__call__
> (src\latebind.c:667)
>    File "wrapper.pyx", line 308, in
> OpenGL_accelerate.wrapper.Wrapper.__call__ (s
> rc\wrapper.c:5356)
>    File "C:\Python27\lib\site-packages\OpenGL\platform\baseplatform.py",
> line 379
> , in __call__
>      return self( *args, **named )
> WindowsError: exception: access violation writing 0xFFFFFFFFEA94A760
>
> My PyOpenGL version is 3.0.2, including PyOpenGL_accelerate 3.0.2. I
> have installed both packages with the windows installers (AMD64
> versions). My graphics adaptor is an Intel HD Graphics 4000 for which
> I'm using the newest drivers (version 9.17.10.2843).
>
> Calling bool(glGenFramebuffers) just before the call to
> glGenFramebuffers returns True. I have also tried to use the extension
> version glGenFramebuffersEXT but with the same result.
>
> What might be the problem and how can I work around it?
> How can I access the low level C-routines of OpenGL?
>
> Cheers,
> Patrick
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> PyOpenGL Homepage
> http://pyopengl.sourceforge.net
> _______________________________________________
> PyOpenGL-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyopengl-users
>

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

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