gator icon indicating copy to clipboard operation
gator copied to clipboard

I have build gator and using arm streamline but it is unable to capture GPU events . Is there any specific way to build gator for Mali GPU G52 ?

Open Omkar-Shende-212011004 opened this issue 3 years ago • 2 comments

And there are some warnings:

1.Mali GPU counters

Successfully probed Mali device /dev/mali0 as Mali-G52 (0x7212 r0p0), 1 L2 Slices, 128-bit Bus, 2 Shader Cores.

Mali GPU counters

GPU frequency counters not available for GPU # 0.

No Perf PMUs detected

Could not detect any Perf PMUs in /sys/bus/event_source/devices/ but the system contains recognised CPUs. The system may not support perf hardware counters. Check CONFIG_HW_PERF_EVENTS is set and that the PMU is configured in the target device tree.

Mali: MMU page fault insert pages is disabled

/sys/kernel/tracing/events/mali/mali_page_fault_insert_pages/id was not found

Omkar-Shende-212011004 avatar Oct 05 '22 13:10 Omkar-Shende-212011004

You should not need to build gatord; pre-built binaries are provided that will work with Mali GPU.

Successfully probed Mali device /dev/mali0 as Mali-G52 (0x7212 r0p0), 1 L2 Slices, 128-bit Bus, 2 Shader Cores.

It looks like the GPU was detected. What issue where you receiving?

bengaineyarm avatar Feb 23 '23 16:02 bengaineyarm

Hi @bengaineyarm

I have similar problem.

In gator daemon debug message:

  • Setup stage
    • Successfully probed Mali device /dev/mali0 as Mali-G57 (0x9091 r0p1), 1 L2 Slices, 128-bit Bus, 1 Shader Cores.
    • GPU frequency counters not available for GPU # 0.
  • Start capture
    • MaliDeviceApi: Failed sending hwcnt reader ioctl.

My env:

  • Android
  • mali_kbase version r44p1-01eac0
  • gator daemon v7.7

But If i using r42p0-01eac0 in my env, It is working. Thank you

Haru

haruzheng avatar Dec 01 '23 10:12 haruzheng