Hi all,
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
SubSection "Display"
Depth 24
Visual "TrueColor"
EndSubSection
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?
Kindest regards
/Torbjörn
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):
http://trac.xbmc.org/ticket/12890
http://trac.xbmc.org/ticket/12889
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)
bufferInfo.avcSliceBufInfo.bufferBase=m_decoder.sliceBuffer.phy_addr;
bufferInfo.avcSliceBufInfo.bufferSize=m_decoder.sliceBufferSize;
#else
bufferInfo.avcSliceBufInfo.sliceSaveBuffer=m_decoder.sliceBuffer.phy_addr;
bufferInfo.avcSliceBufInfo.sliceSaveBufferSize=m_decoder.sliceBufferSize;
#endif
And regardning the xorg 24 bit problem:
If you set the following in /etc/Xorg/xorg.conf
SubSection | "Display" |
Depth 24 | |
Visual "TrueColor" |
EndSubSection
If you seem to have to set this manually:
echo 32 > /sys/class/graphics/fb0/bits_per_pixel
Many thanks for your help,
I did following the guide but no change.
I gave up the IMX53.
Did you try to use fbset to configure the framebuffer?
I tried $ fbset -depth 24 with no success.
Has everyone ever tried to set up 24bit color display on ubuntu ?
I use Yocto, not Ubuntu. I don't have the board with me for testing right now. Maybe DaianeAngolini knows about it?
I have no idea what you´ve been talking about =P
Anyone tried to change display setting via bootards/kernel command line?
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.
And why did XBMC does need 24bit?
I mean, it would be a hardware specific parameter, and software would need to get adapted on hardware, not the inverse.
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.
Hello,
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
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "i.MX Accelerated Framebuffer Device"
DefaultDepth 24
EndSection
After restart the board display nothing (Black screen)
is it a frame buffer driver bug ?
Regards.
In order to avoid confusion; the branch that Rob Clark is using is:
https://github.com/robclark/xbmc/tree/gstreamer-eglimg
/Torbjörn
Did you got further? I am did build XBMC Eden for MX53QSB but I get a black screen only.
Hi,
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;
http://compass.freescale.net/livelink/livelink?func=ll&objId=222714399&objAction=browse&viewType=1
Kindest regards
/Torbjörn
Status update;
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 ;)
Happy hacking
/Torbjörn
Sorry, I am not familiar with the XBMC demo 20110511 specific drop.
Hi Marscha,
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?
Kindest regards
/Torbjörn
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:
http://compass.freescale.net/livelink/livelink?func=ll&objId=222714399&objAction=browse&viewType=1
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.
/Torbjörn
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?
Thanks, Leon.
I think you can get it here: http://xbmc.org/download/