How to install XBMC on Wheezy Raspbian


32 posts   Page 1 of 2   1, 2
by liquidfire » Sun Dec 02, 2012 9:55 pm
Hi,

I have just set-up the 2012-10-28-wheezy-raspbian and works fine. Now that I need XBMC to be installed on top of raspbian.

I followed the steps mentioned in the posting - viewtopic.php?t=12455 and failed to launch successfully.

Please provide step-by-step procedure to install XBMC.

Thanks.

LF
Posts: 1
Joined: Sun Dec 02, 2012 9:48 pm
by jacroe » Tue Dec 04, 2012 4:45 am
You'll probably be better off using something like RaspBMC, OpenElec, or Xbian.
Posts: 16
Joined: Fri Oct 26, 2012 6:39 am
Location: Hattiesburg, MS
by north3221 » Tue Dec 04, 2012 10:03 pm
Hey

Why do you need it on Raspbian? I assume for desktop, browsing etc.. I had issues with the post you mentioned too..

See my post for step by step to get a desktop & browser and xbmc:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=23051
Posts: 33
Joined: Fri Nov 16, 2012 6:06 pm
by alias_neo » Fri Dec 07, 2012 1:43 pm
I really wanted to stick with Raspbian myself, but I've had nothing but issues trying to get a functional build of XBMC that doesn't idle at stupid high CPU usage.

After weeks of building, rebuilding, installing various pre-built packages I've got a build that idles as low as 40% but that's just no good. I can't have my Pi idling at 40% CPU 24/7.

Worst part is, before my previous Pi died and got RMA I had compiled a build that idles at about 16-20% but can't get there any more.

I'm all but ready to give up.
http://2byt.es - Just my two bytes - RPi - Android - Arduino - Blog
Posts: 107
Joined: Fri Jul 29, 2011 8:55 am
Location: Wilmslow, England
by apoth » Sun Mar 17, 2013 7:31 pm
Code: Select all
   sudo echo "deb http://archive.mene.za.net/raspbian wheezy contrib" > /etc/apt/sources.list.d/mene.list
   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
   sudo apt-get update
   sudo apt-get install xbmc
Posts: 10
Joined: Mon Jul 30, 2012 12:37 pm
by smshiera » Fri Mar 29, 2013 7:47 pm
apoth wrote:
Code: Select all
   sudo echo "deb http://archive.mene.za.net/raspbian wheezy contrib" > /etc/apt/sources.list.d/mene.list
   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
   sudo apt-get update
   sudo apt-get install xbmc


follow this guide,i installed xbmc,but my ipad3 cant airplay,(it can work on raspbmc and xbian)
why and what can i do?
Posts: 37
Joined: Fri Feb 22, 2013 6:59 am
by TheQuestor » Fri Mar 29, 2013 8:45 pm
Easiest way?
go to http://www.sshcs.com/xbmc/ and download my Raspi build.
open a cmd prompt and go to where you downloaded it.
type:
sudo apt-get install libmicrohttpd10 libtinyxml2.6.2 libmysqlclient18 liblzo2-2 libpcrecpp0 \
libsdl1.2debian libhal1 libhal-storage1 libva1 libva-glx1
then tar -zxf XBMC_Raspi_be6d3a7.tgz
then sudo dpkg -i xbmc_84-1_armhf.deb
then run it via /usr/lib/xbmc/xbmc.bin
and you're set to go.
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am
by xaviv » Fri Mar 29, 2013 9:24 pm
It is also needed packages libssh-4 libyajl2 libfribidi0, but when I launch xbmc.bin ends up with a segment violation
Posts: 6
Joined: Thu Mar 28, 2013 7:03 pm
by xaviv » Fri Mar 29, 2013 9:33 pm
This is the backtrace:

gdb) run
Starting program: /usr/lib/xbmc/xbmc.bin /usr/lib/xbmc/xbmc.bin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0xb65e74c0 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb) backtrace
#0 0xb65e74c0 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
Cannot access memory at address 0x0
#1 0xb65e3ee4 in OPENSSL_cpuid_setup () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
#2 0xb6fe8250 in ?? () from /lib/ld-linux-armhf.so.3
#3 0x00000000 in ?? ()
Posts: 6
Joined: Thu Mar 28, 2013 7:03 pm
by TheQuestor » Fri Mar 29, 2013 9:45 pm
xaviv wrote:This is the backtrace:

gdb) run
Starting program: /usr/lib/xbmc/xbmc.bin /usr/lib/xbmc/xbmc.bin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0xb65e74c0 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb) backtrace
#0 0xb65e74c0 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
Cannot access memory at address 0x0
#1 0xb65e3ee4 in OPENSSL_cpuid_setup () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
#2 0xb6fe8250 in ?? () from /lib/ld-linux-armhf.so.3
#3 0x00000000 in ?? ()


ok that's weird, lemme fire up my pi again and see if I can replicate it.
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am
by xaviv » Fri Mar 29, 2013 9:49 pm
I've seen that package libcurl-gnutls is also required. Now it's not crashing, but xbmc UI is not starting and there are these lines continously repeating at xbmc.log:

22:42:13 T:2924475456 NOTICE: Previous line repeats 1 times.
22:42:13 T:2924475456 NOTICE: Thread Jobworker start, auto delete: true
22:42:16 T:2913989696 NOTICE: Thread CFileCache start, auto delete: false
Posts: 6
Joined: Thu Mar 28, 2013 7:03 pm
by smshiera » Fri Mar 29, 2013 9:50 pm
TheQuestor wrote:then sudo dpkg -i xbmc_84-1_armhf.deb
then run it via /usr/lib/xbmc/xbmc.bin
and you're set to go.


sudo dpkg -i xbmc_84-1_armhf.deb
..
..
ldconfig: Can't link //usr/lib/xbmc/system/players/dvdplayer//devel/xbmc/system/players/dvdplayer/libdvdcss-arm.so to libdvdcss-arm.so
ldconfig: Can't link //usr/lib/xbmc/system/players/dvdplayer//devel/xbmc/system/players/dvdplayer/libdvdnav-arm.so to libdvdnav-arm.so

why?
Posts: 37
Joined: Fri Feb 22, 2013 6:59 am
by TheQuestor » Sat Mar 30, 2013 12:43 am
I just did a fresh install of 2013-02-09-wheezy-raspbian.img and did an
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install git-core libmicrohttpd10 libtinyxml2.6.2 libmysqlclient18 liblzo2-2 libpcrecpp0 libsdl1.2debian libhal1 libhal-storage1 libva1 libva-glx1 libyajl-dev libssh-dev libfribidi-dev && sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update && sudo rpi-update and then rebooted
then downloaded XBMC_Raspi_be6d3a7.tgz
then tar -zxf XBMC_Raspi_be6d3a7.tgz
then sudo dpkg -i xbmc_84-1_armhf.deb
you probably will see
ldconfig: Can't link //usr/lib/xbmc/system/players/dvdplayer//devel/xbmc/system/players/dvdplayer/libdvdcss-arm.so to libdvdcss-arm.so
but it doesn't effect the usage, seems to be an artifact from the makepackage
but I will work on resolving THAT as soon as I can track down people having problems just launching it.
It was compiled with hard float and I haven't tested it on older versions of the wheezy img

Image
http://www.sshcs.com/xbmc/img/rpi-xbmc.JPG

I had no issues running it
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am
by smshiera » Sat Mar 30, 2013 3:28 am
TheQuestor wrote:I just did a fresh install of 2013-02-09-wheezy-raspbian.img and did an
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install git-core libmicrohttpd10 libtinyxml2.6.2 libmysqlclient18 liblzo2-2 libpcrecpp0 libsdl1.2debian libhal1 libhal-storage1 libva1 libva-glx1 libyajl-dev libssh-dev libfribidi-dev && sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update && sudo rpi-update and then rebooted


after reboot,,,i get a black window,cant enter 'startX'
Posts: 37
Joined: Fri Feb 22, 2013 6:59 am
by TheQuestor » Sat Mar 30, 2013 3:33 am
smshiera wrote:
TheQuestor wrote:I just did a fresh install of 2013-02-09-wheezy-raspbian.img and did an
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install git-core libmicrohttpd10 libtinyxml2.6.2 libmysqlclient18 liblzo2-2 libpcrecpp0 libsdl1.2debian libhal1 libhal-storage1 libva1 libva-glx1 libyajl-dev libssh-dev libfribidi-dev && sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update && sudo rpi-update and then rebooted


after reboot,,,i get a black window,cant enter 'startX'

nothing there should cause that issue. You "are" running wheezy right?
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am
by smshiera » Sat Mar 30, 2013 3:56 am
TheQuestor wrote:nothing there should cause that issue. You "are" running wheezy right?


yes,wheezy20130209,i'll try it again after lunch
Posts: 37
Joined: Fri Feb 22, 2013 6:59 am
by TheQuestor » Sun Mar 31, 2013 12:04 am
smshiera wrote:
TheQuestor wrote:nothing there should cause that issue. You "are" running wheezy right?


yes,wheezy20130209,i'll try it again after lunch


any luck?
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am
by smshiera » Sun Mar 31, 2013 9:13 am
TheQuestor wrote:any luck?

I just copy and paste your steps ,this time it showed the desktop ,
then crash,after reboot ,black window again,
i dont know whats wrong,
Posts: 37
Joined: Fri Feb 22, 2013 6:59 am
by heiNey » Thu Apr 11, 2013 5:57 am
apoth wrote:
Code: Select all
   sudo echo "deb http://archive.mene.za.net/raspbian wheezy contrib" > /etc/apt/sources.list.d/mene.list
   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
   sudo apt-get update
   sudo apt-get install xbmc


got xbmc installed using this, but it doesn't respond to any keyboard presses. i've tried two different keyboards already and makes no difference.

any ideas?
Posts: 9
Joined: Thu Apr 11, 2013 5:05 am
by TheQuestor » Thu Apr 11, 2013 7:07 am
heiNey wrote:
apoth wrote:
Code: Select all
   sudo echo "deb http://archive.mene.za.net/raspbian wheezy contrib" > /etc/apt/sources.list.d/mene.list
   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
   sudo apt-get update
   sudo apt-get install xbmc


got xbmc installed using this, but it doesn't respond to any keyboard presses. i've tried two different keyboards already and makes no difference.

any ideas?


Sorry no. That's Team XBMC's build, you would need to ask them :(

http://forum.xbmc.org/
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am
by aht961 » Sat Apr 13, 2013 10:06 am
Try this:

"...setup some udev rules to grant it ownership of input devices (otherwise the keyboard won't work in XBMC), by placing the following in /etc/udev/rules.d/99-input.rules:

Code: Select all
SUBSYSTEM=="input", GROUP="input", MODE="0660"


..."

More here: http://michael.gorven.za.net/raspberrypi/xbmc
Posts: 9
Joined: Fri Mar 29, 2013 4:55 pm
by TheRealLoon » Wed May 01, 2013 7:42 pm
Just tried with:
sudo echo "deb http://archive.mene.za.net/raspbian wheezy contrib" > /etc/apt/sources.list.d/mene.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
sudo apt-get update
sudo apt-get install xbmc

But fails at:
sudo apt-get install xbmc

With:
The following packages have unmet dependencies:
xbmc : Depends: xbmc-bin (>= 2:11.0~git20120510.82388d5-1) but it is not installable
Depends: xbmc-bin (< 2:11.0~git20120510.82388d5-1.1~) but it is not installable
Recommends: python-qt3 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Odd thing is that it worked 2 days ago. Any help would be appreciated.
Posts: 4
Joined: Wed May 01, 2013 7:32 pm
by TheQuestor » Wed May 01, 2013 10:23 pm
TheRealLoon wrote:Just tried with:
sudo echo "deb http://archive.mene.za.net/raspbian wheezy contrib" > /etc/apt/sources.list.d/mene.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
sudo apt-get update
sudo apt-get install xbmc

But fails at:
sudo apt-get install xbmc

With:
The following packages have unmet dependencies:
xbmc : Depends: xbmc-bin (>= 2:11.0~git20120510.82388d5-1) but it is not installable
Depends: xbmc-bin (< 2:11.0~git20120510.82388d5-1.1~) but it is not installable
Recommends: python-qt3 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Odd thing is that it worked 2 days ago. Any help would be appreciated.



I can't tell you for sure on his builds but on mine [http://www.sshcs.com/xbmc] I would just do a apt-get remove xbmc xbmc-bin [enter] then do an apt-get install xbmc. But mine are deb packages.
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am
by TheRealLoon » Thu May 02, 2013 12:22 am
Tried your deb and all went fine on install but when I launch it I get:
XBMC needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.
Please consult XBMC Wiki for supported hardware
bla bla bla .......

Note: the download offered for raspberry pi was a4130c1, I did edit appropriately.
Posts: 4
Joined: Wed May 01, 2013 7:32 pm
by TheQuestor » Thu May 02, 2013 12:34 am
TheRealLoon wrote:Tried your deb and all went fine on install but when I launch it I get:
XBMC needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.
Please consult XBMC Wiki for supported hardware
bla bla bla .......

Note: the download offered for raspberry pi was a4130c1, I did edit appropriately.


It does that because it's launching xbmc which looks for a GL wrapper. if you press any key when it says to press any key it will load anyway, or change the link to launch xbmc-bin which doesn't look for the GL wrapper.
Posts: 69
Joined: Wed Nov 28, 2012 9:15 am