07-21-2022, 07:33 AM
Hi all,
I am managing a cluster of Rock64/RockPro64 and I need access to the GPU cycle counters (I already got access to CPU cycle counter) of the Mali T860 included in the board. I am trying to use the HWCPipe (https://github.com/ARM-software/HWCPipe) interface to get the CPU counters. However, this library tries to use /dev/mali0 to interact with the GPU, which is not exposed to the user in armbian using the Panfrost driver.
I have tried several ways of installing the mali midgard driver without success so far. Besides, I have tried to use /dev/dri/card1 (and 0) as resource for HWCPipe, but it doesn't work either.
Does someone know how I could expose the /dev/mali0 interface to userspace using panfrost driver or how to install mali-midgard driver in the last armbian version (kernel 5.15.48)?
The same posted here applies for Rock64 with lima driver for Mali-400 GPU, just in case...
I am managing a cluster of Rock64/RockPro64 and I need access to the GPU cycle counters (I already got access to CPU cycle counter) of the Mali T860 included in the board. I am trying to use the HWCPipe (https://github.com/ARM-software/HWCPipe) interface to get the CPU counters. However, this library tries to use /dev/mali0 to interact with the GPU, which is not exposed to the user in armbian using the Panfrost driver.
I have tried several ways of installing the mali midgard driver without success so far. Besides, I have tried to use /dev/dri/card1 (and 0) as resource for HWCPipe, but it doesn't work either.
Does someone know how I could expose the /dev/mali0 interface to userspace using panfrost driver or how to install mali-midgard driver in the last armbian version (kernel 5.15.48)?
The same posted here applies for Rock64 with lima driver for Mali-400 GPU, just in case...