[2023.1.1] Simulation App Extremely Slow to Start

Hi,

On my windows machine, starting a simulation app takes incredibly long, almost 2 minutes, even though cache is updated to latest version, and all services are green. Starting Isaac Sim outside python is fast. The code is just a simple python example that adds a cube to world (without getting asset root path), then closes the simulation.

[4.308s] [ext: omni.isaac.sim.python-2023.1.1] startup
[4.309s] Simulation App Starting
2024-03-23 13:08:59 [4,267ms] [Warning] [omni.kit.widget.settings.settings_model] a value for setting /rtx/ecoMode/enabled has been requested but is not available
2024-03-23 13:08:59 [4,267ms] [Warning] [omni.kit.widget.settings.settings_model] a value for setting /rtx/directLighting/enabled has been requested but is not available
2024-03-23 13:08:59 [4,267ms] [Warning] [omni.kit.widget.settings.settings_model] a value for setting /rtx/reflections/enabled has been requested but is not available
2024-03-23 13:08:59 [4,268ms] [Warning] [omni.kit.widget.settings.settings_model] a value for setting /rtx/translucency/enabled has been requested but is not available
2024-03-23 13:08:59 [4,268ms] [Warning] [omni.kit.widget.settings.settings_model] a value for setting /rtx/raytracing/subsurface/enabled has been requested but is not available
2024-03-23 13:08:59 [4,268ms] [Warning] [omni.kit.widget.settings.settings_model] a value for setting /rtx/caustics/enabled has been requested but is not available
2024-03-23 13:09:01 [5,978ms] [Warning] [omni.kit.hotkeys.core.registry] [Hotkey] duplicated action as SPACE (On Press) with omni.kit.widget.toolbar.omni.kit.widget.toolbar::toolbar::play!
2024-03-23 13:09:01 [5,979ms] [Warning] [omni.kit.hotkeys.core.registry] [Hotkey] Cannot register Global [omni.kit.widget.toolbar] omni.kit.widget.toolbar::toolbar::play.SPACE, error code: Duplicated action definition
[119.858s] app ready
2024-03-23 13:10:55 [120,161ms] [Warning] [omni.kit.hotkeys.core.registry] [Hotkey] duplicated action as SPACE (On Press) with omni.kit.widget.toolbar.omni.kit.widget.toolbar::toolbar::play!
2024-03-23 13:10:55 [120,161ms] [Warning] [omni.kit.hotkeys.core.registry] [Hotkey] Cannot register Global [omni.kit.widget.toolbar] omni.kit.widget.toolbar::toolbar::play.SPACE, error code: Duplicated action definition
[120.491s] RTX ready
[120.662s] Simulation App Startup Complete
2024-03-23 13:11:01 [126,003ms] [Warning] [omni.usd] Unexpected reference count of 2 for UsdStage ‘anon:0000013C13E063C0:World0.usd’ while being closed in UsdContext (this may indicate it is still resident in memory).
[126.135s] Simulation App Shutting Down

To clarify, the Nucleaus server is running and updated to latest version, attempting the other solutions suggested around did not solve the issue here

upon closer inspection on the full log, it seems that Isaac simulation is compiling RTX shader on each start, even though if I launch Isaac outside python, it doesn’t recompile the shaders at each start. Cache is updated and running to latest version, Nucleus server is running.

2024-03-23 13:32:23 [36,113ms] [Info] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders for RTX renderer main raytracing pipeline by GPU driver: 30 seconds so far

2024-03-23 13:32:53 [66,113ms] [Info] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders for RTX renderer main raytracing pipeline by GPU driver: 60 seconds so far

2024-03-23 13:33:23 [96,114ms] [Info] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders for RTX renderer main raytracing pipeline by GPU driver: 90 seconds so far

2024-03-23 13:33:46 [119,273ms] [Info] [gpu.foundation.plugin] Ray tracing shader compilation for RTX renderer main raytracing pipeline finished after 113 seconds

http://localhost:34080/omniverse://localhost/

Url is accessible from my machine:

same for http://localhost:34080/omniverse://localhost/NVIDIA/Assets/Isaac/2023.1.1

no issues there

The only fix is to downgrade to 2022.2.1, when downgrading to that version, I can see the Nucleus server cache being filled.

Any suggestion how to fix this? It’s disappointing :(

Full log:

kit_20240323_165937.log (795.7 KB)

@fayezsalka would this thread be of any relevance?

Yep thanks! One of the comments suggested changing backend to Vulkan, and that seems to fix the issue.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.