This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

where can i find wsegl.h?

Other Parts Discussed in Thread: OMAP3530

i need run QT's opengl demo on omap3530, but i can not find wsegl.h in graphic sdk.

if i use the file of the same name in QT's folder, it compiles successfully,but when running like this

./hellogl_es2 -qws -display powervr

it print

QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b

 

  • Please refer to below section in the Online Wiki,

     

    http://processors.wiki.ti.com/index.php/SGXDbg#Qt.2FE_demos_do_not_work_when_powerVR_is_enabled

     

     

  • i make sure that both release version kernel modules (omaplfb.ko and pvrsrvkm.ko) are successfully loaded.

    i can not use debug version kernel modules which are failed to load with

    [MiniBoard]# insmod ./omaplfb.ko
    omaplfb: Unknown symbol PVRGetDisplayClassJTable
    insmod: can't insert './omaplfb.ko': unknown symbol in module or invalid paramet
    er
    [MiniBoard]# insmod ./pvrsrvkm.ko
    pvrsrvkm: unknown relocation: 43
    insmod: can't insert './pvrsrvkm.ko': invalid module format

    i make sure that the GLES2 demos provided in the Graphics SDK are running properly with default SDK configuration of the window system

    i make sure that all QT's 2D demos are running properly

    i find QT's opengl demos failed at  eglCreateWindowSurface 

    gfx_check.sh ' s output

    [MiniBoard]# ./gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrQWSWSEGL.so
    ------
    ARM CPU information
    Processor       : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 508.37
    Features        : swp half thumb fastmult vfp edsp
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x1
    CPU part        : 0xc08
    CPU revision    : 2

    Hardware        : OMAP3 Mini Board
    Revision        : 0020
    Serial          : 0000000000000000
    ------
    SGX driver information
    Version 1.6.16.3977 (release) /usr/local/Graphics_SDK_4_03_00_01/GFX_Linux_KM
    System Version String: SGX revision = 1.0.3
    ------
    Framebuffer settings
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    omaplfb 9536 0 - Live 0xbf02d000
    pvrsrvkm 160296 1 omaplfb, Live 0xbf000000
    ------
    Boot settings
    console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait mem=256M
    mpurate=600 omapfb.vram=8M omapfb.video_mode=1280x720MR-16@60
    ------
    Linux Kernel version
    Linux $HOSTNAME 2.6.28-icetek #1 Mon Feb 28 12:58:06 CST 2011 armv7l GNU/Linux
    [MiniBoard]#

  • Thanks for all the detailed information.

    Can you please move to kernel version 2.6.32? The latest graphics SDK release 04.03.00.01 was verified with 2.6.32 kernel only on OMAP3 platforms.

    This would help us in getting the debug mode also working and we can get more information on the failure from debug logs.

    Thanks,

    Prathap.

  • sorry i use chinese version Beagle board(ICETEK-OMAP3530-Mini),  it only supply 2.6.28 kernel

    i had to try Ti's kernel but it not work.