Isaac sim container problems running runheadless.native.sh

Hi,

I am following isaac sim container installation steps to run isaac sim docker container.

The docker engine setup and nvidia container toolkit seems to work OK.

I run the following command to enter the container.

docker run --name isaac-sim --entrypoint bash -it --runtime=nvidia --gpus all -e "ACCEPT_EULA=Y" --rm --network=host \
    -e "PRIVACY_CONSENT=Y" \
    -v ~/docker/isaac-sim/cache/kit:/isaac-sim/kit/cache:rw \
    -v ~/docker/isaac-sim/cache/ov:/root/.cache/ov:rw \
    -v ~/docker/isaac-sim/cache/pip:/root/.cache/pip:rw \
    -v ~/docker/isaac-sim/cache/glcache:/root/.cache/nvidia/GLCache:rw \
    -v ~/docker/isaac-sim/cache/computecache:/root/.nv/ComputeCache:rw \
    -v ~/docker/isaac-sim/logs:/root/.nvidia-omniverse/logs:rw \
    -v ~/docker/isaac-sim/data:/root/.local/share/ov/data:rw \
    -v ~/docker/isaac-sim/documents:/root/Documents:rw \
    nvcr.io/nvidia/isaac-sim:4.1.0

I am then presented with the following prompt:

root@demoPC:/isaac-sim#

However, after I run:

/runheadless.native.sh -v

The application stops, it does display the following message:

Isaac Sim Headless Native App is loaded.

But, then it does not proceed further. Also, leading up to the above message, I do receive certain warnings and errors, for example:


[carb.windowing-flgw.pugin] GLFW initialization failed. 
[omni.kit.widget.cache_indicato.cache_state_menu] Unable to detect Omniverse Cache Server. Consider installing it for better IO performance. 
[omni.isaac.ros2_bridge.scripts.extension] ROS_DISTRO env var not found, Please source ROS2 Foxy, or Humble, before enabling this extension
[omni.isaac.ros2_bridge.scripts.extension] ROS2 Bridge startup failed,

The output of nvidia-smi:


root@demoPC:/isaac-sim# nvidia-smi
Mon Sep 16 12:09:17 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4080 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   49C    P3             23W /   80W |      16MiB /  12282MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
+-----------------------------------------------------------------------------------------+

Please,

Do I need to install cache server (nucleus server) separately first?
Do I need to have a native ROS distribution on my machine ? I intend to use ROS 1 bridge, I have another docker container that runs ros1 noetic, and using ros1 bridge within isaac sim container, I would like to prepare my application, without having to install it on my host machine.
What about the GLFW error?

Please, any help or pointers in this matter.

thanks,

Zahid

Hi Zahid,

What are you trying to do with the headless container? That’s what it looks like for me. What I then do is I run my Omniverse Streaming Client, put in the IP address (my EC2 machine, in my case. Or localhost if you’re running it on the same machine). And then the GUI will load up.

1 Like

thanks @pweids , For running the Omniverse Streaming Client, I need to install and run omniverse launcher on the local machine first ? I downloaded omniverse launcher, however, when running
./omniverse-launcher-linux.AppImage, I am getting stuck on the login window. I entered login + password, though I cannot proceed further. It appears to have happened to other users, but, I tried different solutions discussed but I am still not able to login.

I have a model of a robotic hand and we have created a simple simulation application that moves different joints of that robotic hand in Isaac Sim. We would like to have the whole application as a docker based setup so that it can be ported to any system for demonstration purposes. Therefore, I was interested in the isaac sim container version.

Not so sure about that login issue. I had that with an old version of Isaac sim. Which version are you running?

But if you can resolve that, then the omniverse launcher will be able to start up the streaming client.

1 Like

The Isaac Sim version that I am running for the container is 4.1.0 ( latest?).

Could you please share the link to the topic discussing the login issue you mentioned? This would help us understand what solutions you’ve already tried and potentially suggest other approaches.

@VickNV
I will have to look it up, but I can write here,

  • I installed chrome browser,
  • Also, I tried this, in particular suggested by @peter.gibson where, I updated
    ~/.local/share/applications/nvidia-omniverse-launcher.desktop and Exec="/home/demopc/Downloads/omniverse-launcher-linux.AppImage" %u

It still gave me the same situation where the login screen was stuck although username and password was accepted. I restarted the computer, and now it seems to work OK.

This is the output on the terminal:


demopc@demoPC:~/Downloads$ ./omniverse-launcher-linux.AppImage
11:11:16.071 › Omniverse Launcher 1.9.13 (production)
11:11:16.078 › Argv: /tmp/.mount_omniveNqV4UQ/omniverse-launcher
11:11:16.078 › Crash dumps directory: /home/demopc/.config/omniverse-launcher/Crashpad
11:11:16.080 › Start polling Launcher updates.
11:11:16.215 › Reset current installer.
11:11:16.232 › Running production web server.
11:11:16.236 › HTTP endpoints listening at http://localhost:33480
11:11:16.236 › HTTP endpoints listening at http://127.0.0.1:33480
11:11:16.239 › Sharing: false
11:11:16.287 › Started the Navigator web server on 127.0.0.1:34080.
[10304:0917/111116.288613:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=139
[10304:0917/111116.460274:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=139
[10304:0917/111116.634210:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=139
[10304:0917/111116.775926:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=139
[10304:0917/111116.914161:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=139
[10304:0917/111117.045515:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=139
11:11:17.115 › Saving omniverse-launcher.desktop file to /tmp/omniverse-launcher-McryWs...
11:11:17.116 ›
 [Desktop Entry]
Name=omniverse-launcher
Exec="/home/demopc/Downloads/omniverse-launcher-linux.AppImage"  %u
Type=Application
Terminal=false
MimeType=x-scheme-handler/omniverse-launcher

11:11:17.213 › Saving omniverse.desktop file to /tmp/omniverse-launcher-iqwkDr...
11:11:17.213 ›
 [Desktop Entry]
Name=omniverse-launcher
Exec="/home/demopc/Downloads/omniverse-launcher-linux.AppImage"  %u
Type=Application
Terminal=false
MimeType=x-scheme-handler/omniverse

11:11:17.272 › Failed to set launch on login: Error: EACCES: permission denied, copyfile '/home/demopc/.local/share/applications/nvidia-omniverse-launcher.desktop' -> '/home/demopc/.config/autostart/nvidia-omniverse-launcher.desktop'
11:11:17.273 › Initialized.
11:11:17.371 › Logged in.

but, now I faced following issues,

  • The resolution of the streaming client window is very small, I cannot have it the same as my laptop desktop or even a bigger one that is usable. Even when I choose a different one, the menu text sizes seems to remain same.
  • I chose File - > Exit and it hangs.

Did you have issue with resolution, because, I switched between different resolutions provided and none of them seems good,

1920 x 1080

3840 x 2160

Thank you for your question about streaming client resolution. There’s a relevant discussion on this topic that might be helpful:

Also, could you please confirm if your original issue in this topic has been resolved?