Jump to content

RagnerBG

Members
  • Posts

    222
  • Joined

  • Last visited

Everything posted by RagnerBG

  1. Well, why not install it yourself on this image? sudo apt-get update sudo apt-get install xorg xfonts-cyrillic sudo apt-get install lightdm And desktop environment itself. Me personally prefer LXDE. This are all packages i add in Debian Jessie: sudo apt-get install task-lxde-desktop va-driver-all vdpau-va-driver alsa-base alsamixergui pulseaudio pulseaudio-module-x11 pavumeter pavucontrol libxml2-dev arj lhasa unar zip gvfs-backends gvfs-fuse avahi-daemon libnss-mdns geoip-database notification-daemon avahi-autoipd obex-data-server geoip-bin opus-tools speex lxtask gvfs-bin gksu policykit-1 but you can install only the first: sudo apt-get install task-lxde-desktop If you prefer XFCE, as it is in desktop images, this is from Documentation page: sudo apt-get install xfce4 tango-icon-theme gnome-icon-theme
  2. Did you activate CMA in kernel, along with the UMP patches? To be honest i am more interested to integrate Kodi in Armbian image, because those images are the best and stable for my device, which is not cubietruck but weird Lamobo-R1 - semi-router, semi-banana pi . But it's A20 too. I don't want to sacrifice all the advantages of Armbian over other kernel just for one program. That's why i am curious how did you manage to integrate those patches? I doubt to be able to reproduce this in armbian legacy kernel, because files i have to modify are just not there, but it could be useful anyway.
  3. A lot of changes from 5.0 i've tried last and 5.05 and all look good . Yes, problem is solved, no more crashes after building image. And i saw some other things - like locales don't break compilation anymore if there is something else, than EN. Also i noticed new extra ralink driver. Is this for hardware mod with RT5572N from here - http://forum.armbian.com/index.php/topic/372-hardware-mod-bpi-r1/ ? Because i already have the module but been too lazy to soldered it yet and this could be quite useful for me.
  4. Thank you for this tip. I was wondering why my Ubuntu crashes every time after i build Armbian.
  5. Previous page in the other forum - http://forum.kodi.tv/showthread.php?tid=254202&pid=2240754#pid2240754
  6. Тhat's interesting. This OpenPC TV is based on XBMC, but support vdpau, while original Kodi/XMBC doesn't and use only GL acceleration. Module "sunxi_cedar_mod" is present in Armbian itself and don't need other kernel to work. Some "undefined symbol:" part of my post is fixable (probably), the problem is in UMP version which will not work without kernel patches, that are specifically for this. Why not try to compile the newest 16.0rc3 version of Kodi, as of the last post in previous page and add the patch from the link there? Even if hw acceleration doesn't work it should be able to handle video <=720p.
  7. Sorry, i missed that part, where you want to control through remote terminal. I personally, use usb wireless keyboard+touchpad. But as far as i remember i was able to access X on device through remote terminal, by executing commands with " cat | " or something like this. I don't remember the exact command.
  8. Why not just install mali driver along with other stuff and some lightweight desktop and don't bother with all those logins? It will not take too much resources, just some more packages. 15-20% from player and Xorg is what i got also, so i guess it's normal. Maybe Mplayer and VLC are couple of % down, but MPV offer the best image quality for my taste. More detailed and contrast picture, RGB colors, while VLC and Mplayer look more bright and YUV. About darken video i saw something similar with older Ubuntu desktop image of Armbian, with too old sunxi-vdpau library. With new ones image look normal to me. Maybe i will write some guide or something, if i have more time, with all players, codecs, drivers and so on, compilations. But i forgot how i manage to buld VLC and try to reproduce it with no luck today .
  9. CMA is not enable in armbian kernel. You have to compile it by yourself, to enable it. I am using the following settings, mentioned in other project, related to Kodi: You can change the size, but going above 192Mb is mentioned to cause instability. And going below is pointless, because memory is allocated dynamically. You can try desktop ubuntu image, but i had some troubles with it and there are no specific memory reservations there, i can't compile stable image from source either. I am not advice you to use old Debian Wheezy, because you can't install latest vdpau libraries because of incompatible old lic6 version. You can try with no problems on new Debian 8 Jessie. About memory reservations, you have to edit the following file - /boot/boot.cmd . Mine look like this: The last two doesn't seem to have any effect, but the first does. After you edit boot.cmd , create new boot.scr in the same directory: mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr and reboot. Let as know if you have some progress with Kodi .
  10. You will achieve nothing if you don't compile kernel with needed parameters, or mosterta's UMP library will not work at all. It's possible to add CMA in armbian kernel 3.4, but i often read diagonally and recently find out there are two other patches to apply, which i don't know how to do. Maybe you know how: https://github.com/mosterta/linux-sunxi/commit/563e0154269acffaa36ec3b678e4b35cbf7ee1c0 https://github.com/mosterta/linux-sunxi/commit/67de2b9320eeb1fe205d29a49742919c1613da68 The sources from this github and armbian look very different. About Cedrus, i noticed some recent changes in libvdpau-sunxi . It's depend on Cedrus as separated source now, so you can try to use this in your system: https://github.com/linux-sunxi/libcedrus.git But i advice you to install original sources of UMP and libvdpau-sunxi and then mosterta's versions over them. This solve me some problems, but i can't reach workable solution yet, because of this missing patches i guess.
  11. The only important thing about kernel is this parameter: 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 I compiled amrbian 3.4 kernel with it and it work stable. Even the zero-copy double buffering start working with the help of this and now 1080p video acceleration is no problem. But this guy have some very modded system and it's difficult to install his versions of libraries. His UMP version is not working in my system, but i suspect i had to install fbturbo for X11 and not for framebuffer. And his libvdpau-sunxi require to remove some parameters before compilation, because of something about Valgrind i completely missunderstand. And there were many other thing i manage to solve, but those two give up me.
  12. Perhaps "apt-get purge xscreensaver" will remove it, although i install this package for screen saver. But the above xorg config work in my case anyway, i just enjoy screen saver with black screen.
  13. I guess my english is not very good. I meant, R1 have IR port, but with HDMI-CEC, which is supported in Kodi, one can use tv remote through HDMI. As far as i found out there where some experimental support for XBMC (old name of Kodi) with CedarX, which is not working now. The only thing i found is this - http://forum.kodi.tv/showthread.php?tid=254202 . I try to reproduce it, but there are too many problems i had to solve, install, modifying files, etc. At least the author is patient enough to give me a hints, so maybe i will try again soon.
  14. Thank you, this is useful (kind off), since i stopped visiting their useless forums for awhile. There is not much interesting info that is not discovered already, but HDMI seems to support HDMI-CEC. Despite the internal IR, this could be useful for Kodi, if anyone is able to port it successfully with Vdpau support. And the most important, if i understand it well - 3 usb ports (OTG, Ext USB2.0 and wifi USB) seems to be separate from each other and not on common hub. I don't see what else they can offer to earn sells, with such misconception boards so far, especially this one with PMU that require headsink and cooler to be sort of stable and not overheat and even heat hard drive on the opposite side of the board. But we will see...
  15. I have to confess, i didn't understood the part with user patches very well, so i made it a little rough and dirty by edited the original files in /lib/config/ and added what i need. This way worked for me in version 4.83 and nothing required upgrade after. But with new 5.0 version and the same way of modification, linux-headers-sun7i and linux-image-sun7i require to upgrade on fresh image. I was thinking to suggest adding of CMA (contiguous memory allocator) in some future kernel, but it can't be added as a module and i don't know how it will impact with memory use in headless servers with no need of video or xserver. I forgot to mention. Image from download section is working, only my self-compiled wont.
  16. Hello. Maybe this is discussed already, but i can't find anything with the search. I have some modifications in kernel and other things and i have my own build image of Debian Jessie and deb-s with this modifications. Version 4.84 of legacy 3.4.110 kernel. The most important for me is contiguous memory allocator - CMA, which solved my problem mentioned here - http://forum.armbian.com/index.php/topic/559-lamobo-r1-hardware-accelerated-driver/ , other things i can do under working system later, but i add them in image for ease. The problem is, after latest upgrade every modification is gone, of course. I made a new deb-s, version 5.0 with CMA enabled and apply them, but when i make "apt-get upgrade" it still insist to upgrade linux-headers-sun7i and linux-image-sun7i, which lead me to the same situation. I try to compile a whole new image of version 5.0 and still this packadges require upgrade even if i had the same 5.0 version. How can i keep my config and modifications and still be able to upgrade? And other problem, just to mention, it's not important for me as i use Debian Jessie in major. But i can't compile Ubuntu Trusty image. Every image i made is broken, no mater if i make clean compile or add some modification, while Jessie and Wheezy compile just fine. I try to compile under Ubuntu 14.04.3 Desktop and Server. And by broken i mean compilation finished without errors, but there are problems with first boot.
  17. Just for the record, i think i find out some info about this: I am not sure, but it's seems to be more important for 3D, than hw accelerated video. As for the fix, maybe there is something common with this - https://github.com/hehopmajieh/linux-sunxi/commit/c42070b5aaf87a87b644f6d6d93ddf6eba7fbc04 , and the mentioned problem with UMP. But this is beyond my knowledge and i don't know what to do with this patch. About hw acceleration, i haven't got much time lately, but for me, it works only in your legacy Trusty desktop image. No video memory reservation there, old libvdpau version, no UMP, no special codecs, but it works some how. I've tried so many instructions and i couldn't get it to work from clean image with no desktop. mplayer is unable to load x264 library with vdpau (installed libx264 many times, many sources), mpv - high CPU load, frame drops = no hw acceleration. I failed with CedarX also. Only software XV with 2 cores set for encoding give me some acceptable framerate and smooth image. I guess this is above my possibilities. Generally i would be happy enough with pre built Ubuntu Desktop, but it have some problems in my device. It is very slow - slow boot, slow work, every other image i've tried was at least 5-th time faster than this. I don't know why is this and whether the problem is in me (my device, my sdcard) or with the image in general. For the last time in this topic, because i am getting to feel a little schizophrenic with so much attention. Now i am quite sure despite my general ignorance in Linux, the problem is not in me. Something is broken in the latest sources. I don't know what, perhaps latest libvdpau-sunxi have some problems with A20, or R1 in specifically. But HWA work in images before and = 4.2. I just install some player and there is hwa through vdpau. As soon as i do apt-get update && upgrade or install latest image, there is no hwa anymore. I even try to built image from github - same thing. I already suffer from inadequate support for this board, but never expected something that has worked to be just broken lately. So, ahem - problem solved...
  18. Eeeee, sorry but nothing is solved yet. I still got troubles with - "tear-free zero-copy double buffering needs more video memory". I don't know how important is this but i try to set this parameters noted in Xorg0.log and i failed every time with "fb0_framebuffer_num=3" . In the meantime i check various sources in internet and make some more modifications in script.bin. I added the following section: maybe i should increase memory to 32Mb? And i added some extra parameters in [MALI_PARA] section i saw in some sources concerning opangepi with the same A20 and Mali400Mp2, so it look like that now: I was a little worried about last two, but the system is stable. Also looking here an there, i added extra line in [disp_init] - "sunxi_fb_mem_reserve = 32". I am no sure this is the place for this parameter but i saw it in one fex. Every of this cause no problem (and no noticeable change by the way) but every time i set - "fb0_framebuffer_num=3" system begin to boot-loop after loading kernel message, with installed graphic environment, or is booting but unable to install one. So i give up of this double buffering for now. It should work with value of 2 also, so i don't know why is this massage in log. Except of that i am at the point of learning how to install and set-up CedarX or sunxi vdpau. I don't know what is what's, but the second is the only one in Ubuntu_trusty_3.4.109_desktop that actually accelerate h.264 (with some issues). Any suggestions? Sunxi site is completely unclear about this. And i have Mali driver and Xorg/fbturbo but i can't run a test. I can make test now although i cloned repo twice and a little mess happened, but after test/test i got message - cannot access X server or something.
  19. I didn't thought about this. Thank you both for clarifications. I guess, usb lan adapter is not so meaningless after all. I even found some, combined with hub and card reader... Honestly, i didn't know such adapters exists. I own and use the opposite - m-sata to sata adapter for one ssd of mine, never thought this will be much simple and cheap to produce. Ok, you rebut me, i can accept this. To be not so judgemental i have to say this boards have something that is needed and put them in other segment immediately. This is the SFP port.
  20. Sorry if i jog between the big guys, but i don't understand whats the problem with VLANs on BRI-R1 or any other dumb/singe switch device? I've done this many times in Openwrt and cheap switches with burned out WAN port. I've done this with BPI-R1 also. It's a bit tricky and not so easy and user friendly, but i've done it in Linux too, at least with static or dhcp on internal interface/WAN/port3, not try it with pppoe yet. But even if there is a need to use external USB lan, there is OTG port, there are USB hubs. (About OTG port, i thought for very long time, my device is partly broken because even with 100% working OTG cable i couldn't get it to work in no Linux images, nor Openwrt. Then i notice it's disabled on very low level, don't know with what porpose, so i activate it as host and finally have my second USB port). Maybe i miss something in the treat here? Of course this board is cheap crap with a lot of issues, but have no alternatives for now, including the price and most of things are correctable if one have some skills. Flaws in power and heat are correctable, only the crappy wifi is not and i, as many others i guess, give up and decide to use external module. Other thing that come to my mind is trasfer between internal storages and outside the switch. I read it's slow because some bad A20 driver. Right now i have around 6/7Mb and 100% CPU use. I thought there are some patches about this making speed a little better, because i have some memories (but not exactly sure need to check again) i had at least triple more speed in Openwrt when i tested. This seems to be the other non solved big problem too. Anyway, i and i think - people like me, just looking for some hobby and something to replace my old router with Openwrt, with something a little more powerful and with more possibilities to play with. This boards you show in this topic are for the price of NAS. They don't even have SATA port, which is one of the major purposes i bought this board. What should i do with m-sata ports? SSD for NAS, seriously? Or HDD on USB and a forest of cables again. I have this on my current router and the same functionalities, so - no thanks. Why is this ARM CPU there if i cant use it as mini PC, as BPI?I can buy routerboard or some hi-end router for the price. This ClearFog could be some alternative despite missing full sized SATA port, if the price was devided on 3 to be correctly positioned on market, otherwise - why not just buy a NAS or even a mini-ITX PC. The other board, sorry if i hurt some feelings but - are you kidding me?
  21. Hm, i really have to open this topic to find solution to my first question a minutes later. I don't know why but i have to reboot halted system during install and run - "dpkg --configure -a" . The process resumes and finish with the following errors: but Gnome loads successfully after reboot. Of course i have to add another user instead of root to be able to login and the old problem - "the screen goes off and will not restart until reboot" remain, but it something for now. So only the thing with "fb0_framebuffer_num=3" bother me for now.
  22. Hello and thanks for the good work and support with these images. First, excuse my bad english, it's not my native. And i am a little rookie and a little noob, so sorry if i write crap and don't understand basics some time. Recently i've try to install desktop on this board and hardware accelerated driver with partial result. I had Armbian_4.5_Lamobo-r1_Debian_wheezy_3.4.109 with installed Gnome. I install Gnome following this site: https://www.namhuy.net/1085/install-gui-on-debian-7-wheezy.html Then i started to install and configure stuff based on sunxi site. First libUMP tnen this: http://linux-sunxi.org/Mali_binary_driver "make test" didn't do anything - can't create a test or something. Then i do this: http://linux-sunxi.org/Xorg#fbturbo_driver in log i had the same: but i also notice the following in Xorg.0.log: Aaaand my odyssey begin. I notice the second parameter is defined in boot.scr file. There where other parameters too, preventing 2Dand 3D acceleration - "sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16". I notice the following lines are not present in version - Armbian_4.5_Lamobo-r1_Ubuntu_trusty_3.4.109_desktop (why i am not using this version - long story), so i follow this description: http://linux-sunxi.org/Display#boot.scr edit boot.cmd file and create new boot.scr without these lines and reboot then try to install Gnome (i do this on fresh installation). The problem is - i don't know if i am cursed or this @#%^&%* board is cursed, but from the site maintenance yesterday i am unable to install Gnome anymore, no mater content of boot.scr file. At first i thought this is the problem but it appears to be something with apt-get because once i received the following error - apt-get error (100) or something similar. Tasksel freeze at around 55%, i try "apt-get install gnome" it freeze at some point too. I don't know what log to loot at, i couldn't find anything related to apt-get or aptitude in /var/log/ . I even try older images where i used to install the same desktop before and the result is the same. This is my major problem right now, because instead of going forward i am way beyond the start line at the moment. About the first thing about FBTURBO(0) in Xorg0.log i understand this parameter is in script.bin which is not so easy to edit, but i am defiant... I install libusb-1.0-0-dev and use this guide to modify the file: http://docs.cubieboard.org/tutorials/common/edit_the_system_configuration But i notice script.bin in this board is a simlink to /bin/lamobo-r1.bin so i edited this file and change parameter - fb0_framebuffer_num, from 2 to 3. And by the way i am using nano instead of vi because me and vi are old enemies and every time i risk and using it result in disastrous results - in this case - boot loop or various problems before boot. The problem is, after i change parameter from 2 to 3 (with nano) and reboot system is unable to load desktop anymore if i do this after i installed one. If i try to install desktop with this parameter enabled i can't startx later (and it can't autoload too). I have to make fresh install again. Sorry for the long post. What am i doing wrong so i can't install desktop environment? And why setting framebuffer to 3 causing troubles when it's recommended value in sunxi site: http://linux-sunxi.org/Display#boot.scr
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines