HDR Tone Mapping in PMS Synology via Docker Workaround from FAQ #28

Hoping that @ChuckPa can provide some insight on this…

On my Synology DS 1520+ running up-to-date native PMS app, I’ve attempted to complete the FAQ #28 workaround via Docker on my setup, in hopes of getting HDR Tone Mapping working for 4K HDR content.

After following the initial FAQ script, I got an email confirming as follows:

Task​ ​Scheduler​ ​has​ ​completed​ ​a​ ​scheduled​ ​task.

Task:​ ​Plex​ ​Docker​ ​HW​ ​Transcoding​ ​Container
Start​ ​time:​ ​Mon,​ ​25​ ​Apr​ ​2022​ ​17:55:49​ ​GMT
Stop​ ​time:​ ​Mon,​ ​25​ ​Apr​ ​2022​ ​17:55:52​ ​GMT
Current​ ​status:​ ​125​ ​(Interrupted)
Standard​ ​output/error:
225fa5df41ac9fcc88a4aaad5adff71c5384f8fd00734a2bee88ee4a538e9bae
docker:​ ​Error​ ​response​ ​from​ ​daemon:​ ​Bind​ ​mount​ ​failed:​ ​’/volume2’​ ​does​ ​not​ ​exists

I removed the script line mentioning Volume 2, with the script as follows:

docker run
-d
–name Plex
–network=host
-e TZ=“PST”
-e LANG=“en_US.UTF-8”
-e PUID=297536
-e PGID=297536
-e PLEX_UID=297536
-e PLEX_GID=297536
-h dockerplex
-v /volume1/PlexMediaServer/AppData:“/config/Library/Application Support”
-v /volume1/PlexMediaServer/AppData/tmp:/tmp
-v /volume1/PlexMediaServer/AppData/tmp:/transcode
-v /volume1:/volume1
–device=/dev/dri:/dev/dri
plexinc/pms-docker:plexpass

I, then, ran again, and received the following:

Task​ ​Scheduler​ ​has​ ​completed​ ​a​ ​scheduled​ ​task.

Task:​ ​Plex​ ​Docker​ ​HW​ ​Transcoding​ ​Container
Start​ ​time:​ ​Mon,​ ​25​ ​Apr​ ​2022​ ​17:57:00​ ​GMT
Stop​ ​time:​ ​Mon,​ ​25​ ​Apr​ ​2022​ ​17:57:04​ ​GMT
Current​ ​status:​ ​0​ ​(Normal)
Standard​ ​output/error:
b5dbc3d8f3c0fefba4900e1c2bf2c6430c334e1a4da72c8c34356c4e13e18443

Assuming this was confirmation that all was well with the script, I checked Docker-Container for the green light below:

I then turned on HDR Tone Mapping in PMS native app settings as shown below:


With all of the above complete, I tested a high bitrate, 4K HDR 10 copy of the most-recent Spider-Man and saw a PMS status as follows:

image

The playback resulted in the same issue as prior to this Docker FAQ #28 workaround, with Plex buffering for an extended time, a frame of the media file showing on-screen, and then momentary playback followed by the same endless buffer cycle.

The Docker-Container-Log is as attached:

Plex.zip (12.1 KB)


Any idea what went wrong?

I can’t tell from those logs. They aren’t server logs.

I need you to verify DEBUG logging is still enabled (Default is ON)
Start Playback again – recreate
Stop Playback
Settings - Server - Troubleshooting - Download Logs

Attach that ZIP file please.

Thank you for the support, @ChuckPa.

I followed the following loop with the same movie file I stated in my original post:

  1. Ensured HDR Tone Mapping was enabled and started playback.
  2. After playback failed above, returned to Settings to disable HDR Tone Mapping.
  3. With Tone Mapping disabled, resumed playback successfully for several seconds.
  4. Returned to Settings, re-enabled Tone Mapping, and resumed playback one, final time to ensure failure.

Hopefully, this is reflected in the logs attached.

Plex Media Server Logs_2022-04-25_20-34-23.zip (1.5 MB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.