Command to see GPU usage in linaro18.01


#1

Hi Support Team,

How to see the GPU usage in DB410c for linaro 18.01.

Thanks,
Arjun Salariya


#2
cat /sys/kernel/debug/dri/0/perf

Note that 19.01 has been released.


#3

Hi Loic,

thanks for response i am using st7789v spi lcd and used fb_st7789v.c driver. and use /dev/fb0 for rendering.
in my case i can’t see cat /sys/kernel/debug/dri/0/perf .

If i am using “glmark2” utility it display different pattern on spi lcd screen . i want to verify it use GPU or not? so how can i verify ?

Thanks,
Arjun Salariya


#4

AFAIK, you can’t use hardware acceleration fbdev device (If someone can confirm). I think you need to enable the st7789v drm panel driver (DRM_PANEL_SITRONIX_ST7789V) and add a corresponding entry in the device tree.

export DISPLAY=:0
glxinfo