Genio 510/700-EVK


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.2, you have to flash image with gpu device tree overlay (gpu-mali.dtbo) to enable GPU support on Genio 510/700-EVK.

genio-flash --load-dtbo gpu-mali.dtbo

Note

Cmd operations and test results presented in this chapter are based on the IoT Yocto v23.2 and Genio 510/700-EVK.


GPU Hardware Specification

Please refer to the MT8370 (Genio 510) and MT8390 (Genio 700) 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.

Please refer to Launch glmark2-es2-wayland and Launch glmark2-es2-drm to run the benchmark.

Note

  • For glmark2-es2-wayland: By default, it renders various scenes in a output window with the resolution of 800x600, but the complexity of these scenes does not make the GPU to achieve a 100% usage rate. Therefore, we let glmark2 render to a window with higher resolution: 1920x1080, performing benchmarks when the GPU usage rate is close to 100%. You can find benchmark score when it finishes.

  • For glmark2-es2-drm: Default it renders scene at fullscreen resolution and fps is locked to the display refresh rate. You can find benchmark score when it finishes.

glmark2 (2021.12) score of IoT Yocto v23.2, Genio 510-EVK with DSI display

Command

Display

Render Resolution

Score

glmark2-es2-wayland -s 1920x1080

DSI

1920x1080

967

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

DSI

Fullscreen(1200x1920@60Hz)

59

glmark2 (2021.12) score of IoT Yocto v23.2, Genio 700-EVK with DSI display

Command

Display

Render Resolution

Score

glmark2-es2-wayland -s 1920x1080

DSI

1920x1080

1438

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

DSI

Fullscreen(1200x1920@60Hz)

60


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/policy6/scaling_governor
    
  • Disable CPU idle

    Command to disable CPU idle.

    • On Genio 510-EVK

    for j in 2 1 0; do for i in 5 4 3 2 1 0 ; do echo 1 > /sys/devices/system/cpu/cpu$i/cpuidle/state$j/disable ; done ; done
    
    • On Genio 700-EVK

    for j in 2 1 0; do for i in 7 6 5 4 3 2 1 0 ; do echo 1 > /sys/devices/system/cpu/cpu$i/cpuidle/state$j/disable ; done ; done
    
  • 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 115000 > /sys/class/thermal/thermal_zone0/trip_point_0_temp
    echo 115000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp
    echo 115000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp
    

Appendix

Weston

Command to start weston

systemctl start weston

Command to stop weston

systemctl stop weston