This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

failed to initialize EGL



Hi,

sdk : ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03

Target : J6 Dra7xx EVM

We got sample application for SGX544

Config parameters are

static const EGLint config_attribs[] = {
EGL_SURFACE_TYPE, EGL_PIXMAP_BIT,
EGL_RED_SIZE, 1,
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
EGL_ALPHA_SIZE, 0,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};

eglChooseConfig(gl.display, config_attribs, &gl.config, 1, &n)

output

trying to load module omapdrm...success.
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
Using display 0x1 with EGL version 1.4
EGL Version "1.4 build 1.14@3699939 (MAIN)"
EGL Vendor "Imagination Technologies"
EGL Extensions "EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display"
failed to choose config: 0
failed to initialize EGL

...................................................

Sample kmscube works fine but it doesnt use EGL_PIXMAP_BIT cinfig.

does this sdk supports PIXMAP?? What changes should be made to make it work??

Regards,

Jeyaprabu