Blacklisted GStreamer Plugins after Upgrading to Ubuntu 20.04

Hello,

I recently upgraded my Xavier NX to Ubuntu 20.04 from 18.04. After the update, a number of GStreamer plugins have been blacklisted and I am not sure how to repair them.

When I attempt to list blacklisted plugins:

pwolfe@pwolfe-desktop:~$ gst-inspect-1.0 -b
nvbuf_utils: Could not get EGL display connection

(gst-plugin-scanner:17151): GStreamer-WARNING **: 13:56:07.477: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:17151): GStreamer-WARNING **: 13:56:07.491: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/tegra/libnvcam_imageencoder.so: undefined symbol: jpeg_set_defaults

(gst-plugin-scanner:17151): GStreamer-WARNING **: 13:56:07.873: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so: undefined symbol: jpeg_destroy_decompress
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 

(gst-plugin-scanner:17502): GStreamer-WARNING **: 13:56:10.473: 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
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 

(gst-plugin-scanner:17560): GStreamer-WARNING **: 13:56:11.435: 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
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbuf_utils: Could not get EGL display connection

(gst-plugin-scanner:17793): GStreamer-WARNING **: 13:56:14.794: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:17793): GStreamer-WARNING **: 13:56:14.810: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/tegra/libnvcam_imageencoder.so: undefined symbol: jpeg_set_defaults

(gst-plugin-scanner:17793): GStreamer-WARNING **: 13:56:15.209: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so: undefined symbol: jpeg_destroy_decompress
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 

(gst-plugin-scanner:18143): GStreamer-WARNING **: 13:56:17.868: 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
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 

(gst-plugin-scanner:18201): GStreamer-WARNING **: 13:56:18.842: 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
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
nvbufsurftransform:cuInit failed : 999 
Blacklisted files:
  libcustom2d_preprocess.so
  libgstnvvideoconvert.so
  libnvdsgst_infer.so
  libnvdsgst_dsexample.so
  libnvdsgst_inferserver.so
  libnvdsgst_deepstream_bins.so
  libnvdsgst_udp.so
  libnvdsgst_dewarper.so
  libnvdsgst_preprocess.so
  libnvdsgst_osd.so
  libnvdsgst_multistreamtiler.so
  libnvdsgst_tracker.so
  libnvdsgst_multistream.so
  libgstnvjpeg.so
  libgstnvarguscamerasrc.so
  libgstnvcompositor.so

Total count: 16 blacklisted files

My L4T release info:

pwolfe@pwolfe-desktop:~$ cat /etc/nv_tegra_release 
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021

Output of inspecting one of the blacklisted plugins:

pwolfe@pwolfe-desktop:~$ gst-inspect-1.0 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so 

(gst-inspect-1.0:19570): GStreamer-WARNING **: 14:07:03.964: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/tegra/libnvcam_imageencoder.so: undefined symbol: jpeg_set_defaults
Could not load plugin file: Opening module failed: /usr/lib/aarch64-linux-gnu/tegra/libnvcam_imageencoder.so: undefined symbol: jpeg_set_defaults

nvarguscamerasrc was working fine prior to the Ubuntu upgrade. I upgraded because I want to use Deepstream in my GStreamer pipelines and it depends on glibc >= 2.29, while Ubuntu 18.04 only supports up to glibc 2.27.

I can reflash my board if needed but it’d be helpful to get a better understanding of what is going on here.

Thanks for reading,
Patrick

Hi,
The DeepStream SDK is delivered with Jetpack so it shall work fine on Ubuntu 18.04. It is not required to upgrade to Ubuntu 20.04 manually. We suggest do clean re-flash and install DeepStream SDK through SDKManager. The package is installed to

/opt/nvidia/deepstream/deepstream-6.0/

After a clean re-flash Deepstream and GStreamer both work great. Thanks!

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