notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. * fixed search logic error when using plain/ text details at
Port details
glmark2 Benchmark for OpenGL (ES) 2.0
2021.12 benchmarks on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2016-09-08 18:12:04
Last Update: 2022-12-21 17:57:13
Commit Hash: 8c02839
People watching this port, also watch:: scrot, php80-pdo_mysql, v4l-utils, coreutils, tmux
Also Listed In: wayland
License: GPLv3
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (152 items)
Collapse this list.
  1. /usr/local/share/licenses/glmark2-2021.12/
  2. /usr/local/share/licenses/glmark2-2021.12/LICENSE
  3. /usr/local/share/licenses/glmark2-2021.12/GPLv3
  4. bin/glmark2-drm
  5. bin/glmark2-es2-drm
  6. bin/glmark2-wayland
  7. bin/glmark2-es2-wayland
  8. bin/glmark2
  9. bin/glmark2-es2
  10. share/man/man1/glmark2-drm.1.gz
  11. share/man/man1/glmark2-es2-drm.1.gz
  12. share/man/man1/glmark2-wayland.1.gz
  13. share/man/man1/glmark2-es2-wayland.1.gz
  14. share/man/man1/glmark2.1.gz
  15. share/man/man1/glmark2-es2.1.gz
  16. share/glmark2/models/asteroid-high.3ds
  17. share/glmark2/models/asteroid-low.3ds
  18. share/glmark2/models/bunny.obj
  19. share/glmark2/models/cat.3ds
  20. share/glmark2/models/cube.3ds
  21. share/glmark2/models/horse.3ds
  22. share/glmark2/models/jellyfish.jobj
  23. share/glmark2/shaders/README.shaders
  24. share/glmark2/shaders/buffer-wireframe.frag
  25. share/glmark2/shaders/buffer-wireframe.vert
  26. share/glmark2/shaders/bump-height.frag
  27. share/glmark2/shaders/bump-height.vert
  28. share/glmark2/shaders/bump-normals-tangent.frag
  29. share/glmark2/shaders/bump-normals-tangent.vert
  30. share/glmark2/shaders/bump-normals.frag
  31. share/glmark2/shaders/bump-normals.vert
  32. share/glmark2/shaders/bump-poly.frag
  33. share/glmark2/shaders/bump-poly.vert
  34. share/glmark2/shaders/conditionals-step-conditional.all
  35. share/glmark2/shaders/conditionals-step-simple.all
  36. share/glmark2/shaders/conditionals.frag
  37. share/glmark2/shaders/conditionals.vert
  38. share/glmark2/shaders/depth.frag
  39. share/glmark2/shaders/depth.vert
  40. share/glmark2/shaders/desktop-blur.frag
  41. share/glmark2/shaders/desktop.frag
  42. share/glmark2/shaders/desktop.vert
  43. share/glmark2/shaders/effect-2d-convolution.frag
  44. share/glmark2/shaders/effect-2d.vert
  45. share/glmark2/shaders/function-call.all
  46. share/glmark2/shaders/function-step-low.all
  47. share/glmark2/shaders/function-step-medium.all
  48. share/glmark2/shaders/function.frag
  49. share/glmark2/shaders/function.vert
  50. share/glmark2/shaders/gradient.frag
  51. share/glmark2/shaders/gradient.vert
  52. share/glmark2/shaders/ideas-lamp-lit.frag
  53. share/glmark2/shaders/ideas-lamp-lit.vert
  54. share/glmark2/shaders/ideas-lamp-unlit.frag
  55. share/glmark2/shaders/ideas-lamp-unlit.vert
  56. share/glmark2/shaders/ideas-logo-flat.frag
  57. share/glmark2/shaders/ideas-logo-flat.vert
  58. share/glmark2/shaders/ideas-logo-shadow.frag
  59. share/glmark2/shaders/ideas-logo-shadow.vert
  60. share/glmark2/shaders/ideas-logo.frag
  61. share/glmark2/shaders/ideas-logo.vert
  62. share/glmark2/shaders/ideas-paper.frag
  63. share/glmark2/shaders/ideas-paper.vert
  64. share/glmark2/shaders/ideas-table.frag
  65. share/glmark2/shaders/ideas-table.vert
  66. share/glmark2/shaders/ideas-text.frag
  67. share/glmark2/shaders/ideas-text.vert
  68. share/glmark2/shaders/ideas-under-table.frag
  69. share/glmark2/shaders/ideas-under-table.vert
  70. share/glmark2/shaders/jellyfish.frag
  71. share/glmark2/shaders/jellyfish.vert
  72. share/glmark2/shaders/light-advanced.frag
  73. share/glmark2/shaders/light-advanced.vert
  74. share/glmark2/shaders/light-basic-tex-bilinear.frag
  75. share/glmark2/shaders/light-basic-tex.frag
  76. share/glmark2/shaders/light-basic-texgen.vert
  77. share/glmark2/shaders/light-basic.frag
  78. share/glmark2/shaders/light-basic.vert
  79. share/glmark2/shaders/light-cel.frag
  80. share/glmark2/shaders/light-phong.frag
  81. share/glmark2/shaders/light-phong.vert
  82. share/glmark2/shaders/light-refract.frag
  83. share/glmark2/shaders/light-refract.vert
  84. share/glmark2/shaders/loop-step-loop.all
  85. share/glmark2/shaders/loop-step-simple.all
  86. share/glmark2/shaders/loop.frag
  87. share/glmark2/shaders/loop.vert
  88. share/glmark2/shaders/pulsar-light.vert
  89. share/glmark2/shaders/pulsar.vert
  90. share/glmark2/shaders/shadow.frag
  91. share/glmark2/shaders/shadow.vert
  92. share/glmark2/shaders/terrain-blur.frag
  93. share/glmark2/shaders/terrain-luminance.frag
  94. share/glmark2/shaders/terrain-noise.frag
  95. share/glmark2/shaders/terrain-normalmap.frag
  96. share/glmark2/shaders/terrain-overlay.frag
  97. share/glmark2/shaders/terrain-texture.vert
  98. share/glmark2/shaders/terrain.frag
  99. share/glmark2/shaders/terrain.vert
  100. share/glmark2/shaders/text-renderer.frag
  101. share/glmark2/shaders/text-renderer.vert
  102. share/glmark2/textures/asteroid-height-map.png
  103. share/glmark2/textures/asteroid-normal-map-tangent.png
  104. share/glmark2/textures/asteroid-normal-map.png
  105. share/glmark2/textures/crate-base.png
  106. share/glmark2/textures/desktop-shadow-corner.png
  107. share/glmark2/textures/desktop-shadow.png
  108. share/glmark2/textures/desktop-window.png
  109. share/glmark2/textures/effect-2d.png
  110. share/glmark2/textures/glyph-atlas.png
  111. share/glmark2/textures/jellyfish-caustics-01.png
  112. share/glmark2/textures/jellyfish-caustics-02.png
  113. share/glmark2/textures/jellyfish-caustics-03.png
  114. share/glmark2/textures/jellyfish-caustics-04.png
  115. share/glmark2/textures/jellyfish-caustics-05.png
  116. share/glmark2/textures/jellyfish-caustics-06.png
  117. share/glmark2/textures/jellyfish-caustics-07.png
  118. share/glmark2/textures/jellyfish-caustics-08.png
  119. share/glmark2/textures/jellyfish-caustics-09.png
  120. share/glmark2/textures/jellyfish-caustics-10.png
  121. share/glmark2/textures/jellyfish-caustics-11.png
  122. share/glmark2/textures/jellyfish-caustics-12.png
  123. share/glmark2/textures/jellyfish-caustics-13.png
  124. share/glmark2/textures/jellyfish-caustics-14.png
  125. share/glmark2/textures/jellyfish-caustics-15.png
  126. share/glmark2/textures/jellyfish-caustics-16.png
  127. share/glmark2/textures/jellyfish-caustics-17.png
  128. share/glmark2/textures/jellyfish-caustics-18.png
  129. share/glmark2/textures/jellyfish-caustics-19.png
  130. share/glmark2/textures/jellyfish-caustics-20.png
  131. share/glmark2/textures/jellyfish-caustics-21.png
  132. share/glmark2/textures/jellyfish-caustics-22.png
  133. share/glmark2/textures/jellyfish-caustics-23.png
  134. share/glmark2/textures/jellyfish-caustics-24.png
  135. share/glmark2/textures/jellyfish-caustics-25.png
  136. share/glmark2/textures/jellyfish-caustics-26.png
  137. share/glmark2/textures/jellyfish-caustics-27.png
  138. share/glmark2/textures/jellyfish-caustics-28.png
  139. share/glmark2/textures/jellyfish-caustics-29.png
  140. share/glmark2/textures/jellyfish-caustics-30.png
  141. share/glmark2/textures/jellyfish-caustics-31.png
  142. share/glmark2/textures/jellyfish-caustics-32.png
  143. share/glmark2/textures/jellyfish256.png
  144. share/glmark2/textures/nasa1.png
  145. share/glmark2/textures/nasa2.png
  146. share/glmark2/textures/nasa3.png
  147. share/glmark2/textures/terrain-backgrounddetailed6.jpg
  148. share/glmark2/textures/terrain-grasslight-512-nm.jpg
  149. share/glmark2/textures/terrain-grasslight-512.jpg
  150. @owner
  151. @group
  152. @mode
Collapse this list.
Dependency lines:
  • glmark2>0:benchmarks/glmark2
To install the port:
cd /usr/ports/benchmarks/glmark2/ && make install clean
To add the package, run one of these commands:
  • pkg install benchmarks/glmark2
  • pkg install glmark2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: glmark2
Flavors: there is no flavor information for this port.

Packages (timestamps in pop-ups are UTC):
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. input.h : devel/evdev-proto
  2. wayland-protocols>=1.12 : graphics/wayland-protocols
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python3.9 : lang/python39
  5. xorgproto>=0 : x11/xorgproto
  6. x11.pc : x11/libX11
Runtime dependencies:
  1. x11.pc : x11/libX11
Library dependencies:
  1. : graphics/png
  2. : devel/libudev-devd
  3. : graphics/libdrm
  4. : graphics/wayland
  5. : graphics/libglvnd
  6. : graphics/libglvnd
  7. : graphics/libglvnd
  8. : graphics/mesa-libs
  9. : graphics/jpeg-turbo
There are no ports dependent upon this port

Configuration Options:
Options name:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
21 Dec 2022 17:57:13
commit hash:8c028395c3a4877667faf24b0d74c2b03a7cc06dcommit hash:8c028395c3a4877667faf24b0d74c2b03a7cc06dcommit hash:8c028395c3a4877667faf24b0d74c2b03a7cc06dcommit hash:8c028395c3a4877667faf24b0d74c2b03a7cc06d files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
benchmarks/glmark2: limit wayland category to WAYLAND option
08 Dec 2022 11:39:24
commit hash:f32e6d8d8ab83d6545ac19354751f564cf577630commit hash:f32e6d8d8ab83d6545ac19354751f564cf577630commit hash:f32e6d8d8ab83d6545ac19354751f564cf577630commit hash:f32e6d8d8ab83d6545ac19354751f564cf577630 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
benchmarks/glmark2: unbreak build with python311

Traceback (most recent call last):
  File "waflib/", line 104, in waf_entry_point
  File "waflib/", line 135, in set_main_module
  File "waflib/", line 343, in load_module
  File "waflib/", line 117, in readf
ValueError: invalid mode: 'rUb'
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Jul 2022 14:20:56
commit hash:86b2c5122a18d1f73e6e4e4626889fab8fb0803acommit hash:86b2c5122a18d1f73e6e4e4626889fab8fb0803acommit hash:86b2c5122a18d1f73e6e4e4626889fab8fb0803acommit hash:86b2c5122a18d1f73e6e4e4626889fab8fb0803a files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
benchmarks: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Alexander Logvinov <>
  *  Alexey Dokuchaev <>
  *  Alexey V. Degtyarev
  *  Andreas Kohn <>
  *  Andrew Shevtsov <>
  *  Andrey Zakhvatov <>
  *  Andy Clark <>
  *  Antonio Carlos Venancio Junior (<>)
  *  Bill Fumerola <>
  *  Brad Davis <>
  *  Bruce A. Mah <>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Jul 2022 12:50:29
commit hash:bf8df578429ebfdbc76912b243516e8755bc616dcommit hash:bf8df578429ebfdbc76912b243516e8755bc616dcommit hash:bf8df578429ebfdbc76912b243516e8755bc616dcommit hash:bf8df578429ebfdbc76912b243516e8755bc616d files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
benchmarks/glmark2: add to wayland virtual category
26 Dec 2021 09:22:24
commit hash:5eb0a3969211691f9d0af2f62240e1e041c31bfdcommit hash:5eb0a3969211691f9d0af2f62240e1e041c31bfdcommit hash:5eb0a3969211691f9d0af2f62240e1e041c31bfdcommit hash:5eb0a3969211691f9d0af2f62240e1e041c31bfd files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
benchmarks/glmark2: the port had been updated to version 2021.12.
22 Jun 2021 18:53:08
commit hash:da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash:da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash:da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash:da3162c7c9f01912ba1940e188b253f2b5c7ba77 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
graphics/mesa-libs: Bump reverse deps for libglvnd

Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:
21 May 2021 15:53:55
commit hash:1307312bf475a3457d54c8ea2b3ff871519db22acommit hash:1307312bf475a3457d54c8ea2b3ff871519db22acommit hash:1307312bf475a3457d54c8ea2b3ff871519db22acommit hash:1307312bf475a3457d54c8ea2b3ff871519db22a files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
benchmarks/glmark2: backport --fullscreen fix for WAYLAND option

$ glmark2-wayland --fullscreen
Error: eglCreateWindowSurface failed with error: 0x300b
Error: eglCreateWindowSurface failed with error: 0x300b
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
18 Feb 2021 22:28:47
Revision:566003Original commit files touched by this commit
jbeich search for other commits by this committer
benchmarks/glmark2: unbreak and re-enable WAYLAND after r565490
17 Feb 2021 09:44:47
Revision:565490Original commit files touched by this commit
danfe search for other commits by this committer
- Update `benchmarks/glmark2' to version 2021.02
- Gargage-collect patches integrated upstream
- Now really requires C++14-capable compiler, so
  stop trying to force C++11
- Disable Wayland flavor and mark it as BROKEN

Reported by:	portscout
28 Jan 2021 18:47:36
Revision:563151 Refresh Original commit files touched by this commit
jbeich search for other commits by this committer
benchmarks/glmark2: expose KMS console and Wayland support

PR:		252197
Reviewed by:	danfe (maintainer)
29 May 2020 10:00:12
Revision:536960Original commit files touched by this commit
danfe search for other commits by this committer
- Update to version 2020.04, first release in many years (unfortunately,
  it was tagged just before the commit 06e4728 which fixed building with
  Python 3.x, point GH_TAGNAME to it instead of pulling a patch)
- Drop explicit `python:build' from USES list, because `waf' implies it
- Add missing USE_XORG and put `xorg' on USES list
- For the time being, don't force C++14 while C++11 is sufficient until
  the code really starts using new features (see GitHub commit a6bbc01)

PR:		246793
Submitted by:	David Schlachter
08 Mar 2020 17:01:47
Revision:528058Original commit files touched by this commit
antoine search for other commits by this committer
Deprecate some ports using deprecated version of python

With hat:	portmgr
14 Jan 2020 09:27:19
Revision:522998Original commit files touched by this commit
antoine search for other commits by this committer
Switch version of python used in USES=waf to default version of python

Reviewed by:	bapt
With hat:	portmgr
Differential Revision:
04 Nov 2019 21:08:20
Revision:516742Original commit files touched by this commit
zeising search for other commits by this committer
Add USES=xorg USES=gl, ports categories b

Add USES=xorg, USES=gl and in a few cases USES=gnome to ports in categories
starting with 'b'.
15 Jan 2018 11:38:03
Revision:459035Original commit files touched by this commit
danfe search for other commits by this committer
- Unbreak the build with new Clang version 6.0.0
- Remove pre-r423928 WAF_CMD override for verbose logs

PR:	224989
23 May 2017 05:03:16
Revision:441503Original commit files touched by this commit
rezny search for other commits by this committer
Revision bump of all ports with USE_GL after consolidation of mesa-libs

Approved by:	swills (mentor)
Differential Revision:
30 Sep 2016 19:24:30
Revision:423014Original commit files touched by this commit
tijl search for other commits by this committer
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in and so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
08 Sep 2016 18:11:46
Revision:421574Original commit files touched by this commit
danfe search for other commits by this committer
Add a port of glmark2, a benchmark for OpenGL (ES) 2.0.

TIMESTAMP (glmark2-2014.03.tar.gz) = 1394537514

Number of commits found: 21