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

Problem in render_mode #3279

Open
kumarutkarsh1248 opened this issue Jun 14, 2024 · 1 comment
Open

Problem in render_mode #3279

kumarutkarsh1248 opened this issue Jun 14, 2024 · 1 comment

Comments

@kumarutkarsh1248
Copy link

I am running this simple code

import gym

env = gym.make("LunarLander-v2", render_mode="human")
env.reset()

for step in range(200):
    env.render()
    env.step(env.action_space.sample())


env.close()

and this is the error i am getting

libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_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)
libGL error: failed to load driver: radeonsi
libGL error: 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)
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 102
Current serial number in output stream: 103
make: *** [makefile:2: default] Error 1

@pseudo-rnd-thoughts
Copy link
Contributor

There seems to be an issue with your path

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