sunxi-mali icon indicating copy to clipboard operation
sunxi-mali copied to clipboard

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

Open zgoda opened this issue 8 years ago • 1 comments

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'

zgoda avatar Feb 15 '16 14:02 zgoda

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.

mard avatar Jun 15 '16 14:06 mard