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.

Run demo error QT + Powervr

Hardware:DM8168

SoftWare:

QT 4.7.1

configure as

-prefix /home/selfworkdir/filesys_01_06/rfs -opensource -confirm-license -little-endian -host-little-endian -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-TIarmv7-sgx-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -opengl es2 -qt-gfx-transformed -qt-gfx-vnc -qt-gfx-linuxfb -qt-gfx-multiscreen -qt-mouse-tslib -plugin-gfx-powervr -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT

Graphics_SDK_4_05_00_03(build with make BUILD=release OMAPES=6.x SUPPORT_XORG=1 all)

Error output when run (hellogl_es2 -qws -display powervr)

root@dvr:/examples/opengl/hellogl_es2# ./hellogl_es2 -qws -display powervr
powervr: driver not found
Aborted
root@dvr:/examples/opengl/hellogl_es2#

use lsmod output:

root@dvr:/examples/opengl/hellogl_es2# lsmod
Module                  Size  Used by
pvrsrvkm              166941  2
drm                   130384  3 pvrsrvkm
ti81xxhdmi             13020  0
ti81xxfb               20227  1
vpss                   61707  3 pvrsrvkm,ti81xxhdmi,ti81xxfb
syslink              1110075  0
ipv6                  209879  14
root@dvr:/examples/opengl/hellogl_es2#

 

use gfx_check.sh output:

root@dvr:/opt/dvr_rdk/ti816x# ./gfx_check.sh
WSEGL settings
[default]
WindowSystem=libpvrPVR2D_DRIWSEGL.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.4117 (release) /home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_KM
System Version String: SGX revision = 1.2.5
------
Framebuffer settings

mode "1280x720-124"
    # D: 148.500 MHz, H: 95.192 kHz, V: 124.435 Hz
    geometry 1280 720 1280 1440 32
    timings 6734 148 88 36 4 44 5
    rgba 8/16,8/8,8/0,8/24
endmode

Frame buffer device information:
    Name        : ti81xxfb
    Address     : 0x86c00000
    Size        : 8294400
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 5120
    Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module                  Size  Used by
pvrsrvkm              166941  2
drm                   130384  3 pvrsrvkm
ti81xxhdmi             13020  0
ti81xxfb               20227  1
vpss                   61707  3 pvrsrvkm,ti81xxhdmi,ti81xxfb
syslink              1110075  0
ipv6                  209879  14
------
Boot settings
mem=128M console=ttyO2,115200n8 root=/dev/nfs rw rootfstype=jffs2 nfsroot=192.168.8.99:/home/selfworkdir/filesys_01_06/rfs ip=192.168.8.189:192.168.8.1:192.168.8.254:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBFD00000
------
Linux Kernel version
Linux dvr 2.6.37 #113 Tue Apr 3 07:05:23 EDT 2012 armv7l unknown
root@dvr:/opt/dvr_rdk/ti816x#

So Somebody can help me.where is wrong?

why powervr: driver not found when run the demo app.

Thank you very much!

  • driver not found is because of I not set envionment variables.

    when I set envionment variables like this :

    export QT_PLUGIN_PATH=/plugins
    export TSLIB_CONSOLEDEVICE=none
    export TSLIB_FBDEVICE=/dev/fb0
    export TSLIB_TSDEVICE=/dev/input/event0
    export TSLIB_CALIBFILE=/etc/pointercal
    export LD_LIBRARY_PATH==/lib:/usr/lib:/usr/local/lib:/usr/local/XSGX/lib
    export set QWS_MOUSE_PROTO="Tslib:/dev/input/event0 intelliMouse:/dev/input/mouse0"

    driver not found error not occur.But new error has appear.

    The error message is :./hellogl_es2: symbol lookup error: /lib/libQtOpenGL.so.4: undefined symbol: _ZN15QGraphicsSystem16createPixmapDataEP11QPixmapData

    So I had search my file system.where is libQtOpenGL.so.4 file .there is only one file named libQtOpenGL.so.4 underside lib folder.

    I am puzzle! This lib is build out of QT. QT configure error? Graphics_SDK build error?

    QT configure is:

    -prefix /home/selfworkdir/filesys_01_06/rfs -opensource -confirm-license -little-endian -host-little-endian -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-TIarmv7-sgx-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -opengl es2 -qt-gfx-transformed -qt-gfx-vnc -qt-gfx-linuxfb -qt-gfx-multiscreen -qt-mouse-tslib -plugin-gfx-powervr -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT

    Graphics_SDK_4_05_00_03(build with make BUILD=release OMAPES=6.x SUPPORT_XORG=1 all)

    Someone can help me ! what is wrong?

    Thank you very much!

  • The prefix should indicate where Qt should be installed with respect to the target file system. For example, if Qt should be installed under /usr/local on the target the prefix should be "/usr/local". Your prefix seems to be relative to the host. 

    Follow the steps given in the links below to build and install Qt:

    http://processors.wiki.ti.com/index.php/Building_Qt

    http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX 

  • Hi

    finally i might be able to help out myself here !

    i had this symbol lookup error when i was mixing qt 4.6.3 with qt-4.7.5 libs .. then obviously one lib trys to find symbols which might not be in a older version of its dependant lib ..

    maybe try to bring your qt installation in your target on a update and same version level !

    Good luck

    Rob