I am trying to use GLES2 on a headless (no hdmi port) board. I am having trouble getting and initializing the display. No X running. I am trying this code
EGLDisplay eglDpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); assert(EGL_NO_DISPLAY!=eglDpy); // fails here EGLint major, minor; EGLBoolean res = eglInitialize(eglDpy, &major, &minor); assert(EGL_FALSE!=res); //also fails here
My question is: Does EGL on L4T works without X ? If no , Can X be run without an hdmi port ?