When I execute the qt demo and an error occurred:
QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b
I'm building the qt with OpenGL ES accelerated by SGX for omap3530. The following is my operation process.
First, I downloaded the necessary software from official website, such as dvsdk, graphics sdk, qt, tool chain.
Then I built the develop environment following the guides which I secrch from ti.
Finally, I copy the kernel and filesystem to sd card, and boot it from omap3530. Now it could execute some demos well which from /opt/gfxsdkdemos/ogles2/, but when I run the qt demo with opengl(e.g textures, hellolg_es2) an error occurred: QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b.
I have no ideas about how to do it, is there anyone can help me to resolve it? I look foward to your help.I have tried two different version:
First:
Softwares:
2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
dvsdk_3_01_00_10_Setup.bin
AM35x-OMAP35x-PSP-SDK-03.00.00.04.tgz
OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin
ti_cgt_c6000_6.1.12_setup_linux_x86.bin
ms1omap3530_setupLinux_1_00_00-prebuilt-dvsdk3.01.00.10.bin
overlay_dvsdk_3_01_00_10.tar.gz
nfs_dvsdk_3_01_00_10.tar.gz
data_dvsdk_3_01_00_10.tar.gz
qt-everywhere-opensource-src-4.8.3.tar.gz
Linux-TIarmv7-sgx-g++.tar.gz
qt4.8 patch (from https://github.com/prabindh/qt-configs/tree/master/qt4.8)
Guilds:
http://processors.wiki.ti.com/index.php/GSG:_OMAP35x_DVEVM_Software_Setup
http://processors.wiki.ti.com/index.php/OMAP35x_Graphics_SDK_Getting_Started_Guide
http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX
Second:
Softwares:
arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
bios_setuplinux_5_33_06.bin
cs1omap3530_setuplinux_1_00_01-44.bin
data_dvsdk_3_00_02_44.tar.gz
dvsdk_setuplinux_3_00_02_44.bin
OMAP35x_Graphics_SDK_setuplinux_3_00_00_09.bin
OMAP35x-PSP-SDK-setuplinux-02.01.03.11.bin
TI-C6x-CGT-v6.0.16.1.bin
xdctools_setuplinux_3_15_01_59.bin
qt_wsegl_1.6.tar.gz
qt-4.6
Guides:
http://processors.wiki.ti.com/index.php/GSG:_OMAP35x_DVEVM_Software_Setup
http://processors.wiki.ti.com/index.php/OMAP35x_Graphics_SDK_Getting_Started_Guide
http://processors.wiki.ti.com/index.php/Building_Qt_for_OMAP35xx_with_OpenGL_ES_accelerated_by_SGX
And there is a reference question http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/101221.aspx , but it doesn't works.