Leon Woestenberg

Qt "affine" demo w/ OpenGL: Unable to create EGL context: "Bad alloc (0x3003)"

Discussion created by Leon Woestenberg on Jan 22, 2012
Latest reply on Feb 1, 2012 by Ben Beckwith

Hello,

 

I built Qt for i.MX53, and run the Qt "affine" demo, which is the spinning vector Tux penguin.

Then I press the "Use OpenGL" button using the mouse.

 

However, it fails:

 

sh-4.2# /usr/bin/qtopia/demos/affine/affine -qws  
QEglContext::createContext(): Unable to create EGL context: "Bad alloc (0x3003)"
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLShader: could not create shader
Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
QGLShader: could not create shader
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
QGLShaderProgram: could not create shader program
Errors linking simple shader: ""
QGLShader: could not create shader
Vertex shader for blitShaderProg (MainWithTexCoordsVertexShader & UntransformedPositionVertexShader) failed to compile
QGLShader: could not create shader
Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compile
QGLShaderProgram: could not create shader program
Errors linking blit shader: ""
QGLContext::makeCurrent(): Cannot make invalid context current
QGLShader: could not create shader
Warning: "" failed to compile!
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current

 

I am fresh to OpenGLES on iMX, can someone spot where this might be caused?

 

Regards,

 

Leon.

Outcomes