Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
Jeson Nano, RTX 2060 / GTX 1080
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
I am trying to make one pipeline for buffers converted to NVMM coming from the v4l2 camera, so I can later use it for output/encode/inference (just like in the examples above). There is no issues with this on dGPU, but on Jetson Nano I get the following:
$ GST_DEBUG=nvdspool:5 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=640,height=480 ! videoconvert ! nvvideoconvert ! video/x-raw\(memory:NVMM\),width=640,height=480 ! interpipesink name=video0_sink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock 0:00:00.381230898 25980 0x5577d96940 DEBUG nvdspool gstnvdsbufferpool.c:420:gst_nvds_buffer_pool_start:<nvdsbufferpool0> start 0:00:00.381306160 25980 0x5577d96940 DEBUG nvdspool gstnvdsbufferpool.c:463:gst_nvds_buffer_pool_alloc_buffer:<nvdsbufferpool0> alloc_buffer nvbufsurface: invalid colorFormat 0 nvbufsurface: Error in allocating buffer Error(-1) in buffer allocation ** (gst-launch-1.0:25980): CRITICAL **: 12:22:07.601: gst_nvds_buffer_pool_alloc_buffer: assertion 'mem' failed ERROR: from element /GstPipeline:pipeline0/Gstnvvideoconvert:nvvideoconvert0: failed to activate bufferpool Additional debug info: gstbasetransform.c(1670): default_prepare_output_buffer (): /GstPipeline:pipeline0/Gstnvvideoconvert:nvvideoconvert0: failed to activate bufferpool Execution ended after 0:00:00.176360403 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
I can replace
fakesink and get the same result, which leads me to think it’s not a problem with interpipes/gstd. Running exactly the same on the dGPU works perfectly and I can get the interpipes to work. Any suggestions as to why this might happen only on Jetson?