Skip to content

Problem with pyopengl !!! #86

@v-wewei

Description

@v-wewei

Hi, @mmatl
i seem to always get the problem below,
Traceback (most recent call last):
File "test.py", line 31, in
r = pyrender.OffscreenRenderer(640, 480)
File "/home/v-wewei/anaconda3/envs/sdmaskrcnn/lib/python3.6/site-packages/pyrender/offscreen.py", line 32, in init
self._create()
File "/home/v-wewei/anaconda3/envs/sdmaskrcnn/lib/python3.6/site-packages/pyrender/offscreen.py", line 129, in _create
self._platform.init_context()
File "/home/v-wewei/anaconda3/envs/sdmaskrcnn/lib/python3.6/site-packages/pyrender/platforms.py", line 148, in init_context
EGL_NO_CONTEXT, context_attributes
File "/home/v-wewei/anaconda3/envs/sdmaskrcnn/lib/python3.6/site-packages/OpenGL/platform/baseplatform.py", line 402, in call
return self( *args, **named )
File "/home/v-wewei/anaconda3/envs/sdmaskrcnn/lib/python3.6/site-packages/OpenGL/error.py", line 232, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 12297,
baseOperation = eglCreateContext,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7ff8c4d6ee18>,
<OpenGL._opaque.EGLConfig_pointer object at 0x7ff8c4d6ed90>,
<OpenGL._opaque.EGLContext_pointer object at 0x7ff8c4da0b70>,
<OpenGL.arrays.lists.c_int_Array_7 object at 0x7ff8af5c9048>,
),
result = <OpenGL._opaque.EGLContext_pointer object at 0x7ff8c4902e18>
)

could you help to give me the solution for this opengl problem?
Thanks advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions