Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: Qt 4.8.6 with SGX

$
0
0

Hi.

On our am335x based board, we're using u-boot (2013.10-ti2013.12.01), kernel (3.12.10-ti2013.12.01), and graphics SDK (5.01.01.01) from am335x starter kit SDK 07.00.00.00.

The graphics modules are re-built with: BUILD=release OMAPES=8.x FBDEV=yes SUPPORT_XORG=0 EGLIMAGE=0 PM_RUNTIME=yes


Qt 4.8.6 is re-built with configuration:

-prefix /usr/local/qt4
-release -opensource -confirm-license
-shared -fast -no-largefile -no-accessibility
-no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend
-no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-declarative-debug
-no-openssl -no-nis -no-cups -no-iconv -no-glib -no-gtkstyle
-platform qws/linux-x86-g++ -xplatform qws/linux-pixy_sip_30
-embedded arm -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2
-opengl es2 -qt-gfx-transformed -qt-gfx-vnc -qt-gfx-linuxfb -qt-gfx-multiscreen -plugin-gfx-powervr
-qt-kbd-linuxinput -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -qt-mouse-tslib -plugin-mouse-linuxtp -plugin-mouse-pc
-D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT

The graphics SDK OpenGL ES 1/2 demos run properly on the device. However, the qt hello_gles2 application creates a window with an empty green background. (textures example does the same) It also prints this error:

QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b*** glibc detected *** ./hellogl_es2: double free or corruption (!prev) 0x0002a570 ***

Also, on serial console, there is a backtrace of error: (Please visit the site to view this file)

I followed the instructions on http://processors.wiki.ti.com/index.php/SGXDbg to no avail. As suggested by https://gforge.ti.com/gf/download/docmanfileversion/265/4572/qt_powervr_dbg.txt, I applied the patch from https://gforge.ti.com/gf/download/docmanfileversion/264/4456/qt_wsegl_1.6.tar.gz

The output of gfx_check.sh: (Please visit the site to view this file)

Am I missing something? Any suggestions about this issue?

Thanks,

Fatih


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>