Imagination PowerVR SDK Blog

Save PVRTrace File Using PVRHub

pvrtune
pvrtrace
pvrhub

#1

I am using PVRHub on a rooted Nexus 5 (Android 5.1.1).

When I initiate a PVRTrace from PVRHub, the traced GLES2 applications opens as expected, but when I close the app and return to PVRHub no trace has been saved. I notice in the PVRTrace settings in PVRHub the save file location is greyed out and cannot be changed, though the documentation implies that it can. I do not have this problem with PVRTune - a file is created and seems to work fine.

While installing PVRTune from PVRHub, the phone failed to reboot on its own and the rotating installation circle spinned indefinitely, so I had to manually reboot. Not sure if this is a sign of an improper installation, but the in-app instructions said a manual reboot may be required so I am guessing it is OK.

Atached is the relevant logcat from trying to PVRTrace an app (pianoroll), as well as my device info.

Edit: Text file attachments aren’t accepted for ‘security reasons’? Ok, here is the info:

logcat
[pre]07-30 03:14:59.156 V/WindowManager(775): Adding window Window{3cfab443 u0 Starting com.nolanlawson.logcat} at 4 of 11 (after Window{3e3462a0 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:15:33.890 I/ActivityManager(775): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.powervr.PVRHub/.MainActivity bnds=[12,871][276,1167] (has extras)} from uid 10020 on display 0
07-30 03:15:35.277 V/WindowManager(775): not Base app: Adding window Window{3deb820d u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 5 of 13
07-30 03:15:44.152 V/WindowManager(775): Adding window Window{24c2c4be u0 Starting com.pianoroll} at 6 of 14 (after Window{3deb820d u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:20:19.541 I/ActivityManager(775): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.powervr.PVRHub/.MainActivity bnds=[12,871][276,1167] (has extras)} from uid 10020 on display 0
07-30 03:20:21.320 V/WindowManager(775): Adding window Window{1e1f91a5 u0 PopupWindow:1c2d4866} at 4 of 12 (after Window{3e3462a0 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:20:50.551 V/WindowManager(775): not Base app: Adding window Window{73a8d32 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 4 of 12
07-30 03:21:09.795 V/WindowManager(775): Adding window Window{c6dc6fb u0 Starting com.pianoroll} at 5 of 13 (after Window{73a8d32 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:21:31.824 V/WindowManager(775): not Base app: Adding window Window{36ddc0c0 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 4 of 12
07-30 03:21:56.958 V/WindowManager(775): Adding window Window{3268b731 u0 PopupWindow:2ebd004e} at 4 of 12 (after Window{3e3462a0 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:22:12.600 V/WindowManager(775): not Base app: Adding window Window{16847e8f u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 4 of 12
07-30 03:22:17.876 V/WindowManager(775): Adding window Window{2cdeb3dd u0 Starting com.pianoroll} at 5 of 13 (after Window{16847e8f u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:22:18.413 I/WindowManager(775): Screen frozen for +433ms due to Window{14b3c977 u0 PVRHub Marker}
07-30 03:22:44.028 V/WindowManager(775): not Base app: Adding window Window{3681cddc u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 4 of 12
07-30 03:22:45.982 V/WindowManager(775): not Base app: Adding window Window{354bebc8 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 5 of 13
07-30 03:22:51.794 V/WindowManager(775): Adding window Window{2e13296a u0 android/com.android.internal.app.ResolverActivity} at 6 of 14 (after Window{354bebc8 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity EXITING})
07-30 03:23:11.969 V/WindowManager(775): not Base app: Adding window Window{5c778a5 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 4 of 12
07-30 03:23:22.526 V/WindowManager(775): Adding window Window{3f45502a u0 Starting com.pianoroll} at 5 of 13 (after Window{5c778a5 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:23:45.965 V/WindowManager(775): not Base app: Adding window Window{361494a9 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 4 of 12
07-30 03:25:34.284 W/PackageManager(952): Failure retrieving resources for com.powervr.PVRHub: Resource ID #0x0
07-30 03:25:38.463 V/WindowManager(775): Adding window Window{3f58bf98 u0 Starting com.android.settings} at 4 of 12 (after Window{3e3462a0 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:27:02.501 I/ActivityManager(775): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.powervr.PVRHub/.MainActivity bnds=[12,871][276,1167] (has extras)} from uid 10020 on display 0
07-30 03:27:04.946 D/PVRHub (6359): Enabling PVRTrace…
07-30 03:27:04.964 V/WindowManager(775): not Base app: Adding window Window{2e75f8aa u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 7 of 15
07-30 03:27:18.647 D/PVRHub (6359): Executing command:$ chmod 0777 /data/data/com.powervr.PVRHub/pvrtraceconfig.json
07-30 03:27:18.658 D/PVRHub (6359): Command complete!
07-30 03:27:18.659 D/PVRHub (6359): Starting to trace PianorollApp
07-30 03:27:18.731 V/WindowManager(775): Adding window Window{1c55e05a u0 Starting com.pianoroll} at 8 of 16 (after Window{2e75f8aa u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})
07-30 03:27:19.822 W/PackageManager(952): Failure retrieving resources for com.powervr.PVRHub: Resource ID #0x0
07-30 03:27:34.140 D/PVRHub (6359): Stopping to trace com.pianoroll
07-30 03:27:34.188 D/PVRHub (6359): Executing command:$ chmod 0777 /data/data/com.powervr.PVRHub/pvrtraceconfig.json
07-30 03:27:34.213 D/PVRHub (6359): Command complete!
07-30 03:27:40.162 V/WindowManager(775): not Base app: Adding window Window{16862337 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity} at 7 of 15
07-30 03:27:41.868 W/PackageManager(952): Failure retrieving resources for com.powervr.PVRHub: Resource ID #0x0
07-30 03:27:42.901 W/PackageManager(952): Failure retrieving resources for com.powervr.PVRHub: Resource ID #0x0
07-30 03:27:54.980 V/WindowManager(775): Adding window Window{3795771d u0 com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity} at 4 of 15 (after Window{3e3462a0 u0 com.powervr.PVRHub/com.powervr.PVRHub.MainActivity})[/pre]

device info
[pre]build.board: hammerhead
build.bootloader: HHZ12h
build.brand: google
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: hammerhead
build.display: LMY48B
build.fingerprint: google/hammerhead/hammerhead:5.1.1/LMY48B/1863243:user/release-keys
build.hardware: hammerhead
build.host: wpiu6.hot.corp.google.com
build.id: LMY48B
build.manufacturer: LGE
build.model: Nexus 5
build.product: hammerhead
build.radio: unknown
build.serial: 03c96e32094791fe
build.tags: release-keys
build.time: 1429292097000
build.type: user
build.user: android-build
version.codename: REL
version.incremental: 1863243
version.release: 5.1.1
version.sdk_int: 22[/pre]


#2

Which version of PVRHub did you install?


#3

Using PVRHub 2…2, which came bundled with the PowerVR SDK 3.5 x64 for Linux.


#4

Would it be possible for you to create a ticket on our support portal and attach the apk binary for the application? We will try to reproduce the issue from there.

https://pvrsupport.imgtec.com/new-ticket