isaac-sim / IsaacAutomator

Isaac Sim/Lab in AWS, Azure, Google Cloud, Alibaba Cloud
Apache License 2.0
73 stars 8 forks source link

Can't start IsaacLab after deploying at AWS with Automator #13

Open 1g0rrr opened 5 months ago

1g0rrr commented 5 months ago

Hi! I want to run Isaac Lab simulation on AWS g4dn.x2large (Tesla T4) but got errors. What can cause it?

Case 1: But when I try to start IsaacLab inside isaac lab container with this command: ./isaaclab.sh -p source/standalone/tutorials/03_envs/create_quadruped_base_env.py I got error "Error] [omni.appwindow.plugin] Failed to acquire IWindowing interface" and then script stops

Screenshot 2024-06-25 at 19 33 40

Case 2 When I try to start Isaac Sim in it's container with this command: ./isaacsim.sh I got similar error, but log go further:

Screenshot 2024-06-26 at 21 40 25

Case 3 When I try to start headless Isaac Sim in 'isaac-shell.sh' container with this command ./runheadless.native.sh all seems ok.

Specs:

GPU: g4dn.x2large (Tesla T4) Isaac Sim Version: 4.0.0

Full log of Case 1:

[IsaacLab]:/isaaclab$ ./isaaclab.sh -p source/standalone/tutorials/03_envs/create_quadruped_base_env.py
[INFO] Using python from: /isaac-sim/python.sh                                                   
[INFO][AppLauncher]: Loading experience file: /isaaclab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/../../../../../../apps/isaaclab.python.kit
Starting kit application with the following args:  ['/isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py', '/isaaclab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/../../../../../../apps/isaaclab.python.kit', '--/app/tokens/exe-path=/isaac-sim/kit', '--/persistent/app/viewport/displayOptions=3094', '--/rtx/materialDb/syncLoads=True', '--/rtx/hydra/materialSyncLoads=True', '--/omni.kit.plugin/syncUsdLoads=True', '--/app/renderer/resolution/width=1280', '--/app/renderer/resolution/height=720', '--/app/window/width=1440', '--/app/window/height=900', '--/renderer/multiGpu/enabled=True', '--/app/fastShutdown=True', '--ext-folder', '/isaac-sim/exts', '--ext-folder', '/isaac-sim/apps', '--/renderer/activeGpu=0', '--/physics/cudaDevice=0', '--portable', '--/app/window/hideUi=False', '--allow-root']
Passing the following args to the base kit application:  []
[Info] [carb] Logging to file: /isaac-sim/kit/logs/Kit/Isaac-Sim/4.0/kit_20240626_021418.log
2024-06-26 02:14:18 [0ms] [Warning] [omni.kit.app.plugin] No crash reporter present, dumps uploading isn't available.
[0.074s] [ext: omni.kit.async_engine-0.0.0] startup
[0.662s] [ext: omni.stats-0.0.0] startup
[0.663s] [ext: omni.client-1.1.0] startup
[0.701s] [ext: omni.datastore-0.0.0] startup
[0.702s] [ext: omni.blobkey-1.1.0] startup
[0.702s] [ext: omni.ujitso.default-1.0.0] startup
[0.703s] [ext: omni.hsscclient-0.0.0] startup
[0.704s] [ext: omni.rtx.shadercache.vulkan-1.0.0] startup
[0.705s] [ext: omni.assets.plugins-0.0.0] startup
[0.707s] [ext: omni.gpu_foundation-0.0.0] startup
[0.721s] [ext: carb.windowing.plugins-1.0.0] startup
2024-06-26 02:14:19 [710ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
2024-06-26 02:14:19 [710ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.4]) (impl: carb.windowing-glfw.plugin)
[0.722s] [ext: omni.kit.renderer.init-0.0.0] startup
2024-06-26 02:14:19 [723ms] [Warning] [omni.platforminfo.plugin] failed to open the default display.  Can't verify X Server version.
2024-06-26 02:14:19 [876ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
2024-06-26 02:14:19 [876ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.4]) (impl: carb.windowing-glfw.plugin)

|---------------------------------------------------------------------------------------------|
| Driver Version: 535.183.01    | Graphics API: Vulkan
|=============================================================================================|
| GPU | Name                             | Active | LDA | GPU Memory | Vendor-ID | LUID       |
|     |                                  |        |     |            | Device-ID | UUID       |
|     |                                  |        |     |            | Bus-ID    |            |
|---------------------------------------------------------------------------------------------|
| 0   | Tesla T4                         | Yes: 0 |     | 16630   MB | 10de      | 0          |
|     |                                  |        |     |            | 1eb8      | 8f287c4c.. |
|     |                                  |        |     |            | 0         |            |
|=============================================================================================|
| OS: 22.04.3 LTS (Jammy Jellyfish) ubuntu, Version: 22.04.3, Kernel: 6.5.0-1020-aws
| Processor: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | Cores: 4 | Logical: 8
|---------------------------------------------------------------------------------------------|
| Total Memory (MB): 31714 | Free Memory: 29906
| Total Page/Swap (MB): 32767 | Free Page/Swap: 32767
|---------------------------------------------------------------------------------------------|
[1.877s] [ext: omni.kit.pipapi-0.0.0] startup
[1.879s] [ext: omni.kit.pip_archive-0.0.0] startup
[1.880s] [ext: omni.pip.compute-1.3.1] startup
[1.880s] [ext: omni.pip.cloud-1.1.3] startup
[1.885s] [ext: omni.isaac.core_archive-2.3.0] startup
[1.885s] [ext: omni.mtlx-0.1.0] startup
[1.886s] [ext: omni.usd.config-1.0.3] startup
[1.891s] [ext: omni.gpucompute.plugins-0.0.0] startup
[1.891s] [ext: omni.usd.libs-1.0.0] startup
[2.014s] [ext: omni.isaac.ml_archive-2.0.1] startup
[2.015s] [ext: omni.kit.loop-isaac-1.2.0] startup
[2.016s] [ext: omni.kit.test-0.0.0] startup
[2.079s] [ext: omni.kit.telemetry-0.5.0] startup
[2.112s] [ext: omni.appwindow-1.1.8] startup
2024-06-26 02:14:20 [2,102ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
2024-06-26 02:14:20 [2,102ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.4]) (impl: carb.windowing-glfw.plugin)
2024-06-26 02:14:20 [2,103ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
2024-06-26 02:14:20 [2,103ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.4]) (impl: carb.windowing-glfw.plugin)
2024-06-26 02:14:20 [2,104ms] [Error] [omni.appwindow.plugin] Failed to acquire IWindowing interface
[2.117s] [ext: omni.kit.renderer.core-1.0.1] startup
Fatal Python error: Segmentation fault

Current thread 0x00007b058d58eb80 (most recent call first):
  File "/isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py", line 350 in _start_app
  File "/isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py", line 197 in __init__
  File "/isaaclab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/app_launcher.py", line 536 in _create_app
  File "/isaaclab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/app_launcher.py", line 117 in __init__
  File "/isaaclab/source/standalone/tutorials/03_envs/create_quadruped_base_env.py", line 37 in <module>

Extension modules: psutil._psutil_linux, psutil._psutil_posix (total: 2)
/isaac-sim/python.sh: line 41:   233 Segmentation fault      (core dumped) $python_exe "$@" $args
There was an error running python
guyostfeld commented 3 months ago

I also have the same problem. my gpu is g5.2xlarge (the default) I get the Iwindowing error when running from ssh, and it gets stuck when connected with novnc. it works when running with --headless

guyostfeld commented 3 months ago

new update for me, managed to run the isaac sim, I recommend using NoMachine since it's the fastest way to connect and waiting for a few minutes after opening isaac-sim or running a training. just ignore the not responding error

myurasov-nv commented 4 weeks ago

@1g0rrr @guyostfeld thanks, we're looking into this