'/dev/nvidia0': It isn't a v4l2 driver

Hi! I cannot run a simple pipeline after upgrading to DS6.0:

$ GST_DEBUG=2 gst-launch-1.0 v4l2src device=/dev/video0 ! nvv4l2decoder ! fakesink
Setting pipeline to PAUSED ...
Failed to query video capabilities: Invalid argument
libv4l2: error getting capabilities: Invalid argument
0:00:00.016966921 14244 0x5594e6ab5c10 WARN                    v4l2 v4l2_calls.c:97:gst_v4l2_get_capabilities:<nvv4l2decoder0> error: Error getting capabilities for device '/dev/nvidia0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
0:00:00.016976239 14244 0x5594e6ab5c10 WARN                    v4l2 v4l2_calls.c:97:gst_v4l2_get_capabilities:<nvv4l2decoder0> error: system error: Invalid argument
0:00:00.017011676 14244 0x5594e6ab5c10 WARN            videodecoder gstvideodecoder.c:2535:gst_video_decoder_change_state:<nvv4l2decoder0> error: Failed to open decoder
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0: Error getting capabilities for device '/dev/nvidia0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
Additional debug info:
v4l2_calls.c(97): gst_v4l2_get_capabilities (): /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0:
system error: Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...

I saw similar posts but there weren’t any solutions.

Setup:

dGPU
DeepStream Version: deepstream-6.0_6.0.0-1_amd64.deb
TensorRT Version: nv-tensorrt-repo-ubuntu1804-cuda11.4-trt8.2.2.1-ga-20211214_1-1_amd64.deb
NVIDIA GPU Driver Version: 495.29.05
GStreamer 1.14.5

Sorry, it’s my bad. I’ve patched install.sh to run on linux Mint and suddenly left BASE_LIB_DIR empty. Now it works.

1 Like

Glad to know issue fixed.

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