Can not run the CGF sample correctly

Please provide the following info (tick the boxes after creating this topic):
Software Version
[√] DRIVE OS 6.0.5\ Drive Works 5.8
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[√] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[√] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
[√] 1.9.1.10844
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[√] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

I now try to run the CGF sample with the guide of CGF sample demo:
(Compute Graph Framework SDK Reference: Demo Pipeline Introduction)

It tell us that Use the following command to launch the demo:
"sudo ./run_cgf.sh -p /usr/local/driveworks/src/cgf/graphs/descriptions/systems/CGFDemo.system.json -s /usr/local/driveworks/src/cgf/graphs/CGFDemo.stm"I

But I can not find “CGFDemo.system.json”(the 1st parameter) at the corresponding path int the docker container or in the target device.

Thank you for bringing this to our attention. We understand that the CGFDemo.system.json file is missing from the specified path in the Compute Graph Framework SDK Reference. We are currently investigating this issue and will update you as soon as possible. We apologize for any inconvenience this may have caused.

Thanks and I am looking forward for your further reply.

Dear @McGrady,
Could you check sudo ./run_cgf.sh -p /usr/local/driveworks/src/cgf/graphs/descriptions/systems/CGFDemo.app.json -s /usr/local/driveworks/src/cgf/graphs/CGFDemo__standardSchedule.stm

It shows the message bellow:

20221026_044231
20221026_044231
DW_TOP_PATH=/usr/local/driveworks-5.8
RR_TOP_PATH=/usr/local/driveworks-5.8/bin
CGF_SYS_PATH=
RR_LOG_PATH=/usr/local/driveworks-5.8/bin/config/LogFolder
DATA_PATH=/usr/local/driveworks-5.8/data/apps/cgf/onofframp
Current DISPLAY is :0.0
|--> Tuning message queue
|--> Tuning network stack
LD_LIBRARY_PATH: /usr/local/driveworks-5.8/bin:/usr/local/driveworks-5.8/src/cgf/nodes::/usr/local/driveworks-5.8/lib
/usr/local/driveworks-5.8/bin/config/LogFolder dir exists
total 22676
drwxr-xr-x. 3 root root    4096 Oct 26 03:16 .
drwxr-xr-x. 9 root root    4096 Oct 26 03:15 ..
-r-xr-xr-x. 1 root root 1691504 Jan  1  2000 LoaderLite
-r-xr-xr-x. 1 root root  393776 Jan  1  2000 ScheduleManager
drwxr-xr-x. 3 root root    4096 Oct 26 03:21 config
-r-xr-xr-x. 1 root root    5758 Jan  1  2000 cpu_gpu1.stm
-r-xr-xr-x. 1 root root    5758 Jan  1  2000 cpu_gpu2.stm
-r-xr-xr-x. 1 root root    2944 Jan  1  2000 cpu_simple.stm
-r-xr-xr-x. 1 root root   15464 Jan  1  2000 get_ssm_state
-r-xr-xr-x. 1 root root    5777 Jan  1  2000 gpu_multistream_multiprocess.stm
-r-xr-xr-x. 1 root root   35312 Jan  1  2000 launcher
-r-xr-xr-x. 1 root root   48160 Jan  1  2000 libFaultHandler.so
-r-xr-xr-x. 1 root root    8560 Jan  1  2000 libconnection_helper.so
-r-xr-xr-x. 1 root root   45880 Jan  1  2000 libdnn_pool_plugin.so
-r-xr-xr-x. 1 root root   47512 Jan  1  2000 libsample_can_plugin.so
-r-xr-xr-x. 1 root root   47928 Jan  1  2000 libsample_gps_plugin.so
-r-xr-xr-x. 1 root root   48032 Jan  1  2000 libsample_imu_plugin.so
-r-xr-xr-x. 1 root root   57280 Jan  1  2000 libsample_nv_lidar_plugin.so
-r-xr-xr-x. 1 root root   57576 Jan  1  2000 libsample_nv_radar_plugin.so
-r-xr-xr-x. 1 root root   19984 Jan  1  2000 libsample_sfm_vehicleio_plugin.so
-r-xr-xr-x. 1 root root   51944 Jan  1  2000 libsample_vehicleio_plugin.so
-r-xr-xr-x. 1 root root  405760 Jan  1  2000 sample_calibration_camera
-r-xr-xr-x. 1 root root  375272 Jan  1  2000 sample_calibration_imu
-r-xr-xr-x. 1 root root  391912 Jan  1  2000 sample_calibration_lidar
-r-xr-xr-x. 1 root root  384008 Jan  1  2000 sample_calibration_radar
-r-xr-xr-x. 1 root root  353480 Jan  1  2000 sample_calibration_steering
-r-xr-xr-x. 1 root root  411760 Jan  1  2000 sample_calibration_stereo
-r-xr-xr-x. 1 root root  435216 Jan  1  2000 sample_camera
-r-xr-xr-x. 1 root root  396816 Jan  1  2000 sample_camera_replay
-r-xr-xr-x. 1 root root  336840 Jan  1  2000 sample_camera_seek
-r-xr-xr-x. 1 root root  384944 Jan  1  2000 sample_camera_usb
-r-xr-xr-x. 1 root root  112344 Jan  1  2000 sample_canbus_interpreter
-r-xr-xr-x. 1 root root  110776 Jan  1  2000 sample_canbus_logger
-r-xr-xr-x. 1 root root  397752 Jan  1  2000 sample_cgf_camera_interprocess
-r-xr-xr-x. 1 root root  513304 Jan  1  2000 sample_cgf_dwchannel
-r-xr-xr-x. 1 root root  340120 Jan  1  2000 sample_color_correction
-r-xr-xr-x. 1 root root  331792 Jan  1  2000 sample_connected_components
-r-xr-xr-x. 1 root root  105480 Jan  1  2000 sample_datasensor
-r-xr-xr-x. 1 root root  162216 Jan  1  2000 sample_dataspeedBridge
-r-xr-xr-x. 1 root root  326368 Jan  1  2000 sample_dnn_plugin
-r-xr-xr-x. 1 root root  371056 Jan  1  2000 sample_dnn_tensor
-r-xr-xr-x. 1 root root  353656 Jan  1  2000 sample_egomotion
-r-xr-xr-x. 1 root root  427352 Jan  1  2000 sample_fast9_feature_detector
-r-xr-xr-x. 1 root root  475168 Jan  1  2000 sample_feature_descriptor
-r-xr-xr-x. 1 root root  472008 Jan  1  2000 sample_feature_tracker
-r-xr-xr-x. 1 root root  101232 Jan  1  2000 sample_gps_logger
-r-xr-xr-x. 1 root root   46328 Jan  1  2000 sample_hello_world
-r-xr-xr-x. 1 root root  320048 Jan  1  2000 sample_icp
-r-xr-xr-x. 1 root root  295816 Jan  1  2000 sample_image_capture
-r-xr-xr-x. 1 root root  346448 Jan  1  2000 sample_image_pyramid_pva
-r-xr-xr-x. 1 root root  284416 Jan  1  2000 sample_image_streamer_multi
-r-xr-xr-x. 1 root root  287024 Jan  1  2000 sample_image_streamer_simple
-r-xr-xr-x. 1 root root  414032 Jan  1  2000 sample_imagetransformation
-r-xr-xr-x. 1 root root  105568 Jan  1  2000 sample_imu_logger
-r-xr-xr-x. 1 root root  302112 Jan  1  2000 sample_lidar_replay
-r-xr-xr-x. 1 root root  402120 Jan  1  2000 sample_object_detector_tracker
-r-xr-xr-x. 1 root root  411632 Jan  1  2000 sample_pointcloudprocessing
-r-xr-xr-x. 1 root root  306928 Jan  1  2000 sample_radar_replay
-r-xr-xr-x. 1 root root  277424 Jan  1  2000 sample_record
-r-xr-xr-x. 1 root root  303800 Jan  1  2000 sample_render_engine
-r-xr-xr-x. 1 root root  262616 Jan  1  2000 sample_renderer
-r-xr-xr-x. 1 root root   88960 Jan  1  2000 sample_rig
-r-xr-xr-x. 1 root root   47664 Jan  1  2000 sample_sensors_info
-r-xr-xr-x. 1 root root  377528 Jan  1  2000 sample_sfm
-r-xr-xr-x. 1 root root  107000 Jan  1  2000 sample_socket_ipc_clientserver
-r-xr-xr-x. 1 root root  484736 Jan  1  2000 sample_stereo_disparity
-r-xr-xr-x. 1 root root  372032 Jan  1  2000 sample_template_tracker
-r-xr-xr-x. 1 root root  109592 Jan  1  2000 sample_timesensor
-r-xr-xr-x. 1 root root  289696 Jan  1  2000 sample_vehicleio
-r-xr-xr-x. 1 root root  368432 Jan  1  2000 sample_video_rectifier
-r-xr-xr-x. 1 root root  336536 Jan  1  2000 sample_video_rectifierLDC
-r-xr-xr-x. 1 root root   92272 Jan  1  2000 seh_x86
-r-xr-xr-x. 1 root root  118328 Jan  1  2000 sensor_sync_server
-r-xr-xr-x. 1 root root  116080 Jan  1  2000 ssm_demo1
-r-xr-xr-x. 1 root root  176936 Jan  1  2000 ssm_demo2
-r-xr-xr-x. 1 root root  182712 Jan  1  2000 ssm_demo3
-r-xr-xr-x. 1 root root  210816 Jan  1  2000 ssm_demo4
-r-xr-xr-x. 1 root root  179160 Jan  1  2000 ssm_demo5
-r-xr-xr-x. 1 root root  120464 Jan  1  2000 ssm_demo6
-r-xr-xr-x. 1 root root  165976 Jan  1  2000 stm_master
-r-xr-xr-x. 1 root root  809184 Jan  1  2000 stm_sample_gpuX
-r-xr-xr-x. 1 root root  809184 Jan  1  2000 stm_sample_gpuY
-r-xr-xr-x. 1 root root   83480 Jan  1  2000 stm_sample_manager
-r-xr-xr-x. 1 root root   14560 Jan  1  2000 stm_test_cpu_simple
-r-xr-xr-x. 1 root root  809240 Jan  1  2000 stm_test_gpuX
-r-xr-xr-x. 1 root root  809296 Jan  1  2000 stm_test_gpuY
-r-xr-xr-x. 1 root root  194400 Jan  1  2000 stm_test_vpu
-r-xr-xr-x. 1 root root  111296 Jan  1  2000 vanillassm
-r-xr-xr-x. 1 root root    5774 Jan  1  2000 vpu_simple.stm
Running command: /usr/local/driveworks-5.8/bin/launcher --binPath=/usr/local/driveworks-5.8/bin --spec=/usr/local/driveworks-5.8/src/cgf/graphs/descriptions/systems/CGFDemo.app.json --logPath=/usr/local/driveworks-5.8/bin/config/LogFolder --path=/usr/local/driveworks-5.8/bin --datapath=/usr/local/driveworks-5.8/data/apps/cgf/onofframp --dwdatapath=/usr/local/driveworks-5.8/data --vdcpath=/usr/local/driveworks-5.8/bin --schedule=/usr/local/driveworks-5.8/src/cgf/graphs/CGFDemo__standardSchedule.stm --start_timestamp=0 --loglevel=DW_LOG_VERBOSE --fullscreen=0 --winSizeW=1920 --winSizeH=1200 --virtual=1 --gdb_debug=0 --app_parameter= > /usr/local/driveworks-5.8/bin/config/LogFolder/launcher.log 2>&1
Check if reset NetworkStack needed
Restore LD_LIBRARY_PATH to
=======================================================================
launcher exit status: 33

Do you know what’s the meaning of this error?Preformatted text

1 Like

Hi, I checked this topic Compute graph framework - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums which describe the cgf demo issue in drive sdk 6.0.4, and It’s said by official that cgf demo and gui-edit-tools is not available in 6.0.4.

I wonder if these issues are resolved in the latest 6.0.5 version?
If not, what is the current status availability about cgf library.

Dear @McGrady,
I could reproduce the same issue via ssh to remote machine(no X11 enabled)
Could you confirm if you are running the application directly on host/target or via remote terminal like ssh or via VNC?

Dear @McGrady,
We notice below debian files are missing via sdkm installation of DRIVE OS 6.0.6.

  • driveworks-samples_*~linux*_arm64.deb
  • driveworks-stm-samples_*~linux*_arm64.deb
  • driveworks-cgf-samples_*~linux*_arm64.deb

Could you get the debians from docker container(From /drive/extra/driveworks folder in nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:6.0.6.0-0004) and install on target. Please run the sample as sudo ./run_cgf.sh on target.
Please see DriveWorks SDK Reference: Getting Started Using the NVIDIA DRIVE OS NGC Docker Container for missing debians.

I had verified the steps and I could run on target successfully

I tryt to run this sample both directly on host/target and via ssh, it comes out the same error

Dear SivaRamaKrishnaNV
I have tried to install the deb package, but the error still exist.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Dear @McGrady,
Could you check with DRIVE OS 6.0.6 release and confirm?