Moorviper

Members
  • Content Count

    12
  • Joined

  • Last visited

  1. Your fault NEVER trust a script you didn't write. READ it first to understand what it does. Never use a build environment on your real pc, only on a VM. Be awake. Think before you hit enter when you typed in your root-pw. these is my basic attitude in using build-script's never had any problems :-)
  2. This howto is very old and obsolete mplayer is not maintained anymore -> use mpv and there were many commit's to sunxi-vdpau ;-) the attached howto is of course also outdated (the vdpau part) but you should take a look at the Setupboot.cmd section the reserved memory must be increased 190 MB for cedarX is a save Maximum more and the A20 crashes very often. With VDR it took month to figure out why it didn't work. -> to less memory :facepalm ;-) before you start mpv do: export VDPAU_DRIVER=sunxi; export DISPLAY=:0.0; export VDPAU_OSD=1; export VDPAU_DEINT=1; chmod 0777 /dev/disp; chmod 0777 /dev/cedar_dev; chmod 0777 /dev/g2d; libvdpau-sunxi.pdf
  3. i created a packages.list on the second Cubieboard and use it now for the build and now it downloads 480MB before 78MB ;-) now i have to wait 40 minutes to see if it works :-/
  4. I will try a older commit root@cubieboard2:~/vdpau-devel/libvdpau-sunxi# git branch * staging root@cubieboard2:~/vdpau-devel/libvdpau-sunxi# git log commit 80cda1eb12965d9230ca10fa32b9c0873cfde066 Author: rellla <ichgeh@imkreisrum.de> Date: Mon Aug 10 07:40:57 2015 -0400 Add some logging. Change default logging level. make clean rm -f device.o presentation_queue.o surface_output.o surface_video.o surface_bitmap.o video_mixer.o decoder.o handles.o queue.o ve.o h264.o mpeg12.o mpeg4.o rgba.o tiled_yuv.o rm -f device.d presentation_queue.d surface_output.d surface_video.d surface_bitmap.d video_mixer.d decoder.d handles.d queue.d ve.d h264.d mpeg12.d mpeg4.d rgba.d tiled_yuv.d rm -f libvdpau_sunxi.so.1 root@cubieboard2:~/vdpau-devel/libvdpau-sunxi# make -j2 cc -MD -MP -MQ device.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c device.c -o device.o cc -MD -MP -MQ presentation_queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c presentation_queue.c -o presentation_queue.o cc -MD -MP -MQ surface_output.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_output.c -o surface_output.o cc -MD -MP -MQ surface_video.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_video.c -o surface_video.o cc -MD -MP -MQ surface_bitmap.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_bitmap.c -o surface_bitmap.o cc -MD -MP -MQ video_mixer.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c video_mixer.c -o video_mixer.o cc -MD -MP -MQ decoder.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c decoder.c -o decoder.o cc -MD -MP -MQ handles.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c handles.c -o handles.o cc -MD -MP -MQ queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c queue.c -o queue.o cc -MD -MP -MQ ve.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c ve.c -o ve.o cc -MD -MP -MQ h264.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c h264.c -o h264.o h264.c: In function ‘ref_pic_list_modification’: h264.c:263:19: warning: unused variable ‘long_term_pic_num’ [-Wunused-variable] unsigned int long_term_pic_num = get_ue(c->regs); ^ h264.c:281:19: warning: unused variable ‘abs_diff_pic_num_minus1’ [-Wunused-variable] unsigned int abs_diff_pic_num_minus1 = get_ue(c->regs); ^ h264.c:285:19: warning: unused variable ‘long_term_pic_num’ [-Wunused-variable] unsigned int long_term_pic_num = get_ue(c->regs); ^ cc -MD -MP -MQ mpeg12.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c mpeg12.c -o mpeg12.o cc -MD -MP -MQ mpeg4.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c mpeg4.c -o mpeg4.o cc -MD -MP -MQ rgba.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c rgba.c -o rgba.o cc -c tiled_yuv.S -o tiled_yuv.o cc -shared -Wl,-soname,libvdpau_sunxi.so.1 device.o presentation_queue.o surface_output.o surface_video.o surface_bitmap.o video_mixer.o decoder.o handles.o queue.o ve.o h264.o mpeg12.o mpeg4.o rgba.o tiled_yuv.o -lrt -lm -lX11 -lpthread -lcsptr -o libvdpau_sunxi.so.1 this commit worked on my second cubieboard2 when doing it manually maybe rellla killed something ^^ :edit nothing changed libvdpau-sunxi ... Klone nach '/home/build/Schreibtisch/vdrtest/output/cache/sdcard/usr/local/src/libvdpau-sunxi'... remote: Counting objects: 1074, done. Empfange Objekte: 100% (1074/1074), 393.55 KiB | 138.00 KiB/s, Fertig. remote: Total 1074 (delta 0), reused 0 (delta 0), pack-reused 1074 Löse Unterschiede auf: 100% (746/746), Fertig. Prüfe Konnektivität... Fertig. Note: checking out '80cda1eb12965d9230ca10fa32b9c0873cfde066'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 80cda1e... Add some logging. Change default logging level. [ finished ] cloning libvdpausunxi ... Package vdpau was not found in the pkg-config search path. Perhaps you should add the directory containing `vdpau.pc' to the PKG_CONFIG_PATH environment variable No package 'vdpau' found rm -f device.o presentation_queue.o surface_output.o surface_video.o surface_bitmap.o video_mixer.o decoder.o handles.o queue.o ve.o h264.o mpeg12.o mpeg4.o rgba.o tiled_yuv.o rm -f device.d presentation_queue.d surface_output.d surface_video.d surface_bitmap.d video_mixer.d decoder.d handles.d queue.d ve.d h264.d mpeg12.d mpeg4.d rgba.d tiled_yuv.d rm -f libvdpau_sunxi.so.1 Package vdpau was not found in the pkg-config search path. Perhaps you should add the directory containing `vdpau.pc' to the PKG_CONFIG_PATH environment variable No package 'vdpau' found cc -MD -MP -MQ device.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c device.c -o device.o cc -MD -MP -MQ presentation_queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c presentation_queue.c -o presentation_queue.o cc -MD -MP -MQ surface_output.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_output.c -o surface_output.o cc -MD -MP -MQ surface_video.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_video.c -o surface_video.o cc -MD -MP -MQ surface_bitmap.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_bitmap.c -o surface_bitmap.o cc -MD -MP -MQ video_mixer.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c video_mixer.c -o video_mixer.o cc -MD -MP -MQ decoder.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c decoder.c -o decoder.o cc -MD -MP -MQ handles.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c handles.c -o handles.o cc -MD -MP -MQ queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c queue.c -o queue.o cc -MD -MP -MQ ve.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c ve.c -o ve.o cc -MD -MP -MQ h264.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c h264.c -o h264.o cc -MD -MP -MQ mpeg12.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c mpeg12.c -o mpeg12.o In file included from vdpau_private.h:40:0, from handles.c:23: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from mpeg12.c:21: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from surface_video.c:21: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from decoder.c:22: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from presentation_queue.c:20: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from device.c:23: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from surface_output.c:20: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from surface_bitmap.c:20: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from video_mixer.c:22: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from h264.c:23: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:40:0, from ve.c:28: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. Makefile:43: recipe for target 'presentation_queue.o' failed make: *** [presentation_queue.o] Error 1 make: *** Waiting for unfinished jobs.... Makefile:43: recipe for target 'surface_video.o' failed make: *** [surface_video.o] Error 1 Makefile:43: recipe for target 'surface_bitmap.o' failed make: *** [surface_bitmap.o] Error 1 Makefile:43: recipe for target 'h264.o' failed make: *** [h264.o] Error 1 Makefile:43: recipe for target 'decoder.o' failed make: *** [decoder.o] Error 1 Makefile:43: recipe for target 'device.o' failed make: *** [device.o] Error 1 Makefile:43: recipe for target 'handles.o' failed make: *** [handles.o] Error 1 Makefile:43: recipe for target 'mpeg12.o' failed make: *** [mpeg12.o] Error 1 Makefile:43: recipe for target 'surface_output.o' failed make: *** [surface_output.o] Error 1 Makefile:43: recipe for target 'video_mixer.o' failed make: *** [video_mixer.o] Error 1 Makefile:43: recipe for target 've.o' failed make: *** [ve.o] Error 1
  5. Now it work i forgot to install gcc :facepalm [ ok ] Installing xf86 fbturbo driver ... [ ok ] copy the pakage ... Selecting previously unselected package libump:armhf. (Reading database ... 43843 files and directories currently installed.) Preparing to unpack /libump_3.0-0sunxi1-armhf.deb ... Unpacking libump:armhf (3.0-0sunxi1~koodur1) ... Setting up libump:armhf (3.0-0sunxi1~koodur1) ... Selecting previously unselected package libump-dev. (Reading database ... 43849 files and directories currently installed.) Preparing to unpack .../libump-dev_3.0-0sunxi1-armhf.deb ... Unpacking libump-dev (3.0-0sunxi1~koodur1) ... Setting up libump-dev (3.0-0sunxi1~koodur1) ... Selecting previously unselected package xf86-video-fbturbo. (Reading database ... 43859 files and directories currently installed.) Preparing to unpack /xf86-video-fbturbo-armhf.deb ... Unpacking xf86-video-fbturbo (0.4.0-1~koodur2) ... Setting up xf86-video-fbturbo (0.4.0-1~koodur2) ... Processing triggers for man-db (2.7.0.2-5) ... [ ok ] installing the package ... [ ok ] Linking libxcb-xv for vdr-plugin-softhd-device ... [ failed ] lib's not found Klone nach '/home/build/Schreibtisch/vdrtest/output/cache/sdcard/usr/local/src/libcsptr'... remote: Counting objects: 595, done. remote: Total 595 (delta 0), reused 0 (delta 0), pack-reused 595 Empfange Objekte: 100% (595/595), 99.59 KiB | 0 bytes/s, Fertig. Löse Unterschiede auf: 100% (341/341), Fertig. Prüfe Konnektivität... Fertig. -- The C compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") -- checking for one of the modules 'check' -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/libcsptr/build Scanning dependencies of target csptr [100%] Building C object CMakeFiles/csptr.dir/src/mman.c.o Linking C static library libcsptr.a [100%] Built target csptr [100%] Built target csptr Install the project... -- Install configuration: "" -- Installing: /usr/local/include/csptr/config.h -- Installing: /usr/local/include/csptr/smalloc.h -- Installing: /usr/local/include/csptr/array.h -- Installing: /usr/local/include/csptr/smart_ptr.h -- Installing: /usr/local/share/man/man3/csptr.3 -- Installing: /usr/local/lib/libcsptr.a [ git cloning ] libvdpau-sunxi ... Klone nach '/home/build/Schreibtisch/vdrtest/output/cache/sdcard/usr/local/src/libvdpau-sunxi'... remote: Counting objects: 1074, done. remote: Total 1074 (delta 0), reused 0 (delta 0), pack-reused 1074 Empfange Objekte: 100% (1074/1074), 393.55 KiB | 222.00 KiB/s, Fertig. Löse Unterschiede auf: 100% (746/746), Fertig. Prüfe Konnektivität... Fertig. [ finished ] cloning libvdpausunxi ... Package vdpau was not found in the pkg-config search path. Perhaps you should add the directory containing `vdpau.pc' to the PKG_CONFIG_PATH environment variable No package 'vdpau' found rm -f device.o presentation_queue.o surface_output.o surface_video.o surface_bitmap.o video_mixer.o decoder.o handles.o queue.o ve.o h264.o mpeg12.o mpeg4.o rgba.o tiled_yuv.o rm -f device.d presentation_queue.d surface_output.d surface_video.d surface_bitmap.d video_mixer.d decoder.d handles.d queue.d ve.d h264.d mpeg12.d mpeg4.d rgba.d tiled_yuv.d rm -f libvdpau_sunxi.so.1 Package vdpau was not found in the pkg-config search path. Perhaps you should add the directory containing `vdpau.pc' to the PKG_CONFIG_PATH environment variable No package 'vdpau' found cc -MD -MP -MQ device.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c device.c -o device.o cc -MD -MP -MQ presentation_queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c presentation_queue.c -o presentation_queue.o cc -MD -MP -MQ surface_output.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_output.c -o surface_output.o cc -MD -MP -MQ surface_video.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_video.c -o surface_video.o cc -MD -MP -MQ surface_bitmap.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_bitmap.c -o surface_bitmap.o cc -MD -MP -MQ video_mixer.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c video_mixer.c -o video_mixer.o cc -MD -MP -MQ decoder.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c decoder.c -o decoder.o cc -MD -MP -MQ handles.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c handles.c -o handles.o cc -MD -MP -MQ queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c queue.c -o queue.o cc -MD -MP -MQ ve.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c ve.c -o ve.o cc -MD -MP -MQ h264.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c h264.c -o h264.o cc -MD -MP -MQ mpeg12.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c mpeg12.c -o mpeg12.o In file included from vdpau_private.h:58:0, from surface_output.c:20: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from presentation_queue.c:20: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from handles.c:23: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from surface_video.c:21: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from decoder.c:22: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from h264.c:23: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from surface_bitmap.c:20: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from device.c:23: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from mpeg12.c:21: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from ve.c:28: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. In file included from vdpau_private.h:58:0, from video_mixer.c:22: /usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory # include "common.h" ^ compilation terminated. Makefile:43: recipe for target 'surface_video.o' failed make: *** [surface_video.o] Error 1 make: *** Waiting for unfinished jobs.... Makefile:43: recipe for target 'presentation_queue.o' failed make: *** [presentation_queue.o] Error 1 Makefile:43: recipe for target 'surface_output.o' failed make: *** [surface_output.o] Error 1 Makefile:43: recipe for target 'decoder.o' failed make: *** [decoder.o] Error 1 Makefile:43: recipe for target 'handles.o' failed make: *** [handles.o] Error 1 Makefile:43: recipe for target 'h264.o' failed make: *** [h264.o] Error 1 Makefile:43: recipe for target 'mpeg12.o' failed make: *** [mpeg12.o] Error 1 Makefile:43: recipe for target 'surface_bitmap.o' failed make: *** [surface_bitmap.o] Error 1 Makefile:43: recipe for target 'device.o' failed make: *** [device.o] Error 1 Makefile:43: recipe for target 've.o' failed make: *** [ve.o] Error 1 Makefile:43: recipe for target 'video_mixer.o' failed make: *** [video_mixer.o] Error 1 [ running ] Downloading VDR ... [ finished ] Downloading VDR ... [ finished ] unpacking VDR ... [ finished ] Link VDR Sources ... [ finished ] Cleaning VDR removing Plugins: dvbhddevice, dvbsddevice, hello, pictures, rcu, skincurses ... [ o.k. ] Possible after install. [ o.k. ] Writing boot loader [ /dev/loop0 ] 439+1 Datensätze ein 439+1 Datensätze aus [ o.k. ] Shrink partition and image to real size [ 15 % free space ] resize2fs 1.42.12 (29-Aug-2014) 1: unknown command Re-reading the partition table failed.: Das Argument ist ungültig [ ok ] Create and sign download ready ZIP archive updating: Armbian_4.3_Cubieboard2_Debian_jessie_3.4.108.raw (deflated 68%) updating: armbian.txt (deflated 62%) updating: imagewriter.exe (deflated 36%) [ o.k. ] Uploading to server [ Armbian_4.3_Cubieboard2_Debian_jessie_3.4.108.zip ] [ ok ] Runtime 5 min build with this code: vdr_sunxi-vdpau (){ git clone https://github.com/Snaipe/libcsptr.git $DEST/cache/sdcard/usr/local/src/libcsptr chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && make && make install" chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && make" chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && make install" echo -e "[\e[0;34m git cloning \x1B[0m] libvdpau-sunxi ..." git clone -b staging https://github.com/rellla/libvdpau-sunxi.git $DEST/cache/sdcard/usr/local/src/libvdpau-sunxi echo -e "[\e[0;32m finished \x1B[0m] cloning libvdpausunxi ..." chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libvdpau-sunxi && make clean && make $CTHREADS && make install" # # export Variable # echo "export VDPAU_DRIVER=sunxi" >> $DEST/cache/sdcard/etc/profile } something is still wrong but it is getting better ;-)
  6. Hi igor Can you build and add libcsptr to your repo? ( https://github.com/Snaipe/libcsptr ) it is required by libvdpau. i tried to build it via the build environment but it doesn't work ;-) :-( vdr_sunxi-vdpau (){ git clone https://github.com/Snaipe/libcsptr.git $DEST/cache/sdcard/usr/local/src/libcsptr chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && make && make install" chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && make" chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && make install" echo -e "[\e[0;34m git cloning \x1B[0m] libvdpau-sunxi ..." git clone -b staging https://github.com/rellla/libvdpau-sunxi.git $DEST/cache/sdcard/usr/local/src/libvdpau-sunxi echo -e "[\e[0;32m finished \x1B[0m] cloning libvdpausunxi ..." chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libvdpau-sunxi && make clean && make $CTHREADS ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- && make install" # # export Variable # echo "export VDPAU_DRIVER=sunxi" >> $DEST/cache/sdcard/etc/profile } greeting daniel
  7. last year i got one of the first batch of the bananapi r1 and was happy when it was back in their shop. This device is wasted Money. They didn't react on bug-report's. So i contacted the wlan-chip-company directly. They said that that the rtl8192 is the cheapest model they have. They told them that 300mbit isn't possible with that chip and they should use the more expensive. in theory than chip can handle 300 mbit BUT it was designed as lowcost/lowlevel. An they implemented a mechanism in hardware that detect when the two wlan chips are bonded per software and do a resett ;-) what is possible with this chip ist 2 different wlan's with 150 mbit.
  8. As a note I once created a new Branch to create an image with VDR (http://www.tvdr.de). (my first target is to get a full working build for my Cubieboard2 then i try modularize for the other boards) (It need's kernel 3.4.x for vdpau !!!) It's not finished yet because I still have to see whether the FFMpeg version of Debian also works. and some other things greetings Daniel
  9. the A20 video features are only working good via sunxi-vdpau and mplayer or vdr with softhd-device VDR can play streams with the iptv-plugin
  10. use a normal bay-trail board or its successors cherry-trail I am running a VDR with 2 WD red and a digital devices dual dvb-s2 tuner card and it consumes max 23W (12w sat-card, 5w the hard drives 6watt the board and the ram ) and you have 4 core and can use any amd64 distrie
  11. Hi is it possible to add the csc patch to the kernel at the next image ? https://github.com/rellla/linux-sunxi/commit/c92d32e1adc7ee2fcf014a9abf35039b59478bf3 drivers/video/sunxi/disp/de_fe.c @@ -1382,10 +1382,10 @@ __s32 DE_SCAL_Set_CSC_Coef_Enhance(__u8 sel, __u8 in_csc_mode, __u32 i; __s32 sinv, cosv; /* sin_tab: 7 bit fractional */ - bright = bright * 64 / 100; - bright = saturation * 64 / 100; - bright = contrast * 64 / 100; - bright = hue * 64 / 100; + bright = DIV_ROUND_CLOSEST((clamp(bright, 0, 100) * 63), 100); + saturation = DIV_ROUND_CLOSEST((clamp(saturation, 0, 100) * 63), 100); + contrast = DIV_ROUND_CLOSEST((clamp(contrast, 0, 100) * 63), 100); + hue = DIV_ROUND_CLOSEST((clamp(hue, 0, 100) * 63), 100); sinv = image_enhance_tab[8 * 12 + (hue & 0x3f)]; cosv = image_enhance_tab[8 * 12 + 8 * 8 + (hue & 0x3f)]; it's required for the newer sunxi-vdpau revisions to fix the mostly dark image.