Deepstream sample apps not running

Hi!
I pulled and ran the docker container of DeepStream SDK on my laptop. Now when I try to run deepstream-app as instructed in the README, I keep getting the same error like “decode error result=400”.
My laptop and environment specs-
GeForce GT940M
Drivers-410.14
Cuda 10.0
Ubuntu 18.04

Please help me identify what’s going wrong and let me know if any other information is needed

can you do this, rm -rf ~/.cache/gstreamer-1.0/, and run the app again, get the wwhole log, and paste here for
analysis?

>>> Warning. Could not open model engine file /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Secondary_CarMake/resnet18.caffemodel_b16_int8.engine
>>> Generating new TRT model engine
Using INT8 data type.
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
Int8 support requested on hardware without native Int8 support, performance will be negatively affected.

 ***** Storing serialized engine file as /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Secondary_CarMake/resnet18.caffemodel_b16_int8.engine batchsize = 16 *****

>>> Warning. Could not open model engine file /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Secondary_CarColor/resnet18.caffemodel_b16_int8.engine
>>> Generating new TRT model engine
Using INT8 data type.
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
Int8 support requested on hardware without native Int8 support, performance will be negatively affected.

 ***** Storing serialized engine file as /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Secondary_CarColor/resnet18.caffemodel_b16_int8.engine batchsize = 16 *****

>>> Warning. Could not open model engine file /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.engine
>>> Generating new TRT model engine
Using INT8 data type.
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
Int8 support requested on hardware without native Int8 support, performance will be negatively affected.

 ***** Storing serialized engine file as /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.engine batchsize = 16 *****

>>> Warning. Could not open model engine file /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Primary_Detector/resnet10.caffemodel_b4_int8.engine
>>> Generating new TRT model engine
Using INT8 data type.
Int8 support requested on hardware without native Int8 support, performance will be negatively affected.


 ***** Storing serialized engine file as /root/DeepStream_Release/samples/configs/deepstream-app/../../models/Primary_Detector/resnet10.caffemodel_b4_int8.engine batchsize = 4 *****


Runtime commands:

	h: Print this help
	q: Quit

	p: Pause
	r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
      To go back to the tiled display, right-click anywhere on the window.


**PERF: FPS 0 (Avg)	FPS 1 (Avg)	FPS 2 (Avg)	FPS 3 (Avg)	
**PERF: 0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	
** INFO: <bus_callback:98>: Pipeline ready


nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400 <b>(100s MORE OF SUCH LINES)</b>

ERROR from nvcuvidh264dec3: No valid frames decoded before end of stream
Debug info: gstvideodecoder.c(1167): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin1/GstNvcuvidH264Dec:nvcuvidh264dec3:
no valid frames found
ERROR from nvcuvidh264dec1: No valid frames decoded before end of stream
Debug info: gstvideodecoder.c(1167): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin3/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin3/GstNvcuvidH264Dec:nvcuvidh264dec1:
no valid frames found
ERROR from nvcuvidh264dec2: No valid frames decoded before end of stream
Debug info: gstvideodecoder.c(1167): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin2/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin2/GstNvcuvidH264Dec:nvcuvidh264dec2:
no valid frames found

My config file:

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
#gie-kitti-output-dir=streamscl

[tiled-display]
enable=1
rows=2
columns=2
width=1280
height=720
gpu-id=0
# 0 - cuda pinned/host memory
# 1 - cuda device memory
# 2 - cuda unified memory
cuda-memory-type=1

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=3
uri=file://../../streams/sample_720p.mp4
num-sources=4
gpu-id=0
# 0 - cuda pinned/host memory
# 1 - cuda device memory
# 2 - cuda unified memory
cuda-memory-type=1

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=1
source-id=0
gpu-id=0
cuda-memory-type=1

[sink1]
enable=0
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265 3=mpeg4
## only SW mpeg4 is supported right now.
codec=3
sync=0
bitrate=2000000
output-file=out.mp4
source-id=0

[sink2]
enable=0
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
## only mpeg4 is supported right now.
codec=1
sync=0
bitrate=4000
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400


[osd]
enable=1
gpu-id=0
border-width=1
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Arial
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
cuda-memory-type=1

[streammux]
gpu-id=0
##Boolean property to inform muxer that sources are live
live-source=0
batch-size=4
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
batched-push-timeout=40000
## Set muxer output width and height
width=1280
height=720
##Enable to maintain aspect ratio wrt source, and allow black borders, works
##along with width, height properties
enable-padding=0
cuda-memory-type=1

# config-file property is mandatory for any gie section.
# Other properties are optional and if set will override the properties set in
# the infer config file.
[primary-gie]
enable=1
gpu-id=0
model-engine-file=../../models/Primary_Detector/resnet10.caffemodel_b4_int8.engine
labelfile-path=../../models/Primary_Detector/labels.txt
batch-size=4
#Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
gie-unique-id=1
cuda-memory-type=1
config-file=config_infer_primary.txt

[tracker]
enable=1
tracker-width=640
tracker-height=368
gpu-id=0

[secondary-gie0]
enable=1
model-engine-file=../../models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.engine
labelfile-path=../../models/Secondary_VehicleTypes/labels.txt
gpu-id=0
batch-size=16
gie-unique-id=4
operate-on-gie-id=1
operate-on-class-ids=0;
config-file=config_infer_secondary_vehicletypes.txt

[secondary-gie1]
enable=1
model-engine-file=../../models/Secondary_CarColor/resnet18.caffemodel_b16_int8.engine
labelfile-path=../../models/Secondary_CarColor/labels.txt
batch-size=16
gpu-id=0
gie-unique-id=5
operate-on-gie-id=1
operate-on-class-ids=0;
config-file=config_infer_secondary_carcolor.txt

[secondary-gie2]
enable=1
model-engine-file=../../models/Secondary_CarMake/resnet18.caffemodel_b16_int8.engine
labelfile-path=../../models/Secondary_CarMake/labels.txt
batch-size=16
gpu-id=0
gie-unique-id=6
operate-on-gie-id=1
operate-on-class-ids=0;
config-file=config_infer_secondary_carmake.txt

[tests]
file-loop=0

Is my gpu supported?

Hi aman.tandon,

The DeepStream SDK supported GPU architectures are Pascal, Volta and Turing, and your GeForce GT940M belongs to Maxwell architecture, that’s reason to meet the problem.

You will need to upgrade your system environment to run the DeepStream SDK successfully.

Thanks