Where can I find GPU tools (gpuinfo and gputop)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Where can I find GPU tools (gpuinfo and gputop)

3,282件の閲覧回数
sandeepgandiga
Contributor I

Where can I find GPU tools (gpuinfo and gputop) as mentioned in https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf  

And, do they work on i.MX8 running Android? 

タグ(2)
0 件の賞賛
返信
1 返信

3,123件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

gpuinfo

/unit_tests/GPU/gpuinfo.sh
gputop

/usr/bin/gputop

For android BSP the gputop maybe not default support you need to build and deploy it

  • Build gputop
    git clone ssh://git@bitbucket.sw.nxp.com/gtec/gputop.git
    cd gputop
    git apply 0001-gputop-fix-compilation.patch
    export PATH=/path/to/android-ndk-rxxx:$PATH
    export NDK_PROJECT_PATH=.
    export TARGET_PLATFORM=arm64-v8a
    export GPUPERFCNT_INCLUDE_PATH=/path/to/libgpuperfcnt/include
    export GPUPERFCNT_LIB_PATH=/path/to/libgpuperfcnt/obj/local/arm64-v8a
    ndk-build NDK_APPLICATION_MK=./tools/Application.mk

    output: /path/to/gputop/libs/arm64-v8a/gpu-top

 

  • Deploy gputop
    adb root
    adb push /path/to/libs/arm64-v8a/gpu-top /data/local

 

  • Run gputop
    /data/local/gpu-top

Before running the command, you would need to enable vProfiler option as described in  "12.6.3.1 Enable vProfiler option in kernel" from "i.MX Graphics User's Guide" in order to get proper occupancy values.

0 件の賞賛
返信