David Hill

EGL without X11

Discussion created by David Hill on May 9, 2012
Latest reply on May 12, 2012 by David Hill


I had found a while back the Freescale document AN4274: High-End 3D Graphics with OpenGL ES 2.0

Which I thought would lead me to rendering in "framebuffer" mode (no X11 server).

I have a modified test app with the magic line from the document,

   eglsurface = eglCreateWindowSurface(egldisplay, eglconfig, open("/dev/fb0", O_RDWR), NULL);

but fail earlier than that, in eglInitialize with the error GL_NOT_INITIALIZED

I am using the setup that comes with the imx53, which seems to work if I have the X server running. Dpkg shows:
  ii  amd-gpu-x11-bin-mx51                   11.09.01                                        GPU driver and app for x11 on mx51
which seems to match the debian package in L2.6.35_11.09.01_ER_images_MX5X.

 

Any suggestions on what I am missing ?

Outcomes