When I ran the examples

I downloaded isaacgym, and I ran the code “joint_monkey.py” on the Ubuntu Terminal.
But in my enviroment, I got an error message:

root@d967d924ca56:/opt/isaacgym/python/examples# python joint_monkey.py
Importing module 'gym_38' (/opt/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /opt/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
WARNING: Forcing CPU pipeline.
Not connected to PVD
+++ Using GPU PhysX
Physics Engine: PhysX
Physics Device: cuda:0
GPU Pipeline: disabled
[Error] [carb.windowing-glfw.plugin] GLFW initialization failed.
[Error] [carb.windowing-glfw.plugin] GLFW window creation failed!
[Error] [carb.gym.plugin] Failed to create Window in CreateGymViewerInternal
*** Failed to create viewer

I built my environment with docker in docker folder with bash build.sh and bash run.sh.

FYI

  • OS: Ubuntu 20.04
  • Nvidia Driver: 470.57.02
  • GPU: RTX 3070

Any idea to solve this?
Thank you.

Hi @ksterx ,

With the default docker build and run scripts shipped in Isaac Gym, we do not support running in docker with the viewer. You can try adding the --headless flag on examples that support headless mode to run without the viewer. Alternatively, you can give this docker run script a try (it’s not well tested yet) to see if you can get the viewer running in docker. run.sh (201 Bytes)

3 Likes

i also have this problem, i only use conda environment.

  • OS: Ubuntu 20.04
  • Nvidia Driver: 495.44
  • GPU: RTX 3090
    If have any solutions to solve this?
    Thank you.

Hello, i met same problem as yours. Have you ever solved it yet?

Hi,I also meet a similar problem when I ran the Isaac Sim container follow this:https://github.com/NVIDIA-Omniverse/IsaacSim-dockerfiles,the error is shown like below:

  • OS: Mint 21
  • Nvidia Driver: 510.108.03
  • GPU: RTX 2060 Max-P

Some of the examples do not enable the gpu by default it does not necessarily mean you have driver problem.
This may be useful.

I had the same error when run the examples:
Importing module ‘gym_38’ (/home/xxx/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /home/xxx/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
WARNING: Forcing CPU pipeline.
Physics Engine: FleX
Physics Device: cuda:0
GPU Pipeline: disabled
Segmentation fault (core dumped)

os:ubuntu18.04
GPU:4090
cuda:11.8/11.3

2 Likes

I had the same error when running the examples:
Importing module ‘gym_38’ (/mnt/kaixuan/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /mnt/kaixuan/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
WARNING: Forcing CPU pipeline.
Not connected to PVD
+++ Using GPU PhysX
Physics Engine: PhysX
Physics Device: cuda:0
GPU Pipeline: disabled
[Error] [carb.windowing-glfw.plugin] GLFW initialization failed.
[Error] [carb.windowing-glfw.plugin] GLFW window creation failed!
[Error] [carb.gym.plugin] Failed to create Window in CreateGymViewerInternal
*** Failed to create viewer

Ubuntu 20.04
GPU: 3090
cuda 11.7
Isaac gym Preview 4

btw I am running through ssh remote and the environment variable DISPLAY is correctly set. The server has a physical screen connected.

Importing module ‘gym_38’ (/root/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /root/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
WARNING: Forcing CPU pipeline.
Not connected to PVD
+++ Using GPU PhysX
Physics Engine: PhysX
Physics Device: cuda:0
GPU Pipeline: disabled
Segmentation fault (core dumped)

how to solve this? Ubuntu18, nvidia A16