Page 1 of 2

How to install XBMC on Wheezy Raspbian

Posted: Sun Dec 02, 2012 9:55 pm
by liquidfire
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 - http://www.raspberrypi.org/phpBB3/viewtopic.php?t=12455 and failed to launch successfully.

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

Thanks.

LF

Re: How to install XBMC on Wheezy Raspbian

Posted: Tue Dec 04, 2012 4:45 am
by jacroe
You'll probably be better off using something like RaspBMC, OpenElec, or Xbian.

Re: How to install XBMC on Wheezy Raspbian

Posted: Tue Dec 04, 2012 10:03 pm
by north3221
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/viewt ... 35&t=23051

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Dec 07, 2012 1:43 pm
by alias_neo
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.

Re: How to install XBMC on Wheezy Raspbian

Posted: Sun Mar 17, 2013 7:31 pm
by apoth

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

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Mar 29, 2013 7:47 pm
by smshiera
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?

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Mar 29, 2013 8:45 pm
by TheQuestor
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.

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Mar 29, 2013 9:24 pm
by xaviv
It is also needed packages libssh-4 libyajl2 libfribidi0, but when I launch xbmc.bin ends up with a segment violation

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Mar 29, 2013 9:33 pm
by xaviv
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 ?? ()

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Mar 29, 2013 9:45 pm
by TheQuestor
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.

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Mar 29, 2013 9:49 pm
by xaviv
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

Re: How to install XBMC on Wheezy Raspbian

Posted: Fri Mar 29, 2013 9:50 pm
by smshiera
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?

Re: How to install XBMC on Wheezy Raspbian

Posted: Sat Mar 30, 2013 12:43 am
by TheQuestor
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

Re: How to install XBMC on Wheezy Raspbian

Posted: Sat Mar 30, 2013 3:28 am
by smshiera
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'

Re: How to install XBMC on Wheezy Raspbian

Posted: Sat Mar 30, 2013 3:33 am
by TheQuestor
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?

Re: How to install XBMC on Wheezy Raspbian

Posted: Sat Mar 30, 2013 3:56 am
by smshiera
TheQuestor wrote: nothing there should cause that issue. You "are" running wheezy right?
yes,wheezy20130209,i'll try it again after lunch

Re: How to install XBMC on Wheezy Raspbian

Posted: Sun Mar 31, 2013 12:04 am
by TheQuestor
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?

Re: How to install XBMC on Wheezy Raspbian

Posted: Sun Mar 31, 2013 9:13 am
by smshiera
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,

Re: How to install XBMC on Wheezy Raspbian

Posted: Thu Apr 11, 2013 5:57 am
by heiNey
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?

Re: How to install XBMC on Wheezy Raspbian

Posted: Thu Apr 11, 2013 7:07 am
by TheQuestor
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/

Re: How to install XBMC on Wheezy Raspbian

Posted: Sat Apr 13, 2013 10:06 am
by aht961
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

Re: How to install XBMC on Wheezy Raspbian

Posted: Wed May 01, 2013 7:42 pm
by TheRealLoon
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.

Re: How to install XBMC on Wheezy Raspbian

Posted: Wed May 01, 2013 10:23 pm
by TheQuestor
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.

Re: How to install XBMC on Wheezy Raspbian

Posted: Thu May 02, 2013 12:22 am
by TheRealLoon
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.

Re: How to install XBMC on Wheezy Raspbian

Posted: Thu May 02, 2013 12:34 am
by TheQuestor
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.