No hardware encoding/decoding

Server Version#: 1.16.0.1226

Hi,

Can anyone help me with hardware encoding - I recently moved my Plex server to a dedicated box and still can’t get it to work.

I have follow the Debian thread in this forum and no luck yet. Here is the specs/info:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel® Xeon® CPU E5-2609 v3 @ 1.90GHz
stepping : 2
microcode : 0x43
cpu MHz : 1197.290
cache size : 15360 KB
vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can’t connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit

groups plex

plex : plex audio video plugdev nvidia-persistenced

ls /dev/dri -la

total 0
drwxr-xr-x 3 root root 120 Jun 17 14:06 .
drwxr-xr-x 22 root root 4800 Jun 17 15:20 …
drwxr-xr-x 2 root root 100 Jun 17 14:06 by-path
crw-rw---- 1 root video 226, 0 Jun 18 05:13 card0
crw-rw---- 1 root video 226, 1 Jun 18 05:13 card1
crw-rw---- 1 root video 226, 128 Jun 18 05:13 renderD128

Thanks !

It looks like it’s not finding the drivers for the nvidia card. You might be interested in this, too https :// github . com/keylase/nvidia-patch. link broken

is there a Nvidia Card installed in the Server? because the CPU has no iGPU.(https://ark.intel.com/content/www/de/de/ark/products/81897/intel-xeon-processor-e5-2609-v3-15m-cache-1-90-ghz.html)

Yip, a NVIDIA, I forgot to show this:

lspci | grep VGA

04:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1)
0a:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)

why you want GPU Accelerated Encoding on this GPU? it’s only support H264 no H265 and is limited to 2 Streams which are rendered via GPU.

see (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix - bottom button on the left)

see https://support.plex.tv/articles/115002178853-using-hardware-accelerated-streaming/

  • Windows and Linux devices using NVIDIA GeForce graphic cards are limited to hardware-accelerated encoding of 2 videos at a time. This is a driver limitation from NVIDIA.

Never the less you need to install the Nvidia Driver on your server to get this work.
http://us.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run

2 is better than none :slight_smile:

Server isn’t that busy so it will do just fine, thanks for the tip, I have the Ubuntu driver installed but I guess that is too old

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