Pre-compiled XBMC for Raspbian
by adama on Jul.14, 2012, under Linux, Raspberry Pi, XBMC
EDIT: This post is very old now, please don’t rely on it or try to report bugs
As there are no .deb packages for XBMC on Raspbian armhf yet and it takes almost a day to compile it by hand, I’ve tar’d up my pre-compiled version and made it available. My version is confirmed to work on Raspbian Pisces and DarkBasic images from June/July.
It’s simply an archive of the files installed by “make install” after the compilation is complete. Please note that this is currently compiled without libcec and without NFS support, I plan to re-compile with these soon.
To install it simply follow this guide:
Make sure you are logged in as root and have a prompt with a #
root@pisces:~#
If you aren’t root you can use sudo or su – to become root.
Download the tar.gz file
wget http://www.memetic.org/files/xbmc.tar.gz
Untar the file and copy the contents to your Raspbian install
tar zxvf xbmc.tar.gz
cp -av xbmc/usr /
Install the libraries used by XBMC
apt-get install libmicrohttpd10 libmicrohttpd10 libsmbclient libavahi-client3 libjasper1 libyajl2 libtiff4 libfontconfig1 libfribidi0 libpng12-0 libcdio13 libsamplerate0 sqlite3 libcurl3-gnutls libtinyxml2.6.2 libssh-4 libmysqlclient18 liblzo2-2 libpcrecpp0
Change the firmware to give 128MB to the GPU and reboot
cp /boot/arm128_start.elf /boot/start.elf
reboot
You can now start XBMC!
/usr/lib/xbmc/xbmc.bin
Optionally you can overclock your Pi to get better performance. The configuration for my highest stable overclock is below, these setting go in config.txt on your /boot partition. See my post on Overclocking the Pi for more information.
arm_freq=1050
core_freq=500
sdram_freq=450
over_voltage=6
over_voltage_sdram=0
disable_overscan=1
If you find that your keyboard and mouse stop working when you start XBMC, it’s probably because your evdev kernel module couldn’t be loaded. Make sure that you have the required modules for your kernel installed.
112 Comments for this entry
5 Trackbacks / Pingbacks for this entry
-
Raspberry Pi XBMC and DTS Audio « memetic dot org
July 17th, 2012 on 19:32[...] Raspbian and my XBMC binaries I was able to play back a relatively high-bitrate H.264 (~20Mbps) video file with 1.5Mbit DTS [...]
-
Raspbian + Samba Mount + XBMC + MPD = Awesome Media Center
October 9th, 2012 on 22:46[...] Install packages (mpd, cifs, etc…) Installed a pre-compiled version of XBMC (quite old but works very well) from http://www.memetic.org/pre-compiled-xbmc-for-raspbian/ [...]
-
Raspberry Pi con VNC | MoWAps, la vida es móvil
January 16th, 2013 on 18:22[...] – Raspbian OS (alternativamente os dejo el tutorial de instalación de XBMC, buena guía http://www.memetic.org/pre-compiled-xbmc-for-raspbian/) [...]
-
Life with Pi – XBMC, VPN, Proxy server… – wodieskodie
January 26th, 2013 on 20:22[...] yourself, or have no idea what I am talking about when I say compile, this is the tutorial for you http://www.memetic.org/pre-compiled-xbmc-for-raspbian The only thing it does not include are the libraries to let you work your RPi installation of XBMC [...]
-
Pre-compiled XBMC for Raspbian « memetic dot org | fortschrittsbalken
March 25th, 2013 on 22:31[...] Pre-compiled XBMC for Raspbian « memetic dot org. [...]

July 15th, 2012 on 19:50
nice guide got xbmc working off the bat!
did notice that it started to complain about a memory leak though
root@pisces:~# /usr/lib/xbmc/xbmc.bin
no talloc stackframe around, leaking memory
being a complete noob this seems like it might be bad?
October 28th, 2012 on 17:00
Well done.
It work wery fine on wheezy raspbian (2012-09-18 image version).
NOTE: I’ve installed each required libray one at a time using: sudo apt-get install
Before install the dependencies I needed to run the update to refresh links.
Bye and thank’s.
July 15th, 2012 on 22:49
Hmm. I haven’t noticed any major issues, though it does seem a tiny bit crashy.
July 16th, 2012 on 15:11
rebooted a couple of times and it seems to have settled down.
thanks for this really appreciate your hosting the files
still cant seem to nail large DTS file playback on the pi yet…
I was hoping that the raspbian addition of floating point calcs might give it enough grunt to stop the pausing issue, while it has done this playback generally has suffered with lots of frame lag on rasbian xbmc…
ah the joys of tinkering!
July 16th, 2012 on 15:58
Yeah. I’ve had one or two DTS movies play back without issues, but the vast majority are just no-go.
I gave up and transcoded all DTS to AAC. DTS is pretty braindead format, it’s very very old with very bad compression, I can’t see why people waste 25% of their available bitrate on it!
I should benchmark the DTS decoding speed in various configurations to see what the actual performance differences are.
July 17th, 2012 on 06:30
Just downloaded XBMC and tried on Raspbian/Wheezy hf, latest image from Raspbian.
Had to install the following libraries before xbmc would start:
apt-get install libtinyxml2.6.2 libssh-4 libmysqlclient18 liblzo2-2
July 17th, 2012 on 22:53
Damn, didn’t work, and looks hard to undo. I got this:
root@raspberrypi:/home/pi# apt-get install libmicrohttpd10 libmicrohttpd10 libsmbclient libavahi-client3 libjasper1 libyajl2 libtiff4 libfontconfig1 libfribidi0 libpng12-0 libcdio13 libsamplerate0 sqlite3 libcurl3-gnutls libtinyxml2.6.2 libssh-4 libmysqlclient18 liblzo2-2
E: Invalid operation install libmicrohttpd10
July 21st, 2012 on 16:57
I had the same problem as Elliot and I just copied and pasted it from the website. In the end I typed it out by hand and it worked.
July 23rd, 2012 on 09:38
Actually, I can see what the problem was with installing libmicrohttpd10, I think. It’s there twice in your script. I don’t know if it matters but there’s also a double space after the second one.
Anyway, I think I’m going to have to start from scratch and re-install Raspberian Wheezy. Thank you for making your XBMC build available. I’m sure I’ll get it working in the end!
July 17th, 2012 on 22:56
That command line works fine for me. You seem to have a non-space character between install and libmi…
Are you using a weird OS?
July 17th, 2012 on 23:58
I followed all the steps above and when running I receive an error.
error while loading shared libraries: libpcrecpp.so.0: can not open shared object file: No such file or directory.
I’m assuming me doing a apt-get update and rpi-update has got rid of this file.
July 18th, 2012 on 00:05
Hmm. That package must have gotten lost in the changing of that commandline. Do:
apt-get install libpcrecpp0
That should add that library.
July 18th, 2012 on 00:14
Unable to locate package.
Do I need to add a source?
July 18th, 2012 on 00:15
You need to be using Raspbian sources.
root@raspberry-pi:~# cat /etc/apt/sources.list
deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
root@raspberry-pi:~#
July 18th, 2012 on 00:18
/etc/apt/sources.list
My sources included deb http://archive.raspbian.org/raspbian testing main contrib non-free
For anyone with the same problem as me.
July 18th, 2012 on 00:20
if you have those sources set up you should be able to install that package.
July 18th, 2012 on 00:30
Still getting the unable to locate package error.
Any help?
July 18th, 2012 on 00:31
have you done “apt-get update” since you added that to /etc/apt/sources.list?
July 18th, 2012 on 00:33
Yeah did a reboot too.
July 18th, 2012 on 00:37
In that case something terribly bad has happened to your apt to not be able to find packages, and I recommend you reflash the sd card image
root@raspberry-pi:~# cat /etc/apt/sources.list
deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
root@raspberry-pi:~# apt-get update
Hit http://archive.raspbian.org wheezy InRelease
Hit http://archive.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspbian.org wheezy/contrib armhf Packages
Hit http://archive.raspbian.org wheezy/non-free armhf Packages
Ign http://archive.raspbian.org wheezy/contrib Translation-en
Ign http://archive.raspbian.org wheezy/main Translation-en
Ign http://archive.raspbian.org wheezy/non-free Translation-en
Reading package lists… Done
root@raspberry-pi:~# dpkg -l | grep libpcrecpp0
ii libpcrecpp0:armhf 1:8.30-5 Perl 5 Compatible Regular Expression Library – C++ runtime files
root@raspberry-pi:~# apt-cache search libpcrecpp0
libpcrecpp0 – Perl 5 Compatible Regular Expression Library – C++ runtime files
root@raspberry-pi:~#
adam.
August 4th, 2012 on 09:40
Hi !
I have the same issue.
fresh install is raspbian , as of today
changed the source list to comply to the one you advised
apt-get update done
but still I get :
E: Unable to locate package libmicrohttpd10 libsmbclient
E: Unable to locate package libjasper1
E: Unable to locate package sqlite3 libcurl3-gnutls
E: Unable to locate package liblzo2-2 libpcrecpp0
so I don’t know what I’m doing wrong ?
…… oups … I did go through the whole command line (the apt-get install …), deleted all space caracter and pressed the pace bar on my keyboard … not it seems to work.
I hope this can help someone else
July 18th, 2012 on 14:30
No Joy. I just tried this on a fresh vanilla install of the 2012-07-15 wheezy raspbian.
Firstly, when you try to start XBMC, there are a number of unsatisfied dependiences, so you also need to run
apt-get install libsmbclient libyajl2 libfribidi0 libcdio13
Once you’ve done that it lets you start – however it shows a XMBC logo, then a blue screen with bubbles on (the xbmc background?) then quits back to the command line.
July 19th, 2012 on 02:46
Those dependencies are installed by the apt-get command in the instructions.
July 18th, 2012 on 17:41
Absolutely great thing! Works like a charm. Thank you so much.
July 19th, 2012 on 07:24
Says I don’t have an open GL graphics driver installed. Running the new Foundation approved Raspbian release.
July 19th, 2012 on 12:16
I just tested it on the new official image. It works fine, follow the instructions.
July 19th, 2012 on 12:15
Hi.
My usb wireless keyboard and mouse work in pisces, but stop working upon starting XMBC.
Many thanks for any clue..
–Federico
July 19th, 2012 on 12:17
Either your Pi is crashing because the GPU is overclocked, or the keyboard is failing because the power supply is not good enough. XBMC will crash your pi when it is stable elsewhere, as it uses more of the pi’s features.
also, make sure you run xbmc as root.
July 19th, 2012 on 14:06
Any idea what is required to get Airplay working? I cannot find the option to enable it in Settings, i’m assuming some lib is missing, unless it’s a compilation option?
July 19th, 2012 on 14:13
It would need to be compiled with airplay support. it’s currently disabled in my build, i’ll have a look at re-enabling it once i’ve got a crosscompiler set up and can compile it in less than 18 hours
July 19th, 2012 on 14:21
Ah, that explains it.
Other than the lack of airplay support it has been pretty smooth sailing, except for a few crashes.
Thanks for doing this, looking forward to the next release as i cant be arsed to compile it myself.
July 19th, 2012 on 23:15
Great work, thanks a lot! Finally a standard Debian AND XMBC on one single SD card.
However, most of my video files (MPEG-2, DVB-C recordings, DLNA or local) only play sound, no picture. Thumbnails look good. Anyone else with this problem? TIA for hints for an XMBC newbie.
Regards,
Heinz
July 21st, 2012 on 23:40
There is no MPEG-2 decoding support on the Pi, and it’s not fast enough to decode them in software. This is a hard limitation and can’t be fixed.
July 21st, 2012 on 00:15
Thanks for the great guide and files.
I have got XBMC up and running fine now. The only issue i have is when i connect my powered usb hard drive, it doesnt recognise it and i have to manually mount it.
This was ok, i scanned my library etc, restarted and now when i mount it, its ok for a bit, i load up xbmc then navigate to the usb drive and it says usb drive unplugged.
Any ideas?
July 21st, 2012 on 23:39
The Pi’s USB is a little dodgy, but still I run entirely from a USB drive and have no issues. Are you running your keyboard/mouse through a powered hub?
July 22nd, 2012 on 16:45
Yeah i have the keyboard and mouse in a a powered hub and then just the usb drive/hub going into the pi.
July 22nd, 2012 on 17:08
Try the harddisk via the hub. The disk controller might be taking power from the Pi.
July 21st, 2012 on 21:18
Thanks for the build.
I’m also looking for an Airplay install.
Once your build is installed, is there a way to update it?
I’m also a complete noob at this,
I’ve run a Open Elec XBMC install, and had Airplay and Audio, currently I’m not getting any Audio over HDMI, but need to verify my config.txt files I think.
Also for thoese who have problems with Freezes, make sure you have enough power.
I’ve run with a 5v 500Ma supply and froze, went to a BlackBerry charger (5v 700Ma) and that solved the freezing for me.
Looking to get a better power supply soon.
Thanks..
Steve
July 21st, 2012 on 23:36
It’s just a tarball of the binaries and support files, to update it you just drop new ones over the top (if you compile yourself, doing make install will replace mine with yours).
My build system is currently refusing to build XBMC, i need to work out what’s missing…
July 22nd, 2012 on 01:05
I’m currently trying a build myself.
No idea what I’m doing…….
Just done a build of Quake 3 as well, which seems to have worked.
Or at least I got into the Loading Screen.
So now trying an XMBC Build.
Wish me luck…………..
July 22nd, 2012 on 01:21
Have to Pardon my ignorance, but how do you drop the binaries over?
And where are the binaries held?
Sorry for asking probably what seems stupid questions…. but it’s all very new to me.
July 22nd, 2012 on 17:07
The instructions are above
The binary is just /usr/lib/xbmc/xbmc.bin
To replace them, you just repeat the instructions with whatever new binaries you find, they’ll overwrite the old ones.
July 22nd, 2012 on 21:11
Well I didn’t have any luck in building a new version.
Kept getting stuck at /libplist
As I couldn’t find a new version.
Now I’ve found versions of the files I needed, I can’t seem to get them to work.
But I have no idea what I am doing.
Just copied them all into the /usr/lib directory
But I don’t know how to do a local install of them.
As when I run the version of XBMC I now get a
error while loading shared libraries: libshairport.so.0: cannot open shared object file: No such file or directory
It’s in the /usr/bin directory but I don’t know how to tell it it’s there!
(Not very bright)
July 24th, 2012 on 12:26
it’s playing video fine
but it segfaults on music play as soon as i enter the folder containering mp3′s if there are any mp3′s that dont have id3 tags
July 26th, 2012 on 23:02
Hi,
Could you please explain me why you chose to build your own XBMC instead of rebuilding wheezy’s debian package for armhf ?
I just set up a cross-arch cowbuilder for raspian and I’m currently building “official” XBMC package inside.
For now, it goes well.
Regards, Adam.
July 28th, 2012 on 14:17
because i did?
July 30th, 2012 on 23:33
Can You post instruction or link to howto ?
July 31st, 2012 on 14:21
for what?
July 31st, 2012 on 19:28
Actually that was question to Adam about rebuilding wheezy’s debian package for armhf
July 27th, 2012 on 23:24
My first attempts (3-4 times even with complete boot ups) worked fine. But suddenly i got:
/usr/lib/xbmc/xbmc.bin: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libEGL.so: undefined symbol: glDiscardFramebufferExt
I changed exactly nothing at the system. (except that i didn’t use your config.txt settings, mine is just empty)
Any ideas?
July 28th, 2012 on 14:17
something changed with your system. find out what it is, or reinstall.
July 28th, 2012 on 14:54
i reinstalled updated/reinstalled via aptitude all required libs. after this i reinstalled xbmc prebuild without effect. The same problem occured. Maybe the libs for eGL at hexxeh’s image and the repo server are different to your build env.
I’m trying to build xbmc with my system from scretch – hopefully it works
July 28th, 2012 on 15:45
You don’t have your system correctly configured to find the broadcom libraries:
pi@raspberrypi ~ $ cat /etc/ld.so.conf.d/00-vmcs.conf
/opt/vc/lib
pi@raspberrypi ~ $
July 29th, 2012 on 00:06
I think the problem is within pisces image.It uses “testing” instead of main and so a lot of libs actually where updated through the normal installation steps (including final dist-upgrade).
A current image of pisces *without* these changes runs fine with your prebuilt. Thanks a lot for your work and the support
best regards,
jan
July 29th, 2012 on 15:22
I’ve tested on Pisces r2, Pisces r3, DarkBasic and the latest official image, and it works on all 4.
July 31st, 2012 on 20:08
Just to awnser my problem:
The pisces image (current from wiki) runs fine, except if you do the recommended dist-upgrade. Current pisces image is set at apt.sources to TESTING and not to main, so the kernel drivers and some libs are broken (as mentioned by you).
Your prebuilt works absolutely brilliant! And i don’t know why exactly – but even power issues (wireless stick) are gone with pisces image. It seems that some usb drivers are not fully optimized at the main trunk, problems occur with raspbian nightly, raspbmc and standard distro. But not with the prebuilt pisces/hexxeh and your nice xbmc prebuilt.
THANKS A LOT!
best regards,
jan
July 28th, 2012 on 20:12
After getting all of the dependencies resolved, I can get XBMC to startup (gives me the logo splash screen, and tries to show the bubble theme desktop) but then returns to the command line with a segmentation fault.
Thoughts?
July 29th, 2012 on 10:54
Hey I appear to be getting a 404 error when i attempt to do the apt-get while building on pisces raspbian.
error message i’m receiving is..
failed to fetch http://archive.raspbian.org/raspbian/pool/mail/m/mysql-5.5/mysql-common_5.5.24+dfsg-4_all.deb 404 not found [IP: 89.16.177.90 80]
failed to fetch http://archive.raspbian.org/raspbian/pool/mail/m/mysql-5.5/libmysqlclient18_5.5.24+dfsg-4_armhf.deb 404 not found [IP: 89.16.177.90 80]
I have checked the files are there with a browser at this address
http://178.238.238.81/raspbian/archive/raspbian/pool/main/m/mysql-5.5/
any ideas?
July 29th, 2012 on 15:22
This is not really a question for here, but you need to run “apt-get update” to update your package list.
July 29th, 2012 on 18:00
thanks sorry im a noob with my pi… you mentioned that not having the evdev kernel module loading correctly can cause the mouse and keyboard to not work. im now in XBMC fine but the mouse doesnt want to play ball (works fine when i run other os’s on other SD’s). How can i go about checking this?
July 29th, 2012 on 18:01
Mouse support has to be enabled in the XBMC options. You’re supposed to use a keyboard/remote control with XBMC, so it’s not there by default.
July 29th, 2012 on 22:48
thanks much appreciated :O)
July 30th, 2012 on 21:24
I’ve been able to setup a complete working configuration using raspian+xbmc+wireless+android remote ! I use a edimax nano wireless key and so I dont’ need any power plug (excluding the raspberry one)
Since I’m a noob the noly thing i miss is how to autorun the xmbc. Can anybody help ? I can help in the other setup
July 30th, 2012 on 21:39
Try this:
/etc/inittab # Comment out the second line, and add the first line. You can replace ‘pi’ with the correct user.
1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1
#1:2345:respawn:/sbin/getty –noclear 38400 tty1
.bashrc in the autologon user’s home directory. add to the end of the file:
case “`tty`” in # XBMC – start only for tty1
*tty1) /usr/lib/xbmc/xbmc.bin;; # XBMC – start XBMC
esac # XBMC – end of case
July 31st, 2012 on 11:04
thanks for the reply
I will try this in one week as soon as i will arrive home after vacation
and then will give feedback
August 16th, 2012 on 22:25
HI, thanks for your post !!! I have XBMC on my pi up and running. Now I’m on the fine tunning steps , including this one. The first change on inittab works and I’m getting directly into console as root, but the bash case is not working. Question from a newbie, is it correct to autostart in tty1 instead of tty7 ??? I guess I need X server up and running.
Again, thanks for your guidance here.
August 16th, 2012 on 22:42
I don’t really understand the question, but you *do not* need X running to use XBMC, and you really don’t want it to be running either, it’ll use too much RAM.
August 17th, 2012 on 20:48
Thanks for your answer. I was thinking that XBMC needs to be run on top of X, and so on tty7
I’ll give it a second review and come back with the exact error if I cannot fix it.
As a comment, I’m using Raspbian Pisces+Mate image.
KRs
August 23rd, 2012 on 00:48
The exact problem seems :
-bash: no job control in this shell
October 10th, 2012 on 19:48
I got exactly the same issue. Did the steps described above and now I only get the message
-bash: no job control in this shell
Any clues?
August 1st, 2012 on 08:27
Hi,
> cp /boot/arm128_start.elf /boot/start.elf
There is nothing in /boot on my pi…
Thanks
August 1st, 2012 on 17:22
There is one image which doens’t mount the fat partition as /boot. you can mount it with “mount /dev/mmcblk0p1 /boot” or it is the filesystem you see under windows.
August 2nd, 2012 on 11:09
Reinstalled the official raspbian and got boot/ back
August 1st, 2012 on 10:02
I have no sound and xbmc seems to crash on video closing.
But i’m testing with an install on a 1Gb SD
August 1st, 2012 on 14:56
Got an original Raspbian on a 8Go SD it’s working well, no crash so far, but no sound too.
Thanks for your work
August 1st, 2012 on 15:59
Hi, Got my sound had to set it to Analog in XBMC settings and it work. It cracks when jump ahead in film timeline. But otherwise it’s good.
The only problem remaining is when I quit Xbmc after viewing a film i got a black screen, no prompt. If i restart by ssh xbmc it restart and if I quit I got my prompt back.
Thanks
August 1st, 2012 on 17:23
I have no idea why any of this is happening, I’ve had none of these problems using XBMC on 2 Pis with 4 different types of raspbian image.
August 2nd, 2012 on 11:08
Thanks for your reply. I augmented the size of the system partition and the problem seems to have vanished.
I don’t know if it have something to do with compilation of xbmc, I try to hook up to a touch screen (QUANTA OpticalTouchScreen usb controller) and I can move the cursor by touching the screen but could not click on buttons.
August 4th, 2012 on 15:08
Hi, thanks for a great article and for the pre-compiled version of XBMC. Saved me a day of compiling
However, I have encountered a problem with audio on this version of XBMC. I am currently using the composite video output and 3.5″ audio jack for display and sound as I don’t own a TV with HDMI input. When I play video with XBMC there is this constant buzzing sound where the sound frequency changes based on the current CPU load. This does not occur with audio/video playback outside of XBMC, e.g. using omxplayer. Any ideas on what may cause this behavior?
August 6th, 2012 on 01:57
I did the instructions… everything went fine… the xbmc icon is in my toolbar but when. I click it nothing happens. I’m logged in as root… and cant seem to execute no matter what I do. A ideas? Or if I’m doing so.thing dumb the command to run it?
August 6th, 2012 on 23:46
You do not start XBMC from within X. You start it from the command line. Follow the instructions.
August 6th, 2012 on 08:06
Fantastic post and great to have some pre-compiled files to work off. I personally went through the 24 hours of building XBMC but I could never get it to load. So, last night I re-installed Raspbian from the Installer and used your files to get XBMC working.
Running xbmc.bin loaded perfectly first time and I got to the polka dot-type screen and I could see my mouse pointer but no toolbar with the menu options. Then after a while the system just hanged. Tried it again and again but same thing.
I then used your overclocking settings and this got me a little further. Instead of freezing up the polka dot screen loaded as previously but then the screen goes black. If I move the mouse I can see the mouse pointer but there is nothing I can click on since I just see a black screen. This is how my Pi remains and it never goes further than this point.
Do you perhaps have any idea as to what might be wrong? It looks like a process issue and as if my Pi runs out of resources or something.
To confirm I’m running the elf 128 split.
August 6th, 2012 on 23:45
I’ve not encountered this. Is your PSU sufficient? Can you play Quake 3? (few other things use as much power)
August 7th, 2012 on 14:47
Works like a charm, just that it segfaults with some add-on’s.
Any chance of a pre-compiled stable (v 11) version?
cheers..
August 9th, 2012 on 03:29
Nope. I suspect the changes to the tree only work on dev, and I have no desire to spend half a day compiling something i don’t need
August 11th, 2012 on 16:52
Airplay Support +1
August 12th, 2012 on 22:07
hi all, i have problem, when insert usb storage pen it dosen’t works.
for the problem with the library i install one for time and it works, all togheter i had problem.
regard
August 13th, 2012 on 07:55
i put storage pen usb after boot with startx and the system return ( not authorized). some suggestion? thnks
to all.
August 17th, 2012 on 03:35
Great guide, this was an easy install. However the youtube plugin keeps giving me an error when I try to play a video. I am able to login to youtube and see subscriptions and history, but it won’t play anything. Anybody else have this problem?
Thanks
August 31st, 2012 on 22:38
Hi, thanks for the guide. I have installed everything according to your description, but once I start /usr/lib/xbmc/xbmc.bin I can see an intro layout, then blue screen with bubbles and finally I am returned to terminal with message “Segmentation fault”. Does have anybody any idea what is a reason of that behaviour. Thanks for respond in advance
September 26th, 2012 on 22:19
i have the same problem
have you fixed this problem?
September 8th, 2012 on 10:18
Hello and thanks for your work. I cannot seem to be able to get the keyboard/mouse send events to xbmc. Seemingly, they still get sent to the console underneath. For instance, if I hit Ctrl-C, I get back to the terminal, and I can see whatever I did type while trying to type something in xbmc.
I have module evdev loaded. Anything else I should be on the lookout for?
September 9th, 2012 on 14:14
Seemingly, it has to do with permissions on input devices. Running xbmc as root Just Works, but running it as an unpriviledged user doesn’t. I tried granting rw access to /dev/input/* to by user, and it kind of helped: now, I can use the mouse, and the keyboard arrow keys. But I still cannot type in anything in text boxes. I must have forgotten another device.
October 6th, 2012 on 17:38
I have tried to do this according to instructions, everything seems fine.. but when do the last step to run xbmc.. it just stands there, nothing happens except cpu usage goes to 100%.. and the terminal just stands there with a blank line after i put in the .bin command bit, any help on this would be appreciated
October 6th, 2012 on 18:18
okay well ive got it working by connecting it to tv.. but i cannot seem to move my cursor to the xbmc screen on the monitor i have plugged into hdmi slot.. will keep messing with it unless someone knows why this is, if i try to launch xbmc from the menu, i get an error about open GL
October 6th, 2012 on 18:27
sorry for triple messages, but solved it, not sure why but i have to connect a mouse to the raspberry pi to use xbmc.. i was VNCing into it and using my laptop mouse.. which doesnt work, cannot navigate on xbmc through vnc
October 20th, 2012 on 06:40
Great, thanks. Been getting frustrated with Raspbmc and Xbian recently as they keep crashing when I load rtorrent in the background. This however works well with Raspian and rtorrent. Do you have any plans to update the build of xbmc of this?
December 11th, 2012 on 03:05
I have the new RPI B model. Got Wheezy working. Booting off USB drive. Got XBMC installed.
I did not do the following step as I could not find a arm128_start.elf file
cp /boot/arm128_start.elf /boot/start.elf
XBMC does start up. However when I click on any menu item .. say Video -> Files. the menu sort of dissapears and flickers lightly and thats it. Nothing happens.
Any ideas what to do?
April 17th, 2013 on 03:24
Anyone solve this yet? I am having the same problem. I assume it’s something to do with the keyboard/mouse tip at the end of the instructions but I don’t know what that means. Any help would be appreciated.
Thanks!
December 15th, 2012 on 04:24
Hey this works great!
One thing though.. I’ve tried googling multiple things but I don’t know what you call them.
I was wondering if there is a way to add a command in terminal to start xbmc instead of typing /usr/lib/xbmc/xbmc.bin to start up xbmc.
Similar to how you can just type startx for lxde,
any help would be greatly appreciated!
It will also help with other apps I want to do a similar thing with. I plan on having multiple emulators on the one build that I can all start with simple commands.
eg.
mame
pcsx
xbmc
February 12th, 2013 on 14:32
echo “alias xbmc=’/usr/lib/xbmc/xbmc.bin’” >> .bashrc
Launch with xbmc
December 16th, 2012 on 17:30
Hi,
Thanks for making XBMC available in such a convenient way!
I have it running on my Pi, but I noticed that CPU usage goes up to 100%, even when idle. A quick “strace” showed that xbmc.bin is doing a lot of ioctl on /dev/vchiq and tries to read from both /dev/input0 and /dev/input1 (for which it continuously gets EAGAIN).
Running this for about 30 seconds shows 23,223 ioctl() calls, 18,883 clock_gettime() calls, 2,608 read() calls (2,444 of which result in EAGAIN). Again, playback is paused, I’m not touching any keyboard or mouse.
I’m curious as to what XBMC is so busy trying to do. Any idea? Timer issue? Is it not blocking somewhere while it should?
If this is not the right place to ask, please accept my apologies.
– Steven
December 16th, 2012 on 20:24
XBMC is horrifically badly written internally. It sits in a closed ‘game loop’ using 100% CPU, due to its XBox heritage.
The authors don’t seem to care much because people tend to run it on quad core i7s. It might get fixed now there are more arm embedded devices around, but likely the ARM devices will get faster before they bother.
December 18th, 2012 on 15:18
Hi Adama,
Thanks for the reply. Too bad it’s a bug in the design, rather than the implementation. I’ll try to find a way to easily start/stop XBMC with the remote to avoid wasting CPU cycles when I’m not using it (while leaving the Pi itself running). Mmmh, come to think of it, doesn’t LXDE come with a media player?
January 4th, 2013 on 22:05
This is great,thanks – a bit of jiggery pokery and I’ve got it working. Much appreciated – great tutorial.
January 6th, 2013 on 15:00
Please help,
When I try to launch with /usr/lib/xbmc/xbmc.bin, I get this:
error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
Thanks for your time,
January 8th, 2013 on 10:51
Can one help?
I have installed XBMC without problems. All seems to work as foreseen. Problem is, that I can open Video and it says “Now Playing”, but Video is actually not shown. I’m using Video on external hard disk with USB connection.
January 12th, 2013 on 12:55
Worked like a charm. Thanks!
February 16th, 2013 on 22:10
Just a short tip:
If video playback via the package from this website over HDMI does not work but works fine with omxplayer -o hdmi then give the package from this site a chance:
http://michael.gorven.za.net/raspberrypi/xbmcgroup
Worked great for my with the latest raspian image.
February 28th, 2013 on 18:48
Hola,
yo lo he probado y no ha funcionado,
lo único que he conseguido es joder el raspbian y tener que instalarlo de nuevo.
Pero como decimos en mi pais:
No hay mal que por bien no venga.
March 28th, 2013 on 21:59
Very nice! A Linux noob here, I tried with latest 2013-02-09-wheezy-raspbian but could not get video to show on the screen but all else worked although CPU was maxed out but at least I have a starting point. Has anyone tried with the latest release of xbmc?
April 14th, 2013 on 17:55
After doing this xbmc worked great but startx no longer functioned, any ideas?