-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGL.raw.EGL._errors.EGLError: EGLError( ) #60
Comments
I updated the dataset.md, the correct command should be |
Much thanks for your reply. But it doesn't work for me... The error still exits. |
According to the error log, it seems that you didn't install EGL, please follow the dataset.md (Environement) to install all the required packages. |
Thanks again for your reply!! But I think I have installed EGL. The info as follows. (ICON) root@Ib5b57dff600a01084:/hy-tmp# sudo apt-get install freeglut3-dev I have no idea to fix this...5555 |
I followed the latest dataset.md (Environement) using " set egl=False and unset PYOPENGL_PLATFORM ",but I still got an error about " freeglut (foo): failed to open display '' " The complete error info as follows. (ICON) root@Ib5b57dff600a01084:/hy-tmp/ICON/scripts# bash render_batch.sh debug all |
|
OK!I will do that when I solved the TBB error. But I still annoyed by the opengl error. I gave up the EGL headless mode, and I used the X11 forwarding to run the script " bash render_batch.sh debug all ", but I still got an error as follows. OpenGL.error.GLError: GLError( |
I also encountered the same problem! Whether it's "headless rendering" or not, our mistakes are very similar. That's strange |
Oh! Yeah! I think I have solved the problem. The steps as follows. But what does the param "ms_rate" mean? If I change the param, will I get the wrong result? |
OK! Much thanks for your reply! I checked the GPU on my machine is Tesla V100-SXM2-16GB, and I checked the parameter GL_MAX_SAMPLES is 4, maybe that's why I can't use the ms_rate=16 . Could you tell me which GPU you are using? |
I am using |
TBB error and OMP Info may be just warning refrencing from Solutions: |
@Yuhuoo Hi, now can you run -> rndr = PRTRender(width=size, height=size, ms_rate=16, egl=egl)
(Pdb) c
Traceback (most recent call last):
File "./render_single.py", line 125, in <module>
rndr = PRTRender(width=size, height=size, ms_rate=16, egl=egl)
File "/home/private/project/3d-holographic-reconstruction/ICON/scripts/./../lib/renderer/gl/prt_render.py", line 35, in __init__
CamRender.__init__(self,
File "/home/private/project/3d-holographic-reconstruction/ICON/scripts/./../lib/renderer/gl/cam_render.py", line 32, in __init__
Render.__init__(self,
File "/home/private/project/3d-holographic-reconstruction/ICON/scripts/./../lib/renderer/gl/render.py", line 96, in __init__
glTexImage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE,
File "/home/private/Software/anaconda3/envs/icon/lib/python3.8/site-packages/OpenGL/platform/baseplatform.py", line 415, in __call__
return self( *args, **named )
File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glTexImage2DMultisample,
cArguments = (
GL_TEXTURE_2D_MULTISAMPLE,
16,
GL_RGBA32F,
512,
512,
GL_TRUE,
)
) I am not sure if it's the packages' version in python env leads to this, can you share the version of the packages you use? |
You can use ms_rate=4 in line 115 of render_single.py to fix this. |
When I run Traceback (most recent call last): I try |
I'm sorry to bother you. I would like to know how to check the parameter GL_MAX_SAMPLES. I tried the code as folows:
I get GL_MAX_SAMPLES=0, but when I set the ms_rate=1, the code works. So I wonder if there's something wrong with the way I get the parameters GL_MAX_SAMPLES. |
I fix the bug by replace the code from |
sorry , i meet the following problem multiprocessing.pool.MaybeEncodingError: Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x7f42f7ad3790>'. Reason: 'ValueError('ctypes objects containing pointers cannot be pickled')' and follow the historic issues, i reach here ,but i cannot find the "render_batch.sh" |
This solved the promblem (OpenGL.raw.EGL._errors.EGLError: EGLError( err = EGL_NOT_INITIALIZED...) in my case. |
When I run the command of "bash render_batch.sh debug", it gives an error as following
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_NOT_INITIALIZED,
baseOperation = eglInitialize,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7f7b3d0ee2c0>,
<importlib._bootstrap.LP_c_int object at 0x7f7b3d0ee440>,
<importlib._bootstrap.LP_c_int object at 0x7f7b3d106bc0>,
),
result = 0
)
How can I fix this?
The text was updated successfully, but these errors were encountered: