cedric14 Geplaatst: 24 december 2013 Geplaatst: 24 december 2013 Hallo, Ik probeer ffdecsa te compileren op mijn NAS (D-link DNS-323), maar het faalt. Ik heb debian geinstalleerd op de NAS. De commando's die ik heb gegeven: $ hg clone http://85.17.209.13:6100/sc$ wget http://vdrbox.lautre.net/fichiers/VDR/debianize-sc/sc-debian-package-03062011.diff$ cd sc/$ patch -p1 <../sc-debian-package-03062011.diff$ dpkg-buildpackage -us -uc -b De error melding die ik krijg: Trying various FFdecsa optimizations... PARALLEL_32_INT: build failed PARALLEL_32_4CHAR: build failed PARALLEL_32_4CHARA: build failed PARALLEL_64_8CHAR: build failed PARALLEL_64_8CHARA: build failed PARALLEL_64_2INT: build failed PARALLEL_64_LONG: build failed PARALLEL_64_MMX: build failed PARALLEL_128_16CHAR: build failed PARALLEL_128_16CHARA: build failed PARALLEL_128_4INT: build failed PARALLEL_128_2LONG: build failed PARALLEL_128_2MMX: build failed PARALLEL_128_SSE: build failed PARALLEL_128_SSE2: build failedChoosing PARALLEL_MODE = PARALLEL_32_INT Na enig speurwerk kwam ik erachter dat bovenstaande meldingen uit sc/debian/configure_FFdecsa komen. Ik heb de volgende wijzigingen aangebracht in configure_FFdecsa: $ diff ./debian/configure_FFdecsa ../sc-half-werkend/configure_FFdecsa52a53,63>> echo "start debug"> ARCH="armv5te"> echo "ARCH: $ARCH"> echo "FLAGS: $FLAGS"> echo "arch: $arch"> echo "processors_flags: $processors_flags"> echo "vendor: $vendor"> echo "stop debug">>143c154< make -C "${TMPDIR}/FFdecsa" FFdecsa_test "PARALLEL_MODE=${var}" "${FLAGS}" "COMPILER=$CXX" > /dev/null 2>&1---> make -C "${TMPDIR}/FFdecsa" FFdecsa_test "PARALLEL_MODE=${var}" "${FLAGS}" "COMPILER=$CXX" nu compileren de testen, maar alle testen falen: $ sh ./configure_FFdecsa start debugARCH: armv5teFLAGS: FLAGS=-O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loopsarch: armv5telprocessors_flags:vendor:stop debugProcessor capabilities: armv5te ( )Trying various FFdecsa optimizations...make: Entering directory `/tmp/sc.5762/FFdecsa'g++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_INT -c FFdecsa_test.cg++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_INT -c FFdecsa.cg++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -o FFdecsa_test FFdecsa_test.o FFdecsa.omake: Leaving directory `/tmp/sc.5762/FFdecsa' PARALLEL_32_INT: test failed In /tmp/sc.5762 I find the file "out". It contains the following: FFdecsa 1.0: testing correctness and speedFAILED!FAILED!FAILED!FAILED!FAILED!speed=5.997874 Mbit/sspeed=4074.642562 pkts/sCORRECT!FAILED!CORRECT!FAILED!FAILED!FAILED COMPARISON OF PACKET 1FAILED COMPARISON OF PACKET 3FAILED COMPARISON OF PACKET 5 <<Deze melding wordt herhaald voor alle oneven pakketten>> Nu dit trucje proberen: echo 2 > /proc/cpu/alignment (Deze truc heb ik hier gevonden: https://github.com/manio/vdr-plugin-dvbapi/issues/2 ) Nope, geeft dezelfde output: $ sh ./configure_FFdecsastart debugARCH: armv5teFLAGS: FLAGS=-O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loopsarch: armv5telprocessors_flags:vendor:stop debugProcessor capabilities: armv5te ( )Trying various FFdecsa optimizations...make: Entering directory `/tmp/sc.7040/FFdecsa'g++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_INT -c FFdecsa_test.cg++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_INT -c FFdecsa.cg++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -o FFdecsa_test FFdecsa_test.o FFdecsa.omake: Leaving directory `/tmp/sc.7040/FFdecsa' PARALLEL_32_INT: test failedmake: Entering directory `/tmp/sc.7040/FFdecsa'g++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_4CHAR -c FFdecsa_test.cg++ -O3 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_4CHAR -c FFdecsa.c^Cmake: *** [FFdecsa.o] Interrupt $ nano /tmp/sc.7040/FFdecsa/out FFdecsa 1.0: testing correctness and speedFAILED!FAILED!FAILED!FAILED!FAILED!speed=5.873771 Mbit/sspeed=3990.333815 pkts/sCORRECT!FAILED!CORRECT!FAILED!FAILED!FAILED COMPARISON OF PACKET 1FAILED COMPARISON OF PACKET 3 <<Deze melding wordt herhaald voor alle oneven pakketten>> Mijn systeem: $ uname -a Linux debian 3.2.0-4-orion5x #1 Debian 3.2.51-1 armv5tel GNU/Linux $ cat /proc/cpuinfoProcessor : Feroceon rev 0 (v5l)BogoMIPS : 331.77Features : swp half thumb fastmult edspCPU implementer : 0x41CPU architecture: 5TEJCPU variant : 0x0CPU part : 0x926CPU revision : 0Hardware : D-Link DNS-323Revision : 0000Serial : 0000000000000000
cedric14 Geplaatst: 24 december 2013 Auteur Geplaatst: 24 december 2013 Nog even geprobeerd met -O2 ipv -O3. De speeds zijn iets lager, verder geen veranderingen $ sh ./configure_FFdecsastart debugARCH: armv5teFLAGS: FLAGS=-O2 -fomit-frame-pointer -fexpensive-optimizations -funroll-loopsarch: armv5telprocessors_flags:vendor:stop debugProcessor capabilities: armv5te ( )Trying various FFdecsa optimizations...make: Entering directory `/tmp/sc.8371/FFdecsa'g++ -O2 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_INT -c FFdecsa_test.cg++ -O2 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -DPARALLEL_MODE=PARALLEL_32_INT -c FFdecsa.cg++ -O2 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -march=armv5te -o FFdecsa_test FFdecsa_test.o FFdecsa.omake: Leaving directory `/tmp/sc.8371/FFdecsa' PARALLEL_32_INT: test failed $ nano /tmp/sc.8371/FFdecsa/out FFdecsa 1.0: testing correctness and speedFAILED!FAILED!FAILED!FAILED!FAILED!speed=5.867235 Mbit/sspeed=3985.893127 pkts/sCORRECT!FAILED!CORRECT!FAILED!FAILED!FAILED COMPARISON OF PACKET 1FAILED COMPARISON OF PACKET 3FAILED COMPARISON OF PACKET 5
Niels Wagenaar Geplaatst: 6 februari 2014 Geplaatst: 6 februari 2014 Als je gebruik maakt wil maken van vdr-dvbapi of van tvheadend (als in zelf compileren), dan zou ik gebruik maken van libdvbcsa. Deze is wat meer geoptimaliseerd op ARM-cpu's. Woonkamer : Xubuntu 8.04 met VDR 1.7.4 en WinTV NOVA-HD-S2 icm Reel Extension HD. Slaapkamer : Een MediaMVP icm de vompserver v0.30 VDR plugin.
Aanbevolen berichten
Maak een account aan of log in om te reageren
Je moet een lid zijn om een reactie te kunnen achterlaten
Account aanmaken
Registreer voor een nieuwe account in onze community. Het is erg gemakkelijk!
Registreer een nieuwe accountInloggen
Heb je reeds een account? Log hier in.
Nu inloggen