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
Ah. Found the proper libraries! The correct version is
mali-t604_r4p0-02rel0_linux_1+fbdev.tar.gz
Now both OpenCL and OpenGL ES samples work.
On to x11 so that I can see something interesting..
Hi mfilmore,
Sorry I didn't spot this before, the userspace and kernel space need to match, which I think you solved with that final post I believe there would be an error printed to dmesg in the case that there was a mismatch.
Thanks,
Chris