glmark2-es2 benchmark performance on c0/c1

Post Reply
hunterhu
Posts: 9
Joined: Wed Nov 09, 2016 3:41 am
languages_spoken: english
ODROIDs: C2, XU4
Has thanked: 1 time
Been thanked: 0
Contact:

glmark2-es2 benchmark performance on c0/c1

Unread post by hunterhu » Tue May 14, 2019 1:45 am

Greetings,

I have a c0 board and plan to use it on an embedded project. I have used the ubuntu-16.04 core rootfs to build up my own customized minimum xfce4 desktop environment, where I can save more than 2.5GB storage space compared with official ubuntu-mate release from Hardkernel.

I have followed the wiki page to build the kernel:
https://wiki.odroid.com/odroid-c1/softw ... ing_kernel

Code: Select all

$ git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidc-3.10.y
$ cd linux
$ make odroidc_defconfig
$ make <-j4>
$ make <-j4> modules
$ make uImage
I have installed the user space drivers related with Mali by following the minimal image wiki:
https://wiki.odroid.com/odroid-c1/os_im ... tu/minimal

Code: Select all

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D986B59D
echo "deb http://deb.odroid.in/c1/ xenial main" > /etc/apt/sources.list.d/odroid.list
apt-get update
apt-get install mali-x11 xserver-xorg-video-mali
The installed versions of the 2 packages are:

mali-x11: Version: 20160906-r6p2-ceeaf8a-23
xserver-xorg-video-mali: Version: 20160712-fa6394b-5

After some tweaks to make mali driver work instead of mesa-egl:

1. move mesa-egl out of the way

Code: Select all

sudo mv /usr/lib/arm-linux-gnueabihf/mesa-egl/ /usr/lib/arm-linux-gnueabihf/.mesa-egl
2. add odroid user to video group

Code: Select all

sudo usermod -a -G video odroid
3. Create udev rules to access mali and ump devices: /etc/udev/rules.d/10-odroid-mali.rules

Code: Select all

KERNEL=="mali",SUBSYSTEM=="misc",MODE="0777",GROUP="video"
KERNEL=="ump",SUBSYSTEM=="ump",MODE="0777",GROUP="video"
Then install the glmark2-es2 benchmark tool:

Code: Select all

sudo apt-get install glmark2-es2
Run the glmark2-es2 on a screen size of 480x272

Code: Select all

glmark2-es2 -s 480x272
the benchmark score is only

glmark2 Score: 108
=================

compared with official ubuntu mate image performance

glmark2 Score: 221
=================

ubuntu-mate official image kernel version is at 3.10.96, and mali-x11 is at 20160712-r5p0-61d4e9c-21

compared with the build from the 3.10.y kernel source and installed from the repo, kernel is at 3.10.107, and mali-x11 is at 20160906-r6p2-ceeaf8a-23

When I paired my built kernel 3.10.107 and installed mali-x11 r6p2 with the rest of the ubuntu-mate image, glmark2-es2 achieved a bit higher score at 184, which indicates something else within the ubuntu-mate image also play a role and make a difference.

Questions: what should I do to reproduce the full mali performance within official ubuntu-mate image? do I miss any packages? do I miss any configurations? or anything else.

Thank you for your help,
Hunter

User avatar
odroid
Site Admin
Posts: 30638
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 91 times
Contact:

Re: glmark2-es2 benchmark performance on c0/c1

Unread post by odroid » Tue May 14, 2019 10:03 am

Did you try different Mate compositor options?
Also check the CPU governor too.
These users thanked the author odroid for the post:
hunterhu (Thu May 16, 2019 6:10 am)

hunterhu
Posts: 9
Joined: Wed Nov 09, 2016 3:41 am
languages_spoken: english
ODROIDs: C2, XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: glmark2-es2 benchmark performance on c0/c1

Unread post by hunterhu » Thu May 16, 2019 5:55 am

Thanks for the tips.

Indeed, after I disabled xfce4 compositor, my minimum customized xfce4 achieved a score of 215 with the glmark2-es2 benchmark tool.

I did overclock the cpu frequency to 1.824GHz from 1.536GHz, which achieved some improvement, but the system start to show instability.

User avatar
odroid
Site Admin
Posts: 30638
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 91 times
Contact:

Re: glmark2-es2 benchmark performance on c0/c1

Unread post by odroid » Thu May 16, 2019 9:28 am

Glad to hear the score got over 200pts.
Remove J8, if you use the DC barrel jack for the power input.
https://wiki.odroid.com/odroid-c1/hardw ... wer_enable
It makes more stable power path and reduced the instability obviously on my test cases.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests