Software Version
DRIVE OS 6.0.6
Target Operating System
Linux
Hardware Platform
DRIVE AGX Orin Developer Kit (not sure its number)
I try to run the HelloWorldNode sample of CGF base on the cgf_demo_sample(Compute Graph Framework SDK Reference: Demo Pipeline Introduction)
it shows the error message bellow:
[2023-01-30T10:52:51.967361Z][ERROR][tid:rr2_main][TopExecutor.hpp:2022][TopExecutor] SWC initiated at:83533806879936
[2023-01-30T10:52:51.975969Z][INFO][tid:rr2_main][Platform.cpp:125][NO_TAG] Platform: Detected Drive Orin P3710
[2023-01-30T10:52:51.976084Z][INFO][tid:rr2_main][TimeVibranteLinux.cpp:145][NO_TAG] TimeSourceVibranteLinux: detect valid PTP interface mgbe2_0
[2023-01-30T10:52:51.976141Z][ERROR][tid:rr2_main][TimeVibranteLinux.cpp:237][NO_TAG] TimeSource Nvpss : PTP ioctl returned error. Synchronized time will not be available from this timesource.
[2023-01-30T10:52:51.976165Z][WARN][tid:rr2_main][TimeVibranteLinux.cpp:159][NO_TAG] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to mgbe2_0
[2023-01-30T10:52:51.979925Z][INFO][tid:rr2_main][Platform.cpp:310][NO_TAG] Platform: currently selected GPU device integrated ID 0
[2023-01-30T10:52:51.982014Z][WARN][tid:rr2_main][Context.cpp:412][NO_TAG] Context::findResourcesPackageInPathWalk: Could not find ./resources/resources.pak in upto 7 parent directories from /usr/local/driveworks-5.10/bin/../lib/libdw_base.so.5.10
[2023-01-30T10:52:51.982066Z][WARN][tid:rr2_main][Context.cpp:412][NO_TAG] Context::findResourcesPackageInPathWalk: Could not find ./resources/resources.pak in upto 7 parent directories from /usr/local/driveworks-5.10/targets/aarch64-Linux/lib/libdw_base.so.5.10
[2023-01-30T10:52:51.982081Z][ERROR][tid:rr2_main][Context.cpp:506][NO_TAG] SDK: No resources(.pak) mounted from '/home/nvidia/myz/gw_demo-linux-arrch64/install/gw_demo/data/'. Please adjust path or some modules won't function properly.
[2023-01-30T10:52:52.17845Z][INFO][tid:rr2_main][TimeVibranteLinux.cpp:145][NO_TAG] TimeSourceVibranteLinux: detect valid PTP interface mgbe2_0
[2023-01-30T10:52:52.17896Z][ERROR][tid:rr2_main][TimeVibranteLinux.cpp:237][NO_TAG] TimeSource Nvpss : PTP ioctl returned error. Synchronized time will not be available from this timesource.
[2023-01-30T10:52:52.17921Z][WARN][tid:rr2_main][TimeVibranteLinux.cpp:159][NO_TAG] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to mgbe2_0
[2023-01-30T10:52:52.18506Z][INFO][tid:rr2_main][Context.cpp:216][NO_TAG] Initialize DriveWorks SDK v5.10.87
[2023-01-30T10:52:52.18537Z][INFO][tid:rr2_main][Context.cpp:222][NO_TAG] Release build with GNU 9.3.0 from buildbrain-branch-0-g9a5b4670e12 against Drive PDK v6.0.6.0
[2023-01-30T10:52:52.18560Z][INFO][tid:rr2_main][ImplContext.cpp:95][ImplContext] Rig overlay directory does not exist: /storage/driveworks/data/vehicle_cfg
[2023-01-30T10:52:52.18979Z][WARN][tid:rr2_main][EndpointNVPPS.cpp:346][NO_TAG] TimeSensor: failed to set NVPPS parameters. Error: Invalid argument
[2023-01-30T10:52:52.19002Z][WARN][tid:rr2_main][EndpointNVPPS.cpp:121][NO_TAG] This platform does not support NVPPS GPIO mode. Fallback to timer mode
[2023-01-30T10:52:52.19044Z][WARN][tid:rr2_main][TimeSensorNVPPS.cpp:154][NO_TAG] TimeSensor: initialized with no UTC time reference.
[30-01-2023 10:52:52] [ERROR] Unable to find state machine: helloworld_process0
[30-01-2023 10:52:52] [ERROR] Terminating...Unable to find state machine: helloworld_process0
[2023-01-30T10:52:52.178088Z][ERROR][tid:rr2_main][TopExecutor.hpp:3336][TopExecutor] Clone Manager: Unable to instantiate state machine: helloworld_process0
terminate called after throwing an instance of 'std::runtime_error'
what(): Clone Manager: Unable to instantiate state machine: helloworld_process0
[2023-01-30T10:52:52.178301Z][ERROR][tid:rr2_main][TopExecutor.hpp:588][TopExecutor] [FaultHandler] Caught signal: 6 sent by pid 24785
[2023-01-30T10:52:52.180055Z][ERROR][tid:rr2_main][FaultHandler.cpp:162][FaultHandler]
the key error is here:
terminate called after throwing an instance of 'std::runtime_error'
what(): Clone Manager: Unable to instantiate state machine: helloworld_process0
the “helloworld_process0” is the name of HelloWorldNode I use in the app.json, and now I don’t where can I find the state machine of this porcess