Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): Jetson Nano 4gb Dev Board
• DeepStream Version: nvcr.io/nvidia/deepstream-l4t:6.0.1-base
• JetPack Version (valid for Jetson only):
cat /etc/nv_tegra_release
# R32 (release), REVISION: 7.1, GCID: 29818004, BOARD: t210ref, EABI: aarch64, DATE: Sat Feb 19 17:05:08 UTC 2022
• TensorRT Version: NA
• Issue Type( questions, new requirements, bugs): questions/bug
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
I build the deepstream_lpr_app based on the steps from:
for build I was using the ‘nvcr.io/nvidia/deepstream-l4t:6.0.1-samples’. As I was using the deepstream docker image I could skip the corresponding step in the ’ Prerequisition’ chapter, to be able to build the app I only needed to install the following packages:
- libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev
dokcer command:
docker run --rm -ti\
--net=host -e DISPLAY=$DISPLAY -w '/sources/tmp/deepstream_lpr_app-master/deepstream-lpr-app' -v /tmp/.X11-unix/:/tmp/.X11-unix\
-v /home/pettair/sources:/sources\
nvcr.io/nvidia/deepstream-l4t:6.0.1-base\
bash
After this I tried to execute the build binary from ‘deepstream-l4t:6.0.1-base’:
docker run --rm -ti\
--net=host -e DISPLAY=$DISPLAY -w '/sources/tmp/deepstream_lpr_app-master/deepstream-lpr-app' -v /tmp/.X11-unix/:/tmp/.X11-unix\
-v /home/pettair/sources:/sources\
nvcr.io/nvidia/deepstream-l4t:6.0.1-base\
bash
but I get the following error:
./deepstream-lpr-app 1 1 0 /sources/input.mp4 /sources/output.mp4
nvbuf_utils: Could not get EGL display connection
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 205)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
No EGL Display
nvbufsurftransform: Could not get EGL display connection
nvbuf_utils: Could not get EGL display connection
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 205)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
(gst-plugin-scanner:48): GStreamer-WARNING **: 19:07:25.218: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
(gst-plugin-scanner:54): GStreamer-WARNING **: 19:07:25.665: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No EGL Display
nvbufsurftransform: Could not get EGL display connection
One element could not be created. Exiting.
The output is the same if I try to execute it from the container that I used for the build.
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I expected that I would be able to run the application in a base container. Im very new to the topic so it is possible that im doing something wrong, my perception was that i would have a “fat” docker image with all the dependencies what I can use for building and a “slim” which is only used in execution. Can you help me what im missing here?
Thanks!
Peter