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 v24.0, you have to flash image with GPU device tree overlay (gpu-mali.dtbo
) to enable GPU support on Genio 350-EVK.
genio-flash --load-dtbo gpu-mali.dtbo
Note
Command operations and test results presented in this chapter are based on the IoT Yocto v24.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 (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.
Command |
Display |
Render Resolution |
Score |
---|---|---|---|
|
DSI |
1920x1080 |
247 |
|
DSI |
Full screen (1200x1920) |
56 |
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
Disable CPU idle
Command to disable CPU idle.
for j in 3 2 1 0; do for i in 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 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
systemctl start weston
Command to stop Weston
systemctl stop weston