Server Version#: 1.31.2.6757
Player Version#: Roku 7.0.24.8154
Windows 10 patched to March 2023
All content 1080p H264
Problem: Some Roku clients on slow DSL links need to transcode down to 4Mbit 720p but HW transcoding is broken since PMS v1.24.4.5081
I have narrowed this down as much as possible and hoping someone from the Plex Team can help from here. I am a lifetime Plex Pass member and trying to use full HW decoding and encoding on an older Dell Optiplex 9010 that is running an Intel i7-3770.
Up until PMS version 1.24.4.5081 everything worked GREAT and if any of my clients needed to drop down to 4Mbit 720p due to their slow DSL connections then my server would happily do this without breaking a sweat due to full HW transcode. Both HW decode and encode worked great. However, if I upgrade to any version of PMS beyond this (including the current v1.31.2.6757) then HW transcode fails and my system defaults back to software transcoding as the logs show below. As it shows in the logs, it detects my Intel iGPU and tries to use it but then fails. The only way I can get it to partially work is to disable just HW encode and then the decode portion works fine.
Can someone please look into this as I do not want to have to stay on an ancient version of PMS. I can provide more logs but will need to sanitize them first as they contain usernames, public IP addresses, custom ports etc. Your help would be greatly appreciated!
[Using both DECODE and ENCODE]
Use hardware acceleration when available
Use hardware-accelerated video encoding
*** All HW transcode fails and system defaults back to software, major stress on CPU ***
Mar 09, 2023 11:46:03.933 [8852] DEBUG - [Req#7a/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581] Starting a transcode session 55438d59-9cd4-4d1e-bad1-77d2d0174455-581 at offset -1.0 (state=3)
Mar 09, 2023 11:46:03.935 [8852] DEBUG - [Req#7a/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581] TPU: hardware transcoding: using hardware decode accelerator dxva2
Mar 09, 2023 11:46:03.935 [8852] DEBUG - [Req#7a/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581] TPU: hardware transcoding: zero-copy support present
Mar 09, 2023 11:46:03.935 [8852] DEBUG - [Req#7a/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581] TPU: hardware transcoding: using zero-copy transcoding
Mar 09, 2023 11:46:03.935 [8852] DEBUG - [Req#7a/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581] [Universal] Using local file path instead of URL: D:\MEDIA\Movies\Transformers 4 - Age of Extinction (2014).mkv
Mar 09, 2023 11:46:03.935 [8852] DEBUG - [Req#7a/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581] TPU: hardware transcoding: final decoder: dxva2, final encoder: qsv
Mar 09, 2023 11:46:04.170 [6208] ERROR - [Req#86/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581/c4d7408e-b94b-4aaa-a9d5-b6fb4de383ca] [Parsed_scale_qsv_1 @ 000002af65b26e40] Error opening the VPP for scaling: invalid video parameters (-15)
Mar 09, 2023 11:46:04.170 [6208] ERROR - [Req#8b/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581/c4d7408e-b94b-4aaa-a9d5-b6fb4de383ca] [Parsed_scale_qsv_1 @ 000002af65b26e40] Failed to configure output pad on Parsed_scale_qsv_1
Mar 09, 2023 11:46:04.172 [6208] ERROR - [Req#8c/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581/c4d7408e-b94b-4aaa-a9d5-b6fb4de383ca] Error reinitializing filters!
Mar 09, 2023 11:46:04.172 [6208] ERROR - [Req#8d/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581/c4d7408e-b94b-4aaa-a9d5-b6fb4de383ca] Failed to inject frame into filter network: Invalid argument
Mar 09, 2023 11:46:04.172 [6208] ERROR - [Req#8e/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-581/c4d7408e-b94b-4aaa-a9d5-b6fb4de383ca] Error while processing the decoded data for stream #0:0
Mar 09, 2023 11:46:04.195 [10212] DEBUG - Jobs: ‘C:\Program Files\Plex\Plex Media Server\Plex Transcoder.exe’ exit code for process 11820 is 1 (failure)
Mar 09, 2023 11:46:04.195 [10680] DEBUG - Streaming Resource: Changing client to use software decoding
[Using just DECODE]
Use hardware acceleration when available
[ ] Use hardware-accelerated video encoding
*** HW decode works but still major CPU stress due to HW encode being turned off ***
Mar 09, 2023 11:49:27.967 [8964] DEBUG - [Req#8c/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-597] Starting a transcode session 55438d59-9cd4-4d1e-bad1-77d2d0174455-597 at offset -1.0 (state=3)
Mar 09, 2023 11:49:27.968 [8964] DEBUG - [Req#8c/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-597] TPU: hardware transcoding: using hardware decode accelerator dxva2
Mar 09, 2023 11:49:27.968 [8964] DEBUG - [Req#8c/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-597] TPU: hardware transcoding: zero-copy support not present
Mar 09, 2023 11:49:27.968 [8964] DEBUG - [Req#8c/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-597] [Universal] Using local file path instead of URL: D:\MEDIA\Movies\Transformers 4 - Age of Extinction (2014).mkv
Mar 09, 2023 11:49:27.969 [8964] DEBUG - [Req#8c/Transcode/55438d59-9cd4-4d1e-bad1-77d2d0174455-597] TPU: hardware transcoding: final decoder: dxva2, final encoder: