# Couldn't run a test-app. Please Help me

**URL:** <https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798>\
**Category:** DeepStream SDK\
**Created:** [September 17, 2019, 1:29am UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798 "2019-09-17T01:29:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![YodaPaPa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@YodaPaPa](https://forums.developer.nvidia.com/u/YodaPaPa)\
**Post date:** [September 17, 2019, 1:29am UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/1 "2019-09-17T01:29:59Z")

</div>

I just installed JetPack 4.2.2. and DeepStream 4.0 for Jetson.

And run a deepstream-test1-app but didn’t work.

Here is error message.

What I missed?

* * *

wideep3@jetbot-nano:/opt/nvidia/deepstream/deepstream-4.0/bin$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample\_1080p\_h264.mp4  
Failed to load config file: No such file or directory  
\*\* ERROR: \<gst\_nvinfer\_parse\_config\_file:943\>: failed  
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:00.238892489 8635 0x250d9120 WARN nvinfer gstnvinfer.cpp:658:gst\_nvinfer\_start: error: Configuration file parsing failed  
0:00:00.238945433 8635 0x250d9120 WARN nvinfer gstnvinfer.cpp:658:gst\_nvinfer\_start: error: Config file path: dstest1\_pgie\_config.txt  
Running…  
ERROR from element primary-nvinference-engine: Configuration file parsing failed  
Error details: /dvs/git/dirty/git-master\_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(658): gst\_nvinfer\_start (): /GstPipeline:dstest1-pipeline/GstNvInfer:primary-nvinference-engine:  
Config file path: dstest1\_pgie\_config.txt  
Returned, stopping playback  
Deleting pipeline

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [September 17, 2019, 7:32am UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/2 "2019-09-17T07:32:47Z")

</div>

Hi YodaPaPa,

Below is “deepstream-test1-app” usage:

```auto
Usage: deepstream-test1-app <H264 filename>

```

Please try to run below commands:

```auto
$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264

```

---

<div class="post-metadata">

**Author:** ![YodaPaPa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@YodaPaPa](https://forums.developer.nvidia.com/u/YodaPaPa)\
**Post date:** [September 17, 2019, 8:45am UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/3 "2019-09-17T08:45:19Z")

</div>

I tried but failed.

* * *

wideep3@jetbot-nano:~$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample\_720p.h264  
Failed to load config file: No such file or directory  
\*\* ERROR: \<gst\_nvinfer\_parse\_config\_file:943\>: failed  
Now playing: /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample\_720p.h264

Using winsys: x11  
Opening in BLOCKING MODE  
Creating LL OSD context new  
0:00:00.250623203 17687 0x1499d120 WARN nvinfer gstnvinfer.cpp:658:gst\_nvinfer\_start: error: Configuration file parsing failed  
0:00:00.250675600 17687 0x1499d120 WARN nvinfer gstnvinfer.cpp:658:gst\_nvinfer\_start: error: Config file path: dstest1\_pgie\_config.txt  
Running…  
ERROR from element primary-nvinference-engine: Configuration file parsing failed  
Error details: /dvs/git/dirty/git-master\_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(658): gst\_nvinfer\_start (): /GstPipeline:dstest1-pipeline/GstNvInfer:primary-nvinference-engine:  
Config file path: dstest1\_pgie\_config.txt  
Returned, stopping playback  
Deleting pipeline

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [September 17, 2019, 8:51am UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/4 "2019-09-17T08:51:50Z")

</div>

Hi YodaPaPa,

From log error is show failed to load config file.  
Please check below folder:  
/opt/nvidia/deepstream/deepstream-4.0/samples/models/Primary\_Detector/

The normal log should be:

```auto
$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264 
Now playing: /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264

Using winsys: x11 
Opening in BLOCKING MODE 
Creating LL OSD context new
0:00:01.081808184 8667 0x102dd520 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:39.041533037 8667 0x102dd520 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary-nvinference-engine> 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_int8.engine
Running...
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
Creating LL OSD context new
Frame Number = 0 Number of objects = 5 Vehicle Count = 3 Person Count = 2
Frame Number = 1 Number of objects = 5 Vehicle Count = 3 Person Count = 2

```

---

<div class="post-metadata">

**Author:** ![assansanogo](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@assansanogo](https://forums.developer.nvidia.com/u/assansanogo)\
**Post date:** [September 24, 2019, 6:45pm UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/5 "2019-09-24T18:45:44Z")

</div>

I’m using the Deepstream 4.x

I had the same problem…  
you must go to : “/opt/nvidia/deepstream-4.0/sources/apps/sample\_apps/deepstream-test1”  
over there u will see a bunch of files:

c file dstest1\_pgie\_config.txt a Make file a readme file

you compile by just typing : make  
normally you should see a new file.

then you run:  
./deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample\_720p.h264  
" et voilà!"  
hope it helps - for me it did

---

<div class="post-metadata">

**Author:** ![YodaPaPa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@YodaPaPa](https://forums.developer.nvidia.com/u/YodaPaPa)\
**Post date:** [September 24, 2019, 11:49pm UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/6 "2019-09-24T23:49:55Z")

</div>

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![niboshi000](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@niboshi000](https://forums.developer.nvidia.com/u/niboshi000)\
**Post date:** [September 24, 2020, 7:11am UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/7 "2020-09-24T07:11:14Z")

</div>

Ooo… thanks so much. That saved my day, too.  
I wonder if that’s ever documented 🤔

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:16pm UTC](https://forums.developer.nvidia.com/t/couldnt-run-a-test-app-please-help-me/81798/8 "2021-10-12T16:16:28Z")

</div>


