AnsweredAssumed Answered

imx-gpu-viv-5.0.11.p8.3-hfp

Question asked by fulin chen on May 5, 2016
Latest reply on May 8, 2016 by fulin chen

Hi, i am proting imx-gpu-viv-5.0.11.p8.3-hfp for my imx6q board, my bsp tag is rel_imx_4.1.15_1.0.0_ga, i have not use yocto, because it is too big to down for a foreigner. i just  git clone one by one. i get imx-gpu-viv-5.0.11.p8.3-hfp, and add it's lib to my rootfs, and i run gpu-demos:

1、

# cd es20/vv_launcher/

# ls

vv_launcher

# ./vv_launcher

-sh: ./vv_launcher: not found

# /lib/ld-linux.so.3 ./vv_launcher

/* nothing happens */

2、

# cd viv_samples/tiger/

# ls

tiger

# /lib/ld-linux.so.3 ./tiger

vdkIntialize() failed.

CreateWindow() failed.

3、

# cd g2d/

# ls

g2d_test      overlay_test

# ./g2d_test

-sh: ./g2d_test: not found

# /lib/ld-linux.so.3 ./g2d_test

Width 1920, Height 1088, Format RGBA, Bpp 32

---------------- g2d blit performance ----------------

g2d blit time 5983us, 167fps, 349Mpixel/s ........

g2d blending time 10839us, 92fps, 192Mpixel/s ........

g2d blend-dim time 6876us, 145fps, 303Mpixel/s ........

---------------- g2d clear performance ----------------

g2d clear time 10102us, 98fps, 206Mpixel/s ........

---------------- g2d rotation performance ----------------

90 rotation time 12401us, 80fps, 168Mpixel/s ........

180 rotation time 6041us, 165fps, 345Mpixel/s ........

270 rotation time 12429us, 80fps, 168Mpixel/s ........

g2d flip-h time 5965us, 167fps, 350Mpixel/s ........

g2d flip-v time 6000us, 166fps, 348Mpixel/s ........

---------------- g2d copy & cache performance ----------------

g2d copy non-cacheable time 4747us, 210fps, 440Mpixel/s ........

cpu copy non-cacheable time 47147us, 21fps, 44Mpixel/s ........

cpu copy user cacheable time 22497us, 44fps, 92Mpixel/s ........

cpu copy gpu cacheable time 34481us, 29fps, 60Mpixel/s ........

g2d copy with cache op time 37596us, 26fps, 55Mpixel/s ........

---------------- g2d performance with vg core ----------------

g2d clear with vg time 9438us, 105fps, 221Mpixel/s ........

g2d blit with vg time 10752us, 93fps, 194Mpixel/s ........

g2d copy with vg time 10726us, 93fps, 194Mpixel/s ........

g2d resize test from 1280x720 to 1920x1088:

g2d resize with vg time 12351us, 80fps, 169Mpixel/s ........

g2d resize with 2d time 17317us, 57fps, 120Mpixel/s ........

#

/* nothing happens on screen above tests*/

 

# cd overlay_test/

# ls

g2d_overlay_test

# /lib/ld-linux.so.3 ./g2d_overlay_test

Overlay rendering time 87689us .

Overlay rendering with blur effect time 51399us .

!!! g2d_feature 'G2D_MULTI_SOURCE_BLT' Not Supported for this hardware!!!

Overlay rendering with multiblit time 15368us .

/* it has a picture on screen */

 

my Qt programs can't run,look like as follows, what is wrong?

# ./qmlscene

QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.

If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1

Unable to query physical screen size, defaulting to 100 dpi.

To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

QEGLPlatformContext::init: eglError: 3005, this: 0x69d00c20

 

 

QEGLPlatformContext::init: eglError: 3005, this: 0x3e2e80

 

 

EGLFS: Failed to create compositing context

Aborted

 

can you give me some ideas, what happened? i am a new hand.

thank you!

fulinux.

Outcomes