DS 6.0 Deepstream-app file-loop not working

• Hardware Platform (Jetson / GPU): dGPU
• DeepStream Version: 6.0 GA
• TensorRT Version: 8.0.0.1
• NVIDIA GPU Driver Version (valid for GPU only): 470.82
• Issue Type( questions, new requirements, bugs): Feature regression
• How to reproduce the issue ?: Change file-loop to 1 in the deepstream-app sample config source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txtand run it with deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt, application exits at EOS instead of looping.

The configuration file is apparently being parsed correctly with restart_stream_buf_prob (sources/apps/apps-common/src/deepstream_source_bin.c) being added to nvv4l2decoder but the EOS event never reaches the probe to trigger seek_decode, with the only events getting triggered there being caps and stream-start .

Is it related to this issue in the release notes? Though setting qos=1 didn’t seem to change anything.

 GStreamer sink elements sending upstream QOS events lead to memory leaks in the
DeepStream pipeline. Applications should make sure to set the property “qos” to
FALSE explicitly. For reference applications, this can be done by setting qos=0 in all
sink groups of the configuration file

I can’t reproduce your error.

Is there any package in specific that could affect that behavior? In the same environment I can make loop work using the NGC image and the main difference seems to be quite a few package versions mismatching.

Please refer to Quickstart Guide — DeepStream 6.0 Release documentation

I have been installing the packages as needed, the version differences were mostly minor (e.g. 21.0.3-0ubuntu0.3~20.04.2 vs 21.0.3-0ubuntu0.3~20.04.3 for libgles2-mesa and such).

I was trying something similar to this dockerfile:

FROM nvcr.io/nvidia/tritonserver:21.08-pyt-python-py3

ARG DEEPSTREAM_TAR=deepstream_sdk_v6.0.0_x86_64.tbz2

ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics,compat32,utility

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Tokyo

RUN apt-get update && apt-get install -y --no-install-recommends \
    pkg-config \
    libglvnd-dev \
    libgl1-mesa-dev  \
    libegl1-mesa-dev \
    libgles2-mesa-dev \
    libglvnd0 \
    libgl1 \
    libglx0 \
    libegl1 \
    libgles2 \
    libxau6 \
    libxdmcp6 \
    libxcb1 \
    libxext6 \
    libx11-6 \
    gstreamer1.0-tools \
    gstreamer1.0-plugins-good \
    gstreamer1.0-plugins-bad \
    gstreamer1.0-plugins-ugly \
    gstreamer1.0-libav \
    gstreamer1.0-alsa \
    gstreamer1.0-x \
    libssl-dev \
    libgstreamer1.0-0 \
    libgstrtspserver-1.0-0 \
    libjansson4 \
    librabbitmq4 \
    libuuid1 \
    libcurl4 \
    libjson-glib-1.0-0 \
    gstreamer1.0-rtsp \
    rsyslog \
    tzdata \
    git && \
    rm -rf /var/lib/apt/lists/*

COPY 10_nvidia.json /usr/share/glvnd/egl_vendor.d/10_nvidia.json 
 
RUN echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf && echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf

COPY ${DEEPSTREAM_TAR} /workspace/${DEEPSTREAM_TAR}
WORKDIR /workspace
RUN tar -xvf ${DEEPSTREAM_TAR} -C /
RUN rm ${DEEPSTREAM_TAR}
WORKDIR /opt/nvidia/deepstream/deepstream
RUN ./install.sh
RUN ldconfig

where 10_nvidia.json contains

{
    "file_format_version" : "1.0.0",
    "ICD" : {
        "library_path" : "libEGL_nvidia.so.0"
    }
}

so that display works properly, but the in the resulting container setting file-loop to 1 does not work as expected.

For now I’ve decided to just use nvcr.io/nvidia/deepstream:6.0-triton as it seems to be the only Ubuntu 20.04 one and everything works as expected, only downside is the image size.

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