GPU Profiling with Vivante VDK Tools Version 2.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPU Profiling with Vivante VDK Tools Version 2.0

2,116 Views
ahmedal-zanam
Contributor I

Hello,

i have already read this article. but i need more information about GPU Profiling using Vivante Tools. I'm using i.MX6Solo to make UI with Qt Framework. I need to profile the GPU to know how works it with my UI.

I have setup the u-boot and system envs as below:

U-Boot:

galcore.gpuProfiler=1

galcore.showArgs=1

User-space:

USE_PROFILER=1

VIV_PROFILE=3

VP_FRAME_END=1024

VP_FRAME_NUM=1023

VP_FRAME_START=0

VP_OUTPUT=foo.vpd

VP_SYNC_MODE=0

cat /sys/module/galcore/parameters/gpuProfiler is always 0 but i use echo 1 > /sys/module/galcore/parameters/gpuProfiler

after UI starts the tool makes foo.vpd but it is 0 Bytes. Nothing is inside.

Do i miss something?

thank you for reply.

Zanam

Labels (4)
0 Kudos
4 Replies

1,394 Views
ahmedal-zanam
Contributor I

I have solve this problem and now i can profil the gpu but i have another problem with vAnalyzer. If i try to add the output file it shows me this error as below:

screenshot.png

i will appreciate your help

0 Kudos

1,394 Views
williamfradin
Contributor I

Hi Ahmed, 

I have the same problem, my .vpd file is equal to 0 Bytes. Can you explain me how have you resolved this problem?

Thank you, William. 

0 Kudos

1,394 Views
sandug
Contributor I

Hi William,

I ran into same issue; seems I was not passing the flag correctly as boot command argument and it got interpreted as string instead by my kernel (4.1.15 with a newer Uboot 2018.03). After using galcore.gpuProfiler=0x1 it worked correctly for me.

Best regards, Gabriel

0 Kudos

1,394 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Ahmed,

Looks like this issue is similar to https://community.nxp.com/thread/324670 

follow up the @Ariel martin thread.

Regards

0 Kudos