Im trying to get XBMC running on the i.MX53 QSB. I compiled it natively from latest git, running the xbmc.bin i got an error message implying that XBMC needs 24 bit color depth.
In u-boot im using video=mxcdi1fb:GBR24,XGA di1_primary tve
and i've changed xorg.conf from 16 to 24
XBMC refuses to start, and im getting that error that it needs 24 bit color depth. So i added DefaultColorDepth 24 in xorg.conf and that made XBMC start, but im only getting a black picture :(
Has anyone tried running XBMC? Any input regarding X color bit depth?
Anyone still interested in getting xbmc running on the QSB?
I've two findings to share.
Two patches for Xbmc Eden that add VPU support for i.mx51 (and also i.mx53):
On i.mx53 one need to change #if 0 below to #if 1 in DVDVideoCodecVPU.cpp
#if 0 // VPU_LIB_VERSION_CODE >= VPU_LIB_VERSION(5, 3, 0)
And regardning the xorg 24 bit problem:
If you set the following in /etc/Xorg/xorg.conf
If you seem to have to set this manually:
echo 32 > /sys/class/graphics/fb0/bits_per_pixel
The Ubuntu display of the IMX53QSB is configured 16 bit color depth by default.
We can run xwininfo command to check it.
Although we set display parameter RGB24 in the bootargs but there is no 24bit color depth diplay effect on the Ubuntu.
As mentioned above, I've got the XBMC source from XBMC and built the source by using native gcc in the Ubuntu. Because the is no release patch file support for i.MX53 so I built by using default configuration:
I wish XBMC will be supported on IMX53 platform and so on Android 4.0... Although Raspberry Pi (ARM11) seem to be less performance than IMX53 but already supported a lot of opensource software such as Android 4.0 and XBMC...
My custom PCB design is based on IMX53QSB, and I'm using the board for android TV purpose. But the current Android 2.3 released from Andeneo still has some bugs and runing quite slowly.
The board is now useless instead.
I met the same problem regarding 24 bit color depth.
For changing the ubuntu display corlor depth I did as bellow:
sudo gedit /etc/X11/xorg.config
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "i.MX Accelerated Framebuffer Device"
After restart the board display nothing (Black screen)
is it a frame buffer driver bug ?
A year has passed now.
I would like to ask a kind soul at Freescale to please help us with releasing the XBMC demo code made for the i.MX53.
I can't see any reason not to release it to the community.
As a previous post in this thead has mentioned, the source can be found on a Freescale internal page.
Perhaps this could be uploaded to a public page as it is, and then let us that as a base for porting it to the latest xbmc release.
The link is here;
I've given up on getting the XBMC demo 20110511 source code. Instead I'm focusing on Rob Clark's xbmc/gstreamer implementation. I've compiled it... and it seems promising.... however render to texture (zero-copy) for the i.MX53 is not implemented. Tutorial on that can be found here:
So i'm basically going to try to patch Robs repo, and see if i can implement zero-copy for the i.MX53
If anyone beats me in posting a patch, no one will be more happy than me ;)
Thank you for your response, I compiled xbmc on the board and got the error that it required 24 bit color depth. So I assumed that Freescale had made some changes to the code in order for it to run properly.
Do you mean that the link to "XBMC demo 20110511" that i got from Freescale is plain xbmc with no i.MX53 QSB specific patches in it?
I will try a little harder to get it working then ;) After all i have now upgraded Xorg with the one that came in the 11.09 bundle.
EDIT: Did a quick check in xbmc source tree, seems that gstreamer support is not in the master branch. I assume that would be included in the "XBMC demo 20110511" right?
Hi Leon and all other interested in XBMC on imx53 qsb,
Let me share what I got so far; I got the following response from support:
Yes, we have XMBC demo on mx53 platform, pls find it:
Name is "XBMC demo 20110511 "
For obtaining files it is possible to apply for help to local Freescale representative, since link is available for Freescale employees only.
My plan is to call the Freescale office in Sweden (where I live) and see what they can do. It would be very nice if this code became public though.
Marsha, I do not think the xbmc.org has a build for i.MX53, at least I could not find one. Please correct me if I am wrong.
Torbjörn could you let us know if you could obtain it, and how?