summaryrefslogtreecommitdiff
path: root/benchmarks/linux-unigine-sanctuary
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-15 17:52:42 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-15 17:52:42 +0000
commit7d21fb860bc17b51e8c7a4f01fd4136848b7a27d (patch)
tree9a062753c50d59742982ee11b41f193aefcbe6f6 /benchmarks/linux-unigine-sanctuary
parentdevel/py-simpleeval: Release maintainership to ports@ (diff)
benchmarks/linux-unigine-{sanctuary,tropics}: new ports had been added
Unigine benchmarks are extreme performance and stability test for your hardware: video card, power supply, cooling system. Check your rig in stock and overclocked modes with real-life load! These two benchmarks depict a Gothic chapel and a tropical paradise. WWW: https://benchmark.unigine.com/
Diffstat (limited to 'benchmarks/linux-unigine-sanctuary')
-rw-r--r--benchmarks/linux-unigine-sanctuary/Makefile40
-rw-r--r--benchmarks/linux-unigine-sanctuary/distinfo3
-rw-r--r--benchmarks/linux-unigine-sanctuary/pkg-descr26
-rw-r--r--benchmarks/linux-unigine-sanctuary/pkg-plist7
4 files changed, 76 insertions, 0 deletions
diff --git a/benchmarks/linux-unigine-sanctuary/Makefile b/benchmarks/linux-unigine-sanctuary/Makefile
new file mode 100644
index 000000000000..02465d791de9
--- /dev/null
+++ b/benchmarks/linux-unigine-sanctuary/Makefile
@@ -0,0 +1,40 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+
+PORTNAME= unigine-sanctuary
+PORTVERSION= 2.3
+CATEGORIES= benchmarks linux
+MASTER_SITES= https://assets.unigine.com/d/
+PKGNAMEPREFIX= linux-
+DISTNAME= Unigine_Sanctuary-${PORTVERSION}
+EXTRACT_SUFX= .run
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Unigine GPU benchmark depicting a Gothic chapel
+
+ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS_REASON= precompiled, binary-only software for GNU/Linux
+
+USES= linux
+USE_LINUX= dri openal-soft xorglibs
+NO_BUILD= yes
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ @${TAIL} -n 107856 ${DISTDIR}/${DISTFILES} | ${TAR} xzf - -C ${WRKSRC}
+
+post-patch:
+# Avoid clash with other Unigine benchmarks
+.for script in 1024x768_windowed 1920x1080_fullscreen
+ @${SED} -e 's,\./bin,${DATADIR}/bin,' ${WRKSRC}/${script}.sh \
+ > ${WRKSRC}/${PORTNAME}_${script}.sh
+.endfor
+
+do-install:
+ cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/Sanctuary ${STAGEDIR}${DATADIR}/bin
+ ${INSTALL_LIB} ${WRKSRC}/bin/libUnigine_x86.so \
+ ${STAGEDIR}${DATADIR}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}*sh ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/benchmarks/linux-unigine-sanctuary/distinfo b/benchmarks/linux-unigine-sanctuary/distinfo
new file mode 100644
index 000000000000..7920a21166fb
--- /dev/null
+++ b/benchmarks/linux-unigine-sanctuary/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500874082
+SHA256 (Unigine_Sanctuary-2.3.run) = 28a8bbd1cb64126fadc7492304c59528c2c3ac9d53b0f1fe08a2c331703a39d5
+SIZE (Unigine_Sanctuary-2.3.run) = 29468416
diff --git a/benchmarks/linux-unigine-sanctuary/pkg-descr b/benchmarks/linux-unigine-sanctuary/pkg-descr
new file mode 100644
index 000000000000..8d02d3eb9e81
--- /dev/null
+++ b/benchmarks/linux-unigine-sanctuary/pkg-descr
@@ -0,0 +1,26 @@
+Extreme performance and stability test for PC hardware: video card,
+power supply, cooling system. Check your rig in stock and overclocked
+modes with real-life load! Also includes interactive experience.
+
+The benchmark depicts a Gothic chapel with sorrowful statues stand in
+solemn stillness lit by the trembling light of torches. Only few rays
+of sun coming through the stained glass windows slide over the biblical
+fresco and ominous creatures carved in cold stone.
+
+The very first GPU benchmark from UNIGINE, the original version was
+released in 2007, the 2.3 update was out in 2010.
+
+Key features:
+
+ - Visuals powered by UNIGINE 1 Engine
+ - Support of DirectX 9, DirectX 10, and OpenGL
+ - Five dynamic lights, HDR rendering
+ - Parallax and ambient occlusion mapping
+ - Volumetric light and fog, particle system
+ - Interactive experience with fly-through mode
+
+The program requires linprocfs(5) and linsysfs(5) to be mounted under
+/compat/linux/{proc,sys} to operate and writable /compat/linux/dev/shm
+directory, which is typically backed by tmpfs(5).
+
+WWW: https://benchmark.unigine.com/sanctuary
diff --git a/benchmarks/linux-unigine-sanctuary/pkg-plist b/benchmarks/linux-unigine-sanctuary/pkg-plist
new file mode 100644
index 000000000000..f3c4185cfaad
--- /dev/null
+++ b/benchmarks/linux-unigine-sanctuary/pkg-plist
@@ -0,0 +1,7 @@
+bin/unigine-sanctuary_1024x768_windowed.sh
+bin/unigine-sanctuary_1920x1080_fullscreen.sh
+%%DATADIR%%/bin/Sanctuary
+%%DATADIR%%/bin/libUnigine_x86.so
+%%DATADIR%%/data/core.ung
+%%DATADIR%%/data/demos/sanctuary.zip
+%%DATADIR%%/data/unigine.cfg