Deepstream SDK samples apps running on Jetson X2

Hi,

On Jetson TX, I have upgraded Jetpack 4.2,installed Deepstream SDK4.0 and dependant tools as well.

Now trying to run the sample application, most of application throws segmentation fault. It seems, I am missing some steps. here is few samples and results I have pasted. Kindle advise.


deepstream-image-decode-app -c /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.jpg
Segmentation fault (core dumped)


deepstream-app -c /opt/nvidia/deepstream/deepstream-4.0/samples/configs/deepstream-app/config_infer_primary.txt

(gst-plugin-scanner:12514): GLib-GObject-WARNING **: 22:10:44.973: cannot register existing type ‘GstInterpolationMethod’

(gst-plugin-scanner:12514): GLib-GObject-CRITICAL **: 22:10:44.974: g_param_spec_enum: assertion ‘G_TYPE_IS_ENUM (enum_type)’ failed

(gst-plugin-scanner:12514): GLib-GObject-CRITICAL **: 22:10:44.974: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

(deepstream-app:12513): GStreamer-CRITICAL **: 22:10:46.357: gst_element_get_static_pad: assertion ‘GST_IS_ELEMENT (element)’ failed
Segmentation fault (core dumped)

./deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_1080p_h264.mp4
Now playing: /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_1080p_h264.mp4

Using winsys: x11
Opening in BLOCKING MODE
Creating LL OSD context new
0:00:01.080671183 12137 0x557ece1920 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger: NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:01.081085965 12137 0x557ece1920 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger: NvDsInferContext[UID 1]:generateTRTModel(): INT8 not supported by platform. Trying FP16 mode.
0:00:31.480316044 12137 0x557ece1920 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger: NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /opt/nvidia/deepstream/deepstream-4.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_fp16.engine
Running…
ERROR from element h264-parser: Internal data stream error.
Error details: gstbaseparse.c(3611): gst_base_parse_loop (): /GstPipeline:dstest1-pipeline/GstH264Parse:h264-parser:
streaming stopped, reason not-negotiated (-4)
Returned, stopping playback

Kindly advise.

Thanks,
Sara

Hi,
We have a config file for tx2. Please go to /opt/nvidia/deepstream/deepstream-4.0/samples/configs/deepstream-app/ and run

samples/configs/deepstream-app$ deepstream-app -c source12_1080p_dec_infer-resnet_tracker_tiled_display_fp16_tx2.txt

If it does not run well you may try to cleanup gstreamer cache and try again.
https://docs.nvidia.com/metropolis/deepstream/4.0/dev-guide/index.html#page/DeepStream_Development_Guide%2Fdeepstream_quick_start.html%23wwpID0E05E0HA