Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Open GL ES 1.4 : Page 1 of 4 (4 Items)
   
Open GL ES 1.4  
We are facing problem with OpenGL ES on iMx51 Board for Ford project. 
We have downloaded the BSP for Freescale iMx51 for 6.5.0 SP1 qnx from QNX website. But it didn’t contain the graphic 
libraries needed.

But we downloaded the package for graphics as mentioned in http://community.qnx.com/sf/discussion/do/listPosts/projects.
graphics/discussion.opengl_es.topc20406?pageSize=-1#post_post86729.
Yet after making those changes as mentioned, the egl API’s were not working. We got error in the first step of getting 
the display id i.e eglGetDisplay(). But after making changes to graphics.conf file (made the begin display section to 
begin egl display 1), the error got surpassed and we got error in eglCreateContext(). This has been mentioned in the 
below logs. We are struck here and unable to proceed further.
For further info, display id returned by eglGetDisplay was “2” and egl configuration value returned was “11”. These 
two info are passed as parameter to eglCreateContext(), along with other config attributes. 


Error we are facing now:

libs: init: libiow.so.1 obj->refcount: 1
libs: init: libgf.so.1 obj->refcount: 1
libs: init: libEGL_iMX5X.so obj->refcount: 1
libs: dlopen("devg-imx51.so",0)
Mode: 

libs: Neither RTLD_GROUP nor RTLD_WORLD specified, assuming RTLD_GROUP | RTLD_WORLD
libs: load_object: attempt load of devg-imx51.so
libs: /fs/mp/usr/lib/devg-imx51.so: found; real path:/fs/mp/usr/lib/devg-imx51.so
libs: load_elf32: loaded lib at addr 799a8000(text) 799b3c38(data)
libs: object devg-imx51.so loaded; real soname: devg-imx51.so loaded from: /fs/mp/usr/lib/devg-imx51.so
libs: load_object: attempt load of libffb.so.2
libs: /proc/boot/libffb.so.2: found; real path:/proc/boot/libffb.so.2
libs: load_elf32: loaded lib at addr 799c0000(text) 799e5ee8(data)
libs: object libffb.so.2 loaded; real soname: libffb.so.2 loaded from: /proc/boot/libffb.so.2
libs: init: libffb.so.2 obj->refcount: 1
libs: init: devg-imx51.so obj->refcount: 1
eglCreateContext: failed to allocate resources for the requested operation
libs: dlclose(0x156240, 0)
libs: fini: devg-imx51.so obj->refcount: 0
libs: fini: libffb.so.2 obj->refcount: 0
eglGetdisplay:2egl_conf=11
libs: fini: libnavclient.so obj->refcount: 4
Attachment: Text graphics.conf 836 bytes