By editing the logs, you’re making me guess what’s happening because I don’t know which CPU and SKU you’re using.
The top three lines of every PMS log file contain this info.
Here is the only info I have:
Dec 10, 2022 00:28:00.065 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] Starting a transcode session hmfb96pf1rbz9u00bpit0pu1 at offset -1.0 (state=3)
Dec 10, 2022 00:28:00.066 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] TPU: hardware transcoding: using hardware decode accelerator vaapi
Dec 10, 2022 00:28:00.066 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] TPU: hardware transcoding: zero-copy support present
Dec 10, 2022 00:28:00.066 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] TPU: hardware transcoding: using zero-copy transcoding
Dec 10, 2022 00:28:00.066 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [Universal] Using local file path instead of URL: /mnt/storage1/TV/Better Call Saul/Season 06/Better Call Saul - S06E08 - Point and Shoot.m4v
Dec 10, 2022 00:28:00.066 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] Codecs: hardware transcoding: testing API vaapi
Dec 10, 2022 00:28:00.066 [0x7ffa8b105b38] ERROR - [Req#57361/Transcode] [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so init failed
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Created surface 0x4000000.
Dec 10, 2022 00:28:00.067 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] [FFMPEG] - Direct mapping possible.
Dec 10, 2022 00:28:00.070 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Dec 10, 2022 00:28:00.071 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/c4efa15-4387-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx405f-9280-b06e93312437 "/usr/lib/plexmediaserver/Plex Transcoder" "-codec:#0x01" h264 "-hwaccel:#0x01" vaapi "-hwaccel_fallback_threshold:#0x01" 10 "-hwaccel_output_format:#0x01" vaapi "-hwaccel_device:#0x01" vaapi "-codec:#0x02" aac_lc -ss 9 -analyzeduration 20000000 -probesize 20000000 -i "/mnt/storage1/TV/Better Call Saul/Season 06/Better Call Saul - S06E08 - Point and Shoot.m4v" -filter_complex "[0:#0x01]hwupload[0];[0]scale_vaapi=w=1238:h=720:format=nv12[1];[1]hwupload[2]" -map "[2]" -codec:0 h264_vaapi -b:0 2757k -maxrate:0 3676k -bufsize:0 7352k -r:0 23.975999999999999 -filter_complex "[0:#0x02] aresample=async=1:ocl='stereo':rematrix_maxval=0.000000dB:osr=48000[3]" -map "[3]" -metadata:s:1 language=eng -codec:1 libopus -b:1 119k -f segment -segment_format matroska -segment_format_options live=1 -segment_time 1 -segment_header_filename header -segment_start_number 0 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0/manifest?X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_unfinished 1 -segment_list_size 5 -segment_list_separate_stream_times 1 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 "chunk-%05d" -start_at_zero -copyts -init_hw_device vaapi=vaapi:/dev/dri/renderD129 -filter_hw_device vaapi -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0/progress
Dec 10, 2022 00:28:00.071 [0x7ffa8b105b38] DEBUG - [Req#57361/Transcode/JobRunner] Jobs: Starting child process with pid 35316
Dec 10, 2022 00:28:00.074 [0x7ffa8456ab38] DEBUG - Request: [127.0.0.1:54088 (Loopback)] PUT /video/:/transcode/session/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0/progress?status=startup (16 live) #57419 Signed-in Token (couzin2000) (range: bytes=0-)
Dec 10, 2022 00:28:00.074 [0x7ffa97404b38] DEBUG - Completed: [127.0.0.1:54088] 204 PUT /video/:/transcode/session/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0/progress?status=startup (16 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-)
Dec 10, 2022 00:28:00.076 [0x7ffa8a1f6b38] ERROR - [Req#57464/Transcode/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0] [AVHWDeviceContext @ 0x7fb687408780] Failed to initialise VAAPI connection: -1 (unknown libva error).
Dec 10, 2022 00:28:00.076 [0x7ffa8456ab38] ERROR - [Req#57467/Transcode/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0] Device creation failed: -5.
Dec 10, 2022 00:28:00.076 [0x7ffa8a1f6b38] ERROR - [Req#5746c/Transcode/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0] Failed to set value 'vaapi=vaapi:/dev/dri/renderD129' for option 'init_hw_device': I/O error
Dec 10, 2022 00:28:00.076 [0x7ffa8456ab38] ERROR - [Req#5746d/Transcode/hmfb96pf1rbz9u00bpit0pu1/7bc11ff1-884a-4764-9d35-b6317c809ba0] Error parsing global options: I/O error
Dec 10, 2022 00:28:00.077 [0x7ffa97647b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 35316 is 1 (failure)
Dec 10, 2022 00:28:10.026 [0x7ffa8a1f6b38] DEBUG - Request: [192.168.0.100:64521 (Subnet)] GET /:/timeline
From this, I conclude:
- It found something which looks like Intel.
- It can create a surface to transcode to work with
- It cannot transcode this h264 1920x1080p video Intel IHD_init fails
- It’s trying to use /dev/dri/renderD129 and failed because it can’t initialize it.
What is the CPU & SKU please?
Do you have both renderD128 and renderD129 ?
Is plex a member of the group which owns those devices ? (the installer should have added PMS to it)
In the future, please don’t edit logs. If you need them private, I’ll gladly send you a PM