2024-11-17, 04:25 PM
(This post was last modified: 2024-11-18, 05:22 AM by quecup. Edited 6 times in total.)
(2023-12-31, 05:53 PM)Efficient_Good_5784 Wrote: This will be a short guide for Synology NAS units running DSM 7 on how to run a Jellyfin
This worked for me up until I tried playing back any HDR content. In that case I have problems (either a fatal error on the Jellyfin player, or jerky video, depending on the options) on my DS918+
The error goes back to tone mapping. This is when I'm playing HDR content on a non-HDR screen or on a screen that doesn't support the content's specific HDR type (DV, HDR10, etc).
Three paths:
- If Enable VPP Tone mapping is enabled, then I get a "fatal player error" when I try to play HDR content
- If Enable Tone mapping is enabled, then my NAS CPU is near 100%, the video stutters, and it seems that hardware transcoding is bypassed and it uses software transcoding instead. Unwatchable.
- If none are enabled (ie. tone mapping is disabled), then the HDR content plays just fine, but has no tone mapping. So, colour is off.
According to the Github bug thread [bug] 10.8.12 breaks transcoding with HDR content on Synology DS1019+ #10550 it seems that this is not going to be fixed. Can't be fixed. Intel's OpenCL driver no longer supports Linux 4.4.x (ie. every Synology device), and the only fix is to rollback to Jellyfin 10.8.11. This thread has good info on the problem.
I updated my NAS today to the latest DSM 7.2.2-72806 Update 1 which still runs the 4.4.302 kernel. Given what I've read from Synology, they are not going to jump their Linux kernel forward to regain support for Intel OpenCL's current driver. Synology has officially dropped HW encoding and decoding support with the latest DSM 7.2.2-72806. Is this in reaction to Intel dropping support for Linux 4.4.x? Either way, I can't see Synology fixing this after putting out a press release saying that breaking codec support is a new and improved feature, not a bug.
This took me a long time to figure out. Can you add to your instructions, that Synology owners who intend to HW transcode their HDR content, should use Jellyfin 10.8.11 instead of the latest version. And if they intend to go with the latest Jellyfin anyway, they should disable both tone mapping options. Otherwise, stutters and crashes will happen with every HDR video that needs transcoding.
It seems plausible that future Jellyfin versions (with baked in Intel driver updates) could break Synology HW decoding further. Right now, it's just HDR tone mapping that's broken on versions after 10.8.11.
As for me, I'm going to live with the bad colours for now, and possibly try pre-transcoding my HDR files with tdarr or something. That's a far future project.