DeepStream SDK does not work

After Installing DeepStream SDK on Jetson,I use the command line “$ nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt” to confirm that the DeepStream installation is successful,but fail:

$ nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt
------------> -----------------
------------> 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: -----------------
CPU usage measurement requires governor to be set to performance------------> 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 -----------------
Error while initialize EGL display connection
nvbuf_utils: Invalid width=0 height=0 layout=0
NvBufferCreateEx with memtag 0 failed
nvcaffegie: NvBufferCreateEx failed

What is the problem?anyone met and how to solve? Thanks.

Hi Neon, try

sudo rm -rf ${HOME}/.cache/* and then re run

nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt

Cheers

I had try it again. Still fail!!

Hi,

Strange that it is failing on your side, it was pretty easy to make it run, this is my scenario at a Jetson Tx1 with JetPack 3.2:

nvidia@tegra-ubuntu:~$ uname -a
Linux tegra-ubuntu 4.4.38-tegra #1 SMP PREEMPT Thu Mar 1 20:44:58 PST 2018 aarch64 aarch64 aarch64 GNU/Linux
nvidia@tegra-ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
nvidia@tegra-ubuntu:~$ nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt

Installed with instructions from deepstream_sdk_on_getson_README.txt at section “Installing DeepStream SDK on Jetson”

nvgstiva-app is basically a Gstreamer application, you may get more debug information if using GST_DEBUG variables, for example:

GST_DEBUG=3 nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt

More than three is just too much logging being printed, like:
GST_DEBUG=4 nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt

rror while initialize EGL display connection
nvbuf_utils: Invalid width=0 height=0 layout=0
NvBufferCreateEx with memtag 0 failed
nvcaffegie: NvBufferCreateEx failed
What is the problem?anyone met and how to solve? Thanks.

NvMap failed to allocate memory due to some parameters error.
I will try to reproduce on my side.

Thanks
wayne zhu

can you specify the detailes of the setup? i see you use 4 sinks, you connect 4 devices with 4 monitors through
HDMI cable or something else?

Hi neon-1004,

Is this still an issue on your side? Any result can be shared?

Thanks

Thanks, it works for us.