Error transcoding (Linux, Ryzen 1700x & 980ti)

Hello there.

I bought yearly Plex Pass to take advantage of hardware transcoding but I’m getting errors

My server:

OS: Antergos Linux x86_64
Kernel: 4.17.14-arch1-1-ARCH
CPU: Ryzen 7 1700x, no OC.
GPU: GTX 980ti

I tried both with Hardware transcoding enabled and disabled, and I got the following errors:

Enabled:

Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] ERROR - [FFMPEG] - No VA display found for device: /dev/dri/renderD128.
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - Scaled up video bitrate to 228042Kbps based on 4.500000x fudge factor.
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - MDE: Cannot direct stream audio stream due to codec truehd when profile only allows aac
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - MDE: Avengers: Infinity War (2018): selected media 0 / 1329
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - Streaming Resource: Calculated bandwidth of 239715kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 20000kbps
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] DEBUG - Codecs: testing h264_nvenc (encoder)
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] WARN - avcodec_open2 returned -1313558101 for encoder 'h264_nvenc'
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] ERROR - [FFMPEG] - No VA display found for device: /dev/dri/renderD128.
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] DEBUG - Scaled up video bitrate to 228042Kbps based on 4.500000x fudge factor.
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] DEBUG - Codecs: testing h264_nvenc (encoder)
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] WARN - avcodec_open2 returned -1313558101 for encoder 'h264_nvenc'
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Aug 16, 2018 11:38:44.868 [0x7f81cbbff700] ERROR - [FFMPEG] - No VA display found for device: /dev/dri/renderD128.
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] DEBUG - Scaled up video bitrate to 228042Kbps based on 4.500000x fudge factor.
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] DEBUG - Streaming Resource: Reducing playback quality for 19047kbps stream bitrate: video resolution to 1920x1080, audio channels to 2, quality to 85
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] DEBUG - Codecs: testing h264_nvenc (encoder)
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] WARN - avcodec_open2 returned -1313558101 for encoder 'h264_nvenc'
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] ERROR - [FFMPEG] - No VA display found for device: /dev/dri/renderD128.
Aug 16, 2018 11:38:44.869 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument

There was also this:

Aug 16, 2018 11:38:46.014 [0x7f81ccbff700] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found

Disabled:

Aug 16, 2018 11:38:44.866 [0x7f81cbbff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Aug 16, 2018 11:38:44.866 [0x7f81cbbff700] WARN - avcodec_open2 returned -1313558101 for encoder 'h264_nvenc'
Aug 16, 2018 11:38:44.866 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Aug 16, 2018 11:38:44.866 [0x7f81cbbff700] ERROR - [FFMPEG] - No VA display found for device: /dev/dri/renderD128.
Aug 16, 2018 11:38:44.866 [0x7f81cbbff700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - Scaled up video bitrate to 228042Kbps based on 4.500000x fudge factor.
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - MDE: Selected protocol hls; container: mpegts
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - MDE: analyzing media item 1329
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - MDE: Avengers: Infinity War (2018): Direct Play is disabled
Aug 16, 2018 11:38:44.867 [0x7f81cbbff700] DEBUG - MDE: Avengers: Infinity War (2018): media must be transcoded in ord

Nvidia drivers are installed.

Anybody can help? :slight_smile:

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