XBMC (Frodo) download for raspberry pi available

Now that i have tested the latest xbmc build, i will provide a small guide how to install it.This version was compiled with the following configure command:

./configure --prefix=/usr --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf 
   --localstatedir=/var/lib --with-platform=raspberry-pi --disable-gl --enable-gles 
   --disable-x11 --disable-sdl --enable-ccache --enable-optimizations 
   --enable-external-libraries --disable-goom --disable-hal --disable-pulse 
   --disable-vaapi --disable-vdpau --disable-xrandr --enable-airplay --enable-airtunes
   --disable-alsa --enable-avahi --enable-libbluray --enable-dvdcss 
   --disable-debug --disable-joystick --enable-mid --enable-nfs --disable-profiling 
   --disable-projectm --enable-rsxs --enable-rtmp --disable-vaapi 
   --disable-vdadecoder --disable-external-ffmpeg  --enable-optical-drive --enable-libcec 
   --enable-player=omxplayer

This version is faster then the version i had compiled in october. As i can tell, video playback and audio is working fine. Playback of .img and .ifo files is possible although the implementation is not perfect. I can´t say anything about airplay and airtunes. So basically someone has to test it. Also the official android xbmc remote is not working with this build. I think it is because it doesn´t support xbmc-frodo at the moment. For android im using an app called yatse widget. It is working very well.


Before you start the installtion i recommend to backup your system by creating a image of your sd-card. If something goes wrong, you have a backup to restore your old system.


Because of the newer versions of libcec and xbmc you will have to uninstall these before you start the installation in case you are using an older version of xbmc or a complete image from this site.

To uninstall older versions:

//In case you had symlinked an older version of libcec
cd /usr/lib/
sudo unlink libcec.so.1

sudo dpkg -r libcec
sudo dpkg -r xbmc

For a complete uninstallation you may want to delete the .xbmc folder in /root/.



Installation guide:

1.Download these files and save them on your raspberry:

2.Install the required libraries:

sudo apt-get update
sudo apt-get install libplist1 libmicrohttpd10 libtinyxml2.6.2 libyajl2 libssh-4 
libmysqlclient18 liblzo2-2 libfribidi0 libcurl3-gnutls liblockdev1 libpcrecpp0

3.Install the debian-packages:

//Only for CEC support
sudo dpkg -i libcec_2.0.5-1_armhf.deb
//For airplay support
sudo dpkg -i libshairport_1-1202030-1_armhf.deb

//Needed files
sudo dpkg -i taglib_20121005-1_armhf.deb
sudo dpkg -i xbmc_26122012-1_armhf.deb

4.Creating Symlinks:

cd /usr/local/lib/
sudo ln -s libtag.so.1.12.0 libtag.so.1
sudo ln -s libtag.so.1 libtag.so

cd /usr/lib/
sudo ln -s /usr/local/lib/libtag.so.1 ./libtag.so.1
//If you installed libshairport library
sudo ln -s /usr/local/lib/libshairport.so /usr/local/lib/libshairport.so.1
sudo ln -s /usr/local/lib/libshairport.so.1 ./libshairport.so.1 

5.For CEC support:

cd /usr/lib/
sudo ln -s /usr/local/lib/libcec.so.2 ./libcec.so.2

6.For Airplay support:

sudo apt-get install avahi-daemon

7.Setting up memory split:

sudo raspi-config

//128MB for the old 256MB rev.
//256MB for the 512MB rev.

After that you can start xbmc via:

/usr/lib/xbmc/xbmc.bin



Hope you enjoy this build :)

Greetings

  1. Konfus

    Saturday, December 29, 2012 - 10:32:27

    pity i leave for a week today. would love to test this one out.
    Thanks for your efforts anyway. Your simple explanations are greatly appreciated =)
    Guets Nois!

  2. anotherbob67

    Sunday, December 30, 2012 - 00:21:28

    I’ve done the install and confirmed that the libraries are installed. I’m getting ” Error: couldn’t find RGB GLX visual or fbconfig message. Any help getting this going would be great. I got the same error after installing the previous version.

  3. Thanks

    Sunday, December 30, 2012 - 11:14:24

    Hello,

    first, thank you for this great stuff! It works like a charm!

    I have tested AirPlay and AirTunes. AirPlay works great, but AirTunes not. My iPhone finds the Pi as speaker but there is no sound. iTunes didn’t even find the speaker. I tryed it yesterday and will look for the reasons in the next days. I’ll give you a feedback.

  4. Markus

    Sunday, December 30, 2012 - 13:05:23

    Would it be possible to compile xbmc with the pvr-addons from
    git://github.com/opdenkamp/xbmc-pvr-addons.git
    so that the Raspberry could be used as a DVB TV?

    I could provide a compiled tvheadend.

  5. spadmin

    Sunday, December 30, 2012 - 14:08:53

    @anotherbob67
    Hi,

    can you provide some more information? How did you start the xbmc? Check if you have selected the right memory split for the old revision 128/128.
    Try to start it with “sudo /usr/lib/xbmc/xbmc.bin”. Check the log file located in “/root/.xbmc/temp”

    Otherwise you can send me the log-file via email: ChristophSchuette86(at)web.de
    I will check it after sylvester :)

    @Markus
    Hi,

    yeah it is possible to compile xbmc with pvr support. I will have to take a deeper look into that…More important at the moment is to setup a package repository and to provide a complete image for download.

    I will write you an email for the compiled tvheadend :) I appreciate that….

    Greetings
    Christoph

  6. encryptix

    Sunday, December 30, 2012 - 17:19:18

    I am getting errors in the log when trying to use airplay:

    “Unable to load libshairport.so.1”

    libshairport is not in /usr/local/lib

  7. spadmin

    Sunday, December 30, 2012 - 17:43:39

    @encryptix
    Hi,
    the installation guide has been updated. I forgot to mention that you have to install libshairport to support airplay. Please download the library from this site and install it. You find the download link for the library in section 1. in the guide above. The command to install the library is mentioned in section 3.

    Greetings
    Christoph

  8. encryptix

    Sunday, December 30, 2012 - 17:54:43

    Thanks, i had to create a sym link in /usr/lib/ to /usr/local/lib/libshairport.so.1

  9. anotherbob67

    Sunday, December 30, 2012 - 21:42:45

    Got it! I completely uninstalled libcec, libtag, and xbmc. Then stared from step 1. Works great, thanks!

  10. Moonsmuse

    Monday, December 31, 2012 - 14:20:43

    Hi,

    libshairport.so.1 doesn’t exist. I can find libshairport.so and so.0 but not libshairport.so.1

    ls -l libshairport.*
    -rwxr-xr-x 1 root staff 984 Oct 5 08:00 libshairport.la
    lrwxrwxrwx 1 root staff 21 Oct 5 08:00 libshairport.so -> libshairport.so.0.0.0
    lrwxrwxrwx 1 root staff 21 Oct 5 08:00 libshairport.so.0 -> libshairport.so.0.0.0
    -rwxr-xr-x 1 root staff 41948 Oct 3 19:42 libshairport.so.0.0.0

  11. encryptix

    Monday, December 31, 2012 - 15:42:34

    @ Moonsmuse

    I have another symlink to make libshairport.so.1 (this is in /usr/local/lib)

    lrwxrwxrwx 1 root staff 15 Dec 30 16:30 libshairport.so.1 -> libshairport.so

    and then i created a symlink in /usr/lib to libshairport.so.1

    I think you could just create a symlink /usr/lib/libshairport.so.1 -> /usr/local/lib/libshairport.so

  12. aspire

    Wednesday, January 2, 2013 - 15:32:36

    Hello,

    first of all, thank you for great job!

    I have a problem with cpu load in idle (menu). CPU load is more than 95% in idle. Is it normal, or i have some wrong settings?

    Thank you

  13. spadmin

    Wednesday, January 2, 2013 - 17:17:22

    @aspire

    Hi,

    this is kind of “normal” in this build. It is due to their gui design, because they are rendering the whole gui every frame even when idle. I will try to fix this in the next build….

    Greetings

  14. siyman

    Sunday, January 6, 2013 - 13:46:47

    Hi Christoph,

    I’ld like to help you with setting up your own repository if you’ld like to. As well I’m running my own private vserver so there is some capacity left. As a reference currently I’m hosting a repository for PS2Linux Blackrhino (Debian Sarge spin-off for Mips-ee platform). Tell me if you’re interested into it.

    Regards
    siy

  15. Cristian

    Wednesday, January 9, 2013 - 08:39:44

    You are awesome.

    I need help with something. I’m having the same problem that comment #10 here selfprogramming.bplaced.net/index.php/2012/09/15/raspbian-wheezy-image-with-xbmc/comments/ but running /usr/lib/xbmc/xbmc.bin

    After I enter xbmc I can’t return to raspbian. When I exit xbmc I get a black screen, and no light in raspberry. I can’t even change tty.

    Sorry if I’m missing some configuration.

  16. MarioZ

    Saturday, January 12, 2013 - 18:52:44

    For anyone facing dependencies issues while installing the XBMC file ( sudo dpkg -i xbmc_26122012-1_armhf.deb ), it’s because when copying and pasting the command quoted in the post, it splits into two lines. As a result only half of the packages are installed.

    I’m talking about the first command after updating.

    So copy paste this:

    sudo apt-get install libplist1 libmicrohttpd10 libtinyxml2.6.2 libyajl2 libssh-4 libmysqlclient18 liblzo2-2 libfribidi0 libcurl3-gnutls liblockdev1 libpcrecpp0

    or try copying the command into a text file, make it into one line, then copy and paste in the terminal. (or just type it in manually).

  17. franastor

    Thursday, January 31, 2013 - 20:41:34

    hi, thanks for you job!!!
    i have a problem, the installations its ok, but when i reproduced any video i can lisening but i cant see.

    Anybody Can help me???

    Sorry for my bad English

  18. franastor

    Thursday, January 31, 2013 - 21:02:35

    more info from log:
    WARNING: OpenVideoStream - Unsupported stream 0. Stream disabled
    CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED

  19. franastor

    Thursday, January 31, 2013 - 22:28:24

    more info:

    before i install xbmc i can play videos with omxplayer -o hdmi name.avi
    after the install xbcm i cant play any video…

  20. spadmin

    Friday, February 1, 2013 - 07:29:58

    @franastor
    I have written you an email :)

  21. franastor

    Friday, February 1, 2013 - 10:07:27

    Thank you very much for your help.
    With this information I’ve solved.
    Thank you so much again