The acceleration works on some applications, but löve fail to uses it even by forcing GLES environment variable. I use the default archlinuxARM löve package (tried with both 0.10.1 and last one 0.10.2 packages, both fail the same way).
I made a short test program to display RendererInfo:
Code: Select all
name, version, vendor, device = love.graphics.getRendererInfo()
function love.draw()
love.graphics.print(name,5,5)
love.graphics.print(version,5,15)
love.graphics.print(vendor,5,25)
love.graphics.print(device ,5,35)
end
Code: Select all
export LOVE_GRAPHICS_USE_OPENGLES=1
Code: Select all
shared memfd open() failed: Function not implemented
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
Code: Select all
OPENGL ES
OPENGL ES 3.0 Mesa 12.0.3
VMWare INC.
Gallium 0.4 on llvmpipe (LLVM 3.9. 128 bits)
As an exemple, glmark2 (an OpenGL/GLES benchmark tool) as several version including full openGL, openGL ES, OpenGL ES + DRM, etc...
glmark2-es2, that uses Mali HW accelerated driver display in my case:
Code: Select all
OpenGL Information
GL_VENDOR: ARM
GL_RENDERER: Mali-T760
GL_VERSION: OpenGL ES 3.1 v1.r6p0-02rel0.4b8779afaaaf01b0c5ec7bfb4419c6ab
Code: Select all
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
[...]
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
GL_VERSION: 3.0 Mesa 12.0.3
GLES driver works well with some other open source application if this can help for better GLES test at start?:
* ppsspp-qt (psp emulator, version QT only, the other use fullGL)
* marble (A Qt openstreetmap/globe tool)
* dolphin-emu (Wii emulator)
* weston (wayland compositor)
* GF (Gamedev Framework, a young framwork in c++)
* Pencil2D a traditional 2d animation tool
Is there another mean to force GLES or something I can do to help debugging my case?