@edified
I’m seeing several issues going on here.
- PMS starts up but can’t resolve hostname
plex.tv (DNS failure)
Feb 27, 2021 09:32:42.998 [0x7f5cb89dd700] ERROR - Error issuing curl_easy_perform(handle): 6
Feb 27, 2021 09:32:42.998 [0x7f5cb89dd700] WARN - HTTP error requesting GET https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx (6, Couldn't resolve host name) (Could not resolve host: plex.tv)
Feb 27, 2021 09:32:42.998 [0x7f5cb89dd700] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx
Feb 27, 2021 09:32:42.999 [0x7f5cb89dd700] DEBUG - MyPlex: updating with 33 access tokens
Feb 27, 2021 09:32:42.999 [0x7f5cb89dd700] DEBUG - HTTP requesting GET https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx
Feb 27, 2021 09:32:42.999 [0x7f5cb89dd700] ERROR - Error issuing curl_easy_perform(handle): 6
Feb 27, 2021 09:32:42.999 [0x7f5cb89dd700] WARN - HTTP error requesting GET https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx (6, Couldn't resolve host name) (Could not resolve host: plex.tv)
-
Somehow, it eventually does resolve via IPv6 ( You really need the IPv4 turned on as well. I have the same ISP as you. Run IPv4 and IPv6)
-
Along the way, some playback has HW, some doesn’t.
I m seeing the 2160p 7.1 channel → 1080p in hardware (hw) here.
Look at the `TPU
Feb 27, 2021 09:38:40.838 [0x7f5c437fe700] DEBUG - [Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Feb 27, 2021 09:38:40.838 [0x7f5c437fe700] DEBUG - [Transcode] [FFMPEG] - Created surface 0.
Feb 27, 2021 09:38:40.838 [0x7f5c437fe700] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Feb 27, 2021 09:38:40.839 [0x7f5c437fe700] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Feb 27, 2021 09:38:40.840 [0x7f5c437fe700] DEBUG - [Transcode/JobRunner] Job running: EnableExtendedVaFormats='1' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' NEOReadDebugKeys='1' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxx' '/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:2' 'dca' '-ss' '1772' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/home/eddie/Videos/Jurassic World (2015).mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=1920:h=1080: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]' '-metadata:s:0' 'language=eng' '-codec:0' 'h264_vaapi' '-b:0' '13682k' '-maxrate:0' '18243k' '-bufsize:0' '36486k' '-r:0' '23.975999999999999' '-filter_complex' '[0:2] aresample=async=1:ocl='\''5.1'\'':rematrix_maxval=0.000000dB:osr=48000[6]' '-map' '[6]' '-metadata:s:1' 'language=eng' '-codec:1' 'libopus' '-b:1' '687k' '-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/sn7djuzxha0d9dd209tn5qao/f5427bf3-1001-445b-a81c-25ed51e14063/seglist?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:g' '-1' '-map_metadata:c' '-1' '-map_chapters' '-1' 'chunk-%05d' '-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/sn7djuzxha0d9dd209tn5qao/f5427bf3-1001-445b-a81c-25ed51e14063/progress'
Feb 27, 2021 09:38:40.840 [0x7f5c437fe700] DEBUG - [Transcode/JobRunner] Jobs: Starting child process with pid 3751
Feb 27, 2021 09:38:40.846 [0x7f5c917fa700] DEBUG - Request: [127.0.0.1:56586 (Loopback)] PUT /video/:/transcode/session/sn7djuzxha0d9dd209tn5qao/f5427bf3-1001-445b-a81c-25ed51e14063/progress?status=startup (16 live) Signed-in Token (edified) (range: bytes=0-)
As soon as subtitles are enabled, HW is disabled because Intel doesn’t support that in hardware. The CPU must perform the overlay
Feb 27, 2021 09:38:54.568 [0x7f5c42ffd700] DEBUG - [Transcode] Created thumbnail of size 360x360, has pixels: 1
Feb 27, 2021 09:38:54.573 [0x7f5cba9e1700] DEBUG - Completed: [192.168.86.201:60672] 200 GET /photo/:/transcode?width=360&height=360&minSize=1&upscale=1&url=https%3A%2F%2Fmetadata-static.plex.tv%2Fpeople%2F5d7768273c3c2a001fbcb217.jpg (11 live) TLS GZIP 119ms 14614 bytes (pipelined: 6)
Feb 27, 2021 09:38:54.597 [0x7f5c917fa700] DEBUG - [Transcode] Transcoder segment range: 0 - 1 (1)
Feb 27, 2021 09:38:54.597 [0x7f5c437fe700] DEBUG - [Transcode] Transcoder segment range: 0 - 2 (1)
Feb 27, 2021 09:38:54.601 [0x7f5cba1e0700] DEBUG - Auth: authenticated user 1 as edified
Feb 27, 2021 09:38:54.601 [0x7f5c427fc700] DEBUG - Request: [192.168.86.200:61145 (Subnet)] GET /video/:/transcode/universal/start?hasMDE=1&path=%2Flibrary%2Fmetadata%2F1&mediaIndex=0&partIndex=0&protocol=http&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=lan&maxVideoBitrate=20000&directStreamAudio=1&mediaBufferSize=76800&session=sn7djuzxha0d9dd209tn5qao&offset=1535&subtitles=auto©ts=1&Accept-Language=en (12 live) TLS Signed-in Token (edified) (range: bytes=0-)
Feb 27, 2021 09:38:54.601 [0x7f5c427fc700] DEBUG - [Transcode] Found session GUID of sn7djuzxha0d9dd209tn5qao in session start.
Feb 27, 2021 09:38:54.601 [0x7f5c427fc700] DEBUG - [Transcode] TranscodeUniversalRequest: using augmented profile Konvergo
Feb 27, 2021 09:38:54.601 [0x7f5c427fc700] DEBUG - [Transcode] Downloading document http://127.0.0.1:32400/library/metadata/1?checkFiles=1&includeBandwidths=1&offset=1535&X-Plex-Client-Capabilities=protocols%3dshoutcast%2chttp-video%3bvideoDecoders%3dh264%7bprofile%3ahigh%26resolution%3a2160%26level%3a52%7d%3baudioDecoders%3dmp3%2caac%2cdts%7bbitrate%3a800000%26channels%3a2%7d%2cac3%7bbitrate%3a800000%26channels%3a2%7d&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=rlmnxtm3kpfz4p39nxldte29
Feb 27, 2021 09:38:54.601 [0x7f5c427fc700] DEBUG - [Transcode] Auth: authenticated user 1 as edified
Feb 27, 2021 09:38:54.604 [0x7f5c427fc700] DEBUG - [Transcode] It took 0.000000 ms to retrieve 102 items.
Feb 27, 2021 09:38:54.605 [0x7f5c427fc700] DEBUG - [Transcode] Audio Stream: 3, Subtitle Stream: 0
Feb 27, 2021 09:38:54.605 [0x7f5c427fc700] DEBUG - [Transcode] Destroying existing session, reference count = 5
Feb 27, 2021 09:38:54.605 [0x7f5c427fc700] DEBUG - [Transcode] Cleaning directory for session sn7djuzxha0d9dd209tn5qao ()
Feb 27, 2021 09:38:54.605 [0x7f5c427fc700] DEBUG - [Transcode] Killing job.
Feb 27, 2021 09:38:54.605 [0x7f5c427fc700] DEBUG - [Transcode] Signalling job ID 3789 with 9
Feb 27, 2021 09:38:54.606 [0x7f5c427fc700] DEBUG - [Transcode] Job was already killed, not killing again.
Feb 27, 2021 09:38:54.606 [0x7f5c427fc700] DEBUG - [Transcode] Stopping transcode session sn7djuzxha0d9dd209tn5qao
Feb 27, 2021 09:38:54.606 [0x7f5c677fe700] DEBUG - [Transcode] Cleaning directory for session sn7djuzxha0d9dd209tn5qao (/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-sn7djuzxha0d9dd209tn5qao-f5427bf3-1001-445b-a81c-25ed51e14063)
Feb 27, 2021 09:38:54.606 [0x7f5c427fc700] DEBUG - [Transcode] Starting a transcode session sn7djuzxha0d9dd209tn5qao at offset -1.0 (state=3)
Feb 27, 2021 09:38:54.606 [0x7f5c927fc700] DEBUG - [Transcode] Job was already killed, not killing again.
Feb 27, 2021 09:38:54.606 [0x7f5c927fc700] DEBUG - [Transcode] Job was already killed, not killing again.
Feb 27, 2021 09:38:54.606 [0x7f5c927fc700] DEBUG - [Transcode] Whacked session sn7djuzxha0d9dd209tn5qao, 1 remaining.
Feb 27, 2021 09:38:54.607 [0x7f5c427fc700] DEBUG - [Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Feb 27, 2021 09:38:54.607 [0x7f5c427fc700] DEBUG - [Transcode] [Universal] Using local file path instead of URL: /home/eddie/Videos/Jurassic World (2015).mkv
Feb 27, 2021 09:38:54.607 [0x7f5c427fc700] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: , final encoder:
Feb 27, 2021 09:38:54.607 [0x7f5c427fc700] DEBUG - [Transcode/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-codec:2' 'dca' '-ss' '1535' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/home/eddie/Videos/Jurassic World (2015).mkv' '-filter_complex' '[0:0]scale=w=1920:h=1080[0];[0]format=p010,tonemap=mobius[1];[1]format=pix_fmts=yuv420p|nv12[2]' '-map' '[2]' '-metadata:s:0' 'language=eng' '-codec:0' 'libx264' '-crf:0' '17' '-maxrate:0' '18243k' '-bufsize:0' '36486k' '-r:0' '23.975999999999999' '-preset:0' 'veryfast' '-x264opts:0' 'subme=0:me_range=4:rc_lookahead=10:me=hex:8x8dct=0:partitions=none' '-filter_complex' '[0:2] aresample=async=1:ocl='\''5.1'\'':rematrix_maxval=0.000000dB:osr=48000[3]' '-map' '[3]' '-metadata:s:1' 'language=eng' '-codec:1' 'libopus' '-b:1' '687k' '-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/sn7djuzxha0d9dd209tn5qao/8476a147-229f-492c-a6f3-43f56f69c138/seglist?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:g' '-1' '-map_metadata:c' '-1' '-map_chapters' '-1' 'chunk-%05d' '-start_at_zero' '-copyts' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/sn7djuzxha0d9dd209tn5qao/8476a147-229f-492c-a6f3-43f56f69c138/progress'
Feb 27, 2021 09:38:54.607 [0x7f5c427fc700] DEBUG - [Transcode/JobRunner] Jobs:
Suggestions:
- Go into the network settings
- Enable IPv4
- Get the machine dual stack running.
- Verify you’re getting both V4 & V6 from the modem/router. (I can see both in mine)
- Restart PMS
- Play something without subtitles – You should see
(hw).
- After 20 seconds, stop playback.
- Download and attach those logs if you don’t see it.