Closed m8dotpie closed 1 month ago
Tried running precompiled binaries outside the conda environment and they seem to work fine. Error is on the glfw in env side, I assume?
UPD 1. However, I have ran ./simulate
. Not sure if this should reproduce the bahaviour.
UPD 2. python bindings outside the conda env do not work either
Yes, the problem is in PyGLFW bindings served by env. To resolve the issue I have set the env variable PYGLFW_LIBRARY=/usr/lib/libglfw.so and reinstalled the bindings. This resolved the issue, even though the solution is cumbersome to repeat for each env.
Moreover, I am probably confusing the glfw from conda-forge and from pip. They are two separate things obviously. So specifying env variable with the direction of glfw should be enough.
Well done for finding a workaround.
To see the behaviour it is enough to simply call the
python -m mujoco.viewer
. What is strange though, it is not directly reproducible. For instance, if I restart user session, viewer works fine for some time. But after some time it freezes and crashes without any way to recover. I tried specifying all 3 possible backends, all lead to the same behavior.Crash log:
Full backtrace from GDB:
Let me know if you need something else or I should try something to resolve this.
Context: