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.

Graphic Accelerator with OpenGL ES on DM3730

Other Parts Discussed in Thread: DM3730, OMAP3530

I am trying to run the Qt OpenGL ES example hellogl_es2.

I invoke the command and get the following error:

# ./hellogl_es2 -qws -display powervr
powervr: driver not found
Aborted

Now I noticed that I have an error on startup, that is most likely related but I am not sure how to fix it or what causes it:

pvrsrvkm: Unknown parameter '/lib/modules/2.6.32/kernel/drivers/char/pvrsrvkm.ko'
insmod: error inserting '/lib/modules/2.6.32/kernel/drivers/gpu/pvr/pvrsrvkm.ko': -1 Unknown symbol i
n module

The standalone OpenGL examples like OGLES2Coverflow etc. work fine.

Thanks in advance

Lucas

  • Always baseline your system using below:

    http://processors.wiki.ti.com/index.php/SGXDbg#Baselining_the_current_SGX_driver_environment

     

    - For the hellogl_es2, there are a number of factors that can cause it, take a look at -

    http://processors.wiki.ti.com/index.php/SGXDbg#Integration_of_Qt_framework_with_SGX_PowerVR_drivers_do_not_work

    You can use the TI ezSDK as reference to make this work: Refer below link.

    http://tigraphics.blogspot.com/2011/11/qt-opengles-supported-out-of-box-in-ti.html

     

  • Thank you very much for your response. This gives me some ideas.

    Prabindh Sundareson said:

    You can use the TI ezSDK as reference to make this work: Refer below link.

    http://tigraphics.blogspot.com/2011/11/qt-opengles-supported-out-of-box-in-ti.html

     

    The EZDSK seems to only support the platforms TI DM816x and DM814x. Can I still use it even though I have DM3730?

    I went through the points of the checklist "qt_powervr_dbg.txt" linked from
     http://processors.wiki.ti.com/index.php/SGXDbg#Integration_of_Qt_framework_with_SGX_PowerVR_drivers_do_not_work
    and noticed, that I do not have the library file libpvrQWSWSEGL.so but only:
         # ls /usr/lib/qtopia/plugins/gfxdrivers
         libqgfxpvregl.so       libqgfxtransformed.so  libqgfxvnc.so
    Does this mean, that something with my installation went wrong?

    Here is my gfx_check.sh output, just for completeness. Is there maybe already something fundamentally wrong here?

    # ./gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrQWSWSEGL.so


    ------
    ARM CPU information
    Processor    : ARMv7 Processor rev 2 (v7l)
    BogoMIPS    : 998.84
    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    : Variscite VAR-SOM-OM3X
    Revision    : 0020
    Serial        : 0000000000000000
    ------
    SGX driver information
    Version 1.4.14.2616 (release) /home/servo/ti-dvsdk_dm3730-evm_4_01_00_09/omap35x_graphics_sdk_4.00.00.01/GFX_Linux_KM
    System Version String: SGX revision = 1.2.5
    ------
    Framebuffer settings

    mode "800x480-62"
        # D: 28.000 MHz, H: 32.037 kHz, V: 62.087 Hz
        geometry 800 480 800 481 16
        timings 35714 29 17 13 20 28 3
        rgba 5/11,6/5,5/0,0/0
    endmode

    Frame buffer device information:
        Name        : omapfb
        Address     : 0x806b5000
        Size        : 770048
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 1600
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    cmemk                  20566  0
    sdmak                   3719  0
    lpm_omap3530            6121  0
    dsplinkk              123886  1 lpm_omap3530
    bufferclass_ti          4746  0
    omaplfb                 7890  0
    pvrsrvkm              125098  2 bufferclass_ti,omaplfb
    ------
    Boot settings
    mem=48M@0x80000000 mem=128M@0x88000000 console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2 rw,noatime rootfstype=ext3 ethaddr=$(ethaddr) ip=no consoleblank=0 mpurate=1000 rootwait
    ------
    Linux Kernel version
    Linux dm37x-evm 2.6.32 #1 Thu Nov 10 14:52:53 PST 2011 armv7l unknown

  • Yes - ensure you are configuring, building Qt with support for opengl es2 (take the ezsdk makefiles as reference).

     

    >> and noticed, that I do not have the library file libpvrQWSWSEGL.so but only:
         # ls /usr/lib/qtopia/plugins/gfxdrivers
         libqgfxpvregl.so       libqgfxtransformed.so  libqgfxvnc.so
    Does this mean, that something with my installation went wrong?

  • I was hoping to be able to run Qt with OpenGL es2 support, by installing prebuild Qt packages from the Angstrom Linux repository. They seem to support OpenGL ES2 also. Is this not recommended?

  • It might support it, you can use the beagleboard.org forums for support on Angstrom. In any case, issues pointed out earlier need to be fixed.