Luca Bonifacio

Problem using OpenGL in Qt Embedded Linux

Discussion created by Luca Bonifacio on Nov 5, 2011
Latest reply on Aug 3, 2012 by Michael Grunditz

Hi guys

After successfully building Qt Embedded Linux on my i.MX51 EVK board with LTIB, I got the following error:

 

root@freescale /usr/local/Trolltech/demos/embedded/fluidlauncher$ ./fluidlaunche
r -qws
QProcess::start: Process is already running
QGLContext::chooseContext(): The screen is not a QGLScreen
QEglContext::chooseConfig(): Could not find a suitable EGL configuration
Requested: "type=es2 rgba=1,1,1,0 surface-type=window"
Available:
"id=1 type=es1,es2,vg rgba=5,6,5,0 surface-type=window,pbuffer,vg-colorspace-linear,1061
    caveat=none max-pbuffer-size=2048x2048 native-renderable=false
    visual-id=0 visual-type=0 bind-texture=no-rgb,no-rgba
    min-swap-interval=1 max-swap-interval=1 alpha-mask=8
    conformant=true"

....

QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLShader: could not create shader
QGLShader: could not create shader
QGLShaderProgram: could not create shader program
Errors linking simple shader: ""
QGLShader: could not create shader
QGLShader: could not create shader
QGLShaderProgram: could not create shader program
Errors linking blit shader: ""
QGLContext::makeCurrent(): Cannot make invalid context current
QGLShader: could not create shader
QGLShader: could not create shader
QGLShaderProgram: could not create shader program
"Shader program failed to link,  Error Log:
    "
Process error:  1

 

I used the qt demos Fluidlaucher and enabled OpenGL

 

Is there something wrong with my framebuffer settings?

root@freescale /usr/local/Trolltech/demos/embedded/fluidlauncher$ fbset
mode "800x480-58"
    # D: 27.000 MHz, H: 29.348 kHz, V: 57.545 Hz
    geometry 800 480 800 1440 16
    timings 37037 40 60 10 10 20 10
    rgba 5/11,6/5,5/0,0/0
endmode

 

Can somebody help me?

 

Thanks in advance

Luca

Outcomes