You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have meet an error as following:
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_NOT_INITIALIZED,
baseOperation = eglInitialize,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7fa42ed54240>,
<importlib._bootstrap.LP_c_int object at 0x7fa42ed543c0>,
<importlib._bootstrap.LP_c_int object at 0x7fa42ed69b40>,
),
result = 0
)
My environment is Ubuntu 20.04.3 LTS、NVIDIA GeForce RTX 3090、python3.8、pyopengl3.1.6
How can I solve it?
The text was updated successfully, but these errors were encountered:
Sorry, there's not enough information to debug what's happening. You haven't told me what your code is, or what you've tried doing. Presumably somewhere you have code that looks like:
major, minor = ctypes.c_long(), ctypes.c_long()
display = eglGetDisplay(EGL_DEFAULT_DISPLAY)
if not eglInitialize(display, major, minor):
log.error("Unable to initialize")
return
as seen in tests/check_egl_pygame.py in the repository. But without knowing what you are running I can't really say what is wrong. EGL_NOT_INITIALIZED is a valid return from eglInitialize(), basically a "we failed" to init response, but I can't say why it failed.
I have meet an error as following:
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_NOT_INITIALIZED,
baseOperation = eglInitialize,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7fa42ed54240>,
<importlib._bootstrap.LP_c_int object at 0x7fa42ed543c0>,
<importlib._bootstrap.LP_c_int object at 0x7fa42ed69b40>,
),
result = 0
)
My environment is Ubuntu 20.04.3 LTS、NVIDIA GeForce RTX 3090、python3.8、pyopengl3.1.6
How can I solve it?
The text was updated successfully, but these errors were encountered: