Greetings,
I am trying to run sample code for Mali_OpenGL_ES_SDK_v2.4.4 on a SAMSUNG ARM Chromebook.
I was able to run examples for OpenCL SDK 1.1.0 following
Random ideas of a drinking cat: OpenCL on the Samsung Chromebook ARM, under crouton
This leads me to believe I downloaded the proper user side mali drivers.
I set BASH shell variables:
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/home/mfilmore/Mali/lib/x11
export TOOLCHAIN_ROOT=/usr/bin/
export TARGET=arm
export DISPLAY=:0.0
I followed
Mali_OpenGL_ES_SDK_v2.4.4/docs/html/quick_start.html
to compile samples.
Samples fail to run based on unable to initialize openGL ES:
======================
(trusty)mfilmore@localhost:~/Mali/Mali_OpenGL_ES_SDK_v2.4.4/bin_arm/opengles_20/antialias$ ./antialias
No protocol specified
Error: eglGetError(): 12289 (0x3001)
Error: Failed to initialize EGL at ../../simple_framework/src/EGLRuntime.cpp:245
This leads me to believe the code is having a problem initializing the display.
Can some kind person help me out here?
Thanks much,
-Mike
Hi Mike,
The samples out of the box currently build only for FBDEV on arm platforms, not X11. You should be able to run the samples against the FBDEV drivers. Alternatively you can run the samples on desktop against the emulator. We have an outstanding ticket to add X11 support for ARM platforms, and we have raised the priority in light of this confusion.
Hth,
Chris