Add MuJoCo Playground environments - #412
Conversation
e1aaaab to
932268b
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a8c35e66f5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if platform.system() != "Linux" or os.environ.get("MUJOCO_GL"): | ||
| return | ||
|
|
||
| for backend in ("egl", "osmesa"): | ||
| probe_env = os.environ.copy() | ||
| probe_env["MUJOCO_GL"] = backend |
There was a problem hiding this comment.
Set EGL_PLATFORM when selecting EGL backend
On headless Linux systems that require surfaceless EGL, this helper can mis-detect a usable EGL setup because it probes with MUJOCO_GL=egl but never sets EGL_PLATFORM=surfaceless, and it also exits early when MUJOCO_GL is already set (without normalizing EGL_PLATFORM). In that case the probe may fail, no backend is selected, and later MuJoCo rendering can fail even though EGL would work with the correct platform setting.
Useful? React with 👍 / 👎.
f6fcb21 to
cc04d41
Compare
cc04d41 to
18942d4
Compare
This reverts commit 1df0d5e.
Summary
Notes
Local validation