NVIDIA-Omniverse / kit-app-template

Omniverse Kit App Template
Other
273 stars 81 forks source link

[QUESTION]: script stuck after ./repo launch #31

Closed meghbhalerao closed 3 days ago

meghbhalerao commented 1 week ago

Question

Hi, I followed all installation steps in the readme and everything works fine till ./repo.sh build - i.e. the build is successful - BUILD (RELEASE) SUCCEEDED (Took 17.49 seconds)

after this when I run ./repo.sh launch I get -

[ctrl+c to Exit]
launching my_company.my_service.kit!
[Info] [carb] Logging to file: /home/mb230/.nvidia-omniverse/logs/Kit/My Service/0.1/kit_20241018_145256.log
[0.060s] [ext: omni.kit.pipapi-0.0.0] startup
[0.092s] [ext: omni.materialx.libs-1.0.4] startup
[0.098s] [ext: omni.kit.pip_archive-0.0.0] startup
[0.098s] [ext: omni.usd.config-1.0.4] startup
[0.100s] [ext: omni.usd.libs-1.0.1] startup
[0.132s] [ext: omni.kit.async_engine-0.0.1] startup
[0.133s] [ext: omni.kit.telemetry-0.5.0] startup
[0.140s] [ext: omni.usd.schema.audio-0.0.0] startup
[0.206s] [ext: omni.client-1.2.0] startup
[0.224s] [ext: omni.graph.exec-0.9.4] startup
[0.224s] [ext: omni.usd_resolver-1.0.0] startup
[0.226s] [ext: omni.kit.actions.core-1.0.0] startup
[0.228s] [ext: omni.kit.exec.core-0.13.4] startup
[0.229s] [ext: omni.usd.core-1.4.2] startup
[0.230s] [ext: omni.kit.commands-1.4.9] startup
[0.246s] [ext: omni.assets.plugins-0.0.0] startup
[0.246s] [ext: omni.services.facilities.base-1.0.4] startup
[0.247s] [ext: omni.kit.loop-default-0.2.0] startup
[0.247s] [ext: carb.audio-0.1.0] startup
[0.248s] [ext: omni.services.core-1.9.0] startup
[0.673s] [ext: omni.kit.usd_undo-0.1.8] startup
[0.674s] [ext: omni.timeline-1.0.10] startup
[0.676s] [ext: omni.kit.audiodeviceenum-1.0.1] startup
[0.678s] [ext: omni.services.transport.server.base-1.1.1] startup
[0.679s] [ext: omni.usd-1.12.2] startup
[0.872s] [ext: omni.services.transport.server.http-1.3.1] startup
[0.923s] [ext: my_company.my_service_setup_extension-0.1.0] startup
[my_company.my_service_setup_extension] MyExtension startup : Local Docs -  http://localhost:8011/docs
[0.925s] [ext: my_company.my_service-0.1.0] startup
[0.963s] app ready

and nothing happens after this - I would expect it to open a GUI, is that correct?

so I am ssh-ed into a linux machine with the following specifications -

 Static hostname: Xyz
       Icon name: computer-desktop
         Chassis: desktop 🖥️
      Machine ID: xxxx
         Boot ID: xxx
Operating System: Ubuntu 24.04.1 LTS              
          Kernel: Linux 6.8.0-45-generic
    Architecture: x86-64
 Hardware Vendor: xx
  Hardware Model: xx
Firmware Version: xx
   Firmware Date: xx
    Firmware Age: xx

I have sshed using ssh -XY user@host and other x applications work ok, such as xclock. My local machine is a MacBook m2 air.

I was wondering if someone could help me out with this issue? I think this might be an issue of me ssh-ing into a remote machine? I am not sure, if someone could help, that would be great, thanks for the help!

Megh

Additional Context

No response

SchultzC commented 1 week ago

It looks like you have launch the headless service application. So no UI by default at launch is correct. You will notice in your output you have:

Local Docs - http://localhost:8011/docs

This is saying that on the local host of your remote machine you now have the interactive documentation on port 8011. The docs for that particular template are here :

https://github.com/NVIDIA-Omniverse/kit-app-template/tree/main/templates/apps/kit_service

I am also noticing that you have Ubuntu 24.04 setup which is not currently in our test matrix. It's great that it appears to be working well, but if you find issues you might consider moving to 22.04.

Another resource that might be worth looking at as you get started is the companion tutorial: https://docs.omniverse.nvidia.com/kit/docs/kit-app-template/latest/docs/intro.html

SchultzC commented 3 days ago

Please let us know if you have additional questions.