Failed to create 'primary_gie'

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
PC with a RTX 3090. OS: Windows 11. Environment running in WSL2 and Ubuntu 20.04.
• DeepStream Version
DeepStreamSDK 6.2.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
8.5.2-1+cuda11.8
• NVIDIA GPU Driver Version (valid for GPU only)
528.02
• Issue Type( questions, new requirements, bugs)
Question
• 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)
Dockerfile:
FROM nvcr.io/nvidia/deepstream:6.2-samples

RUN apt-get update && apt install -y libssl1.1
libgstreamer1.0-0
gstreamer1.0-tools
gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-ugly
gstreamer1.0-libav
libgstreamer-plugins-base1.0-dev
libgstrtspserver-1.0-0
libjansson4
libyaml-cpp-dev
libjsoncpp-dev
protobuf-compiler
gcc
make
git
python3
RUN apt-get install -y nvidia-container-toolkit-base

RUN /opt/nvidia/deepstream/deepstream/user_additional_install.sh

Run Docker image:

docker run --gpus all -it --rm --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.2 custom-deepstream

Once I have the docker container running, I tried running an example, but I get the following error:

/opt/nvidia/deepstream/deepstream-6.2/samples/configs/deepstream-app# deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display_int8.txt
0:00:00.044685806   355 0x5602f1260300 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:458:gst_element_factory_make: no such element factory "nvinfer"!
** ERROR: <create_primary_gie_bin:129>: Failed to create 'primary_gie'
** ERROR: <create_primary_gie_bin:193>: create_primary_gie_bin failed
** ERROR: <create_pipeline:1485>: create_pipeline failed
** ERROR: <main:697>: Failed to create pipeline
Quitting
nvstreammux: Successfully handled EOS for source_id=0
nvstreammux: Successfully handled EOS for source_id=1
nvstreammux: Successfully handled EOS for source_id=2
...
App run failed

I have checked the /opt/nvidia/deepstream/deepstream-6.2/lib/gst-plugins directory and the plugin is there:

Can you help me please?

Thank you,

Mikel

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

DeepStream doesn’t support WSL2 for the time being, you can try it in native ubuntu, thanks.

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