How to use vTracer

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

How to use vTracer

719 Views
Kazuma_Sasaki
Senior Contributor I

I would like to use vTracer to debug our OpenGLES application.

I have checked i.MX_Graphics_User's_Guide.pdf and vTracer_Linux.txt which getting from vtktools.

However, I could not solve my issue. Please give me any advice to use vTracer tool.

<My environment>

Board : SABRE-SDB (i.MX6DL)

Linux BSP : L4.1.15_2.0.0_ga

VTK TOOL : L4.1.15_2.0.0-ga_gpu-tools.tar.gz

<Test Procedure>

I copied following files into rootfs of target board.

- libGLES_vtracer.so = copy to /usr/lib/

- libGLES_vlogger.so = copy to /usr/lib/

- vtracer.conf = copy to /opt/viv_samples/vdk/

I executed following commands.

# export VIV_TRACE=2

# export LD_PRELOAD=/usr/lib/libGLES_vtracer.so

# cd /opt/viv_samples/vdk

# ./tutorial4_es20

Then, I got following error.

# ./tutorial4_es20
vtracer: Initializing VIVANTE vTracer.
vtracer: vTracer build: Dec 31 2015 20:06:25
vtracer: Reading configuration file at vtracer.conf for pid: 790
vtracer: cmdline: ? matches current process. tracing enabled
vtracer: startFrame: 0 endFrame: 0
Segmentation fault

<Question>

How do I fix my settings to use vTracer?

Best Regards,

Kazuma Sasaki.

Labels (2)
0 Kudos
1 Reply

651 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello kazuma,

You need to reburn the sd and the gpu tool again, segmentation fault is a memory issue, your vtrace is all right.

Regards

0 Kudos