Stavros Markou

QT X11 opengl

Discussion created by Stavros Markou on Jun 22, 2011
Latest reply on Aug 14, 2013 by Jim wen

Hello @ all,

I have followed Vladan instructions and i have been able to build qt-4.7.2 for X11. I have enable the xorg-imx driver and the amd-gpu-bin. When i run on the device the deform example using opengl, i get the following :

QEglContext::createSurface(): Unable to create EGL surface, error = 0x3003QGLContext::makeCurrent(): Cannot make invalid context currentQGLContext::makeCurrent(): Cannot make invalid context currentQGLContext::makeCurrent(): Cannot maNot all allocated memory blocks were freed. Doing it now.ke invalid context currentQGLCFreeing list entry #0, gpuaddr=aa100000ontext::makeCurrent(): Cannot make invalid context currentQGLContext::makeCurrent(): Cannot make invalid context currentQGLShader: could not create shader Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compileQGLShader: could not create shader Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShadFreeing list entry #1, gpuaddr=aa101000Freeing list entry #2, gpuaddr=aa111000Freeing list entry #3, gpuaddr=aa143000Freeing list entry #4, gpuaddr=aa144000er) failed to compileQGLShaderProgram: could not create shader program Errors linking simple shader: "" QGLShader: could not create shader Vertex shader for blitShaderProg (MainWithTexCoordsVertexShader & UntransformedPositionVertexShader) failed to compileQGLShader: could not create shader Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compileQGLShaderProgram: could not create shader program Errors linking blit shader: "" QGLContext::makeCurrent(): Cannot make invalid context currentQGLShader: could not create shader Warning: "" failed to compile! QGLContext::makeCurrent(): Cannot make invalid context currentQGLContext::makeCurrent(): Cannot make invalid context currentQGLContext::makeCurrent(): Cannot make invalid context currentQGLContext::makeCurrent(): Cannot make invalid context currentSegmentation fault

 

Do you have any idea why this is happening ?

I have abandoned for the moment the idea of qt embedded since (in order to use opengl) i need to create my own qt gl plugin driver.

 

Thanks in advance for your help.

 

Best Regards,

Stavros.

Outcomes