Genio 1200-demo


This chapter describes platform-dependent information and instructions. For example, you will get different benchmark results on different platforms.

For general usage of GPU, such as command to query GPU hardware information, command to find EGL, GLES support details and so on, please refer to GPU chapter.

Note

After IoT Yocto v23.0, you have to flash image with gpu device tree overlay (gpu-mali.dtbo) to enable GPU support on MT8395 P1V6 (Genio 1200) demo board.

aiot-flash --load-dtbo gpu-mali.dtbo

Note

Cmd operations and test results presented in this chapter are based on the IoT Yocto v23.0 and MT8395 P1V6 (Genio 1200) demo board.


GPU Hardware Specification

Please refer to the MT8395 (Genio 1200) to find GPU specifications.


GPU Benchmark

IoT Yocto provides glmark2 (2021.12) which is an OpenGL 2.0 and ES 2.0 benchmark. It offers a suite of scenes that can be used to measure many aspects of OpenGL (ES) 2.0 performance. Default it is not enabled, please refer to GPU benchmark to build and install glmark2 into image, then run benchmark on board. After benchmark finishes, you will find benchmark result as follows:

glmark2 (2021.12) score of IoT Yocto v23.0, MT8395 P1V6 (Genio 1200) demo board

Command

Display

Resolution

Score

glmark2-es2-wayland

eDP display

800x600

3470

glmark2-es2-drm --visual-config 'red=8:green=8:blue=8:alpha=0:buffer=24:depth=24:stencil=8'

eDP display

Fullscreen(2256x1504@60Hz)

60

Note

When running glmark2-es2-drm, default it renders scene at fullscreen resolution and fps is locked to the display refresh rate.


Performance Mode

Force CPU and GPU to run at maximum frequency.

  • CPU at maximum frequency

    Command to set performance mode for CPU governor

    echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
    echo performance > /sys/devices/system/cpu/cpufreq/policy4/scaling_governor
    
  • GPU at maximum frequency

    Please refer to Adjust GPU Frequency to fix GPU to run at maximum frequency.

    Or you could just set performance mode for GPU governor, make the GPU statically to the highest frequency.

    echo performance > /sys/devices/platform/soc/13000000.mali/devfreq/13000000.mali/governor
    
  • Disable thermal

    echo disabled > /sys/class/thermal/thermal_zone0/mode
    

Appendix

Weston

Command to start weston

systemctl start weston

Command to stop weston

systemctl stop weston