NVIDIA-AI-IOT / deepstream_tao_apps

Sample apps to demonstrate how to deploy models trained with TAO on DeepStream
MIT License
377 stars 96 forks source link

Segmentation Fault While Running deepstream-heartrate-app #83

Open mericgeren opened 1 year ago

mericgeren commented 1 year ago

• Branch used: release/tao3.0_ds6.0.1 • Hardware Platform: Jetson Nano • DeepStream Version: 6.0.1 • DeepStream Install Method: .tar Package • Power Mode: MAXN • JetPack Version: 4.6.4 [L4T 32.7.4] • TensorRT Version: 8.2.1.8 • NVIDIA GPU Driver Version: N/A

Issue Description

Hello,

I have followed the instructions in apps/tao_others and apps/tao_others/deepstream-heartrate-app to build and run deepstream-heartrate-app. But, after i enter the command two times:

./deepstream-heartrate-app 1 file:///usr/data/test_video.mp4 ./heartrate

I get the following output:

deepstream_hearthrate_output_log.txt

What i have tried so far?

1) Changing Output Sink:

I have tried this command with sudo:

sudo ./deepstream-heartrate-app 3 file:///usr/data/test_video.mp4 ./heartrate

The output:

Request sink_0 pad from streammux Now playing: file:///usr/data/test_video.mp4 Using winsys: x11 libnvcv_tensorops.so: cannot open shared object file: No such file or directory Running…

And it sticks there.

2) Omitting Sudo:

I have tried this command with changed sink and without sudo:

./deepstream-heartrate-app 3 file:///usr/data/test_video.mp4 ./heartrate

The output:

new_deepstream_hearthrate_output_log.txt

3) Changing Input File:

I have tried this command with changed sink and without sudo:

./deepstream-heartrate-app 3 file:/opt/nvidia/samples/streams/yoga.mp4 ./heartrate

The output:

new_deepstream_hearthrate_with_different_file_directory_output_log.txt

4) Changing Output Sink to Default:

I have tried this command with original sink and without sudo:

./deepstream-heartrate-app 1 file:/opt/nvidia/samples/streams/yoga.mp4 ./heartrate

The output:

new_deepstream_hearthrate_filesink_output_log.txt

Note:

Thanks in advance.