编译
安装libgl
sudo apt install libgl-dev
yeqiang@yeqiang-greatwall:~/Downloads/UnixBench$ sudo apt install libgl-dev
[sudo] yeqiang 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
gconf-service gconf-service-backend gconf2-common hplip-data libgconf-2-4
libkylin-chkname1 libsane-hpaio libyaml-cpp0.6 localechooser-data user-setup
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
libglx-dev
下列【新】软件包将被安装:
libgl-dev libglx-dev
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 1 个软件包未被升级。
需要下载 120 kB 的归档。
解压缩后会消耗 1,480 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1/universe arm64 libglx-dev arm64 1.3.1-1kylin0k1 [18.2 kB]
获取:2 http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1/universe arm64 libgl-dev arm64 1.3.1-1kylin0k1 [102 kB]
已下载 120 kB,耗时 1秒 (157 kB/s)
正在选中未选择的软件包 libglx-dev:arm64。
(正在读取数据库 ... 系统当前共安装有 264248 个文件和目录。)
准备解压 .../libglx-dev_1.3.1-1kylin0k1_arm64.deb ...
正在解压 libglx-dev:arm64 (1.3.1-1kylin0k1) ...
正在选中未选择的软件包 libgl-dev:arm64。
准备解压 .../libgl-dev_1.3.1-1kylin0k1_arm64.deb ...
正在解压 libgl-dev:arm64 (1.3.1-1kylin0k1) ...
正在设置 libglx-dev:arm64 (1.3.1-1kylin0k1) ...
正在设置 libgl-dev:arm64 (1.3.1-1kylin0k1) ...
修改Makefile GL_LIBS,差异如下
*** Makefile 2022-04-18 11:35:59.423467216 +0800
--- Makefile.bak 2022-04-18 11:35:52.491163276 +0800
*************** SHELL = /bin/sh
*** 47,53 ****
# GRAPHIC_TESTS = defined
# Set "GL_LIBS" to the libraries needed to link a GL program.
! GL_LIBS = -lGL -lXext -lX11 -lm
# COMPILER CONFIGURATION: Set "CC" to the name of the compiler to use
--- 47,53 ----
# GRAPHIC_TESTS = defined
# Set "GL_LIBS" to the libraries needed to link a GL program.
! GL_LIBS = -lGL -lXext -lX11
# COMPILER CONFIGURATION: Set "CC" to the name of the compiler to use
编译
GRAPHIC_TESTS=1 make
单核测试2d 3d
./Run graphics
xorg 负载最重,测试过程,系统图形界面明细卡顿。
单核结果
yeqiang@yeqiang-greatwall:~/Downloads/UnixBench$ ./Run graphics
make all
make[1]: 进入目录“/home/yeqiang/下载/UnixBench”
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: 离开目录“/home/yeqiang/下载/UnixBench”
sh: 1: 3dinfo: not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
Wide character in print at ./Run line 1511.
Wide character in printf at ./Run line 1542.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
1 x 2D graphics: rectangles 1 2 3
1 x 2D graphics: ellipses 1 2 3
1 x 2D graphics: aa polygons 1 2 3
1 x 2D graphics: text 1 2 3
1 x 2D graphics: images and blits 1 2 3
1 x 2D graphics: windows 1 2 3
1 x 3D graphics: gears 1 2 3
Wide character in printf at ./Run line 1484.
Wide character in printf at ./Run line 1484.
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: yeqiang-greatwall: GNU/Linux
OS: GNU/Linux -- 5.4.18-80.43.2-generic -- #GWOEM SMP Wed Mar 9 14:13:16 CST 2022
Machine: aarch64 (aarch64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 1: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 2: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 3: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 4: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 5: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 6: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 7: Phytium,D2000/8 E8C (0.0 bogomips)
09:27:50 up 14 min, 1 user, load average: 2.46, 2.44, 1.64; runlevel 5
------------------------------------------------------------------------
Benchmark Run: 一 7月 31 2023 09:27:50 - 09:45:52
8 CPUs in system; running 1 parallel copy of tests
2D graphics: aa polygons 4144.8 score (55.2 s, 2 samples)
2D graphics: ellipses 1427.4 score (45.9 s, 2 samples)
2D graphics: images and blits 124966.5 score (48.3 s, 2 samples)
2D graphics: rectangles 5990.6 score (54.3 s, 2 samples)
2D graphics: text 539957.1 score (57.6 s, 2 samples)
2D graphics: windows 216.4 score (48.0 s, 2 samples)
3D graphics: gears 48.1 fps (20.0 s, 2 samples)
2D Graphics Benchmarks Index Values BASELINE RESULT INDEX
2D graphics: aa polygons 15.0 4144.8 2763.2
2D graphics: ellipses 15.0 1427.4 951.6
2D graphics: images and blits 15.0 124966.5 83311.0
2D graphics: rectangles 15.0 5990.6 3993.8
2D graphics: text 15.0 539957.1 359971.4
2D graphics: windows 15.0 216.4 144.3
========
2D Graphics Benchmarks Index Score 5973.5
3D Graphics Benchmarks Index Values BASELINE RESULT INDEX
3D graphics: gears 33.4 48.1 14.4
========
3D Graphics Benchmarks Index Score 14.4
------------------------------------------------------------------------
Benchmark Run: 一 7月 31 2023 09:45:52 - 09:45:52
8 CPUs in system; running 8 parallel copies of tests
4核测试 2d 3d
修改Run,2d 3d参数maxCopies 由1调整为8(后面再做一次8核的测试)
my $testCats = {
'system' => { 'name' => "System Benchmarks", 'maxCopies' => 16 },
'2d' => { 'name' => "2D Graphics Benchmarks", 'maxCopies' => 8 },
'3d' => { 'name' => "3D Graphics Benchmarks", 'maxCopies' => 8 },
'misc' => { 'name' => "Non-Index Benchmarks", 'maxCopies' => 16 },
};
执行4核测试
./Run graphics -c 4
结果
yeqiang@yeqiang-greatwall:~/Downloads/UnixBench$ ./Run graphics -c 4
make all
make[1]: 进入目录“/home/yeqiang/下载/UnixBench”
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: 离开目录“/home/yeqiang/下载/UnixBench”
sh: 1: 3dinfo: not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
Wide character in print at ./Run line 1511.
Wide character in printf at ./Run line 1542.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
4 x 2D graphics: rectangles 1 2 3
4 x 2D graphics: ellipses 1 2 3
4 x 2D graphics: aa polygons 1 2 3
4 x 2D graphics: text 1 2 3
4 x 2D graphics: images and blits 1 2 3
4 x 2D graphics: windows 1 2 3
4 x 3D graphics: gears 1 2 3
Wide character in printf at ./Run line 1484.
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: yeqiang-greatwall: GNU/Linux
OS: GNU/Linux -- 5.4.18-80.43.2-generic -- #GWOEM SMP Wed Mar 9 14:13:16 CST 2022
Machine: aarch64 (aarch64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 1: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 2: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 3: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 4: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 5: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 6: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 7: Phytium,D2000/8 E8C (0.0 bogomips)
09:50:45 up 37 min, 1 user, load average: 2.57, 2.73, 2.67; runlevel 5
------------------------------------------------------------------------
Benchmark Run: 一 7月 31 2023 09:50:45 - 10:19:31
8 CPUs in system; running 4 parallel copies of tests
2D graphics: aa polygons 10711.8 score (97.2 s, 2 samples)
2D graphics: ellipses 2210.0 score (65.7 s, 2 samples)
2D graphics: images and blits 278644.3 score (67.2 s, 2 samples)
2D graphics: rectangles 15152.9 score (110.0 s, 2 samples)
2D graphics: text 881405.7 score (60.0 s, 2 samples)
2D graphics: windows 352.0 score (60.6 s, 2 samples)
3D graphics: gears 192.2 fps (20.0 s, 2 samples)
3D Graphics Benchmarks Index Values BASELINE RESULT INDEX
3D graphics: gears 33.4 192.2 57.6
========
3D Graphics Benchmarks Index Score 57.6
2D Graphics Benchmarks Index Values BASELINE RESULT INDEX
2D graphics: aa polygons 15.0 10711.8 7141.2
2D graphics: ellipses 15.0 2210.0 1473.3
2D graphics: images and blits 15.0 278644.3 185762.9
2D graphics: rectangles 15.0 15152.9 10102.0
2D graphics: text 15.0 881405.7 587603.8
2D graphics: windows 15.0 352.0 234.6
========
2D Graphics Benchmarks Index Score 11816.4
8核测试2d 3d
yeqiang@yeqiang-greatwall:~/Downloads/UnixBench$ ./Run graphics -c 8
make all
make[1]: 进入目录“/home/yeqiang/下载/UnixBench”
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: 离开目录“/home/yeqiang/下载/UnixBench”
sh: 1: 3dinfo: not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
Wide character in print at ./Run line 1511.
Wide character in printf at ./Run line 1542.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1379.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
Use of uninitialized value in printf at ./Run line 1589.
Use of uninitialized value in printf at ./Run line 1590.
8 x 2D graphics: rectangles 1 2 3
8 x 2D graphics: ellipses 1 2 3
8 x 2D graphics: aa polygons 1 2 3
8 x 2D graphics: text 1 2 3
8 x 2D graphics: images and blits 1 2 3
8 x 2D graphics: windows 1 2 3
8 x 3D graphics: gears 1 2 3
Wide character in printf at ./Run line 1484.
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: yeqiang-greatwall: GNU/Linux
OS: GNU/Linux -- 5.4.18-80.43.2-generic -- #GWOEM SMP Wed Mar 9 14:13:16 CST 2022
Machine: aarch64 (aarch64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 1: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 2: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 3: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 4: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 5: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 6: Phytium,D2000/8 E8C (0.0 bogomips)
CPU 7: Phytium,D2000/8 E8C (0.0 bogomips)
10:21:54 up 1:08, 1 user, load average: 2.57, 3.08, 3.08; runlevel 5
------------------------------------------------------------------------
Benchmark Run: 一 7月 31 2023 10:21:54 - 11:01:09
8 CPUs in system; running 8 parallel copies of tests
2D graphics: aa polygons 16478.1 score (146.9 s, 2 samples)
2D graphics: ellipses 2759.2 score (91.0 s, 2 samples)
2D graphics: images and blits 301792.2 score (86.7 s, 2 samples)
2D graphics: rectangles 21659.1 score (133.0 s, 2 samples)
2D graphics: text 1077739.0 score (73.1 s, 2 samples)
2D graphics: windows 403.8 score (78.8 s, 2 samples)
3D graphics: gears 384.5 fps (20.0 s, 2 samples)
3D Graphics Benchmarks Index Values BASELINE RESULT INDEX
3D graphics: gears 33.4 384.5 115.1
========
3D Graphics Benchmarks Index Score 115.1
2D Graphics Benchmarks Index Values BASELINE RESULT INDEX
2D graphics: aa polygons 15.0 16478.1 10985.4
2D graphics: ellipses 15.0 2759.2 1839.5
2D graphics: images and blits 15.0 301792.2 201194.8
2D graphics: rectangles 15.0 21659.1 14439.4
2D graphics: text 15.0 1077739.0 718492.7
2D graphics: windows 15.0 403.8 269.2
========
2D Graphics Benchmarks Index Score 14992.0
对比以前做的i5-9600k + rtx2060 unixbench测试成绩
UnixBench5.1.3 图形性能测试 ubgears.c:(.text+0x66d): undefined reference to `sincos‘_unixbench 图形测试_hkNaruto的博客-CSDN博客
结论:unixbench图形测试项目参考意义不大。
glmark2
i5-9600k+rtx2060 6G
yeqiang@yeqiang-MS-7B23:~$ glmark2
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce RTX 2060/PCIe/SSE2
GL_VERSION: 4.6.0 NVIDIA 520.61.05
=======================================================
[build] use-vbo=false: FPS: 7691 FrameTime: 0.130 ms
[build] use-vbo=true: FPS: 15862 FrameTime: 0.063 ms
[texture] texture-filter=nearest: FPS: 16706 FrameTime: 0.060 ms
[texture] texture-filter=linear: FPS: 16835 FrameTime: 0.059 ms
[texture] texture-filter=mipmap: FPS: 16801 FrameTime: 0.060 ms
[shading] shading=gouraud: FPS: 16211 FrameTime: 0.062 ms
[shading] shading=blinn-phong-inf: FPS: 16226 FrameTime: 0.062 ms
[shading] shading=phong: FPS: 12798 FrameTime: 0.078 ms
[shading] shading=cel: FPS: 15732 FrameTime: 0.064 ms
[bump] bump-render=high-poly: FPS: 13685 FrameTime: 0.073 ms
[bump] bump-render=normals: FPS: 17430 FrameTime: 0.057 ms
[bump] bump-render=height: FPS: 17160 FrameTime: 0.058 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 14552 FrameTime: 0.069 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 10681 FrameTime: 0.094 ms
[pulsar] light=false:quads=5:texture=false: FPS: 16124 FrameTime: 0.062 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 5077 FrameTime: 0.197 ms
[desktop] effect=shadow:windows=4: FPS: 7448 FrameTime: 0.134 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 1123 FrameTime: 0.890 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 1081 FrameTime: 0.925 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 1119 FrameTime: 0.894 ms
[ideas] speed=duration: FPS: 7857 FrameTime: 0.127 ms
[jellyfish] <default>: FPS: 9087 FrameTime: 0.110 ms
[terrain] <default>: FPS: 1082 FrameTime: 0.924 ms
[shadow] <default>: FPS: 6568 FrameTime: 0.152 ms
[refract] <default>: FPS: 3535 FrameTime: 0.283 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 11568 FrameTime: 0.086 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 12314 FrameTime: 0.081 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 11983 FrameTime: 0.083 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 13650 FrameTime: 0.073 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 13582 FrameTime: 0.074 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 10890 FrameTime: 0.092 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 11652 FrameTime: 0.086 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 11317 FrameTime: 0.088 ms
=======================================================
glmark2 Score: 11073
=======================================================
d2000+amd Radeon 540X/550X/630 / RX 640 / E9171 MCM
yeqiang@yeqiang-greatwall:~/Downloads/UnixBench$ glmark2
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: Radeon 550X Series (POLARIS12, DRM 3.35.0, 5.4.18-80.43.2-generic, LLVM 9.0.1)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 20.0.8
=======================================================
[build] use-vbo=false: FPS: 696 FrameTime: 1.437 ms
[build] use-vbo=true: FPS: 782 FrameTime: 1.279 ms
[texture] texture-filter=nearest: FPS: 723 FrameTime: 1.383 ms
[texture] texture-filter=linear: FPS: 720 FrameTime: 1.389 ms
[texture] texture-filter=mipmap: FPS: 743 FrameTime: 1.346 ms
[shading] shading=gouraud: FPS: 830 FrameTime: 1.205 ms
[shading] shading=blinn-phong-inf: FPS: 668 FrameTime: 1.497 ms
[shading] shading=phong: FPS: 667 FrameTime: 1.499 ms
[shading] shading=cel: FPS: 664 FrameTime: 1.506 ms
[bump] bump-render=high-poly: FPS: 551 FrameTime: 1.815 ms
[bump] bump-render=normals: FPS: 763 FrameTime: 1.311 ms
[bump] bump-render=height: FPS: 761 FrameTime: 1.314 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 551 FrameTime: 1.815 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 387 FrameTime: 2.584 ms
[pulsar] light=false:quads=5:texture=false: FPS: 583 FrameTime: 1.715 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 324 FrameTime: 3.086 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] effect=shadow:windows=4: FPS: 487 FrameTime: 2.053 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 215 FrameTime: 4.651 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 380 FrameTime: 2.632 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 280 FrameTime: 3.571 ms
[ideas] speed=duration: FPS: 594 FrameTime: 1.684 ms
[jellyfish] <default>: FPS: 455 FrameTime: 2.198 ms
[terrain] <default>: FPS: 76 FrameTime: 13.158 ms
[shadow] <default>: FPS: 542 FrameTime: 1.845 ms
[refract] <default>: FPS: 160 FrameTime: 6.250 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 660 FrameTime: 1.515 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 655 FrameTime: 1.527 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 661 FrameTime: 1.513 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 660 FrameTime: 1.515 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 657 FrameTime: 1.522 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 659 FrameTime: 1.517 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 660 FrameTime: 1.515 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 656 FrameTime: 1.524 ms
=======================================================
glmark2 Score: 571
=======================================================
结论
图形性能测试glmark2分值更加符合实际性能。