QT X11 opengl

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QT X11 opengl

1,221 Views
stavrosmk
Contributor I

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.

Tags (2)
0 Kudos
2 Replies

585 Views
sidebranch
Contributor II

I am seeing the same problem (Qt 4.7.4 configured with -opengl es2).

I am trying the default Qt 'affine' demo and click it's "Use OpenGL" button.

Anyone seen this and solved this?

Regards, Leon.

0 Kudos

585 Views
Boy_club
Contributor II

deform-platform eglfs
Display is normal, but "Use OpenGL" button is hidden.
Whether this is your situation ?

0 Kudos