Nvv4l2decoder on v100

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) HPE EL8000 with V100
• DeepStream Version nvcr.io/nvidia/deepstream:5.0.1-20.09-devel
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.0
• NVIDIA GPU Driver Version (valid for GPU only) 460
• Issue Type( questions, new requirements, bugs) Question

Unable to use gstreamer nvv4l2decoder.

on_error(): (gerror=GLib.Error(‘Error getting capabilities for device ‘/dev/nvhost-nvdec’: It isn’t a v4l2 driver. Check if it is a v4l1 driver.’, ‘gst-resource-error-quark’, 13), debug=‘v4l2_calls.c(98): gst_v4l2_get_capabilities (): /GstPipeline:pipeline4/nvv4l2decoder:nvv4l2decoder4:\nsystem error: Invalid argument’)on_error(): (gerror=GLib.Error(‘Could not initialize supporting library.’, ‘gst-library-error-quark’, 3), debug=‘gstvideodecoder.c(2535): gst_video_decoder_change_state (): /GstPipeline:pipeline4/nvv4l2decoder:nvv4l2decoder4:\nFailed to open decoder’

Is nvv4l2decoder supported on the V100 while the device /dev/nvhost-nvdec does not exist.
Stream runs when nvv4l2decoder is replaced by jpegdec

Regards

David

No. The driver should be installed correctly.

Is your GPU driver 460.32? Can you try with nvcr.io/nvidia/deepstream: 5.1-21.02-devel?

Hi Fiona,
The driver was installed with the following commands

sudo apt-get install nvidia-headless-460-server
sudo apt-get install nvidia-utils-460-server

The result

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03    Driver Version: 460.32.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla V100-PCIE...  Off  | 00000000:B1:00.0 Off |                    0 |
| N/A   33C    P0    35W / 250W |      0MiB / 32510MiB |      5%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

But the device /dev/nvhost-nvdec does not exist on the host.
I see the same devices within docker as on the host.

PS it’s only nvv4l2decoder that’s not working. nvinfer and other gstreamer deepstream plugins are all working.

Regards

David

The /dev/nvhost-nvdec is for Jetson. For dGPU, it is not necessary. Can you install the driver as Quickstart Guide — DeepStream 6.1.1 Release documentation?

After upgrading the the new version of deepstream (5.1-21.02) the error no longer occurs when I try to use nvv4l2decoder