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

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 Genio 350-EVK.


GPU Hardware Specification

Please refer to the MT8365 (Genio 350) to find GPU specifications.


GPU Benchmark

IoT Yocto provides glmark2 (72dabc5d72b49c6d45badeb8a941ba4d829b0bd6) 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 score of IoT Yocto v23.0, Genio 350-EVK.

Command

Display

Resolution

Score

glmark2-es2-wayland

HDMI display

800x600

716

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

HDMI display

Fullscreen(1280x800)

57

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

    There are 4 CPU cores on Genio 350-EVK. Please run following commands for each CPU core (/sys/devices/system/cpu/cpuX/).

    # change CPUFreq policy to userspace
    echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    
    # query available frequencies
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
    850000 918000 987000 1056000 1125000 1216000 1308000 1400000 1466000 1533000 1633000 1700000 1767000 1834000 1917000 2001000
    
    # set maximum frequency
    echo 2001000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
    
    # check current frequency
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
    2001000
    
  • GPU at maximum frequency

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

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

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

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

Appendix

Weston

Command to start weston

Before v22.0:

systemctl start weston@root.service

After v22.0:

weston-start

Command to stop weston

Before v22.0:

systemctl stop weston@root.service

After v22.0:

killall weston