Error creating VDPAU device: 1, VDPAU not working. Tesla T4 GPU

Hi,

I have problems with using hardware decoding. I tried that with obs and vlc and both same. OBS can also use encoding but can’t use decoding. In obs logs i found that lines about VDPAU then I checked and see that it is not working.

I found topic similar to me(Error creating VDPAU device: 1, VDPAU not working.) but I have Tesla T4 GPU. Could you please help me?

Logs:

vdpauinfo --display :1
display: :1 screen: 0
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 460.56 Tue Feb 23 23:19:15 UTC 2021
VDPAU nvidia: Error detected 9 353 5
VDPAU nvidia: Backtrace:
–: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7fa9a37cd000] DSO load base
*00: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7fa9a37ffb07] *
*01: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7fa9a37f0e30] *
*02: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7fa9a37f1011] *
03: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7fa9a37e123c] vdp_imp_device_create_x11
Error creating VDPAU device: 1

ubuntu@ip-172-31-29-13:~$ nvidia-smi
Tue Apr 20 11:07:57 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.56       Driver Version: 460.56       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 T4            Off  | 00000000:00:1E.0 Off |                    0 |
| N/A   33C    P0    26W /  70W |      0MiB / 15109MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+