Unable to create pgie

**• Hardware Platform: Jetson nx
**• DeepStream: 6.0
**• JetPack: 4.6.1

when run deepstream_test1.py in a docker container, error shows as following:
"GStreamer-WARNING **: 12:20:54.141: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so’: /usr/lib/aarch64-linux-gnu/libnvparsers.so.8: file too short
Unable to create pgie

(python3:50): GStreamer-WARNING **: 12:20:54.148: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so’: /usr/lib/aarch64-linux-gnu/libnvinfer.so.8: file too short
Unable to create nvosd"

And, the docker is running well on another machine of same type.

Can you share the command starting the docker?

Is the Jetpack version on the other machine is also 4.6.1, and deepstream_test1.py can run well with the same command that starting docker?

Thank you for reply.

The command is as following:
“xhost +
sudo docker run -id --name=sll7 --net=host --runtime=nvidia --device=/dev/ttyTHS1 -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/apps -v /tmp/.X11-unix/:/tmp/.X11-unix 917a59ccd6e4
sudo docker exec -it sll7 bash”

Yes, the Jetpack version is 4.6.1 too, the pipeline is running well, at least, no error shows as above.


cd /opt/nvidia/deepstream/deepstream

Maybe the shared library soft link is broken.

OK, I will try, thanks ^_^

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

yes, when run “./install.sh”, error shows like “/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libvinfer.so is empty, not checked.”

Do you know how to fix this?

try reinstall tensorrt

sudo apt-get remove tensorrt
sudo apt-get install tensorrt

reinstall tensorrt in docker runtime or host?

host.By the way, Can you upgrade deepstream to 6.2 ?

Actually, I wanted to, but the JetPack need to be upgraded, so the OS, except for these, and I am afraid the hardware will not support which supplier told me. Maybe I need a good Jeston nx supplier.

Resolved,thank you @junshengy @yingliu

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.