deleted>Frq08942 mNo edit summary |
Registered User (glmark2 is now delivered in vendorfs so no need to build it anymore.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
'' '''glmark2''' is an OpenGL 2.0 and ES 2.0 benchmark, developed by Alexandros Frantzis and Jesse Barker. It is based on the original glmark benchmark by Ben Smith. {{grey|extracted from '''The glmark2 official web site''' <ref> https://github.com/glmark2/glmark2 </ref>}}'' | '' '''glmark2''' is an OpenGL 2.0 and ES 2.0 benchmark, developed by Alexandros Frantzis and Jesse Barker. It is based on the original glmark benchmark by Ben Smith. {{grey|extracted from '''The glmark2 official web site''' <ref> https://github.com/glmark2/glmark2 </ref>}}'' | ||
== Using glmark2 == | == Using glmark2 == | ||
Line 31: | Line 9: | ||
=== glmark2-es2-wayland === | === glmark2-es2-wayland === | ||
* Start Weston (if not already started) | * Start Weston (if not already started) | ||
{{Board$}} systemctl start weston | {{Board$}} systemctl start weston@root.service | ||
* Launch glmark2 | * Launch glmark2 | ||
{{Board$}} glmark2-es2-wayland | {{Board$}} glmark2-es2-wayland | ||
Line 37: | Line 15: | ||
=== glmark2-es2-drm === | === glmark2-es2-drm === | ||
* Stop Weston | * Stop Weston | ||
{{Board$}} systemctl stop weston | {{Board$}} systemctl stop weston@root.service | ||
* The DRM display mode may need to be set and the DRM master token released so that glmark2 can use the DRM interfaces. This depends on the glmark2 version. For instance: | * The DRM display mode may need to be set and the DRM master token released so that glmark2 can use the DRM interfaces. This depends on the glmark2 version. For instance: | ||
{{Board$}} modetest -s 27:720x1280 -d & | {{Board$}} modetest -s 27:720x1280 -d & | ||
Line 52: | Line 30: | ||
==References== | ==References== | ||
<references /> | <references /> | ||
<noinclude> | |||
{{PublicationRequestId | 9280 | 2018-10-16 | AnneJ}} | |||
[[Category:How to run use cases]] | |||
[[Category:GPU]] | |||
</noinclude> |
Latest revision as of 14:51, 23 October 2020
1. Introduction[edit source]
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark, developed by Alexandros Frantzis and Jesse Barker. It is based on the original glmark benchmark by Ben Smith. Template:Grey
2. Using glmark2[edit source]
Building glmark2 generates 2 binaries:
- glmark2-es2-wayland, to launch glmark2 benchmark as a wayland client.
- glmark2-es2-drm, to launch glmark2 benchmark as a native DRM/GBM openGLES application.
2.1. glmark2-es2-wayland[edit source]
- Start Weston (if not already started)
Template:Board$ systemctl start weston@root.service
- Launch glmark2
Template:Board$ glmark2-es2-wayland
2.2. glmark2-es2-drm[edit source]
- Stop Weston
Template:Board$ systemctl stop weston@root.service
- The DRM display mode may need to be set and the DRM master token released so that glmark2 can use the DRM interfaces. This depends on the glmark2 version. For instance:
Template:Board$ modetest -s 27:720x1280 -d &
Note: The connector and the mode are given as an example.
- Launch glmark2
Template:Board$ glmark2-es2-drm
3. Source code location[edit source]
- Official source code: https://github.com/glmark2/glmark2
4. To go further[edit source]
You can find the full documentation of glmark2 in the related Ubuntu man page http://manpages.ubuntu.com/manpages/cosmic/man1/glmark2.1.html.
5. References[edit source]