Skip to content
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

Segmentation fault (core dumped) #33

Open
Folly135 opened this issue Mar 22, 2023 · 1 comment
Open

Segmentation fault (core dumped) #33

Folly135 opened this issue Mar 22, 2023 · 1 comment

Comments

@Folly135
Copy link

Hi! I cannot complete the environment configuration, I meet a problem called:
loading from the config file spirl/configs/skill_prior_learning/kitchen/hierarchical_cl/conf.py
Warning: Mujoco-based envs failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message.
No module named 'mjrl'
Warning: Flow failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message.
No module named 'flow'
MoTTY X11 proxy: Authorisation not recognised
/home/hehongcai/miniconda3/envs/SPiRL/lib/python3.7/site-packages/glfw/init.py:912: GLFWError: (65544) b'X11: Failed to open display localhost:12.0'
warnings.warn(message, GLFWError)
Segmentation fault (core dumped)

I don't change anything except the wandb part.
I have found many ways but cannot solve them. Do you have any solutions?

Thank you very much!

@kpertsch
Copy link
Collaborator

Hi!
Sorry for the late reply, I missed this issue and just came across it!

I suspect that the error you are encountering is not specific to the SPiRL codebase. My guess is that you are running on a headless server, ie without a connected display? I think mujoco is trying to render on your display, but can't find a display.

One thing you can try is to open a virtual display by running Xvfb :1 -screen 0 1024x768x16 & before starting the script. This will create a virtual screen that Mujoco can use for rendering.

Hope this helps!
-- Karl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants