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

setting_state - failed to create GLFW window #805

Open
Moj79a opened this issue Sep 8, 2024 · 0 comments
Open

setting_state - failed to create GLFW window #805

Moj79a opened this issue Sep 8, 2024 · 0 comments

Comments

@Moj79a
Copy link

Moj79a commented Sep 8, 2024

hi. i have problem to run setting_state :
(mujoco_py) moj79@moj79-Legion-5-15ITH6:~/.mujoco/mujoco-py/examples$ python3 setting_state.py
Creating window glfw
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: iris
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: iris
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
GLFW error (code %d): %s 65543 b'GLX: Failed to create context: BadValue (integer parameter out of range for operation)'
Traceback (most recent call last):
File "setting_state.py", line 32, in
viewer = MjViewer(sim)
File "/home/moj79/.mujoco/mujoco-py/mujoco_py/mjviewer.py", line 137, in init
super().init(sim)
File "/home/moj79/.mujoco/mujoco-py/mujoco_py/mjviewer.py", line 28, in init
super().init(sim)
File "mjrendercontext.pyx", line 311, in mujoco_py.cymj.MjRenderContextWindow.init
File "mjrendercontext.pyx", line 46, in mujoco_py.cymj.MjRenderContext.init
File "mjrendercontext.pyx", line 102, in mujoco_py.cymj.MjRenderContext._setup_opengl_context
File "opengl_context.pyx", line 48, in mujoco_py.cymj.GlfwContext.init
File "opengl_context.pyx", line 99, in mujoco_py.cymj.GlfwContext._create_window
mujoco_py.cymj.GlfwError: Failed to create GLFW window

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

1 participant