PVRCarbon offline recording on linux

Hello, i am trying to trace a simple demo using PVRCarbon and record it into a file on Linux system, copy it to a Windows host pc and load the recording into GUI.I want to check the frame of each swap buffer and OpenGL ES calls.
when i set PVRCARBON_host_library_egl and PVRCARBON_host_library_glesv2 as value of .so built by myself
export LD_LIBRARY_PATH=/tmp/lib_pvrcarbon:$LD_LIBRARY_PATH
export PVRCARBON_host_library_egl=/opt/lib/libEGL.so
export PVRCARBON_host_library_glesv2=opt/lib/libGLESv2.so
export PVRCARBON_align_memory=true
export PVRCARBON_memory_map_files=0
export PVRCARBON_block_number=4

export LD_PRELOAD=/opt/lib/libEGL.so:/opt/lib/libGLESv2.so:/tmp/lib_pvrcarbon/libPVRCarbon.so

when i ran the sample, it doesn’t work:
just shows: PVRCarbon Recorder v0.8.1 (21.2@6185011), and the sample run directly

while i set PVRCARBON_host_library_egl and PVRCARBON_host_library_glesv2’ value as the path of .so which are from pvrcarbon
export LD_LIBRARY_PATH=/tmp/lib_pvrcarbon:/opt/lib/:$LD_LIBRARY_PATH
export PATH=$PATH:/opt/bin
export PVRCARBON_host_library_egl=/tmp/lib_pvrcarbon/libEGL.so
export PVRCARBON_host_library_glesv2=/tmp/lib_pvrcarbon/libGLESv2.so
export PVRCARBON_align_memory=true
export PVRCARBON_memory_map_files=0
export PVRCARBON_block_number=4

export LD_PRELOAD=/tmp/lib_pvrcarbon/libEGL.so:/tmp/lib_pvrcarbon/libGLESv2.so:/tmp/lib_pvrcarbon/libPVRCarbon.so

when i ran the sample :

i am confused. when i use the same config on ubuntu system ,it works success

Hi Jason1,

Thanks for your message and welcome to the PowerVR Developer Forum!

You mentioned everything works well on Linux Ubuntu, but you have issues in another Linux system.

Could you please provide the details of this problematic Linux system?

  • SoC / board information
  • GPU model
  • Linux OS name
  • Linux OS version
  • GPU driver version (you can get that information with the command sudo cat /sys/kernel/debug/pvr/version )

I can see in the image attached PVRCarbon is actually working and generates the temporal .part files from a recording, but for some reason fails to compile them into the final .pvrcbn recording file.

Also I can see you are using an old version of PVRCarbon, 21.2@6185011. You should try with one of the latest ones:

Please note that you need to register before accessing the Downloads section of the Developer Portal.

Best regards,
Alejandro