On Mon, 28 Jul 2014 08:44:00 +0900 Carsten Haitzler (The Rasterman) <[email protected]> wrote:
> On Mon, 28 Jul 2014 09:36:56 +1000 David Seikel <[email protected]> > said: > > > On Mon, 28 Jul 2014 08:23:44 +0900 Carsten Haitzler (The Rasterman) > > <[email protected]> wrote: > > > > > On Mon, 28 Jul 2014 05:37:07 +1000 David Seikel > > > <[email protected]> said: > > > > > > > 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 - > > > > > > yes - gles+egl is supported, if desktop (full) gl not detected, > > > this will be used. it has worked fine on my tegra3 for ages (last > > > i checked anyway). > > > > > > > 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. > > > > > > you have an internal mesa problem up there. you will have to ask > > > your maintainers/vendors who supplied it to you. :) (note that i > > > do this with a lot of facetiousness in my tone here - because > > > this is what the embedded world is. you get a supported driver > > > from your soc vendor or - good luck. you're on your own). so why > > > not ask olimex? > > > > Yes, I know I'm on my own. Did I mention I built the OS? Think I > > did. B-) > > > > > > 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. > > > > > > smells of a sw fallback. > > > > > > > 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. > > > > > > are you sure you have built with gles/egl support in efl? i hope > > > there isn't some desktop gl/glx emulation lib you have there > > > that's causing the problem... other than that - it's in the hands > > > of the driver (libGLESv2.so + libEGL.so). it may be that they > > > work, but only in fullscreen,. so when we create an egl display > > > for an x11 display, it fails. i don't know. again - ask your > > > vendor :) > > > > Yep I'm sure. I double checked. I even tried building it with > > gles/egl only, but that failed to build. > > build with "gles/egl only".... you can't build efl with both (i know > in theory we should support that, but we don't)... so you mean build > with gles/egl and that failed? if so - back to your build and make it > not fail. :) Oops, must have been tired that day, thought the default was "both". I'll give that another go. > > Hmm, I might try es2gears and expedite without a wm and see what > > happens. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world.
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
