Server Version# Ubuntu 18.04.3 LTS
Player Version#: Version 1.15.3.835
CPU : AMD® Ryzen 5 3600x 6-core processor × 12
GPU: GeForce GTX 1070/PCIe/SSE2
I’m getting an issue trying to use hardware transcoding in my desktop pc. I was able to get it working on the Windows 10 side and wanted to change over to Linux. I’m thinking its an issue with the vainfo since its getting an error when doing a search. Can someone tell me how I can resolve this issue?
vainfo:
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Nvida-smi output:
-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.26 Driver Version: 430.26 CUDA Version: 10.2 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 Off | 00000000:08:00.0 On | N/A |
| 0% 36C P8 7W / 151W | 215MiB / 8111MiB | 0% Default |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1164 G /usr/lib/xorg/Xorg 121MiB |
| 0 1536 G /usr/bin/gnome-shell 84MiB |
| 0 4464 G /usr/lib/firefox/firefox 3MiB |
| 0 4680 G gnome-control-center 3MiB |
±----------------------------------------------------------------------------+
ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 100 Sep 29 15:13 .
drwxr-xr-x 20 root root 4520 Sep 29 15:13 …
drwxr-xr-x 2 root root 80 Sep 29 15:13 by-path
crw-rw----+ 1 root video 226, 0 Sep 29 15:13 card0
crw-rw----+ 1 root video 226, 128 Sep 29 15:13 renderD128
groups plex
plex : plex sudo video