PMS Linux 1.19.2.2673 - Broken Hardware Transcoding with Intel iGPU

Hardware transcoding works fine on 1.18.5.2260 using an Intel HD Graphics 630. When I update to 1.19.2.2673, it breaks with the following error below. Transcoding continues, but defaults back to CPU. I don’t have a nVidia card, yet it mentions CUDA. That may just be going through various encoding/decoding checks. I don’t know.

Apr 22, 2020 05:11:27.299 [0x7f43ba7fc700] ERROR - ClientProfileExtra: video transcode target already exists for streaming hls
Apr 22, 2020 05:11:27.330 [0x7f43ba7fc700] WARN - [FFMPEG] - No quality level set; using default (20).
Apr 22, 2020 05:11:27.371 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.371 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.372 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.372 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.372 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.375 [0x7f43ba7fc700] WARN - [FFMPEG] - No quality level set; using default (25).
Apr 22, 2020 05:11:27.460 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.460 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.460 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.461 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.461 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.462 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.462 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.462 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.463 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.463 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.464 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.464 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.465 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.465 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.465 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.466 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.466 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.467 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.467 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.467 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.468 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.468 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.469 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.469 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.469 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.470 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.470 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.471 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.471 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.471 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.472 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.472 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.473 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.473 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.473 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.475 [0x7f43ba7fc700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.475 [0x7f43ba7fc700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.475 [0x7f43ba7fc700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.475 [0x7f43ba7fc700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.475 [0x7f43ba7fc700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.511 [0x7f43b3fff700] ERROR - ClientProfileExtra: video transcode target already exists for streaming hls
Apr 22, 2020 05:11:27.534 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.534 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.536 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.536 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.536 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.572 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.572 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.575 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.576 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.576 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.586 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.586 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.589 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.589 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.589 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.648 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.648 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.667 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.668 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.668 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.675 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.675 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:27.842 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:27.842 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:27.842 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:27.928 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:27.928 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:28.008 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:28.008 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:28.008 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:28.017 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:28.017 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:28.030 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:28.030 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:28.030 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:28.031 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:28.031 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:28.032 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:28.032 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:28.032 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:28.034 [0x7f43b3fff700] ERROR - [FFMPEG] - Failed to end picture decode issue: 23 (internal decoding error).
Apr 22, 2020 05:11:28.034 [0x7f43b3fff700] ERROR - [FFMPEG] - hardware accelerator failed to decode picture
Apr 22, 2020 05:11:28.034 [0x7f43b3fff700] WARN - Codecs: avcodec_open2 returned -5 for decoder ‘hevc’
Apr 22, 2020 05:11:28.035 [0x7f43b3fff700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 22, 2020 05:11:28.035 [0x7f43b3fff700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 22, 2020 05:11:29.079 [0x7f43ba7fc700] ERROR - [Transcoder] [h264_vaapi @ 0xf8c540] Failed to end picture encode issue: 24 (internal encoding error).
Apr 22, 2020 05:11:29.080 [0x7f4387fff700] ERROR - [Transcoder] [h264_vaapi @ 0xf8c540] Encode failed: -5.
Apr 22, 2020 05:11:29.080 [0x7f43b0ff9700] ERROR - [Transcoder] Video encoding failed
Apr 22, 2020 05:11:29.143 [0x7f44177fe700] ERROR - ClientProfileExtra: video transcode target already exists for streaming hls
Apr 22, 2020 05:11:29.158 [0x7f44177fe700] WARN - MDE: unable to find a working transcode profile for video stream
Apr 22, 2020 05:11:29.158 [0x7f44177fe700] WARN - MDE: unable to find a working transcode profile for video stream
Apr 22, 2020 05:11:29.158 [0x7f44177fe700] WARN - MDE: unable to find a working transcode profile for video stream
Apr 22, 2020 05:11:47.148 [0x7f4387fff700] WARN - Transcode runner appears to have died.

@concastelo Sorry that you’re having trouble.

Could you please provide your full Plex Media Server logs that cover the broken HW transcoding?

Do you happen to have an integrated AMD graphics card?

Looking to see if this is the issue I am encountering. Switching from 1.18 to 1.19 there seems to be some type of coding change that stops the attempt to the next device number in line.

The line “Ignoring device 0 with non-matching kernel driver” doesn’t trigger on 1.19 so I keep getting very similar errors as you. When it attempts device 1, (the iGPU) transcoding kicks in.

No, I’m using Intel’s ingegrated GPU (HD 630)

As requested, would you please provide the full ZIP file?

( At this point, would you please recreate the failure then download & attach the log ZIP)

It might be moot since 1.19.5.3035 is now available. I’ll update to that version and try again.

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