Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rtd1296 #2886

Closed
bidorffOL opened this issue Aug 23, 2017 · 26 comments
Closed

Add support for rtd1296 #2886

bidorffOL opened this issue Aug 23, 2017 · 26 comments
Assignees

Comments

@bidorffOL
Copy link
Contributor

Because of the new rtd1296 architecture supported by the 418J, I cannot add the SynoCommunity repository to my NAS. From what I have read in the FAQ, one of the prerequisite for such support is the availability of the toolchain for this architecture (which has been added yesterday by Synology here).

Is there any hope to see this new architecture supported in a near future ?

@davebooi
Copy link

I second this and posted a 30 bucks bounty on bountysource

@Diaoul
Copy link
Member

Diaoul commented Aug 25, 2017

Off topic: This is really annoying that Bountysource doesn't update the issue... It suddenly stopped working, I'll get in touch with them.

@Diaoul Diaoul added the bounty label Aug 25, 2017
@ymartin59
Copy link
Contributor

ymartin59 commented Aug 27, 2017

Adding toolchain in spksrc is a five minute task and it should be enough for anyone to build its own packages... but job to get any DSM 6.1 package available through Package Center is still long: https://github.com/SynoCommunity/spksrc/wiki/Frequently-Asked-Questions#which-dsm-versions-do-you-support

@bidorffOL
Copy link
Contributor Author

bidorffOL commented Aug 28, 2017

I actually tried to do it myself on my own fork and I managed to get NZBGet and GIT to build and run, still no luck on Python, but I'm not sure if the toolchain is responsible for the broken build.

I'll try to provide a Pull Request for my changes (I will need to filter those for the toolchains and those for the packages I updated and / or modified).

@albino71
Copy link

@bidorffOL Got me a DS418J..great device, but the nzbget package is not working and cannot be installed...

Any chance you could slip me your installable package?

@bidorffOL
Copy link
Contributor Author

bidorffOL commented Sep 13, 2017

@albino71 You can try this version (tell me if it works, I'm not sure that this is the file I actually used).

@albino71
Copy link

@bidorffOL Thanks! Too bad it says 'Invalid fileformat' (Don't know if I translated it correct, but it is an invalid file...)

@ymartin59 ymartin59 added the arch label Sep 13, 2017
@bidorffOL
Copy link
Contributor Author

That's what I was afraid of...

I'll try to reinstall my development environment this weekend and provide you with a proper build, otherwise you may try yourself to setup your own environment using my own fork and the dsm6 branch (this should work).

@albino71
Copy link

albino71 commented Sep 14, 2017

@bidorffOL No problem...
Maybe I will give it a try...

Thanks for your time and effort anyway!

@bidorffOL
Copy link
Contributor Author

I updated the file on my repository with a fresh build, can you try again ?

@albino71
Copy link

albino71 commented Sep 18, 2017

@bidorffOL Thanks mate, will give it a go and let you know...

I tried to setup a dev VM, but didn't get that up and running yet...

edit: It's installing :)

edit 2: Yesss, working like a charm! Thanks a lot!

@Keeviiin
Copy link

Keeviiin commented Oct 1, 2017

Hello,
I got my new DS418 yesterday and as you know, it uses the rtd1296-Architecture as well. I am totally new to the compiling-stuff an I have no spksrc running. I dont have enough knowledge to get a spksrc running so could you please help an provide me one package for rtd1296: ffmpeg

Thanks a lot in advance :)

@ymartin59
Copy link
Contributor

ymartin59 commented Oct 4, 2017

I tried to compile current ffmpeg version to apollolake toolchain but there is ARMv8 / AARCH64 specific issue with assembly compilation...
libx264 assembly source code is specific to Apple compiler for iOS/macOS, a pity team ignores GNU linaro.
So ffmpeg will not be there soon.

@ymartin59 ymartin59 self-assigned this Oct 4, 2017
@fbernardo
Copy link

@ymartin59 Could you also give python a try? I’ve been trying to compile it but always hit a problem related with cffi. But I might be doing something wrong since I got the same error when compiling for x64.

@Keeviiin
Copy link

Keeviiin commented Oct 4, 2017

Sorry that I might ask obvious stuff:
So you say that it is not just a single compiling task to get a working ffmpeg package? It is such a lot of work that is not sure if it even works in half a year or so..?

Did you try to compile it for rtd1296?

Thank you very much.

@ymartin59
Copy link
Contributor

Yes compiling with rtd1296 toolchain does not work at the moment. Either assembly code has to be ported to linary to get hardware optimization, either I have to fix linking troubles (with patches) that appeared with that new toolchain... I will probably try this second option first but it is a pity x264 hardware acceleration is lacking on ARM whereas assembly code is already available (but not for gcc compiler)

@Keeviiin
Copy link

Keeviiin commented Oct 5, 2017

That is very sad to hear, so I will have to keep on waiting :)
Thank you very much for your efforts!

@WodKa78
Copy link

WodKa78 commented Oct 15, 2017

Also successfully installed nzbget thanks to bidorffol but some other packages i also would love to install and run (Sonarr and Radarr) but they are not available for the ds418j. Is it possible somebody makes them available or is this not possible due the hardware limitations?

@banshee1971
Copy link

Im waiting too! But Meanwhile, im running Sonar and Sabnzb on a dedicated PC until new package out!

@WodKa78
Copy link

WodKa78 commented Oct 24, 2017

I tried to compile them myself, using bidorffol fork and dsm6 branch but constantly ending with errors. guess this is due to my enviorment since none of the packages i tried to compile were succesfully created. I will have to study some more i guess....

@WodKa78
Copy link

WodKa78 commented Nov 18, 2017

some working packages i posted here #2971

@ymartin59
Copy link
Contributor

As owner of DSM rtd1296 architecture, may you please download and test this "beta" ffmpeg built: http://dl.free.fr/oIHqgBdrA
If possible, please run from command line ffmpeg -i on various media files.
Warning: do not expect Video Station to use it, as recent version is stuck to Synology embedded version.
Please report success or any failure with command output

@ymartin59
Copy link
Contributor

Architecture is now supported. Package updates are coming

@piejanssens
Copy link
Contributor

@ymartin59 Any particular reason nzbget is not in the repo for rtd1296 and neither in your test package list found here? #3138

@WodKa78
Copy link

WodKa78 commented Aug 9, 2018

I also noticed its not visible in the package center anymore, no idea why but you can download it here and install manually . Update from within Nzbget.

edit; see more packages not showing up like Deluge for example.

@ymartin59
Copy link
Contributor

Hello. Package Center probably has trouble with cache - known issue at Synology. Try to force "refresh" and see if packages appear.
Avoid to comment on close issues... I have far enough to only follow opened ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants