pyrender icon indicating copy to clipboard operation
pyrender copied to clipboard

EGL BAD MATCH

Open xmk2222 opened this issue 5 years ago • 2 comments

I was using backend egl in a headless server while I met this ERROR:

File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.raw.EGL._errors.EGLError: EGLError(
	err = EGL_BAD_MATCH,
	baseOperation = eglCreateContext,
	cArguments = (
		<OpenGL._opaque.EGLDisplay_pointer object at 0x7fa7e31d8950>,
		<OpenGL._opaque.EGLConfig_pointer object at 0x7fa7e31d89d8>,
		<OpenGL._opaque.EGLContext_pointer object at 0x7fa7e3213ae8>,
		<OpenGL.arrays.lists.c_int_Array_7 object at 0x7fa809c129d8>,
	),
	result = <OpenGL._opaque.EGLContext_pointer object at 0x7fa7e31dca60>
)

I found the defination of this error in EGL's official guideline as follow:

EGL BAD MATCH Arguments are inconsistent; for example, an otherwise valid context requires buffers (e.g. depth or stencil) not allocated by an otherwise valid surface.

but I still have no idea what it is.

xmk2222 avatar Jul 28 '20 06:07 xmk2222

@xmk2222 Hello, I have the same problem as you, did you solve it?

hiyyg avatar Dec 09 '20 05:12 hiyyg

I have the same problem as you, did you solve it?

guan2000910 avatar Jul 24 '23 07:07 guan2000910