Jump to content

RagnerBG

Members
  • Posts

    222
  • Joined

  • Last visited

Everything posted by RagnerBG

  1. As i own Samsung tv, i think your problem is not Armbian related, but you have to set up your tv properly. Go to your tv MENU and search for this option in Picture: if 16:9 zoom and cut the screen to you, as to me in most of HDMI devices.
  2. Hello. It's good that any regular 12V fan can be used, but this make power supply part a bit complicated, as we need extra 12V source. Anyway, thank's for sharing this. PS: KT815, i didn't know this is still in production .
  3. Hello. It it for sure this work on Orange Pi PC? I've tried it before and give up on missing SDL error, when compiling glshim. Now i decided to give it more serious try. First - mali driver can't be build for X11, before librdi2 and libump. And before build glshim i had to build and install SDL-1.2.15 first. After this glshim builds fine. I do this on CLI Armbian Jessie image. I've try it on Xenial but there is some mess there with mesa drivers or something else and i can't even run Xorg if i don't install whole desktop environment with tasksel. Anyway Jessie works well, but i can't get your OpenGL library to work. i've done all steps as you show, instead of this above. I remove sunxi memory restrictions from boot.scr, i have necessary modules loaded: ~$ lsmod Module Size Used by sunxi_cir 1601 0 mali_drm 2732 1 drm 178255 2 mali_drm mali 123216 0 ump 29379 3 mali 8189es 1076034 0 i have all permissions needed - /etc/udev/rules.d/50-mali.rules : KERNEL=="mali", MODE="0660", GROUP="video" KERNEL=="ump", MODE="0660", GROUP="video" KERNEL=="disp", MODE="0660", GROUP="video" KERNEL=="fb*", MODE="0660", GROUP="video" KERNEL=="cedar_dev", MODE="0660", GROUP="video" KERNEL=="ion", MODE="0660", GROUP="video" and i have Xorg configured this way - xorg.conf : Section "Screen" Identifier "My Screen" Device "fbturbo device" Monitor "My Monitor" EndSection Section "Device" Identifier "fbturbo device" Driver "fbturbo" Option "fbdev" "/dev/fb0" Option "HWCursor" "false" Option "SwapbuffersWait" "true" Option "AccelMethod" "CPU" EndSection Section "Monitor" Identifier "My Monitor" Option "DPMS" "false" EndSection Section "ServerFlags" Option "BlankTime" "5" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection But when i execute glxgears i have the following: :~$ glxgears LibGL error: MESA-LOADER: malformed or no PCI ID LibGL error: unable to load driver: mali_drm_dri.so LibGL error: driver poiner missing LibGL error: failed to load driver: mali_drm 381 frames in 5.0 seconds = 76.157 FPS . . . and 100% CPU load. Also mali driver test (triangle) gives error for missing files when i try to create test: cc -Wall -o test test.c -lEGL -lGLESv2 -lX11 but since you made some changes in source, perhaps this is normal? Should this work on H3 as on A20, or there is something else has to be done? This is my Xorg.0.log :
  4. That's good to know, thank you. About the price, it's cheap - 10$ from ebay, that's why i have some doubts about the origin. Unfortunately it's appears i don't have necessary hardware to test it. My 2 card readers and my phone have something like >=20Mb/s r/w limit and this test above is the best result i see so far.
  5. I just got this: It's advertise as UCH-I U3, r - up to 90Mb/s, w - up to 40Mb/s. The result are a bit diferent: random random kB reclen write rewrite read reread read write 102400 4 2644 2714 8684 8683 8641 2420 102400 16 7870 8483 16670 16686 16645 6124 102400 512 19282 21706 22715 22722 22716 20974 102400 1024 22048 22177 22886 22887 22884 21872 102400 16384 22199 22247 22956 22957 22957 22235 ### mmc0:aaaa info: cid: 03534453453136478083d92bff0107b5 csd: 400e00325b59000076b27f800a404013 scr: 0235840300000000 date: 07/2016 name: SE16G type: SD preferred_erase_size: 4194304 fwrev: 0x0 hwrev: 0x8 oemid: 0x5344 manfid: 0x000003 serial: 0x83d92bff uevent: DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=SE16G MODALIAS=mmc:block erase_size: 512 http://sprunge.us/VFiN This barely cover UCH-I U2 specifications, for U3 there must be at least 30Mb/s write. Can you tell me if this is some board limitation, or this sd card is not real U3?
  6. Mplayer will not work if you don't build it from source. VLC will work through X11, but with no hw acceleration. You can try to build VLC from source too, with vdpau support, but this is not easy. Better focus on mpv, it's better than any other. And if you need GUI, you can always install SMplayer and use mpv within it.
  7. So you are using default Armbian Desktop image with nodm (no user logged in) and try this from graphic file manager? Did you try to put environment variables in the files i mentioned? When i faced the same problem putting: export VDPAU_DRIVER=sunxi export VDPAU_OSD=1 in /home/"user"/.bashhrc , helped when i start players from terminal. But from Desktop (gui like Smplayer for example, or right click) still no OSD. So you have to create file named 90environment in /etc/X11/Xsession.d/ : sudo nano /etc/X11/Xsession.d/90environment put the above lines there and reboot. Output of "env" in terminal could be of help, but will not show the problem if i am right. And you also may have some permission issues for some files in /dev .
  8. I am not sure i understand. If it's about "VDPAU_DISABLE_G2D=1", i am just following the readme in vdpau_sunxi github. H3 don't support G2D and disable it anyway, i guess this just minimize the log entries. You integrate Pixman instead of this, right? I don't disable OSD in any other way, in fact i need it .
  9. Well, not so bad after all. Thank's for the info. At least HDMI 2.0 sounds promising. About the 3 USB host ports, as we can see in H3, it depends on what chinese manufacturers will decide to expand from SoC.
  10. This "export" thing is a little tricky. Simple export from terminal is not enough, from remote ssh terminal also. I guess it change the environment only for current session. I add those lines: export VDPAU_DRIVER=sunxi export VDPAU_OSD=1 (plus export VDPAU_DISABLE_G2D=1 for H3) in "/etc/environment", in "/home/"user"/.bashrc" (and in /root/.bashrc if i need it for root account) and i create file named "90environment" in "/etc/X11/Xsession.d/" and put the lines there too. Maybe the last is for X11 only and don't affect framebuffer apps, but this problem took me a lot of time and i prefer to play safe.
  11. There is already Orange Pi PC Plus, with EMMC and wifi module. About those new boards, if H5 is only 4 A53 cores, what's the difference from A64? Aldo they can put even 16 ARM cores, but without proper OpenGL (ES) support and hw video (and audio?) acceleration, simple things like web browsing will be toil. And i hope with new video engine there is at least G2D processing. By the way, last 2 pictures - i see only angles, lot of angles, make me feel uncomfortable .
  12. I think 60°C is completely normal for OPI ONE if there is no heatsink at SoC. Mine, with heatsink was around 45/50°C idle in Armbian and this was in more coldly weather, couple of mounts ago. While in OpenElec i use the most in this board it easily reach near 90°C idle. So this temperature is ok for me, if there is no tweaks about this in recent Armbian.
  13. Hello. Browsing through my email i note something from long forgotten, useless http://forum.banana-pi.org. It's about some new images they "release" like: BPI-R1 new image:raspbian-jessie-bpi-m1-m1p-r1.img 2016-07-13 BPI-R1 new image:ubuntu-mate-16.04-desktop-armhf-raspberry-pi-bpi-m1-m1p-r1-sd-emmc 2016-07-21 or BPI-R1 new image: Kanux-Beta-3.3.0-preview-bpi-m1-m1p-r1.img 2016-07-15 There is a note - "kernel 3.4.112 (based on armbian's build)", so hem, congratulations i guess. Looks like you guys are official support for team bpi now .
  14. Did you follow the instructions in "command prompt"? First change root password, add new user, eventually change display resolution and restart. Then Desktop will start.
  15. RagnerBG

    Question

    For Xenial you need to install firmware-ralink, as it is missing. Check this thread - missing /lib/firmware/files and this post from @zador.blood.stained especially.
  16. You are using the same trailer, as i do . Sorry for oftopic. But the colors are ok in my case. As you mention vlc, do you have some workable recipe for compilation with vdpau support? I succeeded only once, but recently i always fail with this: Makefile:8801: recipe for target 'codec/avcodec/libswscale_plugin_la-chroma.lo' failed or this (after libtool-bin): ./libavutil/arm/intmath.h:77:5: error: impossible constraint in 'asm' common.mak:60: recipe for target 'libavformat/flacenc.o' failed make: *** [libavformat/flacenc.o] Error 1 make: *** Waiting for unfinished jobs.... ERROR: Building ffmpeg failed error.
  17. With this note about better contrast and brightness, you make me wanna try dev again on my Lamobo . But with my way of doing things, this mean half a day compilations. What i found on H3 as an issue with framebuffer version of Mali driver - when i start players directly in fullscreen there are no black borders, only transparent. I have to switch to windowed and fullscreen again for borders to become black. About color issue (with avi movies mostly), it's not vdpau, but player/mpv issue. In mplayer, the same movies looks ok and strange thing is - when i add mpv as player in smplayer, the same videos plays fine too.
  18. Thanks for the info, i will follow the progress for sure . Meanwhile, as we already escape from the point of the topic, i started to use your commit of libvdpau-sunxi - https://github.com/rellla/libvdpau-sunxi/commit/271c27b7eeea31a33dea9f39a025bdca89d8243b, but on my H3 devices, to check if bright, contrast, saturation and hue can be adjusted. Because with master branch non of this worked. But it doesn't work either. I tried on mpv player. Of course H3's doesn't need this to be adjustable in common cases, because the picture is bright enough, but i can't try this on my A20 for the moment and it use to work with the latest master branch i installed. My question is - should this fixes work on H3 or are only for A10/20 versions of libvdpau-sunxi? Except of this, there are no issues with your commit, CPU load is very low, almost non existed . Unfortunately i can't provide more info and/or logs sooner, because i put myself in some adventure to start dealing with Xenial version of Armbian and trying to make it the way i used from scratch, with not much success so far. Maybe i will just go back to Jessie...
  19. Thanks for the solutions. Removing license issues and non open source stuff, is surely the right thing to do. The problem is, it can't be avoided in all cases.
  20. Thank you, this solve my problem with Ralink Wifi module i use in Debian Jessie. Unfortunately in Ubuntu Xenial there is no such package, but it used to worked in my build from about 2 weeks ago. I guess i have to manually install package from Jessie, but strange things happen with Armbian lately and there is a lot of haywire functionality. For example when i try "apt-get build-dep" for no matter what, i receive a message for missing address in apt list. I guess we talking about non free stuff. And about Xenial there is the following message when i execute "apt-get update": don't know if it affects anything.
  21. I was thinking of trying again this . Last time i tried everything in the topic, but always failed with mosterta libvdpau-sunxi. But if you say it's WIP - ok. Thanks for the patience with my noob questions.
  22. I got the idea, but even mentioning kodi make this dеsirаble. I am unable to build kodi for A20 so far. Except CMA enabled, is there anything else, your libvdpau-sunxi (gles interop) require? Are those patches necessary: https://github.com/mosterta/linux-sunxi/commit/563e0154269acffaa36ec3b678e4b35cbf7ee1c0.patch https://github.com/mosterta/linux-sunxi/commit/67de2b9320eeb1fe205d29a49742919c1613da68.patch or only CMA is enough? Thank you.
  23. I am curious - what is vdpau_gles_interop? What are the advantages against regular libvdpau-sunxi? I already saw so called "libvdpau-sunxi (gles interop)" from your page. Can i use it ? Is there any requirements for building and installations, or everything needed is in the link? I always build Armbian kernel/image with CMA = Y and set it to 192Mb: CONFIG_CMA=y # CONFIG_CMA_DEBUG is not set # # Default contiguous memory area size: # CONFIG_CMA_SIZE_MBYTES=192 CONFIG_CMA_SIZE_SEL_MBYTES=y # CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set # CONFIG_CMA_SIZE_SEL_MIN is not set # CONFIG_CMA_SIZE_SEL_MAX is not set CONFIG_CMA_ALIGNMENT=8 CONFIG_CMA_AREAS=7 Then remove all sunxi memory restrictions from boot.scr file (remove "sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16" from boot.cmd, then "sudo mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr") and leave everything to be auto/dynamically allocated. As for libvdpau/libvdpau-sunxi i am using the following order for master branch, as it is in README: sudo apt-get update sudo apt-get install va-driver-all vdpau-va-driver wget http://ftp.de.debian.org/debian/pool/main/libv/libvdpau/libvdpau1_1.1.1-3_armhf.deb wget http://ftp.de.debian.org/debian/pool/main/libv/libvdpau/libvdpau-dev_1.1.1-3_armhf.deb wget http://ftp.de.debian.org/debian/pool/main/v/vdpauinfo/vdpauinfo_1.0-1+b1_armhf.deb sudo dpkg -i *.deb git clone https://github.com/linux-sunxi/libcedrus.git cd libcedrus make sudo make install sudo ldconfig cd .. http://www.pixman.org/ wget http://cairographics.org/releases/pixman-0.34.0.tar.gz tar -xzvf pixman-0.34.0.tar.gz cd pixman-0.34.0 ./configure make -j2 sudo make install cd .. git clone https://github.com/linux-sunxi/libvdpau-sunxi.git cd libvdpau-sunxi make sudo make install export VDPAU_DRIVER=sunxi export VDPAU_OSD=1 Pixman may not be needed for A10/20, but it's in requirements. If you go for rellla's branch, you need to install libcsptr . I also add "export" lines in the following files: sudo nano /etc/environment sudo nano /home/"user"/.bashrc sudo nano /etc/X11/Xsession.d/90environment And you also need proper permissions for some files like disp, ump, cedar_dev. I have to note - this is my way of doing things, that i found workable. It's far from good, but is sufficient.
  24. I am using this order, actually - libvpau --> some codecs --> ffmpeg --> mpv. But bear in mind that mpv have it's own build in ffmpeg, if you build it from source and i am not sure it using external ffmpeg at all. You can pass build options for it in ffmpeg_options file, in mpv-build directory. For example: echo --enable-vdpau >> ffmpeg_options
  25. Oh, i guess i missed that part, i was still on 14.04. It was time to upgrade anyway. On Xenial x64 everything build ok and i am already burning the image to sd . Also i noted this in github, about commit cdcfd97e5f36dc4914ed20f25ae1e430e487d752: I used to set FORCE_CHECKOUT to "no" and now i leave it to yes, and a bunch of patches applied. So i am not sure if this was the cause or building system, but now it's ok. @wildcat_paris, thanks for the info, i am for sure more newbie. I thing i used to remove --depth 1, but maybe i am doing something wrong too. And one last thing, that maybe is for separate topic. But on Armbian Xenial, there is no info about RAM usage on welcome screen, only IP, CPU Temp and storage usage, while in Debian Jessie it shows up. And wireless interface is not in the form like wlan0, wlan1 etc, but something like wlx000db000d6ef. It's not a big deal, but it took me a while to figure out why my wireless is not working with my saved config . This is on both OpiPC and OpiOne images.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines