Hi,

Good news today...
DCP-o-matic server is up and running on my Raspberry Pi 2 :)
(see attached .png)

Compiling FFmpeg was a pain, and then DCPomatic took less than 30mn to build, compiling on 3 legs.

I've still got a complain at start: "failed to load configuration (XML file does not exist)"
Is this mandatory, doctor?

I'm now going to settle a small test LAN with a master PC and the Pi.
First step: encoding the Bunny on master alone, then adding the Pi for a second run and see if it makes a difference.
A link to the reference asset used to benchmark DCP-o-matic would be appreciated.

Thanks again Carl for your help,
Fred


De: "Carl Hetherington via DCPomatic" <dcpomatic@carlh.net>
À: dcpomatic@carlh.net
Envoyé: Samedi 16 Mai 2015 01:47:08
Objet: Re: [DCP-o-matic] <DKIM> Re: dcpomatic on Raspberry Pi / Raspian

Hi Fred,

That's a FFmpeg version that DCP-o-matic is not expecting.  I think Debian
still package libav rather than FFmpeg.  The best thing is probably to
fetch FFmpeg git:

git clone git://source.ffmpeg.org/ffmpeg.git

and then build it with something like

cd ffmpeg
./configure --enable-gpl --enable-postproc --enable-shared --disable-static
make
sudo make install

The .debs that I make for Debian/Ubuntu (sadly) statically link to FFmpeg
because of this situation.

Regards,
Carl

On Fri, 15 May 2015, fred.bobigny@laposte.net wrote:

> ./waf | tee log => didn't work.
>
> Here are some screen captures during build. Hope this can help...
>
> Fred
>
> _____________________________________________________________________________________________________________________________________________________________________
> De: "Carl Hetherington via DCPomatic" <dcpomatic@carlh.net>
> À: dcpomatic@carlh.net
> Envoyé: Vendredi 15 Mai 2015 21:32:50
> Objet: Re: [DCP-o-matic] <DKIM> Re: dcpomatic on Raspberry Pi / Raspian
>
> Hi Fred,
>
> Just the output of the waf command would be enough, probably.  If you do
>
> ./waf | tee log
>
> then send the file "log" that should contain it.
>
> Regards,
> Carl
>
> On Fri, 15 May 2015, Fred via DCPomatic wrote:
>
> > Ok, thanks.
> >
> > I've proceeded 2 runs on 3 cores. Things go relatively smoother and even faster than before (sic...).
> >
> > I.e: 3x100% CPU and memory goes up to >800M but never reached 1G. Power reaches a hudge 3W...!
> > I can still access the Pi thru SSH to run htop. Much better...
> >
> > I now see only 128 elements to build with "--disable-gui" option, which makes about 30% less work to achieve assuming all files need the same delay to be built.
> >
> > I still get a lot of warnings about swp{b} deprecated for ARMv6 & 7.
> > And finally, build went twice to 23/128 (ffmpeg_content) but failed each time at this point.
> >
> > Carl, can I post log files in order for you to see what's going on? what file(s)??
> >
> > Fred
> >
> >
> >____________________________________________________________________________________________________________________________________________________________________
> _
> > De: "Carl Hetherington via DCPomatic" <dcpomatic@carlh.net>
> > À: dcpomatic@carlh.net
> > Envoyé: Vendredi 15 Mai 2015 19:19:06
> > Objet: Re: [DCP-o-matic] <DKIM> Re: dcpomatic on Raspberry Pi / Raspian
> >
> > You only need --target-arm on configure.
> >
> > ./waf clean
> >
> > Removes all build files.
> >
> > Cheers,
> > Carl
> >
> >
> > On May 15, 2015 4:47:31 PM GMT+01:00, Fred via DCPomatic <dcpomatic@carlh.net> wrote:
> > >Latest news:
> > >
> > >It seems that up to 3 cores, processing build is Ok. May be only 2
> > >cores is more secure as 3 makes memory getting a bit high, even if it
> > >seems to stay behind the 1G limit.
> > >4 cores is for sure too much for the Pi.
> > >
> > >A few more questions (as for compiling, I'm a noob...):
> > >- do I need to specify again "--target-arm" for the build process?
> > >- how can I flush the previous build process to start again with a
> > >clean setup?
> > >
> > >Thanks,
> > >Fred
> > >
> > >----- Mail original -----
> > >
> > >De: "Fred via DCPomatic" <dcpomatic@carlh.net>
> > >À: "Carl Hetherington" <cth@carlh.net>
> > >Cc: dcpomatic@carlh.net
> > >Envoyé: Vendredi 15 Mai 2015 16:25:39
> > >Objet: <DKIM> Re: [DCP-o-matic] <DKIM> Re: Re : Re: dcpomatic on
> > >Raspberry Pi / Raspian
> > >
> > >
> > >
> > >----- Mail original -----
> > >
> > >De: "Carl Hetherington via DCPomatic" <dcpomatic@carlh.net>
> > >À: dcpomatic@carlh.net
> > >Envoyé: Vendredi 15 Mai 2015 16:15:02
> > >Objet: Re: [DCP-o-matic] <DKIM> Re: Re : Re: dcpomatic on Raspberry Pi
> > >/ Raspian
> > >
> > >Hi Fred,
> > >
> > >Sorry, I misunderstood. Build with
> > >./waf -j1
> > >to only use 1 core.
> > >
> > >I'll try this as soon as build fails...
> > >
> > >Concerning Boost, I don't remember exactly where I got this packages.
> > >But I know that you had to do something in the code and asked me to
> > >specify "--target-arm" to get configure passed.
> > >
> > >I'm starting a new test following your latest instructions:
> > >sudo ./waf configure --disable-gui --target-arm => Ok
> > >sudo ./waf build --disable-gui => in progress
> > >
> > >Thanks,
> > >Fred
> > >
> > >
> > >
> > >_______________________________________________
> > >DCPomatic mailing list
> > >DCPomatic@carlh.net
> > >http://main.carlh.net/cgi-bin/mailman/listinfo/dcpomatic
> > >
> > >
> > >
> > >------------------------------------------------------------------------
> > >
> > >_______________________________________________
> > >DCPomatic mailing list
> > >DCPomatic@carlh.net
> > >http://main.carlh.net/cgi-bin/mailman/listinfo/dcpomatic
> >
> >
> > _______________________________________________
> > DCPomatic mailing list
> > DCPomatic@carlh.net
> > http://main.carlh.net/cgi-bin/mailman/listinfo/dcpomatic
> >
> >
> >
> _______________________________________________
> DCPomatic mailing list
> DCPomatic@carlh.net
> http://main.carlh.net/cgi-bin/mailman/listinfo/dcpomatic
>
>
>
_______________________________________________
DCPomatic mailing list
DCPomatic@carlh.net
http://main.carlh.net/cgi-bin/mailman/listinfo/dcpomatic