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.

What method can help us improve frame frequency on omap3530?

Other Parts Discussed in Thread: TPS65930, OMAP3530

chipset:OMAP3530DCUS+TPS65930+MT29C1G24

OS:Linux-2.6.32 + QT4.6.2(opengl)

Display:LCD 1024x768 24bpp

We want the application of refresh image function on SGX, now we have such use.

But found no ideal performance.

I think that use SGX could raise frame frequency,but the actual situation is not.

Specific situation is that we put our applications run only on the ARM CPU resources consumption in 90%,

frame frequency in about 15.

But the refresh image function on SGX,ARM CPU resource consumption in 40%, but only 10 frames.

Is it normal? 

use sgx:

 

Linux Kernel Module information:

Module                  Size  Used by

bufferclass_ti          3479  0

omaplfb                 8242  0

pvrsrvkm              122995  2 bufferclass_ti,omaplfb

We can run gfxsdkdemos from graphics sdk,and can run qtdemo with opengl also.

Run our application:

#./xxxx -qws -display powervr

(xxxx is our qt program,support opengl)

What method can help us improve frame frequency on omap3530?   Thanks!

  • Please read the below page for common causes for SGX low performance.

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

    For specific recommendations on your application, please provide details of your applications in below format.

    https://gforge.ti.com/gf/download/docmanfileversion/220/3798/UI_graphics_reqs_sheet_v1.xls

     

  • What does your QGLWidget do? Have you tried to make a standalone gles app to render the same content as in the GLWidget for perf comparison?

    BTY, what is the PSP version and Gfx SDK version?

  • Prabindh,thanks!

    run  gfx_check.sh, output information below:

    WSEGL settings
    [default]
    WindowSystem=libpvrQWSWSEGL.so
    #WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_X11WSEGL.so
    #WindowSystem=libpvrPVR2D_LINUXFBWSEGL.so
    #WindowSystem=libpvr2d.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

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

    Hardware    : OMAP3 EVM
    Revision    : 0020
    Serial        : 0000000000000000
    ------
    SGX driver information
    Version 1.4.14.2616 (release) /home/xxx/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM
    System Version String: SGX revision = 1.2.1
    ------
    Framebuffer settings

    mode "1024x768-59"
        # D: 61.717 MHz, H: 47.438 kHz, V: 59.150 Hz
        geometry 1024 768 1024 768 32
        timings 16203 1 269 2 30 7 2
        rgba 8/16,8/8,8/0,8/24
    endmode

    Frame buffer device information:
        Name        : omapfb
        Address     : 0x8051c000
        Size        : 3145728
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 4096
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    omaplfb                 7890  0
    pvrsrvkm              124527  1 omaplfb
    ------
    Boot settings
    console=ttyS2,115200n8 init=/linuxrc root=/dev/mmcblk0p2 rw rootdelay=1 nohz=off rsize=1024,wsize=1024 mem=99M mpurate=600 omapfb.vram=8M
    ------
    Linux Kernel version
    Linux $HOSTNAME 2.6.32 #213 Mon Jun 28 13:25:29 CST 2010 armv7l GNU/Linux

    Is there a problem?thanks!

  • In the bootargs, please add "vram=8M ".

    Also observed running from MMC - are you reading/writing large sized ARGB images ?

    For specific recommendations on your application, please provide details of your application in below format.

    https://gforge.ti.com/gf/download/docmanfileversion/220/3798/UI_graphics_reqs_sheet_v1.xls

     

  • hi,bin liu.Thanks!

    I have done it,but no improvent for fps.

    My image fresh size is 512*512.If size too big?

    PSP version:3.00.00.05

    Gfx SDK version:3.01.00.06

  • Prabindh,thanks for your quickly reply!

    OK.I will test that bootargs add "vram=8m"

    I have pixel data (512x512) of image in mmc card, myqtapps will read these data to fresh.

    I study  UI_graphics_reqs_sheet_v1.xls, my application is about:

    Number of animating elements                    1
    Screen size of all animating elements                 34% (512*512)
    Target FPS speed of animations (*not display)            25fps
    Text display area - screen size                 10.00%
    # of Static Picture elements (PNG, SVG, Colour fills)         1 bmp icon
    Static picture elements screen size                 80.00%
    Size of display screen  (width x height)            1024x768
    Resolution (bits per pixel, ex 16 bpp, 32 bpp) of display     32bpp
    Transparent Overlay on-screen size %                10.00%

     

     

  • It appears you are trying to render a BMP file (is it a converted video from YUV to RGB?) at 25 fps - this is not recommended.

    If your original content is video (in YUV format) that needs to be rendered, you should use the Buffer Class extension in SGX driver.

    If you really have source content in RGB that needs to be animated at 25 fps - please see if you can change to other lower resolution formats like 16 bit RGB. You could also use compressed formats as described in below link,

    http://www.imgtec.com/powervr/insider/powervr-pvrtextool.asp

     

  • Prabindh,thanks!

    Actually,my pixel data is from Ultrasound scan via USB interface.

    These data is 512x512 8-bit gray  pixel data after scan conversion. The fps is 30.

    And these original data is not doing any change for us.

    A thread of myqtapps receiving these data, and another thread refreshing image(512x512).

    As our application,can SGX accelerated for fps?

     

     

     

  • For imaging and volumetric applications, it is recommended to use the AM37x processor, that has the SGX running at a higher clock of 200 MHz.

    http://focus.ti.com/dsp/docs/dspcontent.tsp?contentId=72866&DCMP=am37x_060710&HQS=Other+OT+am37xprlp

    For volumetric imaging, you should also take a look at the DSP Medical Imaging Kit, that uses the DSP in the OMAP35x EVM for medical imaging.

    https://gforge.ti.com/gf/project/med_ultrasound/

    http://processors.wiki.ti.com/index.php/Medical_Imaging_Demo_Application_Starter_%28MIDAS%29