QT X11 opengl

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

QT X11 opengl

1,241件の閲覧回数
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.

タグ(2)
0 件の賞賛
2 返答(返信)

605件の閲覧回数
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 件の賞賛

605件の閲覧回数
Boy_club
Contributor II

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

0 件の賞賛