# Nvv4l2decoder on v100

**URL:** <https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236>\
**Category:** DeepStream SDK\
**Created:** [March 17, 2021, 4:26pm UTC](https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236 "2021-03-17T16:26:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnewton](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dnewton](https://forums.developer.nvidia.com/u/dnewton)\
**Post date:** [March 17, 2021, 4:26pm UTC](https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236/1 "2021-03-17T16:26:33Z")

</div>

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](http://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

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [March 18, 2021, 2:19am UTC](https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236/3 "2021-03-18T02:19:55Z")

</div>

> [@dnewton](#):
>
> Is nvv4l2decoder supported on the V100 while the device /dev/nvhost-nvdec does not exist

No. The driver should be installed correctly.

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

---

<div class="post-metadata">

**Author:** ![dnewton](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dnewton](https://forums.developer.nvidia.com/u/dnewton)\
**Post date:** [March 18, 2021, 8:01am UTC](https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236/4 "2021-03-18T08:01:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [March 18, 2021, 9:10am UTC](https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236/5 "2021-03-18T09:10:15Z")

</div>

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](https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#dgpu-setup-for-ubuntu)?

---

<div class="post-metadata">

**Author:** ![dnewton](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dnewton](https://forums.developer.nvidia.com/u/dnewton)\
**Post date:** [March 19, 2021, 11:13am UTC](https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236/6 "2021-03-19T11:13:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:14pm UTC](https://forums.developer.nvidia.com/t/nvv4l2decoder-on-v100/171236/8 "2021-10-12T16:14:51Z")

</div>

Closed on October 12, 2021, 4:14pm UTC


