Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Banana Pro Blueprints

You're reading from   Banana Pro Blueprints Leverage the capability of Banana Pi with exciting real-world projects

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781783552382
Length 366 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Ruediger Follmann Ruediger Follmann
Author Profile Icon Ruediger Follmann
Ruediger Follmann
Tony Zhang Tony Zhang
Author Profile Icon Tony Zhang
Tony Zhang
Arrow right icon
View More author details
Toc

Implementing hardware accelerations

For the good performance of games and smooth animation, we need first to open the hardware acceleration support of the Mali GPU on Banana Pro. For a framebuffer version mali binary driver, we just need to build the libdri2, libump, and sunxi-mali drivers from scratch, but for the X11 version, we also need to build the xf86-video-fbturbo driver to enable the GLES capable X11. So, in upcoming sections, there are two version build processes, framebuffers, and the X11 version. Choose only one version, and follow all the processes for the one you choose. The X11 version will let you play a game in a window, while the framebuffer version will let you play the game in full screen. However, the framebuffer version doesn't refresh a display when you exit games; you need to plug out of the display monitor or forcefully refresh the display through other script. This is not a good experience.

Installing dependencies

First, download and install the Raspbian_For_BananaPro...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image