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
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/genesis/ext/pyrender/renderer.py", line 141, in render
self._update_context(scene, flags)
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/genesis/ext/pyrender/renderer.py", line 899, in _update_context
p._add_to_context()
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/genesis/ext/pyrender/primitive.py", line 359, in _add_to_context
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, FLOAT_SZ * 3, ctypes.c_void_p(0))
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/latebind.py", line 63, in call
return self.wrapperFunction( self.baseFunction, *args, **named )
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 469, in glVertexAttribPointer
contextdata.setValue( key, array )
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/contextdata.py", line 58, in setValue
context = getContext( context )
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/contextdata.py", line 40, in getContext
raise error.Error( OpenGL.error.Error: Attempt to retrieve context when no valid context
I'm running this on an ubuntu laptop with an intel CPU, no GPU and the corresponding cuda-less version of torch. I got a similar error on Windows, but I saw from another issue that rendering isn't supported on Windows yet. On windows no window opened but on linux a black window opens. The opengl context is definitely there.
It looks like the error is on another thread, as the program keeps running. If I had to guess it looks like the OpenGL context isn't visible to whatever thread is giving this message.
(pressing ctrl+c gives the standard KeyboardInterrupt message)
The text was updated successfully, but these errors were encountered:
The OpenGl method in question is this one:
File "/home/my_user/Desktop/genesis-world/venv/lib/python3.10/site-packages/genesis/ext/pyrender/primitive.py", line 359, in _add_to_context glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, FLOAT_SZ * 3, ctypes.c_void_p(0))
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/genesis/ext/pyrender/renderer.py", line 141, in render
self._update_context(scene, flags)
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/genesis/ext/pyrender/renderer.py", line 899, in _update_context
p._add_to_context()
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/genesis/ext/pyrender/primitive.py", line 359, in _add_to_context
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, FLOAT_SZ * 3, ctypes.c_void_p(0))
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/latebind.py", line 63, in call
return self.wrapperFunction( self.baseFunction, *args, **named )
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 469, in glVertexAttribPointer
contextdata.setValue( key, array )
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/contextdata.py", line 58, in setValue
context = getContext( context )
File "/home/my_name/Desktop/genesis-world/venv/lib/python3.10/site-packages/OpenGL/contextdata.py", line 40, in getContext
raise error.Error(
OpenGL.error.Error: Attempt to retrieve context when no valid context
I'm running this on an ubuntu laptop with an intel CPU, no GPU and the corresponding cuda-less version of torch. I got a similar error on Windows, but I saw from another issue that rendering isn't supported on Windows yet. On windows no window opened but on linux a black window opens. The opengl context is definitely there.
It looks like the error is on another thread, as the program keeps running. If I had to guess it looks like the OpenGL context isn't visible to whatever thread is giving this message.
(pressing ctrl+c gives the standard KeyboardInterrupt message)
The text was updated successfully, but these errors were encountered: