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

MuJoCo: could not create window #262629

Closed
tmplt opened this issue Oct 21, 2023 · 1 comment
Closed

MuJoCo: could not create window #262629

tmplt opened this issue Oct 21, 2023 · 1 comment
Labels
0.kind: bug Something is broken

Comments

@tmplt
Copy link
Member

tmplt commented Oct 21, 2023

Describe the bug

Executing the simulate example yields a ERROR: could not create window.

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix shell nixpkgs#mujoco -c simulate
  2. Observe the below
MuJoCo version 2.3.7
ERROR: could not create window

Press Enter to exit ...

Expected behavior

Graphical window with empty MuJoCo scene should open (I surmise, from the project's documentation).

Additional context

Looking up the error string in source points to GLFW failing to create a window. Adding error resolution calls and printouts points the error to missing APIs.

Running this on a NUC with a Ryzen 9 5900HX in KDE Plasma. Unsure if the hardware lacks support. But this is the first graphical issue I've stumbled upon so far.

Notify maintainers

@samuela

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.56, NixOS, 23.05 (Stoat), 23.05.20231009.22723a1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.5`
 - channels(tmplt): `"nixos-23.05, nixos-23.05-23.05"`
 - channels(root): `"nixos-23.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@tmplt tmplt added the 0.kind: bug Something is broken label Oct 21, 2023
@tmplt
Copy link
Member Author

tmplt commented Nov 3, 2023

While working on #262698, I found that using GLFW from nixpkgs, rather than letting mujoco build it solved the issue.

@samuela samuela closed this as completed in 290bc1f Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant