Hi.
I've been trying to setup the Streamline support for my S5 for graphics debugging purposes.
There were some issues with getting everything compiling and installing, but I think I have everything more or less covered and I have a custom kernel, gator.ko (that loads), gatord working and I can connect to it from DS-5 and I can even get *some* GPU information (like rendered triangles and draw calls and such) in the DS-5, but... I can't get the Mali Job Manager cycles, Mali External Bandwidth etc. figures showing.
They seem to exist on the device:
shell@k3g:/sys/kernel/debug/tracing/events/mali $ ls -la
-rw-r--r-- root root 0 1969-12-31 16:00 enable
-rw-r--r-- root root 0 1969-12-31 16:00 filter
drwxr-xr-x root root 1969-12-31 16:00 mali_job_slots_event
drwxr-xr-x root root 1969-12-31 16:00 mali_mmu_as_in_use
drwxr-xr-x root root 1969-12-31 16:00 mali_mmu_as_released
drwxr-xr-x root root 1969-12-31 16:00 mali_page_fault_insert_pages
drwxr-xr-x root root 1969-12-31 16:00 mali_pm_power_off
drwxr-xr-x root root 1969-12-31 16:00 mali_pm_power_on
drwxr-xr-x root root 1969-12-31 16:00 mali_pm_status
drwxr-xr-x root root 1969-12-31 16:00 mali_sw_counter
drwxr-xr-x root root 1969-12-31 16:00 mali_total_alloc_pages_change
The value of enable is '0' even if DS-5 is running. If I force that to '1', it makes no difference.
cat /sys/kernel/debug/tracing/available_events has:
mali_power:mali_utilization_stats
mali:mali_sw_counter
mali:mali_total_alloc_pages_change
mali:mali_mmu_as_released
mali:mali_mmu_as_in_use
mali:mali_page_fault_insert_pages
mali:mali_pm_power_off
mali:mali_pm_power_on
mali:mali_pm_status
mali:mali_job_slots_event
So clearly to some degree the Mali driver has registered it's trace events, but the DS-5 can't get these values. Here is a screenshot of what happens:
when I hover over the GPU cycles.
Any pointers? Is there some way to make DS-5 spill more details as to why it's missing this information?
Cheers,
Jani