Unable to get GPU timings w/ Tegra Graphics Debugger 2.2 (shows 2.1 in Help > About)

I’m trying to get draw call timings through Tegra Graphics Debugger on a Google Project Tango tablet. Everything seems to work fine but the GPU time for all draw calls is always 0.

I have done the following:

  1. Built against libNvidia_gfx_debugger_stub.a instead of EGL and GLESv3.
  2. Included libNvidia_gfx_debugger.so and libNvPmApi.Core.so in the APK.
  3. Run adb shell setprop debug.perfhudes 1.

Is there something more I need to do to get GPU timings?

I’ve downloaded and installed Tegra Graphics Debugger 2.2 although the Help > About reports version 2.1.

Thanks,
Charles.

Downgrading to use Tegra Graphics Debugger 2.1 fixes this problem.

Thanks,
Charles.

Hi Charles,

Linking from a static lib is no longer supported in 2.2

But if the apk is debuggable, TGD can debug it on a non-rooted device (on rooted device, debuggable and non-debuggable are both supported). You can check whether an apk is debuggable or make an apk debuggable using apktool.

Could you try again with TGD 2.2? If the problem still exists, could you please post a screenshot and provide us more information?

Thanks,
Cody