Page 5 of 5

Re: Plex HW Transcoding in TOS 5.1

Posted: 11 Jul 2023, 21:12
by DTopp
Model: F5-221
TOS: 5.1.40-00005
Plex: 1.32.4.7195 (PlexPass subscription)

I'm having the same problem as the others in this thread with HW transcoding which just doesn't seem to work. I've logged in using SSH and the plex user is part of the correct groups, what else can I try?

Re: Plex HW Transcoding in TOS 5.1

Posted: 11 Jul 2023, 21:48
by DTopp
Apologies as I can't figure out how to edit my original post. Does any of this info from the log file help to see what the problem is?

Code: Select all

Jul 11, 2023 14:28:24.073 [140249945574200] ERROR - [Req#370/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 11, 2023 14:28:24.073 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Jul 11, 2023 14:28:24.073 [140249945574200] DEBUG - [Req#370/Transcode] Could not create hardware context for h264_vaapi
Jul 11, 2023 14:28:24.073 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 11, 2023 14:28:24.073 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: hardware transcoding: testing API nvenc
Jul 11, 2023 14:28:24.098 [140249945574200] ERROR - [Req#370/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 11, 2023 14:28:24.098 [140249945574200] ERROR - [Req#370/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 11, 2023 14:28:24.098 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 11, 2023 14:28:24.098 [140249945574200] DEBUG - [Req#370/Transcode] Could not create hardware context for h264_nvenc
Jul 11, 2023 14:28:24.099 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: testing vc1 (decoder) with hwdevice vaapi
Jul 11, 2023 14:28:24.110 [140249941031736] DEBUG - [Req#39e] We're going to try to auto-select an audio stream for account 1.
Jul 11, 2023 14:28:24.111 [140249941031736] DEBUG - [Req#39e] Selecting best audio stream for part ID 14736 (language: en)
Jul 11, 2023 14:28:24.111 [140249941031736] DEBUG - [Req#39e] Audio Stream: 28506, Subtitle Stream: -1
Jul 11, 2023 14:28:24.125 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: hardware transcoding: testing API vaapi
Jul 11, 2023 14:28:24.126 [140249945574200] ERROR - [Req#370/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 11, 2023 14:28:24.126 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Jul 11, 2023 14:28:24.126 [140249945574200] DEBUG - [Req#370/Transcode] Could not create hardware context for vc1
Jul 11, 2023 14:28:24.126 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: testing vc1 (decoder) with hwdevice nvdec
Jul 11, 2023 14:28:24.126 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: hardware transcoding: testing API nvdec
Jul 11, 2023 14:28:24.126 [140249945574200] ERROR - [Req#370/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 11, 2023 14:28:24.126 [140249945574200] ERROR - [Req#370/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 11, 2023 14:28:24.126 [140249945574200] DEBUG - [Req#370/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted

Re: Plex HW Transcoding in TOS 5.1

Posted: 11 Jul 2023, 23:30
by DTopp
Manually installing the version 1.32.5.7210-77f7f99fa1.32.5.7210-77f7f99fa from the Plex website has fixed it.

https://www.plex.tv/media-server-downlo ... dia-server

Re: Plex HW Transcoding in TOS 5.1

Posted: 13 Jul 2023, 08:05
by kvaden
It has not fixed it for me. I've followed all the steps in the thread. Permissions are right, Plex is in the video group, etc. Even installed the beta version referenced above. Still no hardware transcoding. Any other suggestions?

Re: Plex HW Transcoding in TOS 5.1

Posted: 13 Jul 2023, 08:11
by kvaden
I should have added I'm on an F5-221, TOS 5.1.40, Plex (Plex Pass) 1.32.5.7318.

Re: Plex HW Transcoding in TOS 5.1

Posted: 20 Jul 2023, 19:20
by hello123
Working for me now:

FS-423
Plex Version: 1.32.5.7318 from Plex Site
TOS: 5.1.4
Image

Now it is working I am not touching it!