: EGL Warning and Argus Client Errors After Installing nvidia-l4t-gstreamer L4T36.4.0 JP6.1

Hi Nvidia Support,

JP6.1 L4T 36.4.0
Custom Carrier Board

I recently installed nvidia-l4t-gstreamer on my system and encountered issues when checking the GStreamer version using gst-inspect-1.0. Specifically, I am seeing EGL-related warnings and multiple Argus client errors.

nvidia@tegra-ubuntu:~$ gst-inspect-1.0 --version
libEGL warning: DRI2: failed to authenticate
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 277)
(Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 350)
(Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 379)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error EndOfFile:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 92)
gst-inspect-1.0 version 1.20.3
GStreamer 1.20.3
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0

It seems that the libEGL warning about DRI2 authentication failure and the Argus errors are preventing the preview from showing up. I have tried troubleshooting based on general guidance but still can’t resolve the issue.

nvidia@tegra-ubuntu:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! "video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, format=(string)NV12, framerate=30/1" ! queue ! nv3dsink -e
libEGL warning: DRI2: failed to authenticate
Setting pipeline to PAUSED ...
libEGL warning: DRI2: failed to authenticate

Has anyone encountered a similar issue or have suggestions on how to fix this? Any help or pointers would be greatly appreciated.

Hi,

How do you install nvidia-l4t-gstreamer?
Any commands or referred link provided for us to review.

What is your nvidia-l4t-gstreamer version?

dpkg -l | grep nvidia-l4t-gstreamer

Thanks

Version :

`ii  nvidia-l4t-gstreamer                       36.4.3-20250107174145                             arm64        NVIDIA GST Application files`

Below are the commands which i used for installing the

nvidia-l4t-gstreamer

$ sudo apt-add-repository universe
$ sudo apt-get update
$ sudo apt-get install nvidia-l4t-gstreamer

Hi,

36.4.3 is JP6.2
We recommend to install nvidia-jetpack again and check weather issue exist.
Command:

sudo apt update
sudo apt install nvidia-jetpack

Thanks

Hi,

Could Please confirm if this update is part of the standard JetPack 6.1 installation, or I might have missed? something?.if install nvidia-jetpack will it update to latest JP ?

 cat rootfs/etc/nv_tegra_release 
# R36 (release), REVISION: 4.0, GCID: 37537400, BOARD: generic, EABI: aarch64, DATE: Fri Sep 13 04:36:44 UTC 2024
# KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia

Thanks

Hi,

Yes

Now bsp 36.4.0 and 36.4.3 share the same JP package, so your bsp 36.4.0 will automatically install latest JP package.

Now you only update one package , so update whole nvidia-jetpack using above command might solve the problem.

Some referred link:

https://docs.nvidia.com/jetson/jetpack/install-setup/index.html#install-jetpack-components-on-jetson-linux

Thanks

Thanks @DavidDDD , I will try this out now.

But what is the problem behind this when i installed nvidia-l4t-gstreamer for L4T36.4.0 , how come it updated to 36.4.3 gstreamer.

Now our apt server provide same JP package for bsp 36.4.0/36.4.3

Thanks for the update!

I would like to continue using JetPack 6.1 and avoid upgrading to the latest JetPack 6.2. Can you suggest a solution for this? I’m looking to stick with JP6.1 and not move to 6.2 at this point.

Also, could you clarify why the NVIDIA server is providing the same JetPack package for both BSP versions 36.4.0 and 36.4.3? Is this official, and if so, does it mean both versions are functionally the same?
If the update to version 36.4.3 is official, does this mean I would need to install the full latest JetPack via nvidia-jetpack, which will consume more space? I specifically only need the updated nvidia-l4t-gstreamer package, not the entire JetPack update.

Hi @DavidDDD ,

I installed the JP as you suggested still its same there is no improvement.

nvidia@tegra-ubuntu:~$ dpkg -l | grep nvidia-l4t-gstreamer
ii  nvidia-l4t-gstreamer                         36.4.3-20250107174145                             arm64        NVIDIA GST Application files
nvidia@tegra-ubuntu:~$ sudo apt-get install nvidia-jetpack
[sudo] password for nvidia: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nvidia-jetpack is already the newest version (6.2+b77).
The following packages were automatically installed and are no longer required:
  gdal-data libaec0 libarmadillo10 libarpack2 libavcodec-dev libavformat-dev libavutil-dev libblosc1 libcfitsio9 libcharls2 libdc1394-dev libdeflate-dev libdouble-conversion3 libevent-core-2.1-7
  libevent-pthreads-2.1-7 libexif-dev libfabric1 libfreexl1 libfyba0 libgdal30 libgdcm-dev libgdcm3.0 libgeos-c1v5 libgeos3.10.2 libgeotiff5 libgl2ps1.4 libglew2.2 libgphoto2-dev libhdf4-0-alt
  libhdf5-103-1 libhdf5-hl-100 libheif1 libhwloc-plugins libhwloc15 libilmbase-dev libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libjsoncpp25 libkmlbase1 libkmldom1 libkmlengine1 liblept5
  libminizip1 libmysqlclient21 libnetcdf19 libodbc2 libodbcinst2 libogdi4.1 libopencv-calib3d4.5d libopencv-contrib4.5d libopencv-dnn4.5d libopencv-features2d4.5d libopencv-flann4.5d
  libopencv-highgui4.5d libopencv-imgcodecs4.5d libopencv-imgproc4.5d libopencv-ml4.5d libopencv-objdetect4.5d libopencv-photo4.5d libopencv-shape4.5d libopencv-stitching4.5d libopencv-superres4.5d
  libopencv-video4.5d libopencv-videoio4.5d libopencv-videostab4.5d libopencv-viz4.5d libopenexr-dev libopenmpi3 libpmix2 libpng-dev libpq5 libproj22 libraw1394-dev librttopo1 libsocket++1
  libspatialite7 libsuperlu5 libswresample-dev libswscale-dev libsz2 libtbb-dev libtesseract4 libtiff-dev libtiffxx5 libucx0 liburiparser1 libvtk9.1 libxerces-c3.2 libxnvctrl0 mysql-common proj-data
  unixodbc-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 275 not upgraded.

Hi,

Seems like it’s not dependency issue.
Is your environment a docker container?

Thanks

We are not using any docker.

Thanks

Hi @DavidDDD ,

im running into a bit of a problem with GStreamer. When I try to stream video, it doesn’t seem to render. However, when I bypass the NVIDIA ISP and use V4L2, the stream works just fine through the command line.

Here’s a quick rundown of what’s happening:

  • With GStreamer: No video stream is rendering.
  • With V4L2: The stream works perfectly when bypassing the NVIDIA ISP.
    Is the issue releated to dtbo changes when i tried to take stream from argu_camera its showing no cameras available.

Hi,

What is your camera? (For example, IMX274. IMX390…)

Thanks

Hi @DavidDDD ,

I’m currently working with an IMX290 camera, and I have successfully ported the camera to the Orin NX 16GB SOM, where I am able to stream the camera without any issues.

However, I am encountering problems with streaming on the Orin Nano 4GB custom board. Below are the verbose logs I captured during testing:

Logs with : nv3dsink

jiri@tegra-ubuntu:~$ GST_DEBUG=3 gst-launch-1.0 -vvv nvarguscamerasrc sensor-id=0 sensor-mode=0 ! "video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, format=(string)NV12, framerate=30/1" ! queue ! nv3dsink 2>&1 | tee -a  gstreamer_3dsink_verbose_log.txt
libEGL warning: DRI2: failed to authenticate
0:00:00.161903612  4352 0xaaaae7befd30 WARN                   nvenc gstnvenc.c:878:gst_nvenc_load_library: Could not open library libnvidia-encode.so.1, libnvidia-encode.so.1: cannot open shared object file: No such file or directory
0:00:00.161938078  4352 0xaaaae7befd30 WARN                 nvcodec plugin.c:80:plugin_init: Failed to load nvenc library
0:00:00.162045379  4352 0xaaaae7befd30 WARN                 default gstcuvidloader.c:89:gst_cuvid_load_library: Could not open library libnvcuvid.so.1, libnvcuvid.so.1: cannot open shared object file: No such file or directory
0:00:00.162143304  4352 0xaaaae7befd30 WARN                 nvcodec plugin.c:85:plugin_init: Failed to load nvdec library
0:00:00.313931111  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.313995050  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.314030220  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.314065838  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
0:00:00.314103152  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
0:00:00.314138993  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.314175027  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.314210037  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.314247127  4352 0xaaaae7befd30 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.709472284  4352 0xaaaae7befd30 WARN                  ladspa gstladspa.c:508:plugin_init:<plugin228> no LADSPA plugins found, check LADSPA_PATH
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 277)
(Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 350)
(Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 379)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error EndOfFile:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 92)
libEGL warning: DRI2: failed to authenticate
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: Connection refused (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 107)
Setting pipeline to PAUSED ...
libEGL warning: DRI2: failed to authenticat

Logs with : fakesink

jiri@tegra-ubuntu:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! "video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, format=(string)NV12, framerate=30/1" ! nvvidconv ! fpsdisplaysink text-overlay=0 name=sink_0 video-sink=fakesink sync=0 -e
libEGL warning: DRI2: failed to authenticate
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:794 No cameras available
Redistribute latency...
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:00.016097874
Setting pipeline to NULL ...
Freeing pipeline ...
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 277)
(Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 350)
(Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 379)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error EndOfFile:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 92)

It seems the camera is not being detected or there is a connection issue. I’m not sure what the underlying problem is, as the same camera works without issues on the Orin NX 16GB SOM. Do you have any insights on what might be causing this issue with the Orin Nano 4GB custom board?

Thanks

By any chance below image is linked with current issue ?

What do you mean in Orin NX SOM? Is the Orin NX with the our dev kit board?

Thanks

Hi David,

We are working with a custom carrier board, as mentioned earlier in this conversation, and I would like to provide some more details regarding our setup and the issue we’re facing.

Initially, I started testing with the Orin Nano 4GB module paired with the custom carrier board. During this phase, we encountered some challenges. However, after porting the necessary device tree changes, we moved to the Orin NX 16GB module with the same custom carrier board, and with this combination, we were able to get the stream working successfully.

That said, we are still unable to get the Orin Nano 4GB module working successfully with the custom carrier board.

FYI, We were able to stream successfully with the Orin Nano 4GB + custom carrier board on both JP5.12 and JP5.1.3.

Thanks

Hi pippalla.chakravarthi,

Please make sure Orin Nano applied with correct device tree change as you do in Orin NX+custom board.
Some steps to check your dtb

  • When you flash your device, you could check which dtb load.
  • If your Orin Nano boot normally, extract /proc/device-tree and check current dtb setting.
  • Do you change your /boot/extlinux/extlinux.conf ?

Thanks

Hi David,

Thanks for the reply.

Yes, we applied the correct device tree changes to the custom carrier board. Regarding your points:

  • If your Orin Nano boot normally, extract /proc/device-tree and check current dtb setting.

In the latest JP 6.1, the tegra-camera-platform is using the sys-device-tree path. We were wondering how the camera entry is coming under /proc/device-tree. We checked /proc/device-tree and the camera entry looks good.

Do you change your /boot/extlinux/extlinux.conf ?

I flashed the Orin Nano 4GB with the device tree changes, and after that, we haven’t made any further modifications to extlinux.conf

FYI, I am able to stream from v4l2, but not from nvarguscamerasrc.

I checked thoroughly the dtbo everything looks fine.

what it means is there any problem releated egl modules

Thanks