Jetpack3.2 with cuda9.0 support for DeepStream SDK

I tested above setup. It gives error:

(gst-plugin-scanner:27192): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvivafilter.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvivafilter.so: undefined symbol: NvBufferCreateEx

(gst-plugin-scanner:27192): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvosd.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvosd.so: undefined symbol: nvosd_init_class_clrs

(gst-plugin-scanner:27192): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so: undefined symbol: NvBufferCreateEx

(gst-plugin-scanner:27192): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcaffegie.so': libnvcaffe_parser.so.3: cannot open shared object file: No such file or directory

(gst-plugin-scanner:27192): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so: undefined symbol: NvBufferCreateEx

(gst-plugin-scanner:27192): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstclutter.so': /usr/lib/aarch64-linux-gnu/libgbm.so.1: undefined symbol: drmGetDevice2

(gst-plugin-scanner:27192): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstclutter-3.0.so': /usr/lib/aarch64-linux-gnu/libgbm.so.1: undefined symbol: drmGetDevice2
** ERROR: <create_osd_bin:62>: Failed to create 'nvosd0'
** ERROR: <create_osd_bin:100>: create_osd_bin failed
** ERROR: <create_processing_instance:890>: create_processing_instance failed
** ERROR: <create_pipeline:1024>: create_pipeline failed
** ERROR: <main:384>: Failed to create pipeline
Quitting

(nvgstiva-app:27191): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

(nvgstiva-app:27191): GStreamer-CRITICAL **: gst_pad_remove_probe: assertion 'GST_IS_PAD (pad)' failed

(nvgstiva-app:27191): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
App run failed

Is it because of cuda and jetpack version or something else?

Hi pharatekomal,

The DeepStream SDK is still limited release and only supports JetPack3.1 currently.

Thanks

I think v1.5 for Jetson came out a while back, which now supports JetPack 3.2

And. version 2.0 on June 11th should be even better :)

the above answer by moderator kayccc is now invalid.

deepstream 1.5 works perfect with JetPack3.2. i cannot get it to work on JetPack3.1

try it with 3.2

Interesting… I had Deepstream 1.0 working before, and “upgraded” to 1.5 today. Getting the same error now:

** ERROR: <create_osd_bin:62>: Failed to create ‘nvosd0’
** ERROR: <create_osd_bin:100>: create_osd_bin failed
** ERROR: <create_processing_instance:891>: create_processing_instance failed
** ERROR: <create_pipeline:1025>: create_pipeline failed
** ERROR: main:384: Failed to create pipeline
Quitting

(nvgstiva-app:1651): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion ‘GST_IS_ELEMENT (element)’ failed

(nvgstiva-app:1651): GStreamer-CRITICAL **: gst_pad_remove_probe: assertion ‘GST_IS_PAD (pad)’ failed

(nvgstiva-app:1651): GStreamer-CRITICAL **: gst_object_unref: assertion ‘object != NULL’ failed
App run failed

Would appreciate any help with troubleshooting it…
-albertr

I now have all libraries extracted from JetPack 3.2.1 and DeepStream 1.5 installed. I can compile and run TensorRT samples just fine, but nvgstiva-app segfaults in libnvinfer.so.4.0.4 library. Would appreciate any help in troubleshooting this issue.

Also, when DeepStream 2.0 will be available?

-albertr

------------> -----------------
------------> 0,128,128:1,0,0:2,0,0:3,0,0:4,0,0:5,0,0: -----------------
------------> 0,1920,1080:1,100,1080:2,1920,1080:3,1920,1080:4,0,0:5,0,0: -----------------
------------> -----------------
CLASS_IDS TO OEPRATE ON gie_id(0) : 2:
------------> 0,128,128:1,0,0:2,0,0:3,0,0:4,0,0:5,0,0:6,0,0:7,0,0:8,0,0:9,0,0:10,0,0:11,0,0: -----------------
------------> 0,1920,1080:1,100,1080:2,1920,1080:3,1920,1080:4,0,0:5,0,0:6,0,0:7,0,0:8,0,0:9,0,0:10,0,0:11,0,0: -----------------
------------> -----------------
CLASS_IDS TO OEPRATE ON gie_id(0) : 2:
------------> 0,128,128:1,0,0:2,0,0:3,0,0:4,0,0:5,0,0:6,0,0:7,0,0:8,0,0:9,0,0:10,0,0:11,0,0:12,0,0:13,0,0:14,0,0:15,0,0:16,128,1920:17,0,100:18,0,1920:19,0,1920:20,0,0:21,0,0:22,0,0:23,0,0: -----------------
------------> 0,1920,1080:1,100,1080:2,1920,1080:3,1920,1080:4,0,0:5,0,0:6,0,0:7,0,0:8,0,0:9,0,0:10,0,0:11,0,0:12,0,0:13,0,0:14,0,0:15,0,0:16,1080,1:17,1080,1:18,1080,4:19,1080,4:20,0,0:21,0,0:22,0,0:23,0,0: -----------------
------------> -----------------
CLASS_IDS TO OEPRATE ON gie_id(0) : 2:
------------> 0,0:1,0:2,0: -----------------
------------> 0,0:1,0:2,0: -----------------
------------> 0,0,0:1,0,0:2,0,0: -----------------
------------> 0,1920,1080:1,100,1080:2,1920,1080: -----------------
------------> 0,0.200000,0.100000,3,0:1,0.200000,0.100000,3,0:2,0.200000,0.100000,3,0: -----------------
------------> 0,0.0,1.0,0.0:1,0.0,1.0,1.0:2,0.0,0.0,1.0:3,1.0,1.0,0.0 -----------------
Deploy Name : /usr/src/deep_stream/Model/IVASecondary_Make_V1/deploy.prototxt
Model Name : /usr/src/deep_stream/Model/IVASecondary_Make_V1/snapshot_iter_6240.caffemodel
Model Cache Name : /usr/src/deep_stream/Model/IVASecondary_Make_V1/snapshot_iter_6240.caffemodel_b2_fp16.cache
Batch_Size 2

Using Cached GIE model /usr/src/deep_stream/Model/IVASecondary_Make_V1/snapshot_iter_6240.caffemodel_b2_fp16.cache crypto flags(0)
Segmentation fault

[ 2535.610608] nvgstiva-app[5422]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
[ 2535.618626] pgd = ffffffc0795c6000
[ 2535.620738] [00000000] *pgd=00000000a092b003, *pud=00000000a092b003, *pmd=0000000000000000

[ 2535.627934] CPU: 3 PID: 5422 Comm: nvgstiva-app Not tainted 4.4.38-dev-1.0 #65
[ 2535.633853] Hardware name: quill (DT)
[ 2535.636221] task: ffffffc1ecf0b200 ti: ffffffc02e8c4000 task.ti: ffffffc02e8c4000
[ 2535.642398] PC is at 0x7f7ff78c1c
[ 2535.644417] LR is at 0x7f7ff02b94
[ 2535.646423] pc : [<0000007f7ff78c1c>] lr : [<0000007f7ff02b94>] pstate: 20000000
[ 2535.652512] sp : 0000007f57ffdf50
[ 2535.654517] x29: 0000007f57ffdf50 x28: 0000007f54e63f4d
[ 2535.658546] x27: 0000007f57ffe070 x26: 0000007f54e5b4cc
[ 2535.662575] x25: 0000007f57ffe0b0 x24: 0000007f57ffe090
[ 2535.666606] x23: 0000000000000000 x22: 0000007f57ffe140
[ 2535.670636] x21: 0000007f542d7210 x20: 0000000000b84294
[ 2535.674678] x19: 0000007f54e5b4a4 x18: 0000000000000000
[ 2535.678725] x17: 0000007f7ff78c14 x16: 0000007f868e69d0
[ 2535.682765] x15: 0000007f88945cc0 x14: 0000000000000000
[ 2535.686847] x13: 0000000000000000 x12: 0000000000000000
[ 2535.690878] x11: 0000000000000028 x10: 0101010101010101
[ 2535.694945] x9 : 0000000000001150 x8 : 0000007f57ffe140
[ 2535.698977] x7 : 0000000000000001 x6 : 0000007f4c016d8c
[ 2535.703010] x5 : 0000007f57ffde88 x4 : 0000007f4c016d70
[ 2535.707040] x3 : 0000007f54e5b4a4 x2 : 0000000000000000
[ 2535.711070] x1 : 0000000000000000 x0 : 0000000000000000

[ 2535.715287] Library at 0x7f7ff78c1c: 0x7f7fba8000 /usr/lib/aarch64-linux-gnu/libnvinfer.so.4.0.4
[ 2535.722766] Library at 0x7f7ff02b94: 0x7f7fba8000 /usr/lib/aarch64-linux-gnu/libnvinfer.so.4.0.4
[ 2535.730244] vdso base = 0x7f88944000

Ok, this came from sample models included in DeepStream 1.0. Apparenly, these models cannot be used with DeepStream 1.5. After replacing the models, DeepStream 1.5 works on our system.

Can someone from NVidia please explain what is preventing using DeepStream 1.5 with the older models?

-albertr

Greetings,
I am getting the exact same error sequence with latest new Jetson Orin Nano Jetpack and latest DeepStream distro…

Hi @jonatho338 ,
Please file a new topic with your sw/jetson information and logs, this topic has been open for a while, the software related information may be not up to date.

Right, I would have, but it’s the EXACT same error except for some line numbers, so I thought I would be getting flamed with “This topic was addressed FIVE YEARS AGO from blah blah”…

** ERROR: <create_osd_bin:62>: Failed to create ‘nvosd0’
** ERROR: <create_osd_bin:99>: create_osd_bin failed
** ERROR: <create_processing_instance:815>: create_processing_instance failed
** ERROR: <create_pipeline:1327>: create_pipeline failed
** ERROR: main:697: Failed to create pipeline
Quitting
App run failed