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.
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