mjhammel
Posts: 14
Joined: Sun Nov 18, 2012 8:10 pm
Location: Colorado Springs
Contact: Website

Integration of Mesa3D and Userland binaries

Mon Nov 26, 2012 12:37 am

I've put together my own distribution (PiBox) based on Buildroot and Crosstool-NG. It boots fine and I can get X and networking going just fine.

Now I'm integrating Raspbmc's XBMC build into my system. I've integrated the userland stuff into the rootfs under /opt/vc and modified raspbmc's build to fit with my rootfs. The result is a successful build (xbmcbox) of xbmc into an opkg that can be installed on pibox.

When I run xbmc on the pi I get an error that glxinfo is missing. I'm moderately sure that I can get that from the Mesa3D package in buildroot. But I've not built OpenGL in quite some time. A quick look at Mesa3D's web site shows that OpenGL ES has its own options that are not included in Buildroot's package, so I'll have to patch that.

My question: how does Mesa3D integrate with the userland libraries? Is it just a matter of removing Mesa's libegl.so and symlink it to the one from the userland blobs? Or do I need to compile Mesa3D against the userland blobs?

Also, should I focus on an fbdev version of xbmc instead of under X11? Without hardware accelerated X, won't an fbdev offer better performance using OpenGL ES?

For reference, here are the sites I mentioned:
PiBox: http://www.graphics-muse.org/wiki/pmwik ... aspberryPi
Userland: https://github.com/raspberrypi/userland
raspbmc build: http://www.raspbmc.com/wiki/technical/building-xbmc/
xbmxbox: https://gitorious.org/xbmcbox

Thanks for any pointers.
Michael J. Hammel
PiBox: http://www.graphics-muse.org/wiki/pmwiki.php?n=RaspberryPi.RaspberryPi

Return to “OpenGLES”