Ditto above. This seems to have resolved at least the main transcoder issues experienced previously esp with subtitles - thank you. Ds920.
Working fine and without problems on the Synology DS 918+ with DSM7 without the vaapidriver reference in the .xml file.
Okay, I executed a s6-svc -r /var/run/s6/services/plex/ as mentioned in this post after performing the update so I didnāt have to restart the container. Now I too have verion 1.32.8.7605 running and can confirm itās working. ![]()
No issues so far on my DS920+, DSM7 with the SPK (so not running in a container)
HW HDR tone mapping still broken on j4105 with Unraid 6.12.4 (kernel 6.1.49).
Will need Server DEBUG logs for this.
We fixed all GLK (GeminiLake CPUs) by reconfiguring the default VaapiDriver and providing that ivd driver
There are so many reports of success with no failures, I need to know what is happening.
Our Lab machine vs stock J4105
1⦠Your HW transcoding is functioning as it should.
Oct 25, 2023 17:21:34.433 [22689879431992] DEBUG - [Req#230/Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Oct 25, 2023 17:21:34.433 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Oct 25, 2023 17:21:34.435 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (GeminiLake [UHD Graphics 600])
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: Testing with profile 'Main 10'
Oct 25, 2023 17:21:34.436 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VPS
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding SPS
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VUI
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding PPS
Oct 25, 2023 17:21:34.437 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format vaapi chosen by get_format().
...
Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (GeminiLake [UHD Graphics 600])
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: Testing with profile 'Main 10'
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VPS
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding SPS
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VUI
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding PPS
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format vaapi chosen by get_format().
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format vaapi requires hwaccel initialisation.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Considering format 0x3231564e -> nv12.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Considering format 0x30313050 -> p010le.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Picked p010le (0x30313050) as best match for yuv420p10le.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000000.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Direct mapping disabled: derived image format 30313050 does not match expected format 32315659.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000001.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000002.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000003.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000004.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000005.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000006.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000007.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000008.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000009.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000a.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000b.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000c.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000d.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000e.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000f.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000010.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000011.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000012.
Oct 25, 2023 17:21:34.446 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000013.
Oct 25, 2023 17:21:34.447 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decode context initialised: 0x1000000/0x2000000.
Oct 25, 2023 17:21:34.447 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Param buffer (type 0, 604 bytes) is 0x8000000.
Oct 25, 2023 17:21:34.447 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Slice 0 param buffer (264 bytes) is 0x8000001.
Oct 25, 2023 17:21:34.447 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Slice 0 data buffer (47 bytes) is 0x8000002.
Oct 25, 2023 17:21:34.447 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decode to surface 0x4000013.
Oct 25, 2023 17:21:34.449 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: dummy-frame test succeeded
Oct 25, 2023 17:21:34.451 [22689879431992] DEBUG - [Req#230/Transcode] Streaming Resource: Reducing playback quality for 40380kbps stream bitrate: video resolution to 3840x1608, audio channels to 2, quality to 49, disable video DS as 152023kbps is > the 39917kbps available
Oct 25, 2023 17:21:34.451 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Oct 25, 2023 17:21:34.453 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (GeminiLake [UHD Graphics 600])
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: Testing with profile 'Main 10'
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VPS
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding SPS
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VUI
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding PPS
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format vaapi chosen by get_format().
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format vaapi requires hwaccel initialisation.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Considering format 0x3231564e -> nv12.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Considering format 0x30313050 -> p010le.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Picked p010le (0x30313050) as best match for yuv420p10le.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000000.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Direct mapping disabled: derived image format 30313050 does not match expected format 32315659.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000001.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000002.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000003.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000004.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000005.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000006.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000007.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000008.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000009.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000a.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000b.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000c.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000d.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000e.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x400000f.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000010.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000011.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000012.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Created surface 0x4000013.
Oct 25, 2023 17:21:34.455 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decode context initialised: 0x1000000/0x2000000.
Oct 25, 2023 17:21:34.456 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Param buffer (type 0, 604 bytes) is 0x8000000.
Oct 25, 2023 17:21:34.456 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Slice 0 param buffer (264 bytes) is 0x8000001.
Oct 25, 2023 17:21:34.456 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Slice 0 data buffer (47 bytes) is 0x8000002.
Oct 25, 2023 17:21:34.456 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decode to surface 0x4000013.
Oct 25, 2023 17:21:34.457 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: dummy-frame test succeeded
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Selected protocol hls; container: mp4
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: analyzing media item 12967
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): Direct Play is disabled
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): media must be transcoded in order to use the hls protocol
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): no direct play video profile exists for http/mkv/hevc
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): no direct play video profile exists for http/mkv/hevc/truehd
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): selected sidecar subtitle stream will be segmented
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): selected sidecar subtitle stream will be segmented
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] Triangle of Sadness - video.bitrate limitation applies: 43768 > 39917
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] Triangle of Sadness - audio.channels limitation applies: 8 > 6
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): Direct Streaming is disabled, so video stream will be transcoded
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Triangle of Sadness (2022): no remuxable profile found, so video stream will be transcoded
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Oct 25, 2023 17:21:34.459 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Oct 25, 2023 17:21:34.461 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (GeminiLake [UHD Graphics 600])
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Oct 25, 2023 17:21:34.462 [22689879431992] DEBUG - [Req#230/Transcode] Codecs: Testing with profile 'Main 10'
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VPS
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding SPS
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Main 10 profile bitstream
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding VUI
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Decoding PPS
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format vaapi chosen by get_format().
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Format vaapi requires hwaccel initialisation.
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Considering format 0x3231564e -> nv12.
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Considering format 0x30313050 -> p010le.
Oct 25, 2023 17:21:34.463 [22689879431992] DEBUG - [Req#230/Transcode] [FFMPEG] - Picked p010le (0x30313050) as best match for yuv420p10le.
Codecs: dummy-frame test succeeded
...
and
Oct 25, 2023 17:21:35.036 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/DriverDL/icr] Skipping download; already exists
Oct 25, 2023 17:21:35.037 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (GeminiLake [UHD Graphics 600])
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x32315659 -> yuv420p.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x30323449 -> yuv420p.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x3231564e -> nv12.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x32595559 -> yuyv422.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x59565955 -> uyvy422.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x48323234 -> yuv422p.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x58424752 -> rgb0.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x58524742 -> bgr0.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Format 0x30313050 -> p010le.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Created surface 0x4000000.
Oct 25, 2023 17:21:35.039 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] [FFMPEG] - Direct mapping possible.
Oct 25, 2023 17:21:35.040 [22689856228152] INFO - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] Preparing driver ivd for GPU GeminiLake [UHD Graphics 600]
Oct 25, 2023 17:21:35.040 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/DriverDL/ivd] Skipping download; already exists
Oct 25, 2023 17:21:35.040 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Oct 25, 2023 17:21:35.042 [22689879431992] DEBUG - [Req#23c] [Now] User is premikkoci (ID: 1)
Oct 25, 2023 17:21:35.042 [22689879431992] DEBUG - [Req#23c] [Now] Device is iOS (iPhone).
Oct 25, 2023 17:21:35.042 [22689879431992] DEBUG - [Req#23c] [Now] Profile is iOS
Oct 25, 2023 17:21:35.042 [22689879431992] DEBUG - [Req#23c] [Now] Updated play state for /library/metadata/6090.
Oct 25, 2023 17:21:35.042 [22689879431992] DEBUG - [Req#23c] Statistics: (7AFC74EC-31AE-4490-B4C8-AABA9B7003D1) Reporting active playback in state 2 of type 1 (scrobble: 0) for account 1
Oct 25, 2023 17:21:35.052 [22689856228152] DEBUG - [Req#245/Transcode/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/JobRunner] Job running: EAE_ROOT=/tmp/pms-99104bfc-45cd-484b-ac32-9deea523afbe/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/a31c019-4614-linux-x86_64/' LIBVA_DRIVERS_PATH="/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64" OCL_ICD_VENDORS="/config/Library/Application Support/Plex Media Server/Cache/cl-icds-linux-x86_64" X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx cl_cache_dir="/config/Library/Application Support/Plex Media Server/Cache/Shaders/icr-138-linux-x86_64/" "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 hevc -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_output_format:0 vaapi -hwaccel_device:0 vaapi -codec:1 truehd_eae -eae_prefix:1 3E8CF9F0-89A2-4E00-9F75-4E3B626090EB_ -ss 6035 -analyzeduration 20000000 -probesize 20000000 -i "/movies/Triangle of Sadness (2022)/Triangle.of.Sadness.2022.2160p.UHD.BluRay.x265.10bit.HDR.TrueHD.7.1.Atmos-SURCODE.mkv" -ss 6035 -analyzeduration 20000000 -probesize 20000000 -i /transcode/Transcode/Sessions/plex-transcode-3E8CF9F0-89A2-4E00-9F75-4E3B626090EB-d75c0c58-c930-41ca-999e-ec51d1641a1f/temp-0.srt -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=3840:h=1608:format=p010[1];[1]hwmap=derive_device=opencl[2];[2]tonemap_opencl=tonemap=mobius:format=nv12:m=bt709:p=bt709:r=tv[3];[3]hwmap=derive_device=vaapi:reverse=1[4];[4]hwupload[5]" -map "[5]" -codec:0 h264_vaapi -b:0 29937k -maxrate:0 39917k -bufsize:0 79834k -r:0 24 -force_key_frames:0 "expr:gte(t,n_forced*3)" -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[6]" -map "[6]" -metadata:s:1 language=eng -codec:1 aac -b:1 175k -segment_format mp4 -f ssegment -individual_header_trailer 0 -flags +global_header -segment_header_filename header -segment_time 3 -segment_start_number 2011 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/d75c0c58-c930-41ca-999e-ec51d1641a1f/manifest?X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -segment_format_options movflags=frag_custom+dash+delay_moov+frag_discont:fragment_index=2012:output_ts_offset=10 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 "media-%05d.ts" -map 1:s:0 -metadata:s:0 language=eng -codec:0 webvtt -strict_ts:0 0 -f segment -segment_format webvtt -segment_time 3 -avoid_negative_ts disabled -write_empty_segments 1 -segment_format_options flush_packets=1 -segment_copyts 1 -segment_start_number 2011 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/d75c0c58-c930-41ca-999e-ec51d1641a1f/manifest?stream=subtitles&X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_unfinished 1 -fflags +flush_packets "media-%05d.vtt" -start_at_zero -copyts -init_hw_device vaapi=vaapi:/dev/dri/renderD128,driver=i965 -filter_hw_device vaapi -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/d75c0c58-c930-41ca-999e-ec51d1641a1f/progress
- Your media selection, because of the subtitles, disables HW transcoding.
Oct 25, 2023 17:21:52.054 [22689911221048] DEBUG - Streaming Resource: Required bandwidth unknown (media requires deep analysis) Changing decision parameters provided by client to fit bandwidth limit of 42400kbps
Oct 25, 2023 17:21:52.054 [22689911221048] DEBUG - Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - Streaming Resource: Reducing playback quality for 40380kbps stream bitrate: video resolution to 3840x1608, quality to 49
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Selected protocol hls; container: mp4
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: analyzing media item 12967
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): Direct Play is disabled
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): media must be transcoded in order to use the hls protocol
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): no direct play video profile exists for http/mkv/hevc
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): no direct play video profile exists for http/mkv/hevc/truehd
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): selected sidecar subtitle stream will be segmented
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): selected sidecar subtitle stream will be segmented
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - Triangle of Sadness - video.bitrate limitation applies: 43768 > 39917
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - Triangle of Sadness - audio.channels limitation applies: 8 > 6
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): no remuxable profile found, so video stream will be transcoded
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - Triangle of Sadness - audio.channels limitation applies: 8 > 6
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Cannot direct stream audio stream due to profile or setting limitations
Oct 25, 2023 17:21:52.055 [22689911221048] DEBUG - MDE: Triangle of Sadness (2022): selected media 0 / 12967
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - Streaming Resource: Reached Decision id=6090 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=12967 part=(id=12971 decision=transcode container=mp4 protocol=hls streams=(Video=(id=41535 decision=transcode bitrate=39917 encoder=libx264 width=3840 height=1608) Audio=(id=41536 decision=transcode bitrate=175 encoder=aac channels=2 rate=48000) Subtitle=(id=46147 decision=transcode bitrate=2147483647 encoder=webvtt languageCode=eng location=segmented))))
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - Transcode Session: Going to restart at offset 6035.000000 with segment number -1
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - Killing job.
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - Signalling job ID 6386 with 9
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - Job was already killed, not killing again.
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - Stopping transcode session 3E8CF9F0-89A2-4E00-9F75-4E3B626090EB
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - Starting a transcode session 3E8CF9F0-89A2-4E00-9F75-4E3B626090EB at offset 6035.0 (state=3)
Oct 25, 2023 17:21:52.057 [22689911221048] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Oct 25, 2023 17:21:52.058 [22689911221048] DEBUG - [Universal] Using local file path instead of URL: /movies/Triangle of Sadness (2022)/Triangle.of.Sadness.2022.2160p.UHD.BluRay.x265.10bit.HDR.TrueHD.7.1.Atmos-SURCODE.mkv
Oct 25, 2023 17:21:52.058 [22689911221048] DEBUG - [HCl#90] HTTP requesting GET http://127.0.0.1:32400/library/streams/46147?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Oct 25, 2023 17:21:52.058 [22689856228152] DEBUG - Request: [127.0.0.1:54186 (Loopback)] GET /library/streams/46147 (15 live) #253 GZIP Signed-in Token (premikkoci) (iPhone)
Oct 25, 2023 17:21:52.078 [22689943063352] DEBUG - Completed: [127.0.0.1:54186] 200 GET /library/streams/46147 (15 live) #253 GZIP 20ms 44797 bytes (pipelined: 2)
Oct 25, 2023 17:21:52.080 [22689920510776] DEBUG - [HttpClient/HCl#90] HTTP/1.1 (0.0s) 200 response from GET http://127.0.0.1:32400/library/streams/46147?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (reused)
Oct 25, 2023 17:21:52.080 [22689911221048] DEBUG - Detected character set of UTF-8.
Oct 25, 2023 17:21:52.081 [22689911221048] DEBUG - Downloaded stream from [http://127.0.0.1:32400/library/streams/46147?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx] (codec: srt) to temporary file [/transcode/Transcode/Sessions/plex-transcode-3E8CF9F0-89A2-4E00-9F75-4E3B626090EB-d75c0c58-c930-41ca-999e-ec51d1641a1f/temp-0.srt]
Oct 25, 2023 17:21:52.081 [22689911221048] DEBUG - Codecs: hardware transcoding: testing API vaapi for device '' ()
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x41524742 -> bgra.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x42475241 -> argb.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x41424752 -> rgba.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x52474241 -> abgr.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x58524742 -> bgr0.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x42475258 -> 0rgb.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x58424752 -> rgb0.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x52474258 -> 0bgr.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x30335241 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x30334241 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x30335258 -> x2rgb10le.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x30334258 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x36314752 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x50424752 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x50524742 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x56555941 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x30303859 -> gray.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x3231564e -> nv12.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x3132564e -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x32595559 -> yuyv422.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x59565955 -> uyvy422.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x32315659 -> yuv420p.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x30323449 -> yuv420p.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x50313134 -> yuv411p.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x48323234 -> yuv422p.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x56323234 -> yuv440p.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x50343434 -> yuv444p.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x33434d49 -> unknown.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Format 0x30313050 -> p010le.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Created surface 0.
Oct 25, 2023 17:21:52.138 [22689911221048] DEBUG - [FFMPEG] - Direct mapping possible.
Oct 25, 2023 17:21:52.140 [22689911221048] DEBUG - TPU: hardware transcoding: final decoder: , final encoder:
Oct 25, 2023 17:21:52.140 [22689911221048] DEBUG - [JobRunner] Job running: EAE_ROOT=/tmp/pms-99104bfc-45cd-484b-ac32-9deea523afbe/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/a31c019-4614-linux-x86_64/' LIBVA_DRIVERS_PATH="/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64" X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 hevc -codec:1 truehd_eae -eae_prefix:1 3E8CF9F0-89A2-4E00-9F75-4E3B626090EB_ -ss 6035 -analyzeduration 20000000 -probesize 20000000 -i "/movies/Triangle of Sadness (2022)/Triangle.of.Sadness.2022.2160p.UHD.BluRay.x265.10bit.HDR.TrueHD.7.1.Atmos-SURCODE.mkv" -ss 6035 -analyzeduration 20000000 -probesize 20000000 -i /transcode/Transcode/Sessions/plex-transcode-3E8CF9F0-89A2-4E00-9F75-4E3B626090EB-d75c0c58-c930-41ca-999e-ec51d1641a1f/temp-0.srt -filter_complex "[0:0]scale=w=3840:h=1608:force_divisible_by=4[0];[0]format=p010,tonemap=mobius[1];[1]format=pix_fmts=yuv420p|nv12[2]" -map "[2]" -codec:0 libx264 -crf:0 20 -maxrate:0 39917k -bufsize:0 79834k -r:0 24 -preset:0 veryfast -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,n_forced*3)" -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[3]" -map "[3]" -metadata:s:1 language=eng -codec:1 aac -b:1 175k -segment_format mp4 -f ssegment -individual_header_trailer 0 -flags +global_header -segment_header_filename header -segment_time 3 -segment_start_number 2011 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/d75c0c58-c930-41ca-999e-ec51d1641a1f/manifest?X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -segment_format_options movflags=frag_custom+dash+delay_moov+frag_discont:fragment_index=2012:output_ts_offset=10 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 "media-%05d.ts" -map 1:s:0 -metadata:s:0 language=eng -codec:0 webvtt -strict_ts:0 0 -f segment -segment_format webvtt -segment_time 3 -avoid_negative_ts disabled -write_empty_segments 1 -segment_format_options flush_packets=1 -segment_copyts 1 -segment_start_number 2011 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/d75c0c58-c930-41ca-999e-ec51d1641a1f/manifest?stream=subtitles&X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_unfinished 1 -fflags +flush_packets "media-%05d.vtt" -start_at_zero -copyts -init_hw_device vaapi=vaapi: -filter_hw_device vaapi -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/3E8CF9F0-89A2-4E00-9F75-4E3B626090EB/d75c0c58-c930-41ca-999e-ec51d1641a1f/progress
Have you tested with one of the test files I often provide?
@ChuckPa
Regular HW transcoding works just fine but HDR tone mapping does not.
See the logs (no subs)
Plex Media Server Logs_2023-10-25_21-32-46.zip (2.9 MB)

Btw I have found this in the unraid log
Oct 25 21:59:27 UNRAID kernel: i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
Oct 25 21:59:27 UNRAID kernel: i915 0000:00:02.0: [drm] Plex Transcoder[32177] context reset due to GPU hang
Oct 25 21:59:27 UNRAID kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:e757fefe, in Plex Transcoder [32177]
So the problem might be more related to kernel (6.1.49) or Unraid. On the other hand, HW HDR tone mapping works without a problem with Jellyfin
Yes, This is a problem with the Unraid kernel.
Jellyfin uses a different HW tonemapping method than Plex so itās like comparing VLC which isnāt apples-to-apples
The issue is with OpenCL talking to the chip CPU (which libdrm does in the rendering process)
Could you be more specific? I would like to report this issue to the Unraid developers. Is the kernel itself problematic or the way they implemented it?
What version of the kernel have you confirmed as working in the case of Gemini lake?
Remember, GeminiLake is an older processor.
It doesnāt require the 6.x kernels yet or the āHWEā (Ubuntu term).
Those features start with the -9xxx and above CPUs
We use:
Last login: Wed Oct 25 16:04:16 2023 from 10.2.15.100
chuck@geminilake:~$ uname -a
Linux geminilake 5.15.0-84-generic #93-Ubuntu SMP Tue Sep 5 17:16:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
chuck@geminilake:~$
Is it possible to install kernel 5.19.17 or higher on your test machine with Gemini lake to confirm the kernel issue?
I might try to downgrade from Unraid v6.12.4 (with kernel 6.1.49) to 6.10.3 (kernel 5.15.49).
@ChuckPa
So I have finally managed to downgrade to Unraid v6.10.3 with kernel 5.15.49. Guess what? HW HDR tone mapping works just fine even on 1.32.7.7621.
Have the transcoder changes made it into the latest beta already or do we still have to wait?
Release schedule is PMS 1.32.8 . AFAIK
can we now update back to the main releases? looks like this release has the fixes but wanted to confirm. Thanks.
YES . Update to your heartās content
![]()
This thread is no longer needed. Closing.