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/
This commit is contained in:
Alexey Dokuchaev 2021-11-15 17:52:42 +00:00
parent b27afd8800
commit 7d21fb860b
9 changed files with 159 additions and 0 deletions

View file

@ -40,6 +40,8 @@
SUBDIR += libcelero
SUBDIR += libmicro
SUBDIR += linux-gputest
SUBDIR += linux-unigine-sanctuary
SUBDIR += linux-unigine-tropics
SUBDIR += linux-vdbench
SUBDIR += lmbench
SUBDIR += lzbench

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1500874082
SHA256 (Unigine_Sanctuary-2.3.run) = 28a8bbd1cb64126fadc7492304c59528c2c3ac9d53b0f1fe08a2c331703a39d5
SIZE (Unigine_Sanctuary-2.3.run) = 29468416

View file

@ -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

View file

@ -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

View file

@ -0,0 +1,40 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= unigine-tropics
PORTVERSION= 1.3
CATEGORIES= benchmarks linux
MASTER_SITES= https://assets.unigine.com/d/
PKGNAMEPREFIX= linux-
DISTNAME= Unigine_Tropics-${PORTVERSION}
EXTRACT_SUFX= .run
MAINTAINER= danfe@FreeBSD.org
COMMENT= Unigine GPU benchmark depicting tropical paradise
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 211448 ${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/Tropics ${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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1500873356
SHA256 (Unigine_Tropics-1.3.run) = fde0358b8dbf3cc72805b5092064baea3ed0a59d77a0f90e8b563a436ed38a45
SIZE (Unigine_Tropics-1.3.run) = 58426452

View file

@ -0,0 +1,30 @@
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 in a
beautiful, detailed environment.
The benchmark depicts tropical paradise: waves of the infinite ocean
leisurely rolls over the sun-splashed shores of lagoon islands. The
sunset paints straw huts with warm colors while the mild breeze gently
stirs the coconut palm leaves. Hovering high in the tranquil sky the
gulls are watching crabs crawling on the velvety sand among the
abandoned boats.
Original version was released in 2008, the 1.3 update was out in 2010.
Key features:
- Visuals powered by UNIGINE 1 Engine
- Support of DirectX 9, DirectX 10, DirectX 11, and OpenGL
- Dynamic sky with light scattering
- Dynamic water with a surf zone and caustics
- HDR rendering, real-time ambient occlusion
- Up to 2M polygons per frame
- Interactive experience with fly-through mode
- Stereo 3D modes: Anaglyph, Separate images, 3D Vision, iZ3D
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/tropics

View file

@ -0,0 +1,8 @@
bin/unigine-tropics_1024x768_windowed.sh
bin/unigine-tropics_1920x1080_fullscreen.sh
%%DATADIR%%/bin/Tropics
%%DATADIR%%/bin/libUnigine_x86.so
%%DATADIR%%/data/core.ung
%%DATADIR%%/data/demos/tropics.zip
%%DATADIR%%/data/scripts.ung
%%DATADIR%%/data/unigine.cfg