HDR tone mapping on Synology platforms

Can you please provide steps to get this working on Synology NAS ? Give PLEX application available DMS Manager, I can’t install the ocl-icd-libopencl1 beignet-opencl-icd packages manually.

I have attached a screenshot from DSM.

Also I can see 1940785 downloads of PLEX Synology APP and I think it’s not fair to abandon these PLEX users.

However I have posted in Synology forum and will see the response.

NOTE: I can’t install the packages directly via the Synology terminal as it’s a closed platform.

**admin@PanchiDS** : **/** $ sudo apt install ocl-icd-libopencl1 beignet-opencl-icd

Password:

sudo: apt: command not found

**admin@PanchiDS** : **/** $

@AliveKiller

I have moved your posts here, into a server-synology tagged thread.
You were posting in the server-unraid thread which was not applicable.

  1. I see your posts and attempts to edit them after the fact. PLEASE … If it was fair to say then, it should be fair to stand up now – without revision.

  2. The initial limited release of HDR tonemapping is On those platforms which have the support packages (libraries) available.

  3. Synology does not offer those packages natively. We will need to.

  4. We are moving as fast as we can to make it available natively on all NAS platforms which will work but that takes time. Those libraries are, frankly, a HUGE pain to build for each vendor / package variant.

  5. If you are unwilling to wait, Be Advised:

  • LinuxServer.io folks have upgraded their image to include the Ubuntu 20.04 libraries (these are needed)

  • LinuxServer.io folks have, at our request, included the Ubuntu packages for Beignet and OpenCL.

  • You can convert your existing DSM 6 installation to Docker by :
    a. Disabling the native Plex Media Srever package
    b. Creating the container Plex Docker container
    c. Configure the new docker container to point to the directories which are your existing “Plex Media Server” installation.
    d. Start the container.

You’ll have what you are demanding to now have.

Thanks. I don’t have any media in this folder at all. My Library folder is 85GM without media due to thumbnails.

Thanks. I edited as once you moved the post key information was missing and people who read don’t get the full picture.

I am willing to wait as I can see 1940785 downloads of this app and I am sure PLEX will work with Synology to get the missing packages in to the NAS OS.

To help the PLEX Community, I will also follow up with Synology and will keep this post updated.

We actually have a very good working relationship with Synology.

They have been extremely easy to work with as we bring Plex Media Server to DSM 7.

They, as much as we, have a vested interest in Plex on Synology devices.

If I may be frank about it, we don’t need reminding about the number of downloads from the Syno Package Center but thanks anyway.

3 Likes

I’ve been over this thread a couple of times. The way I read it, @AliveKiller already has HDR to SDR tonemapping in software, and the DS1817+ cannot support it in hardware due to the Atom CPU not having Quick Sync Graphics.

Am I missing something?

  1. According to the support document, HDR to SDR tonemapping exists now for software (CPU) transcoding, including on NAS.

  2. beignet and OpenCL are required for hardware (Intel GPU) tonemapping, not for software (CPU) tonemapping.

  3. @AliveKiller has a DS1817+, per Synology forum thread.

  4. The DS1817+ has the Intel Atom C2538 CPU, which does not have Intel Quick Sync Graphics, so supports neither hardware accelerated transcoding nor hardware based tonemapping. References: Plex NAS Spreadsheet, Intel Atom C2538.

Therefore:

@AliveKiller already has HDR to SDR tonemapping, albeit s/w based, as the DS1817+ is not capable of hardware based transcoding or tonemapping.

1 Like

@FordGuy61 Thanks for saving me the pain. I will migrate from NAS to my iMAC as then I can use SW transcoding.

Thanks again for clarity…

Yes, I believe you are correct. However, there are other Synology models that do support hardware transcoding, such as the DS1019+. I have one of these, and was able to achieve four simultaneous 4k -> 1080p streams without hiccups with tone-mapping disabled. With tone-mapping enabled, the plex transcoder will default to software transcoding since the hardware drivers for this feature are not yet available on DSM. I’m going to be patient and wait for native support in a future update.

On a side note, I’m really loving how the Plex team is working hard to improve their software and I’m really excited for these hardware drivers to be added in the future! Great job team!

2 Likes

+1! I migrated my Plex server to Synology with one of the requirements that it would have to be able to transcode 4K if need be. This was before I knew about tone mapping unfortunately so upgrading my library to 4k would have to wait. Now I’m stoked to be able to soon enjoy it on any client!

1 Like

I also just bought a DS1520+ to be able to transcode 4k footage. Am I correct in the assumption that hardware Transcoding with HDR tone mapping will come in the future?

Yes, native support is being worked on. If you can’t wait it’s already available for docker.

1 Like

Any news about the progress?
Thanks

Hi ChuckPa,

I’m looking to convert the existing native Plex PMS to docker on my DS918. Your guide seems straight forward to follow. I plan to copy the needed existing folders from the Plex share folder to a new dock folder and delete the Plex share after everything tested fine - as Plex in DSM7 doesn’t need it anyway.

One thing I’m not sure about is “Configure the new docker container to point to the directories which are your existing “Plex Media Server” installation.” Could you provide more detail which folders I should create the map? and map to which path in the docker config?

What I mean by mapping (overlaying) on DSM 6 means:

  1. /config → /volume1/Plex (or wherever the plex share is)

  2. PLEX_UID → the UID of user plex (found by using SSH in the syno – grep plex /etc/passwd)

  3. PLEX_GID → 100 (maps to users)

  4. /data → /volume1 (presumes everything exists on /volume)

-or this style-

/data/movies:   /volume1/movies
/data/tv:       /volume2/tv 

Think how PMS exists on Synology.
Now look at how PMS exists in a container: Either /data/XXX or /config (your server itself)

That’s the map.

Write it out and show me if you’d like

My setup:
sudo docker create \

–name=plex \

–shm-size=4g \ (if you want RAM transcoding)

–net=host \

-e TZ=xxx \

-e PLEX_CLAIM=xxx \

-e PUID=xxx \

-e PGID=xxx \

-e VERSION=latest \

-e UMASK_SET=022 \

-v /volume2/plex:/config \

-v /volume1/Movies/:/Movies \

-v /volume1/TV Shows/:/TV Shows \

–device=/dev/dri:/dev/dri \

–restart unless-stopped \

linuxserver/plex:latest

Did you guys make any progress on this ? Last posts are from early March so I’m hoping for some progress on this ?

2 Likes

doesnt depend me, but do you have a capable synology (hardware based) which can handle hevc 10bit … software based wont be funny due its really cpu hungry … just as note.

I hope my DS918+ could handle it (in hardware)
In software its definately a no-no.

I’m not running Plex in Docker (I’m using native package) and I prefer not to go that way.

4 Likes

Just made the switch from the native package on my DS420+. Gotta say, when mapping it to the existing installation, it went really smooth and the tone mapping is working really nice now. Time to drop the 1080p surrogate files for the 4K movies/series.
Just a question since the DSM 7 update is around the corner: The docker install won’t be affected by the upgrade?

Does the docker image work on DSM 7? I would prefer to run Plex natively though so is there any expected timeline when\if HDR tone mapping compatibility via hardware will be added?

3 Likes