i.MX53 Qt 4.7.4 with X11 - OpenGL Problem

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

i.MX53 Qt 4.7.4 with X11 - OpenGL Problem

2,398 Views
DD1z
Contributor II

Hi,

I got following (error) messages, during the start of my Application.

The BSP is: 11.09

Hardware: i.MX53 QSB

Compiled Qt Version: 4.7.4

with X11

I compiled and executed Qt Applications successfully in the past, but only with software rendering. Now I want to have hardware accerlation with OpenGL ES 2.

root@freescale /home/user/myApp$ ./myApp -qws
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed fo                                                                                                                                                                r BOM: Bad file descriptor
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open fail                                                                                                                                                                ed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed

QGLShader::link: "Link was successful.
"
QGLShader::link: "Link was successful.
"
QGLShader::link: "Link was successful.
"
Found EGL_KHR_image_pixmap & GL_OES_EGL_image extensions (preferred method)!
QGLShader::link: "Link was successful.
"
QGLShader::link: "Link was successful.
"
./myApp: symbol lookup error: ./myApp: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
Not all allocated memory blocks were freed. Doing it now.
Freeing list entry #0, gpuaddr=100000
Freeing list entry #1, gpuaddr=101000
root@freescale /home/user/myApp$ Freeing list entry #2, gpuaddr=111000
Freeing list entry #3, gpuaddr=143000
Freeing list entry #4, gpuaddr=144000
Freeing list entry #9, gpuaddr=145000
Freeing list entry #10, gpuaddr=445000
Freeing list entry #11, gpuaddr=745000
Freeing list entry #13, gpuaddr=a55000
Freeing list entry #14, gpuaddr=a57000
Freeing list entry #15, gpuaddr=ab1000
Freeing list entry #16, gpuaddr=b13000
Freeing list entry #17, gpuaddr=b6e000
Freeing list entry #18, gpuaddr=b71000
Freeing list entry #19, gpuaddr=b72000
Freeing list entry #20, gpuaddr=c1a000
Freeing list entry #21, gpuaddr=c8f000
Freeing list entry #22, gpuaddr=cea000
Freeing list entry #23, gpuaddr=d4c000
Freeing list entry #24, gpuaddr=da7000
Freeing list entry #25, gpuaddr=e4f000
Freeing list entry #26, gpuaddr=f81000
Freeing list entry #27, gpuaddr=101a000
Freeing list entry #28, gpuaddr=10b3000
Freeing list entry #29, gpuaddr=114c000
Freeing list entry #30, gpuaddr=1150000
Freeing list entry #31, gpuaddr=1271000
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard

Any ideas how to solve that?

Tags (2)
0 Kudos
5 Replies

1,010 Views
VJ96
Contributor II


Hi how can I start Xorg on Imx53.
D D said:

Problem partly solved. I used the wrong Qt-Version (QWS-Version not X-Version) to compile the application.
Now I have the problem that, the Display doesn't show anything.

How do I setup the X-Server correctly for i.MX 53?

0 Kudos

1,010 Views
DD1z
Contributor II

X-Server is setup correctly, what I need is the U-Boot env variable to set the output to HDMI. Any Ideas?

0 Kudos

1,010 Views
DD1z
Contributor II

Problem partly solved. I used the wrong Qt-Version (QWS-Version not X-Version) to compile the application.
Now I have the problem that, the Display doesn't show anything.

How do I setup the X-Server correctly for i.MX 53?

0 Kudos

1,010 Views
DD1z
Contributor II

Correct, but it doesn't matter how I start this application (with or without qws) it is crashing with the same error messages.

For the record, I started Xfbdev and exported the DISPLAY=:0.0 variable.

0 Kudos

1,010 Views
micken
Contributor I

Hi

Is this in X11 or framebuffer? You are starting your application with -qws which isn't right if you use X11 Qt.

0 Kudos