Xibo Digital Signage on ARM (Beagleboard / Overo)

Xibo (pronounced eX-E-bO) is an open source, multi-display, multi-zone, fully scheduled digital signage solution written in Python (there is also a dotnet version). This is a client /server solution that can run on Windows or Linux.

If you are not familiar with Xibo you can visit http://xibo.org.uk/ or/and read my introduction XIBO: An Open Source Digital Signage Server/Client.

Since I had not seen digital signage solution running on low cost ARM development platform such as Beagleboard, Pandaboard or Origen, I decided to give the Xibo python client a try using qemu to emulate Gumstix Overo COM (OMAP 3530). Porting Xibo to ARM could provide several benefits compared to x86 platform:

  • Lower hardware cost
  • Lower power consumption (and electricity bill)
  • Smaller form factor allowing easier integration in displays and in transportation (e.g. buses, subway trains).
  • Easier to implement new digital signage features such as touch screen support, 3G connectivity, location based advertisement (with GPS), etc…

Please note that usually the hardware cost is not very critical in digital signage as most of the cost is related to maintenance (e.g. content update).

Since I just wanted to see if Xibo could run, the initial goal was to run a simple layout with pictures and text so I disabled Berkelium the library to render webpages (more on that later). [Update: I’ve now cross-compiled Berkelium so that you can run the full version of Xibo on ARM]. The host computer runs Ubuntu 11.04 (Natty) and I used Xibo 1.3.1 (development release) client and server.

Here are the steps I followed:

  • Setup QEMU to emulate the Overo COM and run the ARM Internet Platform (ALIP)  image based on linaro.
  • Cross-compiled libavg for ARM and copy the binaries files in the qemu image, since this is needed by the python client. After the steps described in Cross-compile libavg for ARM are completed, copy the files as follows:

    mkdir mnt
    sudo mount -o loop,offset=$[106496*512] overo_sd_alip.img mnt
    cp libs/lib/python2.7/site-packages/libavg/* mnt/usr/lib/python2.7/site-packages/libavg/ -rf
    cd mnt/usr/lib/python2.7/dist-packages/
    mv libavg libavg-old
    ln -s ../site-packages/libavg libavg
    cd ../../../../..
    sudo umount mnt

  • Start qemu for the Overo board:

    sudo qemu-system-arm -M overo -m 256 -drive file=./overo_sd_alip.img,if=sd,cache=writeback -clock unix -serial stdio -device usb-kbd -device usb-mouse

  • Install the Xibo Python Client, by running the following script (xibo-install.sh) as root in the qemu terminal:
  • Alternatively, instead of running ./configure.py, you could configure the Python Client manually:

    cd /opt/xibo/pyclient/client/python
    cp site.cfg.default site.cfg
    vi site.cfg

    And change xmdsUrl to match your server IP, xmdsKey to a key of your choice (will be used during server installation below) , set requireXmds=true and change width and height to set the window resolution.

  • Modify the source code of the Python client to disable the BrowserNode plugin.Edit XiboClient.py in /opt/xibo/pyclient/client/python and comment out the following line:

    self.player.loadPlugin(“libbrowsernode”)

  • Run Xibo Python Client:

    sudo ./run.sh

After a while you should be able to see the Xibo splash screen.

Qemu Overo running ALIP image and Xibo Oepn Source Digital Signage
Xibo Console and Splash Screen in Qemu
  • Install and Configure the server on Linux and/or Windows.

You can do this part at any stage during installation, e.g. while your computer builds libavg.

If you want to install the server on Windows XP, you can follow the instructions I provided in XIBO: An Open Source Digital Signage Server/Client (for server installation). To install xibo in Linux (e.g. on the host where the emulator is running), refer to http://wiki.xibo.org.uk/wiki/Install_Guide_Xibo_Server. After that you’ll need to create a layout, add media files and schedule the layout for the client. You can learn how to do that in Xibo Open Source Digital Signage Tutorial / Demo. Remember to license the client in Xibo dashboard.

I only tried a layout with 2 pictures (no videos due to performance issues) and a text zone in the bottom. The 2 pictures zone could show perfectly, but the text zone could not. The reason is that the text is converted to an html file (accessible in /opt/xibo/pyclient/client/python/data) . So even for text display, the Berkelium library is needed contrary to what I expected initially. So finally, I converted the text zone into a picture zone in order to achieve the result below.

Xibo Python Client for ARM on Beagleboard
Xibo Client Running in Qemu for OMAP 3 with 3 Picture Zones

Xibo Python Client can run successfully in an ARM platform running Linux. Further work would be needed to achieve full functionality:

  • Cross-compiling Berkelium.
  • Cross-compiling libbrowsernode.
  • Try Xibo Client on real hardware.
  • Performance Optimization for the target platform (e.g. Hardware Video decoding).

 

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
33 Comments
oldest
newest
Boardcon CM3588 Rockchip RK3588 System-on-Module designed for AI and IoT applications