I've been trying to get Enlightenment to use GL ES on an Alllwinner A20
chip that has a Mali 400 MP2 GPU on it.  Yes, I'm aware that Mali
doesn't do full GL, but it does do GL ES and EL.  In particular I'm
using this board -

https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO-4GB/open-source-hardware

I have tried the Olimex Debian Wheezy image, and building my own Debian
testing from scratch, same results.  I get the " your display does not
support openGL, glsl shaders or no openGL..." message.  Expedite -e gl
says -

libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/mali_drm_dri.so
failed (/usr/lib/arm-linux-gnueabihf/dri/mali_drm_dri.so: cannot open
shared object file: No such file or directory)
... more attempts to load mali_drm_dri from various places ...
libGL error: unable to load driver: mali_drm_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: mali_drm
No engine selected.

This mysterious mali_drm_dri.so is no where to be found.  Web
searching only turns up a few hits from people asking about it, but
with no answers.  I can't find the source code for the bit that's
asking for it, though perhaps that name is being built from parts?  I
can't find source code to build it.

es2gears says -

libEGL warning: DRI2: failed to open lima (search
paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
EGL_VERSION = 1.4 (DRI2)
vertex shader info:
fragment shader info:
info:

And generally says an FPS of about 15, which is woeful according to
reports from others.

I install from source code these things, in this order -

https://github.com/robclark/libdri2
https://github.com/linux-sunxi/libump
https://github.com/linux-sunxi/sunxi-mali
https://gitorious.org/lima/lima
https://github.com/ssvb/xf86-video-fbturbo

Which according to a variety of build instructions, should be all I
need to get Mali 400 MP2 working on an A20.

Then I build EFL, enlightenment, and other E stuff.  Oddly, getting the
same results even with DRM disabled in the EFL build.  I'm about to try
a scripted build of the lot, from scratch, now that I think I have
sorted out the series of build commands.

I've currently got dozens of web pages open that may throw some light
on this, but I'm hoping someone here has done this already and can help
out.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to