Movie corruption when plex decodes 4K HDR

CPU: i5-13600k
OS: Ubuntu 22.04 LTS linux kernel 6.1

When you start to decode HDR, will see:

Am going to need Debug log files zip.

Also would like to know why you’re running the 6.1 kernel. You have a device which needs it?

On our test machine, it plays perfectly. (Streaming from the lab to my desktop)

plexqa@plexqa-av1:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.10"
NAME="Ubuntu"
VERSION_ID="22.10"
VERSION="22.10 (Kinetic Kudu)"
VERSION_CODENAME=kinetic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=kinetic
LOGO=ubuntu-logo
plexqa@plexqa-av1:~$ dpkg -l | grep plexmed
ii  plexmediaserver                            1.31.1.6733-bc0674160                    amd64        Plex organizes all of your personal media so you can easily access and enjoy it.
plexqa@plexqa-av1:~$ uname -a
Linux plexqa-av1 5.19.0-35-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 3 18:36:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
plexqa@plexqa-av1:~$ cat /proc/cpuinfo | grep 'model name' | head -1
model name	: 13th Gen Intel(R) Core(TM) i5-13400
plexqa@plexqa-av1:~$

Screenshot from 2023-03-15 01-00-52

When I turned off HDR tone mapping, everything went back to normal.
Plex Media Server Logs_2023-03-15_07-24-38.zip (1.3 MB)

I am using SR-IOV based video card pass-through, So I need to use Linux 6.1.

@Sh_Cby

Looking at this deeper.

Where is the SR-IOV virtualization rooted? (which VM hypervisor)
We’re trying to understand the environment. From our experience;

  1. This is a VM
  2. The GPU card might/might not be in the same chassis as the CPU.
  3. There might not be enough bandwidth to support the data flying around during HW tonemapping

How much of this do we have correct? Please detail / educate where needed ?

  • VM ?
  • GPU in / not-in same chassis with PMS
  • LAN connectivity speeds
  1. Yes, this is a virtual machine, and the virtual machine environment is Proxmox Ve 7.3-6(Debian11 With KVM/QEMU).

2.My CPU and GPU are on the same motherboard, even they are on the same CPU (UHD770).

00:02.0 VGA compatible controller: Intel Corporation Device a780 (rev 04)
00:02.1 VGA compatible controller: Intel Corporation Device a780 (rev 04)
00:02.2 VGA compatible controller: Intel Corporation Device a780 (rev 04)
00:02.3 VGA compatible controller: Intel Corporation Device a780 (rev 04)
00:02.4 VGA compatible controller: Intel Corporation Device a780 (rev 04)
00:02.5 VGA compatible controller: Intel Corporation Device a780 (rev 04)
00:02.6 VGA compatible controller: Intel Corporation Device a780 (rev 04)
00:02.7 VGA compatible controller: Intel Corporation Device a780 (rev 04)

3.But my movies are stored on my NAS and they use NFS to transfer the data and the LAN speed is 2500mbps (2.5G)

Another addition, I am using Docker deployment.

Thank you for that additional detail.

I had another user with this problem.

I’ve reached out to ProxMox folks for some info as ProxMox is not an officially supported distro. Yes, I know it’s on a Debian base but the PVE packages change enough of it to make it something else.

The QEMU/KVM is an issue.

Have you attempted to use a LXC (which ProxMox is also good at doing) ?

I am suggesting this because

  1. the LXC is thinly abstracted (a namespace abstraction) from the base host (debian 11).
  2. Passing GPUs through to containers is trivial and reliable.
  3. Since the container isn’t a ā€œFull up OSā€ , the hardware isn’t abstracted (major slowdown)
  4. Others here tend to favor ProxMox LXC’s over VMs for that reason.

Unfortunately, LXC does not meet my requirements for the server (each application cannot affect the use of the host).

That’s why I considered using SR-IOV to virtualize the UHD770, not LXC directly.

Of course, I’m not accusing LXC of not being ā€œvirtualizedā€ enough. But there is a problem with LXC running Docker and you can see the process name of the LXC running application in the host, right?

The whole point with LXC is you run a ā€˜native’ DEB / RPM in the LXC

Remember,

VM = Virtualized hardware
LXC = Virtualized OS
Docker = Virtualized application

When you setup the LXC host correctly, it appears as a host on your LAN.

LXD makes all this quite trivial (Screenshot of my containers)

Is there no way to fix this problem at the moment?

This is what I’m not understanding.

PMS uses the Nvidia-encode and Nvidia-decode drivers of the card
(we’re getting video)

PMS then uses OpenCL for the tonemapping (the CUDA layer). This is where the breakdown is occurring.

What are you doing to the card?

Does the card ā€œexistā€ in the same process namespace as PMS or have you abstracted it in this ā€œSR-IOVā€ ?

( I did ask folks about SR-IOV and outside of ESXi and Nvidia GPU Manager functons, nobody knew what the heck it is. )

Can you please explain further what you’re trying to do?

Asking because

  1. If we’re not doing something we should be – then we’ll get on it.
  2. If there is an abstraction layer which Nvidia drivers aren’t working with – We can look into that with you.
  3. If it’s something else, we’ll figure that out too.

But I’m not using an Nvidia card, I’m using an Intel UHD770, and their UHD770 already supports SR-IOV, and I can already use it.

I think the reason for the error is that the PMS is not ready to support UHD7XX.

I’m sorry if I’m mixing Nvidia. Our QA system has both Nvidia AV1 capability.

PMS does support UHD7xx. This is our QA system. We purpose built it with this CPU just for this capability.

plexqa@plexqa-av1:~$ cat /proc/cpuinfo | grep model\ name | uniq
model name	: 13th Gen Intel(R) Core(TM) i5-13400
plexqa@plexqa-av1:~$ 

The screenshots above are from this system.

Does the error log detail the cause of this problem? I would like to provide more clues to help PMS fix this problem.

Detailing your logs:

  1. You might want to address this, It’s not contributing anything except tons of noise in the logs
Mar 14, 2023 13:23:55.557 [0x7f7e0d6c5b38] DEBUG - [HttpClient/HCl#2db8] HTTP/1.1 (0.0s) 403 response from GET http://10.10.10.113:1900/igd.xml
Mar 14, 2023 13:24:25.537 [0x7f7e093fcb38] DEBUG - [NSB/SSDP] Parsing SSDP schema for http://10.10.10.113:1900/igd.xml
Mar 14, 2023 13:24:25.559 [0x7f7e0d6c5b38] DEBUG - [HttpClient/HCl#2db9] HTTP/1.1 (0.0s) 403 response from GET http://10.10.10.113:1900/igd.xml
Mar 14, 2023 13:24:55.540 [0x7f7e093fcb38] DEBUG - [NSB/SSDP] Parsing SSDP schema for http://10.10.10.113:1900/igd.xml
  1. DNS rebinding protection is active at the router. If you can, this will be quieted by creating a rule to allow *.plex.direct.
Mar 14, 2023 13:25:55.755 [0x7f7e0b67bb38] ERROR - getaddrinfo(10-10-10-13.abcdefghijklmnopqrstuvwxyz012345.plex.direct) failed: -2
Mar 14, 2023 13:25:55.755 [0x7f7e0b67bb38] DEBUG - Network: 10-10-10-13.abcdefghijklmnopqrstuvwxyz012345.plex.direct failed to resolve to 10.10.10.13 but instead yielded ""
  1. This entire block looks perfectly normal – UNTIL the very last line – Android player.
Mar 15, 2023 04:11:33.259 [0x7fa5dfd4bb38] DEBUG - [Req#10b4/Transcode/b764698444d27de9-com-plexapp-android] [FFMPEG] - Direct mapping possible.
Mar 15, 2023 04:11:33.259 [0x7fa5dfd4bb38] DEBUG - [Req#10b4/Transcode/b764698444d27de9-com-plexapp-android] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Mar 15, 2023 04:11:33.259 [0x7fa5dfd4bb38] DEBUG - [Req#10b4/Transcode/b764698444d27de9-com-plexapp-android/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/7e8dc7a-4467-linux-x86_64/' LIBVA_DRIVERS_PATH=/usr/lib/plexmediaserver/lib/dri OCL_ICD_VENDORS="/config/Library/Application Support/Plex Media Server/Cache/CL-ICDs" X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx4618-8b72-6ac5edd38498 cl_cache_dir="/config/Library/Application Support/Plex Media Server/Cache/Shaders/icr-9-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 aac_lc -analyzeduration 20000000 -probesize 20000000 -i '/video/电影/天气之子 (2019)/天气之子 (2019) 2160p AAC.mkv' -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=1280:h=720: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=jpn -codec:0 h264_vaapi -b:0 2562k -maxrate:0 3416k -bufsize:0 6832k -r:0 23.975999999999999 -force_key_frames:0 "expr:gte(t,n_forced*3)" -filter_complex "[0:1] aresample=async=1:ochl='5.1':rematrix_maxval=0.000000dB:osr=48000[6]" -map "[6]" -metadata:s:1 language=jpn -codec:1 libopus -b:1 336k -segment_format matroska -f ssegment -individual_header_trailer 0 -flags +global_header -segment_header_filename header -segment_time 3 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/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 output_ts_offset=10 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata:g -1 -map_metadata:c -1 -map_chapters -1 "media-%05d.ts" -start_at_zero -copyts -vsync cfr -init_hw_device vaapi=vaapi:/dev/dri/renderD128 -filter_hw_device vaapi -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress
Mar 15, 2023 04:11:33.259 [0x7fa5dfd4bb38] DEBUG - [Req#10b4/Transcode/b764698444d27de9-com-plexapp-android/JobRunner] In directory: "/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-b764698444d27de9-com-plexapp-android-3155cc87-07d0-4f60-9f2f-360c98ac93ca"
Mar 15, 2023 04:11:33.260 [0x7fa5dfd4bb38] DEBUG - [Req#10b4/Transcode/b764698444d27de9-com-plexapp-android/JobRunner] Jobs: Starting child process with pid 3783
Mar 15, 2023 04:11:33.265 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=startup (7 live) #10a2 Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.266 [0x7fa5e37e4b38] DEBUG - Completed: [127.0.0.1:47272] 204 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=startup (7 live) #10a2 0ms 203 bytes (pipelined: 1) (range: bytes=0-) 
Mar 15, 2023 04:11:33.270 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=startup (7 live) #10b6 Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.270 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 204 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=startup (7 live) #10b6 0ms 203 bytes (pipelined: 2) (range: bytes=0-) 
Mar 15, 2023 04:11:33.271 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=opening (7 live) #10b7 Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.271 [0x7fa5e37e4b38] DEBUG - Completed: [127.0.0.1:47272] 204 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=opening (7 live) #10b7 0ms 203 bytes (pipelined: 3) (range: bytes=0-) 
Mar 15, 2023 04:11:33.271 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=opened (7 live) #10b8 Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.272 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 204 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?status=opened (7 live) #10b8 0ms 203 bytes (pipelined: 4) (range: bytes=0-) 
Mar 15, 2023 04:11:33.272 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/stream?index=0&id=0&codec=hevc&type=video (7 live) #10b9 Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.272 [0x7fa5e37e4b38] DEBUG - Completed: [127.0.0.1:47272] 200 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/stream?index=0&id=0&codec=hevc&type=video (7 live) #10b9 0ms 195 bytes (pipelined: 5) (range: bytes=0-) 
Mar 15, 2023 04:11:33.288 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/stream?index=1&id=0&codec=aac&type=audio&profile=LC (7 live) #10ba Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.288 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 200 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/stream?index=1&id=0&codec=aac&type=audio&profile=LC (7 live) #10ba 0ms 195 bytes (pipelined: 6) (range: bytes=0-) 
Mar 15, 2023 04:11:33.288 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&language=jpn&width=3840&height=2160&interlaced=0&sar=1:1&level=180&frameRate=23.976&disp_default=1 (7 live) #10bb Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 200 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&language=jpn&width=3840&height=2160&interlaced=0&sar=1:1&level=180&frameRate=23.976&disp_default=1 (7 live) #10bb 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=1&id=0&codec=aac&type=audio&profile=LC&language=jpn&channels=6&layout=5.1&sampleRate=48000&disp_default=1 (7 live) #10bc Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 200 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=1&id=0&codec=aac&type=audio&profile=LC&language=jpn&channels=6&layout=5.1&sampleRate=48000&disp_default=1 (7 live) #10bc 0ms 195 bytes (pipelined: 8) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=2&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=jpn&disp_default=1 (7 live) #10bd Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 200 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=2&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=jpn&disp_default=1 (7 live) #10bd 0ms 195 bytes (pipelined: 9) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=3&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=eng (7 live) #10be Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 200 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=3&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=eng (7 live) #10be 0ms 195 bytes (pipelined: 10) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=4&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=chi (7 live) #10bf Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.289 [0x7fa5e39e7b38] DEBUG - Completed: [127.0.0.1:47272] 200 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress/streamDetail?index=4&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=chi (7 live) #10bf 0ms 195 bytes (pipelined: 11) (range: bytes=0-) 
Mar 15, 2023 04:11:33.291 [0x7fa5e10aab38] DEBUG - Request: [127.0.0.1:47272 (Loopback)] PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?duration=6733.737000 (7 live) #10c0 Signed-in Token (Sh_Cby) (range: bytes=0-) 
Mar 15, 2023 04:11:33.291 [0x7fa5dfd4bb38] DEBUG - [Req#10b4/Transcode/b764698444d27de9-com-plexapp-android] Started session successfully: b764698444d27de9-com-plexapp-android
Mar 15, 2023 04:11:33.291 [0x7fa5e37e4b38] DEBUG - Completed: [127.0.0.1:47272] 204 PUT /video/:/transcode/session/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca/progress?duration=6733.737000 (7 live) #10c0 0ms 203 bytes (pipelined: 12) (range: bytes=0-) 
Mar 15, 2023 04:11:33.291 [0x7fa5dfd4bb38] DEBUG - [Req#10b4/Transcode/b764698444d27de9-com-plexapp-android] HLS: Building an M3U8 for 6734 total seconds with 3 seconds/segment, target duration of 3.
Mar 15, 2023 04:11:33.293 [0x7fa5e39e7b38] DEBUG - Completed: [10.10.10.128:39622] 200 GET /video/:/transcode/universal/session/b764698444d27de9-com-plexapp-android/base/index.m3u8 (7 live) #10b4 TLS GZIP 35ms 6088 bytes (pipelined: 7)
Mar 15, 2023 04:11:33.359 [0x7fa5e10aab38] DEBUG - Request: [10.10.10.128:39622 (Subnet)] GET /video/:/transcode/universal/session/b764698444d27de9-com-plexapp-android/base/header (7 live) #10c4 TLS Signed-in
Mar 15, 2023 04:11:33.498 [0x7fa5dfd4bb38] ERROR - [Req#10c2/Transcode/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca] [AVHWDeviceContext @ 0x7f6adaade800] No matching devices found.

then it continues on its way as if normal

Mar 15, 2023 04:11:33.551 [0x7fa5dfd4bb38] DEBUG - [Req#10b5/Transcode/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca] Transcoder segment range: 0 - 0 (-1)
Mar 15, 2023 04:11:34.008 [0x7fa5dfd4bb38] DEBUG - [Req#10c7/Transcode/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca] Transcoder segment range: 0 - 0 (0)
Mar 15, 2023 04:11:34.008 [0x7fa5db048b38] DEBUG - [Req#10ca/Transcode/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca] Transcoder segment range: 0 - 1 (0)

It plays down to block #19 and then stops (User abort)

Mar 15, 2023 04:11:40.653 [0x7fa5db048b38] DEBUG - [Req#112e/Transcode/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca] Transcoder segment range: 0 - 18 (18)
Mar 15, 2023 04:11:40.653 [0x7fa5e10aab38] DEBUG - [Req#1133/Transcode/b764698444d27de9-com-plexapp-android/3155cc87-07d0-4f60-9f2f-360c98ac93ca] Transcoder segment range: 0 - 19 (18)
Mar 15, 2023 04:11:40.722 [0x7fa5dfd4bb38] DEBUG - [Req#1131/Transcode/b764698444d27de9-com-plexapp-android] Returning segment 18 from session
Mar 15, 2023 04:11:40.722 [0x7fa5dfd4bb38] DEBUG - Content-Length of /config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-b764698444d27de9-com-plexapp-android-3155cc87-07d0-4f60-9f2f-360c98ac93ca/media-00018.ts is 1030245 (of total: 1030245).
Mar 15, 2023 04:11:40.723 [0x7fa5e39e7b38] DEBUG - Completed: [10.10.10.128:39622] 200 GET /video/:/transcode/universal/session/b764698444d27de9-com-plexapp-android/base/00018.ts (10 live) #1131 TLS 301ms 1030245 bytes (pipelined: 26)
Mar 15, 2023 04:11:40.723 [0x7fa5e39e7b38] DEBUG - Removed transcode data consumer, active count 1 => 0
Mar 15, 2023 04:11:40.780 [0x7fa5db048b38] DEBUG - Request: [10.10.10.128:39622 (Subnet)] GET /video/:/transcode/universal/session/b764698444d27de9-com-plexapp-android/base/00019.ts (9 live) #1137 TLS Signed-in
Mar 15, 2023 04:11:40.780 [0x7fa5db048b38] DEBUG - [Req#1137/Transcode/b764698444d27de9-com-plexapp-android] Asked for segment 19 from session.
Mar 15, 2023 04:11:40.910 [0x7fa5dfd4bb38] DEBUG - Request: [10.10.10.128:39628 (Subnet)] GET /:/timeline?audioStreamID=377&bufferedTime=47079&column=8&context=home%3Ahub.movie.recentlyadded&duration=6734000&guid=plex%3A%2F%2Fmovie%2F5d7770aa96b655001fe9bda2&key=%2Flibrary%2Fmetadata%2F23&playbackTime=12595&playQueueItemID=4&ratingKey=23&row=2&state=stopped&time=9948&token=xxxxxxxxxxxxxxxxxxxx (8 live) #10d5 TLS GZIP Signed-in Token (Sh_Cby) (RMX3366)
Mar 15, 2023 04:11:40.910 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] Client [b764698444d27de9-com-plexapp-android] reporting timeline state stopped, progress of 9948/6734000ms for guid=plex://movie/5d7770aa96b655001fe9bda2, playbackTime=12595ms ratingKey=23 url=, key=/library/metadata/23, containerKey=, metadataId=23, source=
Mar 15, 2023 04:11:40.913 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] It took 0.000000 ms to retrieve 103 items.
Mar 15, 2023 04:11:40.915 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] [Now] User is Sh_Cby (ID: 1)
Mar 15, 2023 04:11:40.915 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] [Now] Device is Android (RMX3366).
Mar 15, 2023 04:11:40.915 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] [Now] Profile is Android
Mar 15, 2023 04:11:40.915 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] [Now] Updated play state for /library/metadata/23.
Mar 15, 2023 04:11:40.915 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] Statistics: (b764698444d27de9-com-plexapp-android) Reporting active playback in state 3 of type 1 (scrobble: 0) for account 1
Mar 15, 2023 04:11:40.916 [0x7fa5dfd4bb38] DEBUG - [Req#10d5] Streaming Resource: Terminating session 0x7fa5e2b5a998:b764698444d27de9-com-plexapp-android which is using transcoder slot.  Used slots is now 0
Mar 15, 2023 04:11:40.916 [0x7fa5dd169b38] DEBUG - [Req#10d5] Killing job.
Mar 15, 2023 04:11:40.916 [0x7fa5dd169b38] DEBUG - [Req#10d5] Signalling job ID 3783 with 9
Mar 15, 2023 04:11:40.916 [0x7fa5dd169b38] DEBUG - [Req#10d5] Job was already killed, not killing again.
Mar 15, 2023 04:11:40.916 [0x7fa5dd169b38] DEBUG - [Req#10d5] Stopping transcode session b764698444d27de9-com-plexapp-android
  1. If it matters, further down in the log, PMS fails the remote access test. (specified port not open)
WARN - PublicAddressManager: WAN IP is a private IP address
Mar 15, 2023 04:41:45.925 [0x7fa5e39e7b38] DEBUG - [EventSourceClient/pubsub/172.104.173.210:443] PubSub: Got notified of reachability for async identifier 76205a76-2902-4b4f-9bb7-786bd81e1ba7: 0 for XXX.XXX.XXX.XXX:19486 (responded in 387 ms)

The next question –

Does this fail with every playback device including Plex/web ?

Yes, it happens on all devices.

If you don’t mind, we can follow up through discord, and I can provide my SSH and other things.

Can you provide a link to about 30 seconds sample of the video you have which does not play?

I will play it on our system.

If it fails for us, now we have something to work with.

We don’t provide support via other sites with the exception of reddit (where we might answer simple questions. Complex issues are directed here to our forums)

How do I provide samples of HDR? It’s a hassle…