EOMA68 Computing Devices

by EOMA68

An Earth-friendly way to easily upgrade and fix your own computer

View all updates Aug 04, 2016

Cedrus GPL Video Encode/Decode

by Luke Kenneth Casson Leighton

I am delighted to be able to announce that the Cedrus fully-GPL-compliant accelerated video encode/decode libraries work out-of-the-box on the EOMA68-A20 Libre Tea Computer Card: 1920x1080 at 60fps (1080p60) works great, full-screen. As the CEDAR Reverse-engineering is an FSF High Priority Project this is a big deal.

The main developers, including Jens Kuske, Manuel Braga, and Andreas Baierl, have been working on Cedrus, reverse-engineering the Allwinner CEDAR Encode and Decode hardware, for some time. The original libraries from Allwinner (libcedarx) that went out as an illegal and copyright-violating binary-only component were written by a team of engineers that did not understand the GPL (none of them had even read it): they included parts of ffmpeg without comprehending the consequences of doing so. Efforts to have Allwinner honour their legal obligations have not succeeded. So several people have been forced to carry out reverse-engineering.

The history behind libcedarx is that it’s actually not very good. It forces developers to either do encode or decode, but not both. The possibility of using the library on FreeBSD or a RTOS (Real-Time OS) is non-existent. Jens and Andreas’s work, which includes a VDPAU sunxi library is therefore highly significant and has even inspired someone to write a JPEG hardware-accelerated decoder library.

To test this library out, libcedrus and libvdpau-sunxi instructions were followed verbatim on the Libre Tea Computer Card, with "pacman -S vdpau mpv mplayer" being the only additional prerequisites. After a little investigation, the various exports (VDPAU_DRIVER=sunxi, VDPAU_OSD=1) were found to be essential, and a symbolic link needed to be added in /usr/lib to the libvdpau sunxi library: perhaps adding entries in /etc/ld.so.conf.d would have been better, but it worked.

The recommended command-line was run: pixbuf had not been installed, it was preferred to use the already-installed G2D xorg-video-fbturbo driver, and amazingly it just worked. The video is hilariously of a video: many people who have been through this install process will recognise the freely-licensed "Big Bucks Bunny" video.

What I cannot quite get over is: just as with the xf86-video-fbturbo G2D accelerated driver, when contacting the Parabola team on their IRC channel, Emulatorman agreed straight away to simply add the two libraries to the parabola package manager so that they can be made available by default. Last time, this happened without needing to be asked, within two days. Having been used to the huge delays (months to years in some cases) in other GNU/Linux distributions to package software, this is a really amazing surprise. After speaking to people who know a bit more about Arch and Parabola, apparently these two distros are known as "rolling releases" so it is not uncommon for unstable or even broken packages to be included, hence why the package manager has a "rollback" system built-in.

Overall though, to have proper accelerated video playback at full HD on such a low-power processor, when there’s been absolutely no assistance whatsoever from the manufacturer of the SoC, is a huge and welcome achievement. So, thank you to everybody who’s been involved. We will be distributing vdpau-sunxi by default on the Libre Tea as it is entire Libre-licensed. Also in case anyone has not seen it, the Parabola team I think might be a bit excited about the possibility of 150 (and climbing) new users coming to their distribution: news here

About the Author

Luke Kenneth Casson Leighton

 Planet Earth. Usually.

$237,697 raised

of $150,000 goal

158% Funded! Order Below

Product Choices


Libre Tea Computer Card

An EOMA68-compatible computer card with an Allwinner A20 dual core processor, 2 GB of RAM, and 8 GB of NAND flash pre-installed with the Parabola GNU/Linux-libre operating system. We expect the Libre Tea Computer Card to receive the Free Software Foundation's Respects Your Freedom (RYF) certification before the first units ship.


Practically Perfect Computer Card

An EOMA68-compatible computer card with an Allwinner A20 dual core processor, 2 GB of RAM, and 8 GB of NAND flash pre-installed with the Debian GNU/Linux operating system.


Numero Uno Computer Card

An EOMA68-compatible computer card with an Allwinner A20 dual core processor, 2 GB of RAM, and 8 GB of NAND flash pre-installed with the Devuan GNU/Linux operating system.


Getting Ahead Computer Card

An EOMA68-compatible computer card with an Allwinner A20 dual core processor, 2 GB of RAM, and 8 GB of NAND flash pre-installed with the Fedora 24 GNU/Linux operating system.


Micro Desktop Housing for Computer Card

This is a Micro Desktop base unit and power supply unit with a beautiful laser-cut stack of 3mm plywood panels that creates an aesthetically attractive tiny base unit for your Computer Cards. Excludes Computer Card, keyboard, mouse and VGA monitor.


PIY Laptop Housing Kit for Computer Card

This Print-It-Yourself (PIY) kit includes all the parts, cabling and boards (main, power, and controller, assembled and tested), and battery, charger, keyboard, LCD, and CTP-LCD for trackpad that are needed to build a complete Libre Laptop once you 3D print the enclosure from the freely available GPLv3+ licensed plans. Excludes Computer Card.


PFY Laptop Housing Kit for Computer Card

This Printed-For-You (PFY) kit has everything needed to create a full EOMA68 Laptop, including a 3D printed set of casework parts, bamboo plywood panels, tested and assembled PCBs, cables, battery, charger, keyboard, LCD, and CTP-LCD for trackpad. Available in a variety of colors and materials. Excludes Computer Card.


Completely Assembled Laptop + Computer Card

A meticulously hand-assembled and fully-tested laptop. Includes your choice of EOMA68-A20 Computer Card and 3D-printed casework.


PCMCIA/EOMA68 Breakout Board

One PCMCIA/EOMA68 Breakout Board with one surface mount PCMCIA header, and tracks to some convenient 2.54-mm-spaced through-holes. Added by popular demand, for access, tinkering, development work, testing, etc.


Pass-through Card

A simple card that takes in HDMI and USB and passes them on. Turns a Laptop Housing into a portable, battery-powered dock for your smartphone, USB-HDMI dongle computer, and tablet, or a second screen, keyboard, and mouse for your existing laptop or desktop PC.


USB + HDMI Cable Set for Standalone Operation

Includes a Micro HDMI Type D cable and 3-way USB-OTG Host-Charger cable tested and known to work with EOMA68 Computer Cards. These are the cables you need to run a Computer Card as a standalone device without the need for a housing. Also useful with the Micro Desktop or Laptop Housing to add a second screen and extra USB port.



We make the modular, upgradable, Earth-friendly EOMA68 laptop.

Luke Kenneth Casson Leighton


Christopher Waid


See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: