ARMv8 platform alpha testing - Discussion & Troubleshooting

Ah yes, I understand what you were asking now. And that’s definitely the issue. I was setting it up remotely. I just tried on my home network and the setup screen came up. Thank you so much for your help :slight_smile:

welcome!

PMS requires you to be local/same subnet (for your protection) when setting up. Once it’s part of your account, you can control it from anywhere because it can authenticate you

Hello, I tested it on a DS118 Synology NAS and works great. I had also an issue running the icon of the Plex, which forwarded me to the Plex.TV site and couldn’t assign me NAS as server. I used the NAS’s local IP and started the wizard to assign the NAS as my server. I run multiple H265 1080p videos on my Samsung TV 4K and on my mobile (Xiaomi RedMi 4X) and all worked perfectly.

The only issue I see is that inside the Synology, it doesn’t recognise the Plex application, so when using the control panel to assign the port 32400 as external port access, it doesn’t show up. I used custom port and not app and worked

First, Thanks on the H265 feedback. I presume that’s DirectPlay? There is no hardware support nor is the CPU strong enough to decode HEVC.

Regarding DSM not ‘recognizing’ PMS? What are you thinking should happen between PMS and DSM?
It sounds like you are expecting PMS to show up in DSM’s firewall settings UI?

The DS118 do have H265 Hardware acceleration (4K) https://www.synology.com/en-global/products/DS118#specs

I didn’t tested 4K but 1080p worked perfectly

The files are stored inside the NAS and my Samsung TV connected directly to NAS, using Samsung’s TV Plex app.

The DSM should recognise Plex as an App, so when doing the UPNP configuration inside the NAS, to be able to choose Plex. It does so for other apps too…

I attached the DS118 Specifications, which shows H265 Hardware acceleration 4K 60fps (Transcoding support)

As I said, I only tried 1080p H265 and worked very fast

I tried 4K (VP9 Codec) and didn’t started… I had error message “There was a problem playing this item. PLAYER_ERROR_CONNECTION_FAILED”.

I used Synology’s DS_Video app on my Samsung TV and worked perfectly, so is 4K capable

I am aware it is supposed to be there. Synology has a proprietary HW transcoding. We’ve tried to get access to it to no avail.

Thanks for letting me know I should make the lack of HW transcoding more visible. I’ve added it to the Known Limitations list.

As for UPnP, It works. I have the DS418J and TS-128A here. Both connect up just fine for me so I will need your logs to see what’s happening.

Hello, Even for me the UPNP works !
I just had to create a custom port inside my Synology (TCP/32400).

What I said is that is not recognised as a build in app, so easily to choose the app to do the UPNP Configuration…

Synology’s new term for “Firewall” is “Port Forwarding”. Look at the ports and the definition of the firewall rule below.

I’ll add the firewall definitions to both the next configuration here and in the master distribution. Nobody’s ever said anything about them not being there.

The specific you want to make DSM aware of PMS is:

[chuck@lizum src.124]$ cat Plex.sc
[Plex Media Server]
title="Plex Media Server ports"
desc="Plex Media Server"
port_forward="yes"
dst.ports="32469/udp,32400/tcp"
[chuck@lizum src.125]$ 

This will create the rule for you which can be accessed via the UI

Last update for 4K, I used a different video that time (No VP9 as previously but HEVC) and run only on my Samsung TV 4K very fast and great.

Didn’t run on my phone or Mac’s Safari

The 1080p/HEVC Worked great on all devices

Thank you for your time and help

In which directory do I create that file Plex.sc, inside DSM?

make sure you strip the top and bottom lines (which are clearly from my workstation prompt)

You need to pull open the DSM SDK for DSM 6.2 (downloadable from Synology).

You should find the synoservice command and how to add Plex.sc

I’ve honestly not had time to dig into DSM 6.2 beyond verifying everything works at installation as currently documented. (volume selection and automatic location detection)

Thank you !

Glad I can help. FYI: Don’t become too frustrated with Synology. They don’t make it easy for developers as you’re soon to find out first hand :slight_smile:

Not tested this yet so beware. Best that will happen is it creates an entry for the firewall controls you can use.

Worst is it gives you errors and doesn’t install. Next would be you can’t use it and then can’t remove it. (no harm if it gets stuck. It will only be annoying until I get around to tweaking for DSM 6.2 and officially added)

/usr/syno/bin/servicetool --install-configure-file --package "/var/packages/Plex Media Server/Plex.sc"

Notice where Plex.sc is placed

Hey together,
at first, i´m really really happy to test this build. i´ll wait so an log time, so i must say thanks for your work ChuckPA.

I installed PMS on my DS418. The first i found is an error during playback 4k files.
Details:
Container: mkv
Bitrate: 33,3mb/s
Resolution: 3840*1600 (2,40:1)
FPS: 23,976
Features: HEVC, HDR10
Audio: German, 6770kb/s, TrueHD 8 Channel.

Error from Plex Client (Windows App) on i7 4th Gen.:
The video failed to play
MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED:
HRESULT - 0xC00D2EE3 (BadRequest).

I will report more, if i found.

That is a player problem. It is not the server. Notice MF_MEDIA_ENGINE ? Microsoft Foundation drivers and the error code is definitive HRESULT is a Windows error.

Please read completely.

Overview

After what seems like an eternity, myself (@ChuckPA) and @chrisallen have completed the building and packaging of aarch64 Plex Media Server binaries for the Synology and QNAP ARMv8/Realtek platforms.

I would like to invite our Plex Pass users who have a Synology and/or QNAP NAS with the ARMv8/RealTek CPU (DS118, DS218, DS418j, TS-128A, TS-1635AX, TS-431XU, TS-832XU) to join us in final testing of Plex Media Server for these platforms.

Did you bring the :popcorn: ?

We have created this special forum tag server-armv8-testing for this effort and request all discussion and problem reporting stay confined to this tag to keep all our efforts focused. Upon completion of our testing, this alpha test will be archived. Support will continue normally in the regular forum. I will then update the NAS Compatibility Guide based on our results here and final QA testing.

Upon completion of our testing, the next steps are conducted by QA and the production team. They will conduct formal QA testing while the production team completes final release implementation.

When both are completed, you will see:

  1. Officlal ARMv8 64-bit support for QNAP NASes
  2. Officlal ARMv8 64-bit support for Synology NASes
  3. The NAS Compatibility Guide will be updated to show support and the results of our testing here.

While these final steps are happening, I will continue to provide updated packages for everyone to use as they become available to me.

Testing Goals

  1. Confirm PMS installs and/or is migratable to another volume as per the norm for your NAS.
  2. Confirm PMS running on this ARMv8 platform behaves just as it does on existing platforms without ARMv8-unique crashing or other problems.
  3. Determine a wider sense of how much ‘transcoding’ the ARMv8 can really do beyond what lab testing has been able to provide to far.

Expanding on these points, I request:

  • For installation errors, please report: NAS model, firmware version, the name of the file you installed, and what you attempted.

  • For Start/Stop/Restart errors: These are self evident. Please let me know and I will address it immediately. Include NAS system logs/screenshots as appropriate

  • If you discover a problem which is unique to the ARMv8 and it’s not been previously reported, please report it.

    • If the problem as already been reported, please “Like” that post. Please do not report “Me too” type posts. This only serves to make the thread grow unmanageably long too quickly.

    • Please include DEBUG log file with your report. Verbose log files will only delay my correcting the issue.

  • Off-topic / non-related posts will be removed or moved as appropriate. The sooner we complete our task here, the sooner I can release to the download site.

  • I cannot address PMS functionality issues here. We can only test “Does it work the same as the other platforms?”

  • DirectPlay, DirectStream, and Transcoding testing:

    • I would like confirmation of which codecs and playback use cases are working without stuttering.

    • It is my goal to also allow real-time transcoding to “Some” level if safe to do so. Sync will work as always.

    • This will provide the information I need to add all the new entries to the NAS Compatibility Guide.

    • To provide verification of results, without the need to send binary video files, I strongly recommend use of sample files from http://www.jell.yfish.us as verification before reporting.

    • As post examples to report success or failure:

      • Success: DS118, DirectPlay, 1080p H.264 - 35 Mbps, AC-3 5.1
      • Stutter: TS128A, Transcode, 1080p MPEG2 → 1080p H.264 (16 Mbps), AC-3 → AAC
      • Success: TS128A, Transcode, 1080p MPEG2 → 1080p H.264 (12 Mbps), AC-3 5.1 → AAC 2.0
      • No Audio: DS418j, DirectStream, 1080p H.264 18 Mbps, DCA-> AAC
  • Any other anomalies you discover which don’t exist on other platforms.

    • Crash: DS118: Scanning movie library
    • Failure: No metadata retrieval - TV library (please make certain you have success on your other system before posting metadata issues)

Known limitations & Important Changes

Migration can take a very long time to complete and for PMS to become ready again due to the CPU, hard drives, and size of the library (amount to move). It is not possible to estimate how long a migration might take in advance. In some cases, a Zip/Unzip might just be faster on Synology. You will need to experiment by making a simple backup file (ZIP) and gauging from there.

The ARMv8 has performed admirably in testing so far and is expected to be noticeably faster than ARMv7 systems in all cases, but is not an “Intel class” CPU with lots of memory so please be fair in your evaluation. Our internal pre-QA testing of it has been quite impressive (QNAP TS-128A and Synology DS418j)

There is no hardware transcoding support in this alpha-test of the software. Hardware transcoding is spec’d to be available for certain machines but it is not here because ARMv8 chips do not support Intel QSV video. The sole purpose here is to verify the basic PMS port to 64-bit ARM platform is valid.

QNAP

  • The Plex Media Server package now supports installation volume selection.

    • There is a bug with the current QNAP (.0597 firmware) App Center on some systems that prevents choosing the volume at installation time. To work around this, you can migrate the app after installation. NOTE: This is a QNAP QTS issue.
  • The Plex Media Server package now supports migrating the app to another volume.

    • Should you opt to migrate your PMS installation, BE ADVISED: PMS will be offline during this time because of how QTS implements the migration (moving of files). This is beyond our control.

Synology

  • The Plex Media Server package now supports installation volume selection.
  • Migration support is not yet ready for use. There is one last issue to resolve. Please continue moving the Plex share as you have in the past for now.

Download Links:

These download links are intended for Plex Pass users only. Please do not post them or their contents publicly or otherwise distribute outside of this forum area. We will be making them publicly available in about two weeks time when we’ve worked out any final issues and our confidence level of general reliability is higher.
Thanks

Confirmed working:

  • DirectPlay - everything
  • H.264 - 1080p - up to ~20 Mbps (so far)
  • DTS 5.1 - decode
  • AAC - decode + encode
  • AC-3 - decode
  • File formats: MKV, AVI
  • DVR with HDHR

Players:

  • Plex/web
  • iOS

Issues:

  • AppleTV player - Confirmed PMS issues - Development team working on it
4 Likes

Works great on DS118.
Only thing is any bitrate 20Mbps (basically 4K or high bitrate 1080p) and above doesn’t play.
Don’t know if it’s the NAS or Roku TV

@djhotsauce

Can you tell me a bit more about the 20 Mbps file? DirectPlay? DIrectStream? Transcoding?
If any conversions are involved, what’s being converted from (codecs please) ?