Closed SamyakR99 closed 1 year ago
Hi Samyak, I've never seen this issue. Seems it has trouble creating OffscreenRenderer
. As this is related to pyrender, you might want to make sure the basic pyrender function works, e.g.
from pyrender import OffscreenRenderer
r = OffscreenRenderer(viewport_width=640, viewport_height=480)
This issue seems more related to the error code you got: https://github.com/mmatl/pyrender/issues/7
Hi Gengshan,
Thank you for the reply, I tried what you said and it did not work. However, when I change my gpu, it worked fine. Maybe some hardware issues.
I will close this issue. Thanks!
Hi Gengshan,
Thank you for the awesome work!
I faced the following error when running: bash scripts/render_mgpu.sh 0 $seqname logdir/$seqname-e120-b256-ft2/params_latest.pth "0 1 2 3 4 5 6 7 8 9" 256
Error:
libEGL warning: failed to open /dev/dri/renderD129: Permission denied
libEGL warning: failed to open /dev/dri/renderD129: Permission denied
Traceback (most recent call last): File "scripts/visualize/render_vis.py", line 538, in
main()
File "scripts/visualize/render_vis.py", line 330, in main
r = OffscreenRenderer(img_size, img_size)
File "/home/ubuntu/anaconda3/envs/banmo/lib/python3.8/site-packages/pyrender/offscreen.py", line 31, in init
self._create()
File "/home/ubuntu/anaconda3/envs/banmo/lib/python3.8/site-packages/pyrender/offscreen.py", line 149, in _create
self._platform.init_context()
File "/home/ubuntu/anaconda3/envs/banmo/lib/python3.8/site-packages/pyrender/platforms/egl.py", line 177, in init_context
assert eglInitialize(self._egl_display, major, minor)
File "/home/ubuntu/.local/lib/python3.8/site-packages/OpenGL/platform/baseplatform.py", line 409, in call
return self( *args, **named )
File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
err = 12289,
baseOperation = eglInitialize,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7f17c38924c0>,
c_long(0),
c_long(0),
),
result = 0
)
OUT FILE
I tried solving it through this LINK
OUT FILE
After that I get the following error: OUT FILE
I could not find a good source to fix this problem. Can you please look into it. Thanks!