Synology DS918+ Tone mapping

So I updated and tried it out. It just constantly buffers. Will only play about 10 seconds, then buffer some more. When I disable HDR to SDR tonemapping, Plex has no issue transcoding 4K down to 1080 20mbps ect. But as soon as I enable the new feature, It renders the NAS useless. So either,

A: Tonemapping takes a whole lot of CPU power that the NAS doesn’t have.

Or

B: It’s not being implemented properly/not using hardware acceleration like it should.

  1. There is no hardware except the GPU used for actual transcoding. They have to share.

  2. NAS boxes weren’t part of this release. If you have the libraries installed, it’ll work. If not, NO.

Oh ok. How would I go about manually installing these libraries on a Synology? Or if I can’t, is there an eta on when NAS boxes will be supported? My apologies for thinking they were already supported, when I download the specific version for my NAS and the feature is already check marked for me, I thought it was good to go :expressionless:

@pluxology
Have a DS918+, same CPU. Worked out of the Box.
But you must not expect miracles. 3 Mbit transcode of a full 4kHDR movie is it. 4 Mbit and its buffering.
But it worked with two 4K HDR transcode down to 2 Mbit. Second transcode takes then around 30 sec to start. But no buffering then.

Sorry for my bad english

Best regards

What works on Synology is Linuxserver.io updated Docker image.

There is no support for the native PMS package – YET

They are working on it but the package is (frankly) HUGE to build and resolve for all platforms.

1 Like

correct, for now, disable it.
the transcoder would otherwise try to tone map and fail.

(this is first – partial – release of tone mapping)

3 Likes

Ok awesome, I appreciate the info. Almost makes me wana migrate it into Docker lol.

Also I’m curious on if there will be an implementation for the Shield. 2 updates ago they announced “local HDR to SDR tonemapping”. Can this integrate with Plex?

The Shield already provides tone mapping.

I have the Shield Pro 2019.

  1. Shield Experience 8.2 has it
  2. It also has the Dolby fixes we helped Nvidia to work out. (Dolby MAT 2.0 encapsulation)

Current version is 8.2.1

Be certain to explore the new settings in the shield device settings (right side).
A great deal was added.

I can DirectPlay 59.94 FPS 2160p 70+ Mbps video to it.
It does everything to render on 1080p and properly tone mapped.

They have all the new AI scaling and those options. I would enable everything new and set for Automatic (which I believe is the default).

If you’ve previously forced any settings, bring them back to default / auto to restart from a known good baseline.

here’s the file I can play with ZERo issues as DirectPlay.

[chuck@lizum ~.501]$ mediainfo /vie/uhd/Gemini\ Man\ \(2019\)/Gemini\ Man\ \(2019\).mkv 
General
Unique ID                                : 2111085605639470865075409627493491683 (0x196948E6E08BCA725CB9249D508E3E3)
Complete name                            : /vie/uhd/Gemini Man (2019)/Gemini Man (2019).mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 69.7 GiB
Duration                                 : 1 h 57 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 85.2 Mb/s
Movie name                               : Gemini Man
Encoded date                             : UTC 2020-01-06 06:47:55
Writing application                      : mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 57 min
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
1 Like

let me go look… it’ll be easier. I’m relatively new to the shield anyway

1 Like

advanced display settings:

  1. match color space = ON
  2. dynamic range = AUTO

those are the two

My shield is wired. If you’re trying to push high bitrate over 802.11n – and there are multiple devices – good luck.

uploading a pic now

In the spirit of this thread.

  1. The DS918+ isn’t going to have Tone Mapping natively until we get all the needed libraries available for all the different systems.
    (Engineering decided to give a bit of a holiday gift for those who had the capability now).

  2. It is be available now via LinuxServer.io Docker.

  3. It’ll come to Synology natively (it’s on my task list)

  4. It’ll probably land during or after DSM 7 preview which means DSM 6 users will get it first.

2 Likes

Very cool. I haven’t tried my Shield on my old 1080p TV yet. Was just wondering. The Shield is by far the greatest streaming box out there. I’ll keep being patient for the native Synology implementation for tonemapping. I’ve got some stuff on the way to distract me anyway, wife Pre-ordered Lord of the Rings trilogy 4K :heart_eyes:

statistics for nerds :slight_smile:
A bit like the overlay-menu you can activate while watching Youtube content.

Good question indeed, perhaps @ChuckPa has a custom PMS build with some hidden eye-candy :sunglasses:

Nerd stats… and a bit of testing “stuff”

Trumpy is right. It is in there for the most part already…

It’s all in the Shield app - no server settings.
Candidly, I’ve had it enabled for so long I forget where it is.

I will need ask when everyone is back in the office.

If it’s something like a “developer” flag , then I profoundly apologize.

On the other hand, that would also mean it will be coming out for everyone soon. :slight_smile:

Hi,

I have a question about hw acceleration and docker. When Tone mapping was introduced I decided to migrate my PMS from native app to linuxserver.io docker image. So I stopped native Plex, mapped a config path to original Plex folder, remapped volumes and did overall docker image setup. Everything worked perfectly.

However when I uninstalled the native app, HW acceleration just stopped working. So I installed the native app once again to check if HW acceleration works. It does and even docker pms hw acceleration works if the native app is installed and stopped.

Do you have any ideas how to make hw acceleration working in docker without native PMS app installed?

Thanks for any help

The native package adds the permissions rules for udev (Universal DEVice access)
Synology is very strict on enforcement.

Docker is very primitive in that regard. It assumes you have all the appropriate access and have manually changed the system to do what you’re trying to do.

We will soon have native tone mapping for Synology.
We will also have native DSM 7 support (when it releases).

My recommendation, if you want tone mapping now,

  1. Leave the native package installed.
  2. ssh into the Syno
  3. Get the UID & GID of user plex
  4. Configure the Docker to piggyback:
    a. Directories pointing to your native installation
    b. PUID = UID of native Plex
    c. PGID = GID of native Plex (will be ‘100’ = users)

Now, when it’s time to go back to native, the transition will be seamless.

1 Like