AnsweredAssumed Answered

opengl problem on imx53

Question asked by Pei Yifei on Jun 30, 2013

Dear all,

I'm trying to run a opengl program(building with qt creator) on my imx53qsb board. I have done excatly as this page described:

Re: Building Qt for i.MX5x

The only difference is that I use the qt-everywhere-opensource-src-4.8.2.tar.gz.

After I run "export DISPLAY=:0.0" and  "Xfbdev -mouse mouse,,device=/dev/input/mice -keybd keyboard,,/dev/input/event2 &", I get this prompt


_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6

_XSERVTransOpen: transport open failed for inet6/freescale:0

_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base

(EE) XKB: No components provided for device Virtual core keyboard

Kbd option key (/dev/input/event2) of value ((null)) not assigned!

(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base

(EE) XKB: No components provided for device (unnamed keyboard)

 

when I run my program(building with qt 4.8.2 embedded), I get this error and the program is not going to run at all

 

root@freescale /opt/hellogl_es2_test_ok$ ./hellogl_es2              

QGLShader::link: "Link was successful.

"

[2.bmp]:(iWidth = 0x200) - (iHeight = 0x200) - (format = 5)

[3.bmp]:(iWidth = 0x240) - (iHeight = 0x22a) - (format = 5)

[4.bmp]:(iWidth = 0x30) - (iHeight = 0x28) - (format = 5)

[5.bmp]:(iWidth = 0x30) - (iHeight = 0x28) - (format = 5)

[6.bmp]:(iWidth = 0x30) - (iHeight = 0x28) - (format = 5)

[7.bmp]:(iWidth = 0x30) - (iHeight = 0x28) - (format = 5)

[9.bmp]:(iWidth = 0x1b0) - (iHeight = 0xd6) - (format = 5)

[10.bmp]:(iWidth = 0x13d) - (iHeight = 0x9a) - (format = 5)

[11.bmp]:(iWidth = 0x78) - (iHeight = 0x3c) - (format = 5)

[100.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[101.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[102.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[103.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[104.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[105.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[106.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[107.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[108.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[109.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[3-1.bmp]:(iWidth = 0x250) - (iHeight = 0x22c) - (format = 5)

[3-2.bmp]:(iWidth = 0x2a) - (iHeight = 0x20) - (format = 5)

[3-3.bmp]:(iWidth = 0x2c) - (iHeight = 0x28) - (format = 5)

[3-4.bmp]:(iWidth = 0x2b) - (iHeight = 0x1f) - (format = 5)

[1-1.bmp]:(iWidth = 0x28) - (iHeight = 0x1c) - (format = 5)

[1-2.bmp]:(iWidth = 0x28) - (iHeight = 0x1f) - (format = 5)

[1-3.bmp]:(iWidth = 0x29) - (iHeight = 0x1c) - (format = 5)

[1-4.bmp]:(iWidth = 0x29) - (iHeight = 0x1a) - (format = 5)

[1-5.bmp]:(iWidth = 0x25) - (iHeight = 0x21) - (format = 5)

[1-6.bmp]:(iWidth = 0x2b) - (iHeight = 0x22) - (format = 5)

[1-7.bmp]:(iWidth = 0x31) - (iHeight = 0x16) - (format = 5)

[1-8.bmp]:(iWidth = 0x2e) - (iHeight = 0x21) - (format = 5)

[1-9.bmp]:(iWidth = 0x2b) - (iHeight = 0x21) - (format = 5)

[1-10.bmp]:(iWidth = 0x28) - (iHeight = 0x1e) - (format = 5)

[1-11.bmp]:(iWidth = 0x2c) - (iHeight = 0x21) - (format = 5)

[1-12.bmp]:(iWidth = 0x25) - (iHeight = 0x20) - (format = 5)

[1-13.bmp]:(iWidth = 0x24) - (iHeight = 0x1b) - (format = 5)

[1-14.bmp]:(iWidth = 0x2f) - (iHeight = 0x27) - (format = 5)

[1-15.bmp]:(iWidth = 0x31) - (iHeight = 0x2a) - (format = 5)

[1-16.bmp]:(iWidth = 0x32) - (iHeight = 0x25) - (format = 5)

[1-17.bmp]:(iWidth = 0x27) - (iHeight = 0x23) - (format = 5)

[1-18.bmp]:(iWidth = 0x2e) - (iHeight = 0x24) - (format = 5)

[1-19.bmp]:(iWidth = 0x3c) - (iHeight = 0x1f) - (format = 5)

[1-20.bmp]:(iWidth = 0x4f) - (iHeight = 0x7b) - (format = 5)

[1-21.bmp]:(iWidth = 0x78) - (iHeight = 0x78) - (format = 5)

[1-22.bmp]:(iWidth = 0x78) - (iHeight = 0x78) - (format = 5)

[1-23.bmp]:(iWidth = 0x78) - (iHeight = 0x78) - (format = 5)

[1-24.bmp]:(iWidth = 0x78) - (iHeight = 0x78) - (format = 5)

[1-25.bmp]:(iWidth = 0x78) - (iHeight = 0x78) - (format = 5)

[1-26.bmp]:(iWidth = 0x78) - (iHeight = 0x78) - (format = 5)

[1-27.bmp]:(iWidth = 0x78) - (iHeight = 0x78) - (format = 5)

[1-28.bmp]:(iWidth = 0x64) - (iHeight = 0x53) - (format = 5)

[1-29.bmp]:(iWidth = 0x6a) - (iHeight = 0x54) - (format = 5)

[1-30.bmp]:(iWidth = 0x6a) - (iHeight = 0x56) - (format = 5)

[1-31.bmp]:(iWidth = 0x6f) - (iHeight = 0x52) - (format = 5)

[1-32.bmp]:(iWidth = 0x6a) - (iHeight = 0x4f) - (format = 5)

[1-33.bmp]:(iWidth = 0x136) - (iHeight = 0x2e) - (format = 5)

[1-34.bmp]:(iWidth = 0x11d) - (iHeight = 0x2b) - (format = 5)

[1-35.bmp]:(iWidth = 0x11e) - (iHeight = 0x2b) - (format = 5)

[1-36.bmp]:(iWidth = 0x12a) - (iHeight = 0x31) - (format = 5)

QGLShader::link: "Link was successful.

"

QGLShader::link: "Link was successful.

"

 

 

Backtrace (0 deep):

 

 

Fatal server error:

Segmentation fault caught

 

 

hellogl_es2: Fatal IO error: client killed

Not all allocated memory blocks were freed. Doing it now.

Freeing list entry #0, gpuaddr=86300000

Freeing list entry #2, gpuaddr=86311000

Freeing list entry #3, gpuaddr=86343000

Freeing list entry #4, gpuaddr=86344000

Freeing list entry #9, gpuaddr=86345000

Freeing list entry #10, gpuaddr=8659d000

Freeing list entry #11, gpuaddr=867f5000

Freeing list entry #13, gpuaddr=86a5d000

Freeing list entry #14, gpuaddr=86bb3000

Freeing list entry #15, gpuaddr=86d70000

Freeing list entry #16, gpuaddr=86d76000

Freeing list entry #17, gpuaddr=86d7c000

Freeing list entry #18, gpuaddr=86d82000

Freeing list entry #19, gpuaddr=86d88000

Freeing list entry #20, gpuaddr=86e11000

Freeing list entry #21, gpuaddr=86e5b000

Freeing list entry #22, gpuaddr=86e66000

Freeing list entry #23, gpuaddr=86e69000

Freeing list entry #24, gpuaddr=86e6c000

Freeing list entry #25, gpuaddr=86e6f000

Freeing list entry #26, gpuaddr=86e72000

Freeing list entry #28, gpuaddr=86e85000

Freeing list entry #29, gpuaddr=86e88000

Freeing list entry #30, gpuaddr=86e8b000

Freeing list entry #31, gpuaddr=86e8e000

Freeing list entry #32, gpuaddr=86e91000

Freeing list entry #33, gpuaddr=86e94000

Freeing list entry #34, gpuaddr=8706c000

Freeing list entry #35, gpuaddr=8706f000

Freeing list entry #36, gpuaddr=87075000

Freeing list entry #37, gpuaddr=87078000

Freeing list entry #38, gpuaddr=8707b000

Freeing list entry #39, gpuaddr=8707e000

Freeing list entry #40, gpuaddr=87081000

Freeing list entry #41, gpuaddr=87084000

Freeing list entry #42, gpuaddr=8708a000

Freeing list entry #43, gpuaddr=87090000

Freeing list entry #45, gpuaddr=870a3000

Freeing list entry #46, gpuaddr=870a9000

Freeing list entry #47, gpuaddr=870af000

Freeing list entry #48, gpuaddr=870b2000

Freeing list entry #49, gpuaddr=870b8000

Freeing list entry #50, gpuaddr=870bb000

Freeing list entry #51, gpuaddr=870be000

Freeing list entry #52, gpuaddr=870c4000

Freeing list entry #53, gpuaddr=870ca000

Freeing list entry #54, gpuaddr=870d0000

Freeing list entry #55, gpuaddr=870d6000

Freeing list entry #56, gpuaddr=870dc000

Freeing list entry #57, gpuaddr=870df000

Freeing list entry #58, gpuaddr=870f1000

Freeing list entry #59, gpuaddr=87107000

Freeing list entry #60, gpuaddr=8711d000

Freeing list entry #62, gpuaddr=87143000

Freeing list entry #63, gpuaddr=87159000

Freeing list entry #64, gpuaddr=8716f000

Freeing list entry #65, gpuaddr=87185000

Freeing list entry #66, gpuaddr=8719b000

Freeing list entry #67, gpuaddr=871ad000

Freeing list entry #68, gpuaddr=871bf000

Freeing list entry #69, gpuaddr=871d1000

Freeing list entry #70, gpuaddr=871e3000

Freeing list entry #71, gpuaddr=871f5000

Freeing list entry #72, gpuaddr=87211000

Freeing list entry #73, gpuaddr=8722b000

Freeing list entry #74, gpuaddr=87245000

Freeing list entry #75, gpuaddr=87261000

Freeing list entry #76, gpuaddr=87271000

Freeing list entry #77, gpuaddr=87281000

 

  The same program can run smoothly on someone else's imx53borad, but when I try to do his work again, I got error. Please help me if anyone know anything about the error:

 

QGLShader::link: "Link was successful.

"

 

 

Backtrace (0 deep):

 

 

Fatal server error:

Segmentation fault caught

 

 

hellogl_es2: Fatal IO error: client killed

 

Thanks in advance.

 

 

 

 

Outcomes