Jump to content

XPEnology Users Read Me


solabc16

Recommended Posts

solabc16

Hello and Welcome

 

First, let me make the most important point, Emby Server is fully supported on XPEnology systems running DSM 5.2-5967 or later.

 

If you're running an earlier version, check out the XPEnology forums for advice on how to update.

 

We've had many XPEnology users update without issue and there are members of the community here who will also help, just ask.

 

To reiterate what is detailed under Step #1 on the Synology setup page (https://emby.media/nas-server.html), please make sure you use this URL as your package source in Package Center:-

https://synology.emby.media/?package_repository=360efc6e-de72-4073-b603-2bfbd7001586

Emby Server Won't Run

 

Now, if you've installed the package successfully but it won't run, don't panic! We almost certainly know why that is, and I'll explain in detail below.

 

If you're impatient and just want to get going, please run the two utilities listed below...

 

Run Diagnostics : https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Run-Diagnostics

 

Send Support Logs : https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Send-us-Support-Logs

 

...once the send logs utility has completed, post your details here along with the send logs file reference.

 

What's the Problem?

The CPU type and architecture reported by DSM when running on XPEnology is fake, which is due to it 'pretending' to be a DS3615xs.

With the most recent phase of package development, we've optimised the toolchains we use to build the packages on an architecture-by-architecture basis, so as to get the best performance out of the hardware. This causes problems on the XPEnology front, as it can theoretically be running on any Intel or AMD x86-64 processor available. We have no way of knowing that it's an XPEnology system or the underlying processor type.

The hardware that Synology groups under the 'bromolow' architecture, which includes the DS3615xs, contain either an Intel Xeon E3-1230 v2 or Intel Core i3-4130 processors. These are based on the 'ivybridge' and 'haswell' microarchitectures repectively. In terms of general CPU capability, this maps out as follows:-

‘ivybridge’
           MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX,       AES, PCLMUL, FSGSBASE, RDRND, F16C

‘haswell’
    MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2, F16C

So, for Synology hardware identifying as 'bromolow', we target the 'ivybridge' microarchitecture as the lowest common denominator.

If the processor you're running XPEnology on supports these CPU features, then you're going to 'get away with it' and it will work. We may however, not be taking advantage of all the capabilities your processor has to offer.

The first time we came across an issue was with the Intel Pentium G3258 processors, as these do not support the AVX feature (see above). This is the point where we decided to split the XPEnology and Synology builds and give XPEnology a dedicated repository, which you'll see in the setup guide on the main website. Our default target now for XPEnology systems is the 'nehalem' microarchitecture, which supports the following features:-

‘nehalem’
           MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT

Later on, we came across the Intel Core2 Duo E7200, which doesn't support SSE4.2 or POPCNT, again causing Emby Server to not start. The lowest common denominator of Core2 based processor doesn't support SSE4.1 either, so we could have dropped our baseline from 'nehalem' to 'core2', which would have given:-

‘core2’
           MMX, SSE, SSE2, SSE3, SSSE3

However, our objective is to make Emby Server run as well as it possibly can, so this wasn't really a path we were willing to take; although it would have certainly been the easier one. For that reason, we enhanced our package server to allow a package architecture to be specified as part of the package source and added the ability to create additional platforms to our toolchain, in this example for Core2 processors with SSE4.1.

This gives us the flexibility to support processors that are less capable than our default ('nehalem') and further optmise for processors that are better than our default in the future.

Best
- James

Edited by solabc16
  • Like 3
Link to comment
Share on other sites

  • 3 weeks later...
solabc16

Hello @rwazeralie

 

As noted under the Synology section here (https://emby.media/nas-server.html), the package is supported on systems running DSM 5.2-5967 or later.

 

You shouldn't have any issues updating to 5.2-5967 on XPEnology, check the XPEnology forums or ask here, there's a few knowledgeable users around.

 

@@RobsterUK, I know we worked through this during development, perhaps you could post a sanitised version of those instructions here?

 

- James

Edited by solabc16
Link to comment
Share on other sites

shadowcliffs

Hello @rwazeralie

 

As noted under the Synology section here (https://emby.media/nas-server.html), the package is supported on systems running DSM 5.2-5967 or later.

 

You shouldn't have any issues updating to 5.2-5967 on XPEnology, check the XPEnology forums or ask here, there's a few knowledgeable users around.

 

@@RobsterUK, I know we worked through this during development, perhaps you could post a sanitised version of those instructions here?

 

- James

Hi, Emby server doesn't show up for me either.

My Xpenology is DSM 5.2-5967, the cpu is a Intel i3 4130, so I copied and pasted  https://synology.emby.media/?package_repository=360efc6e-de72-4073-b603-2bfbd7001586&package_architecture=xpen-core2-sse41 in Package Center/Settings/Package Sources.

 

Any Idea?

 

BTW, I have manually installed Emby before and it was running fine. But when I took a look today and found it has stopped and I can't make it run.

 

Update: Never mind, solved it. I only looked in All. I should have looked in Community.

Edited by shadowcliffs
Link to comment
Share on other sites

Hi, Emby server doesn't show up for me either.

My Xpenology is DSM 5.2-5967, the cpu is a Intel i3 4130, so I copied and pasted  https://synology.emby.media/?package_repository=360efc6e-de72-4073-b603-2bfbd7001586&package_architecture=xpen-core2-sse41 in Package Center/Settings/Package Sources.

 

Any Idea?

 

BTW, I have manually installed Emby before and it was running fine. But when I took a look today and found it has stopped and I can't make it run.

 

Hi can you elaborate a little bit more on not being able to run it? What version exactly? thanks.

Link to comment
Share on other sites

solabc16

Hello @@shadowcliffs

 

What's your actual CPU, the CPU displayed under 'Info Center' is hard-coded, see my opening post. (https://emby.media/community/index.php?/topic/40411-xpenology-users-read-me/?p=377703)

 

You do sometimes need to use the manual refresh in Package Center to get the package display after first adding the package source.

 

If you are running DSM 5.2-5967 or later, then it will show up under the community section of Package Center. If it installs ok but doesn't run, follow through the information in the opening post.

 

Let us know how you get on...

 

Best

- James

Link to comment
Share on other sites

  • 1 month later...

Hi @@jpitlick, since this is your first post, can you please describe in your own words what you have tried and what your issue is? Thanks !

Link to comment
Share on other sites

solabc16

Hello @@jpitlick

 

Thanks for the logs, your processor is an "Intel® Core2 Quad CPU Q8300 @ 2.50GHz".

 

This is part of the "Yorkfield-6M" family and supports SSE4.1.

 

So, for optimal performance, use the xpen-core2-sse41 package architecture as detailed here: https://github.com/MediaBrowser/Wiki/wiki/Synology-:-Custom-Package-Architectures-for-XPEnology

 

Let us know how you get on...

 

Best

- James

Link to comment
Share on other sites

jpitlick

James,

 

Thanks for the quick reply.  I added &package_architecture=xpen-core2-sse41 to package source in Package Center and reinstalled.  It is running now.

 

Josh

Link to comment
Share on other sites

  • 3 months later...
caralox

Hi everyone, 

 

i tried to install Emby on xpenology on my proliant ml310 G5 (intel xeon , but i dont remember wich one) , i can't start the process either like the otherone guys :)

 

i run the diags and send the log to you from the tools in utilities . 

 

I'm running DSM 6.0.2 8451 no update for the moment because i'm copying a lot of data from the network so i cant do ny update at the moment 

can you do something for me ?

 

thanks from advance and sorry for my bad english this not my natural language

Link to comment
Share on other sites

solabc16

Hello @@caralox

 

Thanks for getting in touch and sending the logs across, no problem with the English - understand you very well.

 

If I don't get a chance to look this evening, I will first thing tomorrow and get back to you with what we need to do, to get you up and running.

 

Best

- James

Link to comment
Share on other sites

solabc16

Hello Again @caralox

 

Ok, your system contains a 'Kentsfield' microprocessor, which is based on the Core Microarchitecture.
 
This processor supports : MMX, SSE, SSE2, SSE3, SSSE3.
 
So, that's why it's not working (see my opening post).
 
However, we do already have a package which should support your h/w.
 
If you take a look at this Wiki page - https://github.com/MediaBrowser/Wiki/wiki/Synology-:-Custom-Package-Architectures-for-XPEnology, follow the instructions there and use the 'xpen-core2' alternate package architecture.
 
Let us know how you get on...
 
Best
- James
Edited by solabc16
Link to comment
Share on other sites

caralox

hello solabc16, 

 

i install the xpen-core2 package and it's works , i will never think this package were compatible with the xeon , thanks a lot i will now try your media server . thanks for the reactivity . 

 

 

have a nice day and thanks again 

Link to comment
Share on other sites

  • 2 weeks later...
Firecatman

Hi,

 

Been trying to get Emby to work on my new xpenology box with an Intel Pentium G4560. I can get it to install and am able to get it running long enough to setup everything then the Emby server stops and I can't get it to start again. Tried restarting synology and server still doesn't start. If I reinstall Emby it will do the same thing. Ran diagnostics and sent logs.

 

rundiags_20170514T142342UTC.log

sendlogs_20170514T153324UTC.log

Edited by Firecatman
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...