This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: eglGetError(): 0 (0x0000)

Greetings,

I am trying to run sample code for Mali_OpenGL_ES_SDK_v2.4.4 on a SAMSUNG ARM S5P4418

I followed

http://malideveloper.arm.com/downloads/deved/tutorial/SDK/linux/2.4/quick_start.html

to compile samples.

Samples fail to run based on unable to get display. this code "display = eglGetDisplay(EGL_DEFAULT_DISPLAY);"

followed error information :

[root@S5PC4418 antialias]#./antialias

Error: eglGetError(): 0 (0x0000)

Error: No EGL Display available at /home/crl6/Mali_OpenGL_ES_SDK_v2.4.4/simple_framework/src/EGLRuntime.cpp:235

Can some kind person help me out here?

Thanks much,

-crl6

Parents
  • Hi crl6,

    you're using Linux, right? Do you know if it's using X Windows or the framebuffer (or something else)?

    It's failing so early I think it might be an environment variable that's not set in your shell environment (possibly related to running as root).

    e.g. something like:

    export FRAMEBUFFER=/dev/fb0

    or

    export DISPLAY=:0.0

    might be the kind of thing you're missing? HTH, Pete

Reply
  • Hi crl6,

    you're using Linux, right? Do you know if it's using X Windows or the framebuffer (or something else)?

    It's failing so early I think it might be an environment variable that's not set in your shell environment (possibly related to running as root).

    e.g. something like:

    export FRAMEBUFFER=/dev/fb0

    or

    export DISPLAY=:0.0

    might be the kind of thing you're missing? HTH, Pete

Children