linux-sunxi/sunxi-mali

Test builds but fails to run on A20 (banana-pro)

Opened this issue · 1 comments

zgoda commented

On Banana Pro board with Arch Linux the library and test compiles cleanly but test fails:

$ DISPLAY=":0" ./test
Error: eglInitialise failed!

Library was built with following configuration:

$ make config ABI="armhf"
rm -f config.mk
make config.mk
make[1]: Entering directory '/home/bananapi/src/sunxi-mali'
make -f Makefile.config
make[2]: Entering directory '/home/bananapi/src/sunxi-mali'
ABI="armhf" (Provided)
VERSION="r3p0" (Detected)
EGL_TYPE="x11" (Detected)
echo "MALI_VERSION ?= r3p0" > config.mk
echo "MALI_LIBS_ABI ?= armhf" >> config.mk
echo "MALI_EGL_TYPE ?= x11" >> config.mk
make[2]: Leaving directory '/home/bananapi/src/sunxi-mali'
make[1]: Leaving directory '/home/bananapi/src/sunxi-mali'
mard commented

A10 with Arch Linux ARM here. Not only tests; es2_info, es2gears_x11 and es2tri all fail with the same "eglInitialise() failed" error. I don't know what's the problem. Maybe it has something to do with conflicts between existing libraries. However VDPAU seems to work fine. You can also try the method from this post.