Which videosink for Jetson TX2 in EGLFS?

Hi,

@Honey_Patouceul

Without it CUDA may not be fully available, so wouldn’t TRT, so wouldn’t nvinfer model using TRT.

I do not understand this limitation. Do you have any detailed infos about it?

The following pipeline works on my TX2 (yocto / meta-tegra):

gst-launch-1.0 filesrc location= '/opt/nvidia/deepstream/deepstream-5.0/samples/streams/sample_1080p_h264.mp4' ! qtdemux ! h264parse ! nvv4l2decoder ! nvvideoconvert ! m.sink_0 nvstreammux name=m batch-size=1 width=1920 height=1080 ! nvinfer config-file-path= /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/config_infer_primary.txt ! nvdsosd ! nvoverlaysink -e # OK on EGLFS, deepstream 5, l4t-r32.4.3

@DaneLLL

We now support nveglglessink and nvoverlaysink in DeepStream SDK. Please try the two sinks.

I’m trying to make it work using EGLFS. It seems nveglglessink should only work using X11 or wayland according to winsys attribute. This element fails every time I try to run a pipeline with.

The following documentation tells nvoverlaysink is deprecated :
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/accelerated_gstreamer.html

Half of the docmentation show examples with deprecated elements. This is confusing.
nvoverlaysink works better than nvdrmvideosink for my use case. Pretty weird. Thank you.

nvdsosd was failing with the following set: nvdrmvideosink + DS4 + l4t-r32.1.2 + EGLFS.
nvdsosd works with the following set: nvoverlaysink + DS5 + l4t-r32.4.3 + EGLFS.
I do not know exactly what make the job.