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.

Re: Dual simultaneous framebuffer output

Guru 10685 points


Hello,

so I've compiled Qt to work with OpenGLES using this configure command:

./configure -prefix /home/ralph/qtdiy/targetinstalldir -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-TIarmv7-g++ -depths 16,24,32 -qt-freetype -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-sse4.1 -no-sse4.2 -no-ssse3 -no-avx -no-cups -qt-mouse-pc -no-mouse-tslib -qt-mouse-linuxinput -plugin-mouse-pc -little-endian -commercial -opengl es2 -openvg -qt-gfx-transformed -qt-gfx-linuxfb -qt-gfx-multiscreen -plugin-gfx-powervr -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT

I had to edit linux-TIarmv7-g++/qmake.conf so that it had the following added to line 31 as otherwise it wasn't configuring properly:

-lsrv_um /home/ralphc/ezsdk/ti-ezsdk_c6a816x-evm_5_00_00_56/Graphics_SDK_4_03_00_02/gfx_dbg_es5.x/libusc.so

Most of the Qt demos work fine but the ones that use Qt _and_ OpenGL don't. I  should add that all the SGX 3D OpenGL-only demos run fine on my board (e.g. OGLESCoverflow, OGLES2ChameleonMan etc).

For example, the textures demo gives this error:

./examples/opengl/textures/textures -qws -display powervr
powervr: driver not found
Aborted

Please can someone help me? I've followed the instructions pretty closely but somewhere I've gone wrong. By the way, my powervr.ini looks like this:

[default]
WindowSystem=libpvrQWSWSEGL.so

Thanks,

Ralph

  • Hi, I tried to send you a message to chat on IRC. While I'm here, here is the output of your SGX script:

    # ./sgxperf_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrQWSWSEGL.so
    #WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

    ------
    ARM CPU information
    Processor       : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 986.31
    Features        : swp half thumb fastmult vfp edsp neon vfpv3
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2

    Hardware        : ti8168evm
    Revision        : 0000
    Serial          : 0000000000000000

    ------
    SGX driver information
    Version 1.6.16.3977 (release) /home/ralph/ezsdk/ti-ezsdk_c6a816x-evm_5_00_00_5M
    System Version String: SGX revision = 1.2.5
    ------
    Framebuffer settings
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by    Tainted: P
    bufferclass_ti          4918  0
    omaplfb                 7954  0
    pvrsrvkm              154732  2 bufferclass_ti,omaplfb
    TI81xx_hdmi            10392  0
    ti81xxfb               21223  1
    vpss                   38214  2 omaplfb,ti81xxfb
    syslink              1079195 17 vpss
    ------
    Boot settings
    console=ttyS2,115200n8 root=/dev/nfs nfsroot=10.1.1.1:/home/ralph/nfs
    ------
    Linux Kernel version
    Linux buildroot 2.6.34 #1 Mon Apr 18 18:48:44 BST 2011 armv7l GNU/Linux

  • Ralph,

    The link below contains a target file system for DM816x Integra with pre-installed graphics SDK 4.03.00.02 and Qt 4.7.2

    https://gforge.ti.com/gf/download/docmanfileversion/266/4573/tfs_sgx_qt.tar.gz

    Qt has been built with the latest Graphics SDK and should be available at /usr/local/qt-4.7.2-ogles2.

    Please use this as your root file system and try running hellogl_es2 example

    Regards,

    Anand

  • Ralph,

     

    The kernel image we used is available at:

    https://gforge.ti.com/gf/download/docmanfileversion/267/4586/uImage_netra_sgx_qt

     

    Regards,

    Anand