Plugins in blacklist

Hi,

I met following annoying warnings every time I refresh the ~/.cache/gstreamer-1.0/registry.aarch64.bin
Is there any way to solve this issue?
Thanks

0:00:02.107284259 4183 0x55b1b1fca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:4183): GStreamer- WARNING **: 10:10:25.683: 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

0:00:02.112714957 4183 0x55b1b1fca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:4183): GStreamer- WARNING **: 10:10:25.689: 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

0:00:02.120698202 4183 0x55b1b1fca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so: undefined symbol: NvBufSurfTransformAsync

(gst-plugin-scanner:4183): GStreamer- WARNING **: 10:10:25.697: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so’: /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so: undefined symbol: NvBufSurfTransformAsync

0:00:02.149994827 4183 0x55b1b1fca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so: undefined symbol: NvBufSurfTransformAsync

(gst-plugin-scanner:4183): GStreamer- WARNING **: 10:10:25.726: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so’: /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so: undefined symbol: NvBufSurfTransformAsync

Hi,
You mean after cleaning registry.aarch64.bin, the prints are present always? After the cache is clean and in first run of gstreamer command, you should see some warning message being printed once. Afterward the warnings should disappear.

Yes, I see that once the cache is created, the warnings would disappear.
But if I execute gst-inspect-1.0 -b , all of them are listed as in blacklist.
So I’d like to know how to remove them from blacklist.
How to solve the issue listed in previous post: undefined symbol: NvBufSurfTransformAsync

Hi,
It seems like you don’t install DeepStream SDK. These warnings should disappear if DeepStream SDK is present.

Hi DaneLLL,

Deepstream was installed already on my NX.
Otherwise we would see more plugins in blacklist.

user@linux:/var/log/ems$ dpkg -l | grep deep
ii deepstream-6.0 6.0.0-1 arm64 Nvidia DeepStreamSDK runtime libraries, development files and samples

It seems like missing some so files.
e.g. If I execute ldd command, I can see ‘libtritonserver.so’ missing which causes ‘libnvdsgst_inferserver.so’ listed in blacklist:

user@linux:/var/log/ems$ ldd /opt/nvidia/deepstream/deepstream-6.0/lib/gst-plugins/libnvdsgst_inferserver.so

linux-vdso.so.1 (0x0000007f8b070000)

libnvds_meta.so => /opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_meta.so (0x0000007f8addb000)

libglib-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000007f8accc000)

libgobject-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000007f8ac6f000)

libgstbase-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstbase-1.0.so.0 (0x0000007f8abf8000)

libgstreamer-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 (0x0000007f8aac8000)

libnvdsgst_helper.so => /opt/nvidia/deepstream/deepstream-6.0/lib/libnvdsgst_helper.so (0x0000007f8aab1000)

libnvdsgst_meta.so => /opt/nvidia/deepstream/deepstream-6.0/lib/libnvdsgst_meta.so (0x0000007f8aa9c000)

libnvds_infer_server.so => /opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_infer_server.so (0x0000007f8a3d9000)

libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f8a245000)

libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f8a230000)

libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f8a204000)

librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f8a1ed000)

libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f8a094000)

/lib/ld-linux-aarch64.so.1 (0x0000007f8b044000)

libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f8a070000)

libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007f89ffe000)

libffi.so.6 => /usr/lib/aarch64-linux-gnu/libffi.so.6 (0x0000007f89fe6000)

libgmodule-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x0000007f89fd2000)

libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f89f19000)

libgstrtp-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstrtp-1.0.so.0 (0x0000007f89eeb000)

libnvbufsurface.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so.1.0.0 (0x0000007f89e6d000)

libnvbufsurftransform.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so.1.0.0 (0x0000007f8872a000)

**

libtritonserver.so => not found

**

libcuda.so.1 => /usr/lib/aarch64-linux-gnu/tegra/libcuda.so.1 (0x0000007f877e7000)

libssl.so.1.1 => /usr/lib/aarch64-linux-gnu/libssl.so.1.1 (0x0000007f8775d000)

libcrypto.so.1.1 => /usr/lib/aarch64-linux-gnu/libcrypto.so.1.1 (0x0000007f8751c000)

libnvrm.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm.so (0x0000007f874d9000)

libEGL.so.1 => /usr/lib/aarch64-linux-gnu/libEGL.so.1 (0x0000007f874b8000)

libnvos.so => /usr/lib/aarch64-linux-gnu/tegra/libnvos.so (0x0000007f8749a000)

libnvbuf_fdmap.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbuf_fdmap.so.1.0.0 (0x0000007f87487000)

libnvrm_graphics.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_graphics.so (0x0000007f87467000)

libnvddk_vic.so => /usr/lib/aarch64-linux-gnu/tegra/libnvddk_vic.so (0x0000007f87449000)

libnvddk_2d_v2.so => /usr/lib/aarch64-linux-gnu/tegra/libnvddk_2d_v2.so (0x0000007f87424000)

libnvrm_gpu.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_gpu.so (0x0000007f873e0000)

libnvidia-fatbinaryloader.so.440.18 => /usr/lib/aarch64-linux-gnu/tegra/libnvidia-fatbinaryloader.so.440.18 (0x0000007f87371000)

libGLdispatch.so.0 => /usr/lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000007f87245000)

Hi,
Please try to run this script to generate libtritonserver.so:

/opt/nvidia/deepstream/deepstream/samples/triton_backend_setup.sh