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.

DisableHWTextureUpload accelerates QML image item - why?

Other Parts Discussed in Thread: AM3517

Hi,

displaying a simple fullscreen (800x480) PNG image with Qt Quick 2.0/Qt-5.0.2 on an AM3517 involves a first time rendering duration of approx. 2 sec. Disabling the HW texture upload feature using DisableHWTextureUpload=1 in /etc/powervr.ini cuts that down to ~120 ms.

Can anybody enlighten me whether that's a bug or a feature? Shouldn't be the upload much faster with hardware support?

I don't really understand what Qt is doing under the hood, but in case it helps I can post a trace taken with PVRTrace.

Regards,
Florian.

root@am3517:~ . gfx_check.sh 
WSEGL settings
[default]
WindowSystem=libpvrPVR2D_FRONTWSEGL.so
#WindowSystem=libpvrPVR2D_FLIPWSEGL.so

DisableHWTextureUpload=1
------
ARM CPU information
Processor    : ARMv7 Processor rev 7 (v7l)
BogoMIPS    : 397.57
Features    : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x1
CPU part    : 0xc08
CPU revision    : 7

Hardware    : Technexion TAM3517 Evaluation Board
Revision    : 0020
Serial        : 0000000000000000
------
SGX driver information
Version SGX_DDK_Linux_CustomerTI sgxddk 19 1.9.RC2@2139099 (release) /home/build/workspace/platform-tam3517/platform-tam3517/build-target/Graphics_SDK_setuplinux_4_08_00_01/GFX_Linux_KM
System Version String: SGX revision = 1.2.1
------
Framebuffer settings
Frame buffer device information:
    Name        : omapfb
    Address     : 0x70000000
    Size        : 1966080
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 4096
    Accelerator : No
mode "UNNAMED" {
    { 800 480 30093 88 40 33 10 128 2 }
    { 16 11:5:0 5:6:0 0:5:0 0:0:0 0 0 }
    virtual 800 480
}
------
Rotation settings
2
------
Kernel Module information
Module                  Size  Used by
g_serial               16332  0
libcomposite           18056  1 g_serial
omaplfb                11744  0
pvrsrvkm              175426  1 omaplfb
edt_ft5x06_180          9150  0
pca953x_pnp             4941  0
lm73                    2341  0
rtc_mcp7941x            2523  0
tam3517_buzzer          4852  0
------
Boot settings
mem=256M mpurate=600 console=ttyO0,115200n8 omapfb.vram=0:10M omapfb.vrfb=y ethaddr=00:1F:7B:15:28:84 eth1addr=00:1F:7B:15:28:85 mtdparts=omap2-nand.0:512k(xloader),1024k(uboot),512k(params),6m(kernel),-(rootfs) rootfstype=ubifs ubi.mtd=4 root=ubi0:root rw
------
Linux Kernel version
Linux am3517 3.7.0-rc8 #1 Thu Apr 11 13:12:06 CEST 2013 armv7l GNU/Linux