<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<blockquote
cite="mid:CAB_pQ6W9iE2MtPxM7oVK6LX7E-N2P0pEAOn0pyPxP4sBhGy=Mw@mail.gmail.com"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Did you try :
LD_PRELOAD=/usr/lib/mali.so glmark2-es2
(mali.so or everything containing your GL ES binary)
I did no try on the mele yet, but with the Cubox i do :
LD_PRELOAD=/usr/lib/libGLESv2.so:/usr/lib/libXrender.so.1:/usr/lib/libEGL.so
DISPLAY=:0 /opt/e17/bin/expedite -e gl -a -p 720p
The probleme is that without LD_PRELOAD, libs are the one provides by
Mesa, so you get a Direct Rendering : Yes, but it's a sofware
fallback, and it's slow.
You can check which .so are loaded at runtime by using ldd, to check.
</pre>
</blockquote>
<pre wrap="">I just got mesa out of the way by renaming
/usr/lib/arm-linux-gnueabihf/mesa-egl to something else.
So now it's using the armhf libs provided by Tom/AllWinner (checked with
ldd), but it fails to open the UMP driver:
./es2_info
UMP: ump_arch_open() failed to open UMP device driver
*********************************************************************
ERROR: In file: src/base/common/mem/base_common_mem.c function:
initialize_memory_system() line:1521
Could not open UMP memory system. Shutdown.
</pre>
</blockquote>
<pre wrap="">
If you use strace against your test program you should be able to see
if it is attempting to open a particular device that is not present on
your system.
</pre>
</blockquote>
I can't believe I never used strace before... It turned out to be a
permission issue on /dev/ump and /dev/mali.<br>
I got a little further and now it fails when calling eglInitialize()
in <b>src/egl/egl_platform_x11.c __egl_platform_init_display:272</b>.
I'm not sure strace (<a class="moz-txt-link-freetext" href="http://pastebin.com/ThCGzd84">http://pastebin.com/ThCGzd84</a>) can help here,
although we get a lot of "Resource temporarily unavailable" when
using (UNIX) sockets.<br>
As mentioned a few posts above, all needed modules (mali, mali_drm,
ump...) are already loaded.<br>
<br>
<br>
</body>
</html>