Imagination PowerVR SDK Blog

PVRTrace on Kindle Fire HD

pvrtrace

#1

Hi,



I’m trying to get PVRTrace working on a Kindle Fire HD.

I’m running the PVRTraceSetup app on the device; I’m telling it to output the trace to file, to the default location.

However, the file never appears on the device.

There are some complaints in adb logcat about permissions; here’s a selection of the logcat output, with one or 2 worrying lines highlighted:



I/(PVRTraceApp)( 1544): Skipping backup. A backup of egl.cfg already exists in /data/data/com.powervr.PVRTraceApp/backup/

I/(PVRTraceApp)( 1544): # This file is auto-generated. Do not edit unless needed. #

I/(PVRTraceApp)( 1544): ;SavedEglLibraryPath = /system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so

I/(PVRTraceApp)( 1544): ;SavedEs1LibraryPath = /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so

I/(PVRTraceApp)( 1544): ;SavedEs2LibraryPath = /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so

I/(PVRTraceApp)( 1544): [host]

I/(PVRTraceApp)( 1544): EglLibraryPath = /system/lib/libEGL.so

I/(PVRTraceApp)( 1544): Es1LibraryPath = /system/lib/libGLESv1_CM.so

I/(PVRTraceApp)( 1544): Es2LibraryPath = /system/lib/libGLESv2.so

D/dalvikvm( 1544): GC_CONCURRENT freed 166K, 2% free 11307K/11527K, paused 3ms+2ms

I/(PVRTraceApp)( 1544): [record]

I/(PVRTraceApp)( 1544): Profile = 0

I/(PVRTraceApp)( 1544): TraceFile = /data/data/com.powervr.PVRTraceApp/recordings/%pname.pvrt

I/(PVRTraceApp)( 1544): RecordData = 1

I/(PVRTraceApp)( 1544): StartFrame = 0

I/(PVRTraceApp)( 1544): EndFrame = 300

I/(PVRTraceApp)( 1544): SaveFrameBuffer = 0

I/(PVRTraceApp)( 1544): SaveFileToDisk = 1

I/(PVRTraceApp)( 1544): Network = 0

I/(PVRTraceApp)( 1544): NetworkWait = 0

I/(PVRTraceApp)( 1544): NetworkSendData = 1

I/(PVRTraceApp)( 1544): NetworkBufferSize = 2048

I/(PVRTraceApp)( 1544): ProcessNameWrite = com.LucidGames.JacobJonesEpisode1

I/(PVRTraceApp)( 1544): ExitOnLastFrame = 1

I/(PVRTraceApp)( 1544): DebugInfo = 2

I/(PVRTraceApp)( 1544): DebugInfo = 2 >> DebugInfo = 2

I/(PVRTraceApp)( 1544): Done parsing

I/(PVRTraceApp)( 1544): Root access granted

I/(PVRTraceApp)( 1544): Executing command: chmod 776 "/data/data/com.powervr.PVRTraceApp/pvrtrace.cfg"

I/(PVRTraceApp)( 1544): Install path: /system/vendor/lib/egl

I/WindowManager( 204): DIM BEHIND: Window{41a4e108 paused=false}

F/libc ( 1764): Fatal signal 13 (SIGPIPE) at 0x000006e4 (code=0)

D/dalvikvm( 346): GC_CONCURRENT freed 1374K, 9% free 15358K/16839K, paused 4ms+2ms

I/DEBUG ( 104): debuggerd committing suicide to free the zombie!

I/(PVRTraceApp)( 1544): ‘/system’ isn’t writeable or we failed to query if it was. Attempting to remount

I/DEBUG ( 1766): debuggerd: Jun 5 2013 23:00:35

I/(PVRTraceApp)( 1544): Executing command: mount -o remount rw /system

I/(PVRTraceApp)( 1544): 0] USER

I/(PVRTraceApp)( 1544): 1] PID

F/libc ( 2018): Fatal signal 13 (SIGPIPE) at 0x000007e2 (code=0)

D/dalvikvm( 1544): GC_CONCURRENT freed 1170K, 7% free 16988K/18247K, paused 1ms+2ms

F/libc ( 2022): Fatal signal 13 (SIGPIPE) at 0x000007e6 (code=0)

I/DEBUG ( 1766): debuggerd committing suicide to free the zombie!

I/(PVRTraceApp)( 1544): ‘/system’ isn’t writeable or we failed to query if it was. Attempting to remount

I/(PVRTraceApp)( 1544): Executing command: mount -o remount rw /system

I/(PVRTraceApp)( 1544): Executing command: cat “/data/data/com.powervr.PVRTraceApp/tmp/egl.cfg” > "/system/lib/egl/egl.cfg"

E/SuperSU ( 1394): [SuperSU] onReceive

I/(PVRTraceApp)( 1544): sh: [1]: cannot create /system/lib/egl/egl.cfg: Permission denied



Any idea what’s up?



Cheers,

Jon


#2

Hi Jon,



We released an SDK update on Friday. Have you tried to use the version of PVRTraceSetup from this release? It includes a number of bug fixes for Kindle devices.



Cheers,

Joe


#3

Hello Joe



the famous 3.2 is coming friday ???



wow



regards

david

ps

i will reserve my week end for it :slight_smile:


#4

Hi David,



Sorry for the lack of clarity. We released an update for the 3.1 SDK on Friday just gone (5th of July). SDK 3.2 is due for release in a month of two. I’ll make sure you know about it once it’s out :wink:



Cheers,

Joe


#5

Hi Joe,



I re-downloaded the SDK and reinstalled the trace .apk… and it’s now working!



Thanks for your help,

Jon


#6

Hi Jon,



No problem. Glad to hear you’ve got it working :slight_smile:



Thanks,

Joe