Vc1 failing to hw decode linux/nvidia

According to Plex Media Server - #286 by emilybersin it appears that vc1 hw decoding should be supported on linux, however it appears to be failing on at least 1 video (that I have noticed so far).

Server Version#: 1.18.1913
Player Version#:

image

proxmox6/deb10
nvidia gtx1650 (will edit this later with driver version)

Plex Media Server Logs_2019-10-09_16-13-50.zip (17.4 MB)

Please do check the drivers.

It’s seeing something but isn’t able to talk to it.

Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - Codecs: testing vc1 (decoder) with hwdevice vaapi
Oct 09, 2019 16:08:16.404 [0x7f89e640b700] DEBUG - Auth: authenticated user 1 as TeknoJunky
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] ERROR - [FFMPEG] - libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Oct 09, 2019 16:08:16.404 [0x7f89337fe700] DEBUG - Request: [192.168.168.50:32944 (Allowed Network (Subnet))] GET /library/metadata/768156 (38 live) Signed-in Token (TeknoJunky)
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - Codecs: testing vc1 (decoder) with hwdevice nvdec
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - Codecs: hardware transcoding: testing API nvdec
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - [FFMPEG] - Loaded lib: libcuda.so.1
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - [FFMPEG] - Loaded sym: cuInit
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - [FFMPEG] - Loaded sym: cuDeviceGetCount
Oct 09, 2019 16:08:16.404 [0x7f8981ffb700] DEBUG - [FFMPEG] - Loaded sym: cuDeviceGet
Oct 09, 2019 16:08:16.405 [0x7f8981ffb700] DEBUG - [FFMPEG] - Loaded sym: cuDeviceGetAttribut

Something in here prevents FFMPEG from starting.

Huh, I’m seeing this same behavior on 1.18.0.1913 on Ubuntu LTS 18.04.2 with Kaby Lake QSV. I’m about 99% sure it was working at some point after the new transcoder released. But here is the error I’m seeing:

[FFMPEG] - Cannot load libcuda.so.1
[FFMPEG] - Could not dynamically load CUDA

I tested MPEG2 and HEVC, both used decode acceleration. I can get logs if needed.

Ok, I ran a quick test. I can’t get any of my Plex servers to hardware-decode VC1. I have two Windows 10 servers, one QSV, one Nvidia Quadro. Both give the following warning:

Codecs: avcodec_open2 returned -1 for decoder 'vc1'

And then they fall over to software decoding. I rarely decode the VC1 movies so I just hadn’t noticed. HEVC (10) and MPEG2 seem to be fine. I haven’t tested AVC.

I can PM logs if needed.

1 Like

I will let them know

2 Likes

i’m tracking another issue too

Thank you for the reports, we are tracking this issue internally.

1 Like

VC1 linux hw decoding confirmed appears to be working as of @ Version 1.18.1.1966

image

1 Like

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