Open DexiongYung opened 2 years ago
"TLS" above refers to thread-local storage, and it looks like for some reason GLFW is failing to allocate TLS memory.
I've never seen this happen before so please take what I say here with a grain of salt. From what you posted, the biggest culprit to me is libglfw3-wayland
. The copy of libglew.so
that was shipped with MuJoCo 2.0 doesn't support Wayland, only GLX (i.e. OpenGL on X11). However, you also have libglfw3
installed, which uses GLX.
As a random stab in the dark, I would suggest that you try to uninstall libglfw3-wayland
to see if this is caused by GLFW using the wrong backend.
"TLS" above refers to thread-local storage, and it looks like for some reason GLFW is failing to allocate TLS memory.
I've never seen this happen before so please take what I say here with a grain of salt. From what you posted, the biggest culprit to me is
libglfw3-wayland
. The copy oflibglew.so
that was shipped with MuJoCo 2.0 doesn't support Wayland, only GLX (i.e. OpenGL on X11). However, you also havelibglfw3
installed, which uses GLX.As a random stab in the dark, I would suggest that you try to uninstall
libglfw3-wayland
to see if this is caused by GLFW using the wrong backend.
hmm I checked to see if I had wayland via dpkg -s libgfw3-wayland
and it says it's not installed.
I can't really be of much more help here I'm afraid, since I cannot reproduce this issue on my end.
Can you please check if the issue still persists with mujoco==2.1.5
that was just released today?
xvfb-run -a -s "-screen 0 1400x900x24" bash
this fixed it
export MUJOCO_GL=egl
Error:
_glfwPlatformGetTls: Assertion
tls->posix.allocated == 1' failed.`I'm running Mujuco2.0 with the following pip dependencies:
Here is my code:
I have
libglew2.0
andlibglfw3
installed and I'm running on Linux with Ubuntu 18.04.5. Python version is 3.9.12. The issue arises when I try to render. Not sure why this is happening.