Posts: 12
Joined: Nov 2010
Reputation:
0
2013-02-03, 12:17
(This post was last modified: 2013-02-07, 23:26 by freechelmi.)
@ kostyamat : Thanks for this XBMCubuntu image but could you give soe details here in english about what is/isn't working ?
Russian translated is difficult to understand :-)
thanks
Also : the Full image from the torrent seems corrupted , do you confirm ? I download the 4G flavour now
Posts: 22
Joined: Jan 2013
Reputation:
0
chevil
Junior Member
Posts: 22
hello,
i'm trying to make the xbmca10 working on android ICS, has it been done already ? and who did it?
i try to replace the Linux video renderer using the frame buffer with a software one ( GLES ) but the frames i get are all garbled...
thanks for pointing me to the right people here.
regards,
sevy, android dev
Posts: 22
Joined: Jan 2013
Reputation:
0
chevil
Junior Member
Posts: 22
you said it yourself, i have an allwinner tablet and libstagefright doesn't work on it, so thank you for the advice but it's not an alternative, i want to make cedarv working on this tablet, that's all, so does anybody did it before? ( or any other way to have hardware acceleration on allwinner tablet ). Thanks.
sevy
Posts: 22
Joined: Jan 2013
Reputation:
0
chevil
Junior Member
Posts: 22
it seems that compiling the xbmca10 with an android 14 toolchain fix my problems, now the hardware acceleration works, but sometimes screen turns blue..
Posts: 22
Joined: Jan 2013
Reputation:
0
chevil
Junior Member
Posts: 22
i want to make it run on android, my job is to make it run on android so i don't want ubuntu, but as i said in last post, it's running now and decoding 1080p mkv videos at least, but sometimes the colors are wrong and it initializes badly and all is tainted in blue... did anyone see this and know a workaround?
sevy
Posts: 22
Joined: Jan 2013
Reputation:
0
chevil
Junior Member
Posts: 22
hola,
about the speed of the b¡playback, be shure you use hw accelerated decoding
and rendering ( check the logs for A10 messages ),
maybe you did not compile with -DALLWINNERA10 ?
about the blueishness, i think i fixed it by setting hue and saturation
of the GL Layer in LinuxRendererA10.cpp :
#define NEUTRAL_HUE 20
#define NEUTRAL_SATURATION 32
args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = 0;
args[3] = 0;
int hue=0;
hue = ioctl(g_hdisp, DISP_CMD_LAYER_GET_HUE, args);
// CLog::Log(LOGDEBUG, "A10: layer hue is %d.\n", hue );
// setting hue and saturation for this layer
// to prevent blue tainted screen
if ( hue != NEUTRAL_HUE )
{
args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = NEUTRAL_HUE;
args[3] = 0;
if ( ioctl(g_hdisp, DISP_CMD_LAYER_SET_HUE, args) < 0 )
{
CLog::Log(LOGERROR, "A10: DISP_CMD_LAYER_SET_HUE failed.\n");
}
else
{
CLog::Log(LOGDEBUG, "A10: set hue to : %d\n", NEUTRAL_HUE);
}
}
args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = 0;
args[3] = 0;
int sat = 0;
sat = ioctl(g_hdisp, DISP_CMD_LAYER_GET_SATURATION, args);
// CLog::Log(LOGDEBUG, "A10: layer saturation is %d.\n", sat );
if ( sat != NEUTRAL_SATURATION )
{
args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = NEUTRAL_SATURATION;
args[3] = 0;
if ( ioctl(g_hdisp, DISP_CMD_LAYER_SET_SATURATION, args) < 0 )
{
CLog::Log(LOGERROR, "A10: DISP_CMD_LAYER_SET_SATURATION failed.\n");
}
else
{
CLog::Log(LOGDEBUG, "A10: set saturation to : %d\n", NEUTRAL_SATURATION);
}
}
strangely neutral values here are not 50, but it's working here on my tablet.
ahoj,
sevy
Posts: 22
Joined: Feb 2013
Reputation:
0
2013-02-21, 12:08
(This post was last modified: 2013-02-21, 12:13 by movie_enjoyer.)
Is there any builds for beginners which are stable enough? I mean XBMC Linux builds. I have made several searches to look for easy builds, but no luck. I have a MK802 with A10 SOC I want to try with