How to Perform GPU Performance Test Based on glmark2 on Forlinx OK3588 EVK?

The Forlinx RK3588 evaluation kit integrates an embedded Mali G610 3D GPU with support for OpenGLES 1.1, 2.0, 3.2, OpenCL 2.2 and Vulkan 1.2. The special 2D hardware engine with MMU can maximize display performance and provide very smooth operation. In this article, we will test the performance of the GPU performance.

1. Check the glx version:

root@ok3588:~# glxinfo | grep version
server glx version string: 1.2
client glx version string: 1.4
GLX version: 1.2
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL version string: 3.1 Mesa 20.0.4
OpenGL shading language version string: 1.40
root@ok3588:~#

2. Copy Code

Copy Code

Glmark2

(1) Direct installation

sudo apt-get install glmark2

(2) Source code compilation

sudo apt-get install git g++ build-essential pkg-config
sudo apt-get install libx11-dev libgl1-mesa-dev
sudo apt-get install libjpeg-dev libpng-dev
git clone https://github.com/glmark2/glmark2.git
cd glmark2/
./waf configure --with-flavors=x11-gl
./waf build -j4
sudo ./waf install
The default installation is in /usr/local/.
sudo strip -s /usr/local/bin/glmark2

(3) Run the test

Run the test

The test process seems very smooth and no hysteresis. The final running scores are as follows:

test process

Running glxdemo through Xserver allows we to run glxgears directly on the desktop.

Running glxdemo

Run it directly from desktop.

GPU graphics processing

After installing mesa-utils using sudo apt-get install mesa-utils, we can use the vblank_mode=0 glxgears command to run a stress test and see the frame rate. The test results show that the GPU graphics processing performance is excellent and it can work a long time, which can be taken as a stress test.

GPU graphics processing

At the same time, after Glxheads test, the board's GPU graphics performance excels in both Xserver operation and direct desktop system operation.

GPU graphics

Note: when running on a direct desktop system, the default size frame rate is about 330, and the frame rate gets smaller when we zoom in on the image.

desktop system

From the tests, we can see the GPU of RK3588 EVK is excellent in graphics performance.