Posts: 15
Joined: Apr 2012
Reputation:
0
how do things look performance-wise? 720p 1080p playback? menu browsing with lightweight / heavy skin?
Posts: 27
Joined: Nov 2012
Reputation:
4
2012-11-02, 23:28
(This post was last modified: 2012-11-03, 00:07 by servili007.)
I don't have anything running yet, unforunately. XBMC make still fails to find ALSA and disables support for it. Any suggestions?
Edit - Fixed, I didn't have hardfloat set in the depends.mk
I also had to source build taglib to get things to proceed, but now I'm building again and hopefully will have a working product this time
Posts: 89
Joined: Feb 2012
Reputation:
0
2012-11-03, 00:07
(This post was last modified: 2012-11-03, 00:08 by Shivansps.)
on Linaro 12.08? if i remember well ALSA fails in configure too, but since its not critical it keeps going, so i guess you have to download alsa lib source, compile and install, then run xbmca10/tools/a10/depends/xbmc/ make again.
Im not sure but no idea of WTH is wrong on Linaro 12.08! lots of broken packages.
Posts: 256
Joined: Nov 2012
Reputation:
4
wolfgar
Retired Team-Kodi Member
Posts: 256
Hi there,
I have just created an account to post my feedback regarding xbmc on A10.
First of all, I would like to thank A LOT empatzero for his work at integrating cedarx in XBMC.
As far as I am concerned, I bought a cheap LY-F1 clone a few weeks ago to hack with A10.
Getting a fully working mediacenter on my linux install was one of the last missing piece and it seems to very close.
On my device, I run :
- A linux sunxi kernel (branch wip/linux-sunxi-3.0/next_mali in which I merged the last commits from the main branch)
- A armhf linaro rootfs (the 20120923 one)
I built empatzero git tree from the 30th of october with no major troubles : I didn't have the same issues as described in this thread. (I simply had to install the required *-dev packages to be able to build in the linaro RFS...).
The resulting XBMC boots fine :
- confluence skin runs fine on my tablet but the resolution of the tablet is low (800x480) : I still have to test how it plays when I use it on HDMI output
- I am able to decode and play HD H264 videos (720 and 1080) through the network (by upnp shares).
Note that I use a AX88772 USB to Ethernet converter to connect to my lan and stream the videos as the tablet has no Ethernet
The rendering is quite fluid (fps almost never drops below 20)
The maximum CPU usage (when decoding 1080 video and displaying subtitles) is less than 50% (to evaluate it I had to use a idle process as xbmc seems to use all cpu if nothing else requires cpu)
On the video rendering side, I am confident that it should be the same on HDMI output. Indeed after some reversing, I think that the video rendering is not performed via a GL texture.
But, as for the android version, the hw decoder puts the decoded pictures in FBM buffers (which are allocated in VE memory section), then xbmc notifies the kernel thanks to DISP_CMD_VIDEO_SET_FB ioctl and the picture will be displayed on the lowest layer at one of the coming vertical sync (The video back end also taking care of scaling) : There is no copy handled by the main cpu nor rendering of GL texture in this process, It just seems to be quite an optimal use of the hw platform...
I may be wrong but what I describe is my current understanding following an analyze of the available source of libcedarv and of the sunxi kernel display drivers...
Yet everything is not perfect :
There are still a few issues depending on the H264 videos. With some of them the whole screen turns pink or white for a little duration and then correct colors come back...
I have not been able to spot the difference between videos which play fine and others but I will investigate...
I have already checked that the issue is not in hardware decoder (I have another android A10 based tablet and I played one of these problematic video with MXplayer -Hw decoding enabled- and it does not exhibit the same issue...)
I also experienced some Audio sync issues (that were solved by setting a manual audio offset...)
I will post updates of my coming tests if there is some interest...
Best regards,
Posts: 92
Joined: Oct 2010
Reputation:
1
wolf: have you tried the advancedsettings hacks for dirtyregion? this should reduce drastically the CPU usage of the box which might give you a little more oomph...
Posts: 256
Joined: Nov 2012
Reputation:
4
wolfgar
Retired Team-Kodi Member
Posts: 256
Hi Vaevictus2,
I have just given a try to dirty region setting, I have to set 3 as algorithmdirtyregions value otherwise I experience blinking issues (so it looks like the A10 driver clear buffer contents).
As expected, it indeed improves CPU usage on the main GUI when the image does not change...
Regards
Posts: 92
Joined: Oct 2010
Reputation:
1
cross compiling from my ubuntu 12.10 virtual box and I get the same error as rsheiha
checking for boost/shared_ptr.hpp... yes
configure: Using Python 2.7
checking for main in -lEGL... no
configure: error: Could not find a required library. Please see the README for your platform.
make: *** [all] Error 1
make: Leaving directory `/home/craig/xbmca10/tools/a10/depends/xbmc'
any ideas guys?
Posts: 92
Joined: Oct 2010
Reputation:
1
yes, in the depends directory I successfully complete make, then after I do make -C xbmc
I think my armhf rootfs is missing python-libs because the python libs are definitely there in the ubuntu (already done sudo apt-get install python-dev)
Posts: 4
Joined: Nov 2012
Reputation:
0
I had a problem with a corrupted python install on one of my early attempted builds and it was very difficult to get it to reinstall python cleanly afterwards. However it could be the library just isn't exactly where it expects it. With several libraries I had to move them, or a symlink up a directory so they could be found.
Posts: 92
Joined: Oct 2010
Reputation:
1
right im just using a rootfs i downloaded from the net somewhere and havent installed into the rootfs at all.
dont know how to install into the rootfs from the build root, will have to do some research,
thanks,