deepstream-occupancy-analytics icon indicating copy to clipboard operation
deepstream-occupancy-analytics copied to clipboard

Issue running this app with Deepstream 6.0

Open JanetSe opened this issue 3 years ago • 9 comments

**• Hardware Platform (Jetson / GPU): Jetson Nano **• DeepStream Version: 6.0 When running: sudo apt-cache show nvidia-jetpack, I get the following message:

Package: nvidia-jetpack Version: 4.5.1-b17 Architecture: arm64 Maintainer: NVIDIA Corporation Installed-Size: 194 Depends: nvidia-cuda (= 4.5.1-b17), nvidia-opencv (= 4.5.1-b17), nvidia-cudnn8 (= 4.5.1-b17), nvidia-tensorrt (= 4.5.1-b17), nvidia-visionworks (= 4.5.1-b17), nvidia-container (= 4.5.1-b17), nvidia-vpi (= 4.5.1-b17), nvidia-l4t-jetson-multimedia-api (>> 32.5-0), nvidia-l4t-jetson-multimedia-api (<< 32.6-0) Homepage: http://developer.nvidia.com/jetson Priority: standard Section: metapackages Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_4.5.1-b17_arm64.deb Size: 29390 SHA256: 13c10e9a53ec51c261ce188d626966dfca27f26b2ed94ba700147c1ba3e35399 SHA1: 81047a7779241bbf16763dbd1c4c12cf8c9d0496 MD5sum: 54916439514f39af5234b3a43e329910 Description: NVIDIA Jetpack Meta Package Description-md5: ad1462289bdbc54909ae109d1d32c0a8

Package: nvidia-jetpack Version: 4.5-b129 Architecture: arm64 Maintainer: NVIDIA Corporation Installed-Size: 194 Depends: nvidia-cuda (= 4.5-b129), nvidia-opencv (= 4.5-b129), nvidia-cudnn8 (= 4.5-b129), nvidia-tensorrt (= 4.5-b129), nvidia-visionworks (= 4.5-b129), nvidia-container (= 4.5-b129), nvidia-vpi (= 4.5-b129), nvidia-l4t-jetson-multimedia-api (>> 32.5-0), nvidia-l4t-jetson-multimedia-api (<< 32.6-0) Homepage: http://developer.nvidia.com/jetson Priority: standard Section: metapackages Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_4.5-b129_arm64.deb Size: 29358 SHA256: 9ee354a66d932a3fbb244c926f333143a845c627c6981d108e01df2958ac462c SHA1: 0e07f27c6fb9e34a70c69ae1150d1e578e938089 MD5sum: a551bbc8ff653c8983ce1804082bbcab Description: NVIDIA Jetpack Meta Package Description-md5: ad1462289bdbc54909ae109d1d32c0a8

I have already made the deepstream-occupancy-analytics on deepstream 5.1 and it worked fine, I cloned the same application on a different jetson with deepstream 6.0, but I get the following error:

** ERROR: <create_osd_bin:58>: Failed to create ‘nvosd0’ ** ERROR: <create_osd_bin:100>: create_osd_bin failed ** ERROR: <create_processing_instance:815>: create_processing_instance failed ** ERROR: <create_pipeline:1323>: create_pipeline failed ** ERROR: main:1041: Failed to create pipeline Quitting App run failed

Any idea what this issue is referring to?

Thanks

JanetSe avatar Dec 05 '21 13:12 JanetSe

Are you using ds6.0 branch?

monjha avatar Dec 08 '21 17:12 monjha

Are you using ds6.0 branch?

Hello, should this work in ds6.0? I cannot run example: niyaz@niyaz:/opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-occupancy-analytics$ ./deepstream-test5-analytics -c config/test5_config_file_src_infer_tlt.txt ** WARN: <parse_source:577>: Deprecated config 'smart-rec-video-cache' used in group [source1]. Use 'smart-rec-cache' instead

(deepstream-test5-analytics:11522): GLib-CRITICAL **: 14:43:46.449: g_strchug: assertion 'string != NULL' failed

(deepstream-test5-analytics:11522): GLib-CRITICAL **: 14:43:46.449: g_strchomp: assertion 'string != NULL' failed ** WARN: <create_pipeline:1170>: Num of Tiles less than number of sources, readjusting to 2 rows, 1 columns Warning: 'input-dims' parameter has been deprecated. Use 'infer-dims' instead. ** ERROR: main:1088: Failed to set pipeline to PAUSED Quitting ERROR from sink_sub_bin_sink2: Could not configure supporting library. Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmsgbroker/gstnvmsgbroker.cpp(402): legacy_gst_nvmsgbroker_start (): /GstPipeline:pipeline/GstBin:sink_sub_bin2/GstNvMsgBroker:sink_sub_bin_sink2: unable to connect to broker library ERROR from sink_sub_bin_sink2: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Debug info: gstbasesink.c(5265): gst_base_sink_change_state (): /GstPipeline:pipeline/GstBin:sink_sub_bin2/GstNvMsgBroker:sink_sub_bin_sink2: Failed to start App run failed

niyazFattahov avatar Jan 14 '22 11:01 niyazFattahov

can this work from csi camera? I dont see option for csi

niyazFattahov avatar Jan 14 '22 11:01 niyazFattahov

For ds6.0, please check the ds_6.0 branch. For csi camera, check this https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_ref_app_deepstream.html?highlight=csi#id4 and change the type of source group for csi.

monjha avatar Jan 31 '22 06:01 monjha

For ds6.0, please check the ds_6.0 branch. For csi camera, check this https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_ref_app_deepstream.html?highlight=csi#id4 and change the type of source group for csi.

I get segfault with csi source and rtsp sink

niyazFattahov avatar Jan 31 '22 06:01 niyazFattahov

What platform are you using? Also, any other ds sample application is running with CSI camera and rtsp sink?

monjha avatar Jan 31 '22 06:01 monjha

What platform are you using? Also, any other ds sample application is running with CSI camera and rtsp sink?

Jetson Nanno, https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html I have tested with this config and it working(detecting people): deepstream-app -c source1_csi_dec_infer_resnet_int8.txt

niyazFattahov avatar Jan 31 '22 06:01 niyazFattahov

seems not working in DS 6.1

liaoweiguo avatar Jun 13 '22 07:06 liaoweiguo

The same issue to me with a sample program. I installed the docker version via docker pull nvcr.io/nvidia/deepstream-l4t:6.2-triton on the Orin (A sample program works well on PC GPU).

Any help?

XinyueZ avatar Apr 21 '23 06:04 XinyueZ