Error getting capabilities for device '/dev/nvhost-msenc': It isn't a v4l2 driver. Check if it is a v4l1 driver

• Hardware Platform (Jetson / GPU) – GPU (RTX 1080)
• DeepStream Version – 6.1.0
• NVIDIA GPU Driver Version (valid for GPU only) – 510.47.03

I’m getting the below-mentioned error:-
v4l2 v4l2_calls.c:94:gst_v4l2_get_capabilities:<sink_sub_bin_encoderprocessor2> error: Error getting capabilities for device ‘/dev/nvhost-msenc’: It isn’t a v4l2 driver. Check if it is a v4l1 driver.

Output of gst-inspect-1.0 nvvideo4linux2 is
(gst-plugin-scanner:846620): GStreamer-WARNING *: 17:25:10.026: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so’: libtritonserver.so: cannot open shared object file: No such file or directory

*(gst-plugin-scanner:846620): GStreamer-WARNING *: 17:25:10.034: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so’: librivermax.so.0: cannot open shared object file: No such file or directory
Plugin Details:

  • Name nvvideo4linux2*

  • Description Nvidia elements for Video 4 Linux*

  • Filename /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so*

  • Version 1.14.0*

  • License LGPL*

  • Source module nvvideo4linux2*

  • Binary package nvvideo4linux2*

  • Origin URL http://nvidia.com/*

  • nvv4l2h265enc: V4L2 H.265 Encoder*

  • nvv4l2h264enc: V4L2 H.264 Encoder*

  • nvv4l2decoder: NVIDIA v4l2 video decoder*

  • 3 features:*

  • ±- 3 elements*

I have removed the GStreamer cache but still, the problem persists.
What could be the issue here?

There is a similar topic report before, can you check if the solution works for your case? Thanks.

@yingliu Thanks for your reply. I’ve already tried the solution mentioned in the above post. nvvideo4linux2 is not blacklisted. You can see the output of gst-inspect in my question.

Are you running in docker container? Can you check your environment with the compatibility table? Quickstart Guide — DeepStream 6.1.1 Release documentation

@Fiona.Chen No, I’m not using the docker container. All the Deepstream 6.1.1 dependency has been resolved.

What application are you runing? If it is deepstream-app, can you provide your configurations and command?

I have developed an application using deepstream plugins. I am attaching xdot file
pipe.dot (81.3 KB)

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one.
Thanks

From the dot graph you provide, v4l driver is not used by DeepStream. Please check you r application by yourself.

I notice you used GstInterPipeSrc: GstInterpipe 1.0 Reference Manual, it is neither a gstreamer public plugin, nor a DeepStream plugin . Please check which part in your code trigger the nvv4l2decoder by yourself. What we can say is that the NVMM hardware buffer does not support inter-process transferring.