Thursday, August 2, 2012

Xibo on Raspberry Pi

Ok, so i know I haven't posted much at all since I started this but I have been busy teaching students and haven't had time to keep updating a blog that no one will check often.

Anyway, this post is because I have a Raspberry Pi, and I am working to make it into a Xibo Digital Signage station.  My current setup is a nComputing terminal at each tv, but that is not 1080P HD over HDMI.

Listed below is my setup of the Raspberry Pi and what I had to do to get it to run Xibo Pyclient.  I have followed some great articles online, one of which is located at: http://www.cnx-software/2012/01/19/xibo-digital-signage-in-raspberry-pi-emulator-step-1/

Follow the Xibo Pyclient instructions located at: http://wiki.xibo.org.uk/wiki/Install_Guide_Python_Client

I have also used the assistance of many people on the Raspberry Pi Forum: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=12261

(All commands are rough since I built this a week ago, but I should have better instructions when I build it again for the other screen!)
- I started with the latest Raspbian "wheezy" image located at Raspberry pi's Download page.
- Make sure you apt-get update, and apt-get upgrade, and apt-get dist-upgrade to get the latest
- Follow Xibo's Pyclient install instructions:
sudo apt-get install python-gtk2 glade librsvg2-2 python-imaging dropbear
sudo apt-get install -y libdc1394-22 libgraphicsmagick++3 libgraphicsmagick3 bzr 
  python-soappy python-feedparser python-serial libavcodec52 libavformat52
  libswscale0 libsdl1.2debian-pulseaudio libvdpau1
?sudo apt-get install libboost-python1.42.0 libboost-thread1.42.0 
- sudo ldconfig
- sudo apt-get install python-libavg
- The instructions continue with getting Berkelium and libbrowsernode, but those aren't compiled yet.  Hopefully someone with knowledge can do that.  Berkelium is required, Hexxeh's Chromium is currently not compatible with Xibo, so I don't know if that can be fixed.
- mkdir /opt/zibo
- cd /opt/xibo && sudo bzr branch lp:xibo pyclient
- cd /opt/xibo/pyclient/client/python
- sudo cp site.cfg.default site.cfg
- sudo nano site.cfg
- Edit the server sections to work with your Xibo server.


This is as far as I have been able to go before the script tells me that the version of Berkelium is not compatible.  I hope that sometime this will be fixed, but until then this is what I got so far.  It is close, but still not working.  I will edit as I get it working.

Edit:  I decided to give up with this project.  If someone else gets this going please message me and I would be glad to test it out.  I have moved away from Xibo signage and am just using my own php page with iframes to do what I want to accomplish.  At some time I might get back into it.  Anyway, good luck.

6 comments:

  1. Hello,

    Have you made any progress on this?

    ReplyDelete
  2. I'm having a go with this also.... I'm beginning to think the pi's are just not 'quiet' powerful enough.

    :(

    Although Has anyone checked out

    http://www.cnx-software.com/2012/01/19/xibo-digital-signage-in-raspberry-pi-emulator-step-1/

    ReplyDelete
    Replies
    1. This is far as I have been able to go. This is the step where you need to have Berkelium and the other software. Both of which require more to render than is available on the pi. I had to put it on hold u til I can figure out how to create an emulator to get it.

      Delete
  3. The packaged version of libavg doesn't have hw accelerated graphics under the Raspberry, but we have beta-quality support in svn: https://www.libavg.de/blog/raspberry-pi-support/

    ReplyDelete
  4. I forgot to mention that you have to comment out the following line:

    self.player.loadPlugin(“libbrowsernode”)

    If you want to run it in the Raspberry Pi without berkelium, and display pictures only.

    ReplyDelete