ChuckPa
January 17, 2023, 7:36am
21
I have an update on this
1.30.2 – gives us the fixes for EAE and also AV1 hardware decode.
As has been discovered, there is something currently incompatible with the CUDA v12.0 API.
We’re still working on it.
I have confirmed:
Nvidia drivers 515.86.01 is more than enough to give you AV1 decode and work with all other existing codecs
No errors in PMS 1.30.2
Quoting myself:
Folks.
I am finding that CUDA SDK v12.0 is a problem. (That’s Nvidia 525 drivers and above)
The 1.30.x series also introduces AV1 Hardware Decoding support for transcoding.
I have confirmed:
CUDA SDK 11.7 is good enough to HW decode AV1
QNAP: QTS
[~] # /share/Public/Nvidia-SMI
Mon Jan 16 23:43:46 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7 |
|--------------…
3 Likes
disco
January 18, 2023, 11:38am
22
Thanks for your answer chuck, but your suggestion does not fix the problem with HW transcoding not working for certain HEVC->H.264 scenarios.
I downgraded the NVIDIA drivers to 515.86.01 and tested this with all >1.30.x versions. In all this versions the HW seems to decode the stream but looking at the GPU stats there is no encoding process taking place on the HW.
Rolling back to 1.29.2 and everything is working again.
Could that be causing these errors I frequently see on 1.30.1.6562 under unRAID docker:
Jan 15, 2023 21:30:10.043 [0x14dbfd5f9b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 25719 is -6 (signal: Aborted)
Jan 15, 2023 21:30:10.043 [0x14dbefdf2b38] DEBUG - Streaming Resource: Changing client to use software decoding
I did the same test installing 515.86.01 and Plex with 1.30.1.6562, with the same bad results. It doesn’t work.
In my case, I keep “Use hardware-accelerated video encoding” disabled and “Use hardware acceleration when available” enable and it works. At least decoding is done by the nvidia card
Well, I tried the beta 1.30.2.6563 and that seems to resolve the transcoder abort error I was getting and I get HW transcoding again.
Mitzsch
January 21, 2023, 2:10pm
26
Also on my end downgrading to 515.86.01 does not fix it.
Plex Media Server Logs_2023-01-21_15-17-28.zip (2,9 MB)
ChuckPa
January 21, 2023, 6:10pm
27
I found the bug in 1.30.1.
Gave it to Engineering.
1.29.2 is what you also need to use for now.
3 Likes
Sorry, any update?
I’ve just checked that there is a beta version 1.31.1.6716 which fixes NVIDIA error decoder.
I’ve installed and I’ve tested, but I’m still getting the errors:
Feb 18, 2023 07:02:50.396 [0x1527773fcb38] INFO - Plex Media Server v1.31.1.6716-ca0c45ff8 - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -05:00
Feb 18, 2023 07:02:50.397 [0x1527773fcb38] INFO - Linux version: 5.19.17-Unraid, language: en-US
Feb 18, 2023 07:02:50.397 [0x1527773fcb38] INFO - Processor: 10-core AMD Ryzen 5 2600 Six-Core Processor
Feb 18, 2023 07:02:50.397 [0x1527773fcb38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
Feb 18, 2023 07:02:50.397 [0x1527773fcb38] INFO - /usr/lib/plexmediaserver/Plex Media Server
Feb 18, 2023 07:02:50.396 [0x15276f418b38] ERROR - [Req#36aed/Transcode/i5zlrt6xg1dwhe7nhro6egz2/c7e0a563-c439-4074-88ba-2f8d7f440946] [hevc @ 0x14e551fe2080] hardware accelerator failed to decode picture
Feb 18, 2023 07:02:50.396 [0x15276f418b38] ERROR - [Req#36aee/Transcode/i5zlrt6xg1dwhe7nhro6egz2/c7e0a563-c439-4074-88ba-2f8d7f440946] Error while decoding stream #0:0: Generic error in an external library
Feb 18, 2023 07:02:50.397 [0x15276f418b38] ERROR - [Req#36aef/Transcode/i5zlrt6xg1dwhe7nhro6egz2/c7e0a563-c439-4074-88ba-2f8d7f440946] [hevc @ 0x14e551fe2080] No decoder surfaces left
Feb 18, 2023 07:02:50.397 [0x15276f418b38] ERROR - [Req#36af0/Transcode/i5zlrt6xg1dwhe7nhro6egz2/c7e0a563-c439-4074-88ba-2f8d7f440946] [hevc @ 0x14e551fe2080] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed → CUDA_ERROR_INVALID_VALUE: invalid argument
Feb 18, 2023 07:02:50.397 [0x15276f418b38] ERROR - [Req#36af1/Transcode/i5zlrt6xg1dwhe7nhro6egz2/c7e0a563-c439-4074-88ba-2f8d7f440946] [hevc @ 0x14e551fe2080] hardware accelerator failed to decode picture
I’ve installed Plex Server Version 1.31.2.6739 and it seems the problem was solved. However, I will do more tests this weekend. Thank you so much.
system
Closed
June 1, 2023, 12:47pm
30
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.